!function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/static/video_mp4_render_module/",e(e.s=23)}([function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var o=this[e];o[2]?t.push("@media "+o[2]+"{"+o[1]+"}"):t.push(o[1])}return t.join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&n[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),t.push(s))}},t}},function(t,e){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(o=window)}t.exports=o},function(t,e,o){(function(e){var o,o;/**
 * @license
 * Video.js 5.11.6 <http://videojs.com/>
 * Copyright Brightcove, Inc. <https://www.brightcove.com/>
 * Available under Apache License Version 2.0
 * <https://github.com/videojs/video.js/blob/master/LICENSE>
 *
 * Includes vtt.js <https://github.com/mozilla/vtt.js>
 * Available under Apache License Version 2.0
 * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
 */
!function(e){t.exports=e()}(function(){var t;return function t(e,n,r){function i(a,l){if(!n[a]){if(!e[a]){var c="function"==typeof o&&o;if(!l&&c)return o(a,!0);if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var p=n[a]={exports:{}};e[a][0].call(p.exports,function(t){var o=e[a][1][t];return i(o?o:t)},p,p.exports,t,e,n,r)}return n[a].exports}for(var s="function"==typeof o&&o,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,o,n){(function(e){var n="undefined"!=typeof e?e:"undefined"!=typeof window?window:{},r=t("min-document");if("undefined"!=typeof document)o.exports=document;else{var i=n["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=n["__GLOBAL_DOCUMENT_CACHE@4"]=r),o.exports=i}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":3}],2:[function(t,o,n){(function(t){"undefined"!=typeof window?o.exports=window:"undefined"!=typeof t?o.exports=t:"undefined"!=typeof self?o.exports=self:o.exports={}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,o){},{}],4:[function(t,e,o){var n=t("../internal/getNative"),r=n(Date,"now"),i=r||function(){return(new Date).getTime()};e.exports=i},{"../internal/getNative":20}],5:[function(t,e,o){function n(t,e,o){function n(){g&&clearTimeout(g),d&&clearTimeout(d),m=0,d=g=y=void 0}function l(e,o){o&&clearTimeout(o),d=g=y=void 0,e&&(m=i(),h=t.apply(v,f),g||d||(f=v=void 0))}function c(){var t=e-(i()-A);t<=0||t>e?l(y,d):g=setTimeout(c,t)}function u(){l(j,g)}function p(){if(f=arguments,A=i(),v=this,y=j&&(g||!w),b===!1)var o=w&&!g;else{d||w||(m=A);var n=b-(A-m),r=n<=0||n>b;r?(d&&(d=clearTimeout(d)),m=A,h=t.apply(v,f)):d||(d=setTimeout(u,n))}return r&&g?g=clearTimeout(g):g||e===b||(g=setTimeout(c,e)),o&&(r=!0,h=t.apply(v,f)),!r||g||d||(f=v=void 0),h}var f,d,h,A,v,g,y,m=0,b=!1,j=!0;if("function"!=typeof t)throw new TypeError(s);if(e=e<0?0:+e||0,o===!0){var w=!0;j=!1}else r(o)&&(w=!!o.leading,b="maxWait"in o&&a(+o.maxWait||0,e),j="trailing"in o?!!o.trailing:j);return p.cancel=n,p}var r=t("../lang/isObject"),i=t("../date/now"),s="Expected a function",a=Math.max;e.exports=n},{"../date/now":4,"../lang/isObject":33}],6:[function(t,e,o){function n(t,e){if("function"!=typeof t)throw new TypeError(r);return e=i(void 0===e?t.length-1:+e||0,0),function(){for(var o=arguments,n=-1,r=i(o.length-e,0),s=Array(r);++n<r;)s[n]=o[e+n];switch(e){case 0:return t.call(this,s);case 1:return t.call(this,o[0],s);case 2:return t.call(this,o[0],o[1],s)}var a=Array(e+1);for(n=-1;++n<e;)a[n]=o[n];return a[e]=s,t.apply(this,a)}}var r="Expected a function",i=Math.max;e.exports=n},{}],7:[function(t,e,o){function n(t,e,o){var n=!0,a=!0;if("function"!=typeof t)throw new TypeError(s);return o===!1?n=!1:i(o)&&(n="leading"in o?!!o.leading:n,a="trailing"in o?!!o.trailing:a),r(t,e,{leading:n,maxWait:+e,trailing:a})}var r=t("./debounce"),i=t("../lang/isObject"),s="Expected a function";e.exports=n},{"../lang/isObject":33,"./debounce":5}],8:[function(t,e,o){function n(t,e){var o=-1,n=t.length;for(e||(e=Array(n));++o<n;)e[o]=t[o];return e}e.exports=n},{}],9:[function(t,e,o){function n(t,e){for(var o=-1,n=t.length;++o<n&&e(t[o],o,t)!==!1;);return t}e.exports=n},{}],10:[function(t,e,o){function n(t,e,o){o||(o={});for(var n=-1,r=e.length;++n<r;){var i=e[n];o[i]=t[i]}return o}e.exports=n},{}],11:[function(t,e,o){var n=t("./createBaseFor"),r=n();e.exports=r},{"./createBaseFor":18}],12:[function(t,e,o){function n(t,e){return r(t,e,i)}var r=t("./baseFor"),i=t("../object/keysIn");e.exports=n},{"../object/keysIn":39,"./baseFor":11}],13:[function(t,e,o){function n(t,e,o,f,d){if(!l(t))return t;var h=a(e)&&(s(e)||u(e)),A=h?void 0:p(e);return r(A||e,function(r,s){if(A&&(s=r,r=e[s]),c(r))f||(f=[]),d||(d=[]),i(t,e,s,n,o,f,d);else{var a=t[s],l=o?o(a,r,s,t,e):void 0,u=void 0===l;u&&(l=r),void 0===l&&(!h||s in t)||!u&&(l===l?l===a:a!==a)||(t[s]=l)}}),t}var r=t("./arrayEach"),i=t("./baseMergeDeep"),s=t("../lang/isArray"),a=t("./isArrayLike"),l=t("../lang/isObject"),c=t("./isObjectLike"),u=t("../lang/isTypedArray"),p=t("../object/keys");e.exports=n},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(t,e,o){function n(t,e,o,n,p,f,d){for(var h=f.length,A=e[o];h--;)if(f[h]==A)return void(t[o]=d[h]);var v=t[o],g=p?p(v,A,o,t,e):void 0,y=void 0===g;y&&(g=A,a(A)&&(s(A)||c(A))?g=s(v)?v:a(v)?r(v):[]:l(A)||i(A)?g=i(v)?u(v):l(v)?v:{}:y=!1),f.push(A),d.push(g),y?t[o]=n(g,A,p,f,d):(g===g?g!==v:v===v)&&(t[o]=g)}var r=t("./arrayCopy"),i=t("../lang/isArguments"),s=t("../lang/isArray"),a=t("./isArrayLike"),l=t("../lang/isPlainObject"),c=t("../lang/isTypedArray"),u=t("../lang/toPlainObject");e.exports=n},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(t,e,o){function n(t){return function(e){return null==e?void 0:r(e)[t]}}var r=t("./toObject");e.exports=n},{"./toObject":28}],16:[function(t,e,o){function n(t,e,o){if("function"!=typeof t)return r;if(void 0===e)return t;switch(o){case 1:return function(o){return t.call(e,o)};case 3:return function(o,n,r){return t.call(e,o,n,r)};case 4:return function(o,n,r,i){return t.call(e,o,n,r,i)};case 5:return function(o,n,r,i,s){return t.call(e,o,n,r,i,s)}}return function(){return t.apply(e,arguments)}}var r=t("../utility/identity");e.exports=n},{"../utility/identity":42}],17:[function(t,e,o){function n(t){return s(function(e,o){var n=-1,s=null==e?0:o.length,a=s>2?o[s-2]:void 0,l=s>2?o[2]:void 0,c=s>1?o[s-1]:void 0;for("function"==typeof a?(a=r(a,c,5),s-=2):(a="function"==typeof c?c:void 0,s-=a?1:0),l&&i(o[0],o[1],l)&&(a=s<3?void 0:a,s=1);++n<s;){var u=o[n];u&&t(e,u,a)}return e})}var r=t("./bindCallback"),i=t("./isIterateeCall"),s=t("../function/restParam");e.exports=n},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(t,e,o){function n(t){return function(e,o,n){for(var i=r(e),s=n(e),a=s.length,l=t?a:-1;t?l--:++l<a;){var c=s[l];if(o(i[c],c,i)===!1)break}return e}}var r=t("./toObject");e.exports=n},{"./toObject":28}],19:[function(t,e,o){var n=t("./baseProperty"),r=n("length");e.exports=r},{"./baseProperty":15}],20:[function(t,e,o){function n(t,e){var o=null==t?void 0:t[e];return r(o)?o:void 0}var r=t("../lang/isNative");e.exports=n},{"../lang/isNative":32}],21:[function(t,e,o){function n(t){return null!=t&&i(r(t))}var r=t("./getLength"),i=t("./isLength");e.exports=n},{"./getLength":19,"./isLength":25}],22:[function(t,e,o){var n=function(){try{Object({toString:0}+"")}catch(t){return function(){return!1}}return function(t){return"function"!=typeof t.toString&&"string"==typeof(t+"")}}();e.exports=n},{}],23:[function(t,e,o){function n(t,e){return t="number"==typeof t||r.test(t)?+t:-1,e=null==e?i:e,t>-1&&t%1==0&&t<e}var r=/^\d+$/,i=9007199254740991;e.exports=n},{}],24:[function(t,e,o){function n(t,e,o){if(!s(o))return!1;var n=typeof e;if("number"==n?r(o)&&i(e,o.length):"string"==n&&e in o){var a=o[e];return t===t?t===a:a!==a}return!1}var r=t("./isArrayLike"),i=t("./isIndex"),s=t("../lang/isObject");e.exports=n},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(t,e,o){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;e.exports=n},{}],26:[function(t,e,o){function n(t){return!!t&&"object"==typeof t}e.exports=n},{}],27:[function(t,e,o){function n(t){for(var e=c(t),o=e.length,n=o&&t.length,u=!!n&&a(n)&&(i(t)||r(t)||l(t)),f=-1,d=[];++f<o;){var h=e[f];(u&&s(h,n)||p.call(t,h))&&d.push(h)}return d}var r=t("../lang/isArguments"),i=t("../lang/isArray"),s=t("./isIndex"),a=t("./isLength"),l=t("../lang/isString"),c=t("../object/keysIn"),u=Object.prototype,p=u.hasOwnProperty;e.exports=n},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(t,e,o){function n(t){if(s.unindexedChars&&i(t)){for(var e=-1,o=t.length,n=Object(t);++e<o;)n[e]=t.charAt(e);return n}return r(t)?t:Object(t)}var r=t("../lang/isObject"),i=t("../lang/isString"),s=t("../support");e.exports=n},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(t,e,o){function n(t){return i(t)&&r(t)&&a.call(t,"callee")&&!l.call(t,"callee")}var r=t("../internal/isArrayLike"),i=t("../internal/isObjectLike"),s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable;e.exports=n},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(t,e,o){var n=t("../internal/getNative"),r=t("../internal/isLength"),i=t("../internal/isObjectLike"),s="[object Array]",a=Object.prototype,l=a.toString,c=n(Array,"isArray"),u=c||function(t){return i(t)&&r(t.length)&&l.call(t)==s};e.exports=u},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(t,e,o){function n(t){return r(t)&&a.call(t)==i}var r=t("./isObject"),i="[object Function]",s=Object.prototype,a=s.toString;e.exports=n},{"./isObject":33}],32:[function(t,e,o){function n(t){return null!=t&&(r(t)?p.test(c.call(t)):s(t)&&(i(t)?p:a).test(t))}var r=t("./isFunction"),i=t("../internal/isHostObject"),s=t("../internal/isObjectLike"),a=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,u=l.hasOwnProperty,p=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=n},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(t,e,o){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=n},{}],34:[function(t,e,o){function n(t){var e;if(!a(t)||f.call(t)!=c||s(t)||i(t)||!p.call(t,"constructor")&&(e=t.constructor,"function"==typeof e&&!(e instanceof e)))return!1;var o;return l.ownLast?(r(t,function(t,e,n){return o=p.call(n,e),!1}),o!==!1):(r(t,function(t,e){o=e}),void 0===o||p.call(t,o))}var r=t("../internal/baseForIn"),i=t("./isArguments"),s=t("../internal/isHostObject"),a=t("../internal/isObjectLike"),l=t("../support"),c="[object Object]",u=Object.prototype,p=u.hasOwnProperty,f=u.toString;e.exports=n},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(t,e,o){function n(t){return"string"==typeof t||r(t)&&a.call(t)==i}var r=t("../internal/isObjectLike"),i="[object String]",s=Object.prototype,a=s.toString;e.exports=n},{"../internal/isObjectLike":26}],36:[function(t,e,o){function n(t){return i(t)&&r(t.length)&&!!B[O.call(t)]}var r=t("../internal/isLength"),i=t("../internal/isObjectLike"),s="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",p="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",A="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",m="[object ArrayBuffer]",b="[object Float32Array]",j="[object Float64Array]",w="[object Int8Array]",_="[object Int16Array]",T="[object Int32Array]",E="[object Uint8Array]",k="[object Uint8ClampedArray]",C="[object Uint16Array]",x="[object Uint32Array]",B={};B[b]=B[j]=B[w]=B[_]=B[T]=B[E]=B[k]=B[C]=B[x]=!0,B[s]=B[a]=B[m]=B[l]=B[c]=B[u]=B[p]=B[f]=B[d]=B[h]=B[A]=B[v]=B[g]=B[y]=!1;var S=Object.prototype,O=S.toString;e.exports=n},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(t,e,o){function n(t){return r(t,i(t))}var r=t("../internal/baseCopy"),i=t("../object/keysIn");e.exports=n},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(t,e,o){var n=t("../internal/getNative"),r=t("../internal/isArrayLike"),i=t("../lang/isObject"),s=t("../internal/shimKeys"),a=t("../support"),l=n(Object,"keys"),c=l?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||("function"==typeof t?a.enumPrototypes:r(t))?s(t):i(t)?l(t):[]}:s;e.exports=c},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(t,e,o){function n(t){if(null==t)return[];u(t)||(t=Object(t));var e=t.length;e=e&&c(e)&&(s(t)||i(t)||p(t))&&e||0;for(var o=t.constructor,n=-1,r=a(o)&&o.prototype||T,d=r===t,h=Array(e),A=e>0,g=f.enumErrorProps&&(t===_||t instanceof Error),y=f.enumPrototypes&&a(t);++n<e;)h[n]=n+"";for(var b in t)y&&"prototype"==b||g&&("message"==b||"name"==b)||A&&l(b,e)||"constructor"==b&&(d||!k.call(t,b))||h.push(b);if(f.nonEnumShadows&&t!==T){var B=t===E?j:t===_?v:C.call(t),S=x[B]||x[m];for(B==m&&(r=T),e=w.length;e--;){b=w[e];var O=S[b];d&&O||(O?!k.call(t,b):t[b]===r[b])||h.push(b)}}return h}var r=t("../internal/arrayEach"),i=t("../lang/isArguments"),s=t("../lang/isArray"),a=t("../lang/isFunction"),l=t("../internal/isIndex"),c=t("../internal/isLength"),u=t("../lang/isObject"),p=t("../lang/isString"),f=t("../support"),d="[object Array]",h="[object Boolean]",A="[object Date]",v="[object Error]",g="[object Function]",y="[object Number]",m="[object Object]",b="[object RegExp]",j="[object String]",w=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_=Error.prototype,T=Object.prototype,E=String.prototype,k=T.hasOwnProperty,C=T.toString,x={};x[d]=x[A]=x[y]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},x[h]=x[j]={constructor:!0,toString:!0,valueOf:!0},x[v]=x[g]=x[b]={constructor:!0,toString:!0},x[m]={constructor:!0},r(w,function(t){for(var e in x)if(k.call(x,e)){var o=x[e];o[t]=k.call(o,t)}}),e.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(t,e,o){var n=t("../internal/baseMerge"),r=t("../internal/createAssigner"),i=r(n);e.exports=i},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(t,e,o){var n=Array.prototype,r=Error.prototype,i=Object.prototype,s=i.propertyIsEnumerable,a=n.splice,l={};!function(t){var e=function(){this.x=t},o={0:t,length:t},n=[];e.prototype={valueOf:t,y:t};for(var i in new e)n.push(i);l.enumErrorProps=s.call(r,"message")||s.call(r,"name"),l.enumPrototypes=s.call(e,"prototype"),l.nonEnumShadows=!/valueOf/.test(n),l.ownLast="x"!=n[0],l.spliceObjects=(a.call(o,0,1),!o[0]),l.unindexedChars="x"[0]+Object("x")[0]!="xx"}(1,0),e.exports=l},{}],42:[function(t,e,o){function n(t){return t}e.exports=n},{}],43:[function(t,e,o){"use strict";var n=t("object-keys");e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test");if("string"==typeof e)return!1;var o=42;t[e]=o;for(e in t)return!1;if(0!==n(t).length)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(i.value!==o||i.enumerable!==!0)return!1}return!0}},{"object-keys":50}],44:[function(t,e,o){"use strict";var n=t("object-keys"),r=t("function-bind"),i=function(t){return"undefined"!=typeof t&&null!==t},s=t("./hasSymbols")(),a=Object,l=r.call(Function.call,Array.prototype.push),c=r.call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(t,e){if(!i(t))throw new TypeError("target must be an object");var o,r,u,p,f,d,h,A=a(t);for(o=1;o<arguments.length;++o){if(r=a(arguments[o]),p=n(r),s&&Object.getOwnPropertySymbols)for(f=Object.getOwnPropertySymbols(r),u=0;u<f.length;++u)h=f[u],c(r,h)&&l(p,h);for(u=0;u<p.length;++u)h=p[u],d=r[h],c(r,h)&&(A[h]=d)}return A}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(t,e,o){"use strict";var n=t("define-properties"),r=t("./implementation"),i=t("./polyfill"),s=t("./shim");n(r,{implementation:r,getPolyfill:i,shim:s}),e.exports=r},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(t,e,o){"use strict";var n=t("object-keys"),r=t("foreach"),i="function"==typeof Symbol&&"symbol"==typeof Symbol(),s=Object.prototype.toString,a=function(t){return"function"==typeof t&&"[object Function]"===s.call(t)},l=function(){var t={};try{Object.defineProperty(t,"x",{enumerable:!1,value:t});for(var e in t)return!1;return t.x===t}catch(t){return!1}},c=Object.defineProperty&&l(),u=function(t,e,o,n){(!(e in t)||a(n)&&n())&&(c?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:o,writable:!0}):t[e]=o)},p=function(t,e){var o=arguments.length>2?arguments[2]:{},s=n(e);i&&(s=s.concat(Object.getOwnPropertySymbols(e))),r(s,function(n){u(t,n,e[n],o[n])})};p.supportsDescriptors=!!c,e.exports=p},{foreach:47,"object-keys":50}],47:[function(t,e,o){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(t,e,o){if("[object Function]"!==r.call(e))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var s=0;s<i;s++)e.call(o,t[s],s,t);else for(var a in t)n.call(t,a)&&e.call(o,t[a],a,t)}},{}],48:[function(t,e,o){var n="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,i=Object.prototype.toString,s="[object Function]";e.exports=function(t){var e=this;if("function"!=typeof e||i.call(e)!==s)throw new TypeError(n+e);for(var o,a=r.call(arguments,1),l=function(){if(this instanceof o){var n=e.apply(this,a.concat(r.call(arguments)));return Object(n)===n?n:this}return e.apply(t,a.concat(r.call(arguments)))},c=Math.max(0,e.length-a.length),u=[],p=0;p<c;p++)u.push("$"+p);if(o=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(l),e.prototype){var f=function(){};f.prototype=e.prototype,o.prototype=new f,f.prototype=null}return o}},{}],49:[function(t,e,o){var n=t("./implementation");e.exports=Function.prototype.bind||n},{"./implementation":48}],50:[function(t,e,o){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Array.prototype.slice,s=t("./isArguments"),a=Object.prototype.propertyIsEnumerable,l=!a.call({toString:null},"toString"),c=a.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(t){var e=t.constructor;return e&&e.prototype===t},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},d=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!f["$"+t]&&n.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{p(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),h=function(t){if("undefined"==typeof window||!d)return p(t);try{return p(t)}catch(t){return!1}},A=function(t){var e=null!==t&&"object"==typeof t,o="[object Function]"===r.call(t),i=s(t),a=e&&"[object String]"===r.call(t),p=[];if(!e&&!o&&!i)throw new TypeError("Object.keys called on a non-object");var f=c&&o;if(a&&t.length>0&&!n.call(t,0))for(var d=0;d<t.length;++d)p.push(String(d));if(i&&t.length>0)for(var A=0;A<t.length;++A)p.push(String(A));else for(var v in t)f&&"prototype"===v||!n.call(t,v)||p.push(String(v));if(l)for(var g=h(t),y=0;y<u.length;++y)g&&"constructor"===u[y]||!n.call(t,u[y])||p.push(u[y]);return p};A.shim=function(){if(Object.keys){var t=function(){return 2===(Object.keys(arguments)||"").length}(1,2);if(!t){var e=Object.keys;Object.keys=function(t){return e(s(t)?i.call(t):t)}}}else Object.keys=A;return Object.keys||A},e.exports=A},{"./isArguments":51}],51:[function(t,e,o){"use strict";var n=Object.prototype.toString;e.exports=function(t){var e=n.call(t),o="[object Arguments]"===e;return o||(o="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===n.call(t.callee)),o}},{}],52:[function(t,e,o){"use strict";var n=t("./implementation"),r=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),o={},n=0;n<e.length;++n)o[e[n]]=e[n];var r=Object.assign({},o),i="";for(var s in r)i+=s;return t!==i},i=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}};e.exports=function(){return Object.assign?r()?n:i()?n:Object.assign:n}},{"./implementation":44}],53:[function(t,e,o){"use strict";var n=t("define-properties"),r=t("./polyfill");e.exports=function(){var t=r();return n(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},{"./polyfill":52,"define-properties":46}],54:[function(t,e,o){function n(t,e){var o,n=null;try{o=JSON.parse(t,e)}catch(t){n=t}return[n,o]}e.exports=n},{}],55:[function(t,e,o){function n(t){return t.replace(/\n\r?\s*/g,"")}e.exports=function(t){for(var e="",o=0;o<arguments.length;o++)e+=n(t[o])+(arguments[o+1]||"");return e}},{}],56:[function(t,e,o){"use strict";function n(t,e){for(var o=0;o<t.length;o++)e(t[o])}function r(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function i(t,e,o){var n=t;return p(e)?(o=e,"string"==typeof t&&(n={uri:t})):n=d(e,{uri:t}),n.callback=o,n}function s(t,e,o){return e=i(t,e,o),a(e)}function a(t){function e(){4===c.readyState&&i()}function o(){var t=void 0;if(c.response?t=c.response:"text"!==c.responseType&&c.responseType||(t=c.responseText||c.responseXML),b)try{t=JSON.parse(t)}catch(t){}return t}function n(t){clearTimeout(h),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,a(t,l)}function i(){if(!d){var e;clearTimeout(h),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var n=l,r=null;0!==e?(n={body:o(),statusCode:e,method:v,headers:{},url:A,rawRequest:c},c.getAllResponseHeaders&&(n.headers=f(c.getAllResponseHeaders()))):r=new Error("Internal XMLHttpRequest Error"),a(r,n,n.body)}}var a=t.callback;if("undefined"==typeof a)throw new Error("callback argument missing");a=u(a);var l={body:void 0,headers:{},statusCode:0,method:v,url:A,rawRequest:c},c=t.xhr||null;c||(c=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var p,d,h,A=c.url=t.uri||t.url,v=c.method=t.method||"GET",g=t.body||t.data||null,y=c.headers=t.headers||{},m=!!t.sync,b=!1;if("json"in t&&(b=!0,y.accept||y.Accept||(y.Accept="application/json"),"GET"!==v&&"HEAD"!==v&&(y["content-type"]||y["Content-Type"]||(y["Content-Type"]="application/json"),g=JSON.stringify(t.json))),c.onreadystatechange=e,c.onload=i,c.onerror=n,c.onprogress=function(){},c.ontimeout=n,c.open(v,A,!m,t.username,t.password),m||(c.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(h=setTimeout(function(){d=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",n(t)},t.timeout)),c.setRequestHeader)for(p in y)y.hasOwnProperty(p)&&c.setRequestHeader(p,y[p]);else if(t.headers&&!r(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(c),c.send(g),c}function l(){}var c=t("global/window"),u=t("once"),p=t("is-function"),f=t("parse-headers"),d=t("xtend");e.exports=s,s.XMLHttpRequest=c.XMLHttpRequest||l,s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:c.XDomainRequest,n(["get","put","post","patch","head","delete"],function(t){s["delete"===t?"del":t]=function(e,o,n){return o=i(e,o,n),o.method=t.toUpperCase(),a(o)}})},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(t,e,o){function n(t){var e=r.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}e.exports=n;var r=Object.prototype.toString},{}],58:[function(t,e,o){function n(t){var e=!1;return function(){if(!e)return e=!0,t.apply(this,arguments)}}e.exports=n,n.proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}],59:[function(t,e,o){function n(t,e,o){if(!a(e))throw new TypeError("iterator must be a function");arguments.length<3&&(o=this),"[object Array]"===l.call(t)?r(t,e,o):"string"==typeof t?i(t,e,o):s(t,e,o)}function r(t,e,o){for(var n=0,r=t.length;n<r;n++)c.call(t,n)&&e.call(o,t[n],n,t)}function i(t,e,o){for(var n=0,r=t.length;n<r;n++)e.call(o,t.charAt(n),n,t)}function s(t,e,o){for(var n in t)c.call(t,n)&&e.call(o,t[n],n,t)}var a=t("is-function");e.exports=n;var l=Object.prototype.toString,c=Object.prototype.hasOwnProperty},{"is-function":57}],60:[function(t,e,o){function n(t){return t.replace(/^\s*|\s*$/g,"")}o=e.exports=n,o.left=function(t){return t.replace(/^\s*/,"")},o.right=function(t){return t.replace(/\s*$/,"")}},{}],61:[function(t,e,o){var n=t("trim"),r=t("for-each"),i=function(t){return"[object Array]"===Object.prototype.toString.call(t)};e.exports=function(t){if(!t)return{};var e={};return r(n(t).split("\n"),function(t){var o=t.indexOf(":"),r=n(t.slice(0,o)).toLowerCase(),s=n(t.slice(o+1));"undefined"==typeof e[r]?e[r]=s:i(e[r])?e[r].push(s):e[r]=[e[r],s]}),e}},{"for-each":59,trim:60}],62:[function(t,e,o){function n(){for(var t={},e=0;e<arguments.length;e++){var o=arguments[e];for(var n in o)r.call(o,n)&&(t[n]=o[n])}return t}e.exports=n;var r=Object.prototype.hasOwnProperty},{}],63:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./button.js"),a=n(s),l=t("./component.js"),c=n(l),u=function(t){function e(o,n){r(this,e),t.call(this,o,n)}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-big-play-button"},e.prototype.handleClick=function(){this.player_.play()},e}(a.default);u.prototype.controlText_="Play Video",c.default.registerComponent("BigPlayButton",u),o.default=u,e.exports=o.default},{"./button.js":64,"./component.js":67}],64:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./clickable-component.js"),l=r(a),c=t("./component"),u=r(c),p=t("./utils/events.js"),f=(n(p),t("./utils/fn.js")),d=(n(f),t("./utils/log.js")),h=r(d),A=t("global/document"),v=(r(A),t("object.assign")),g=r(v),y=function(t){function e(o,n){i(this,e),t.call(this,o,n)}return s(e,t),e.prototype.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"button":arguments[0],e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];e=g.default({className:this.buildCSSClass()},e),"button"!==t&&(h.default.warn("Creating a Button with an HTML element of "+t+" is deprecated; use ClickableComponent instead."),e=g.default({tabIndex:0},e),o=g.default({role:"button"},o)),o=g.default({type:"button","aria-live":"polite"},o);var n=u.default.prototype.createEl.call(this,t,e,o);return this.createControlTextEl(n),n},e.prototype.addChild=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=this.constructor.name;return h.default.warn("Adding an actionable (user controllable) child to a Button ("+o+") is not supported; use a ClickableComponent instead."),u.default.prototype.addChild.call(this,t,e)},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which||t.prototype.handleKeyPress.call(this,e)},e}(l.default);u.default.registerComponent("Button",y),o.default=y,e.exports=o.default},{"./clickable-component.js":65,"./component":67,"./utils/events.js":143,"./utils/fn.js":144,"./utils/log.js":147,"global/document":1,"object.assign":45}],65:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./component"),l=r(a),c=t("./utils/dom.js"),u=n(c),p=t("./utils/events.js"),f=n(p),d=t("./utils/fn.js"),h=n(d),A=t("./utils/log.js"),v=r(A),g=t("global/document"),y=r(g),m=t("object.assign"),b=r(m),j=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}return s(e,t),e.prototype.createEl=function(){var e=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];o=b.default({className:this.buildCSSClass(),tabIndex:0},o),"button"===e&&v.default.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=b.default({role:"button","aria-live":"polite"},n);var r=t.prototype.createEl.call(this,e,o,n);return this.createControlTextEl(r),r},e.prototype.createControlTextEl=function(t){return this.controlTextEl_=u.createEl("span",{className:"vjs-control-text"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.prototype.controlText=function(t){var e=arguments.length<=1||void 0===arguments[1]?this.el():arguments[1];if(!t)return this.controlText_||"Need Text";var o=this.localize(t);return this.controlText_=t,this.controlTextEl_.innerHTML=o,e.setAttribute("title",o),this},e.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},e.prototype.addChild=function(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return t.prototype.addChild.call(this,e,o)},e.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),this},e.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),this},e.prototype.handleClick=function(){},e.prototype.handleFocus=function(){f.on(y.default,"keydown",h.bind(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleClick(e)):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e.prototype.handleBlur=function(){f.off(y.default,"keydown",h.bind(this,this.handleKeyPress))},e}(l.default);l.default.registerComponent("ClickableComponent",j),
o.default=j,e.exports=o.default},{"./component":67,"./utils/dom.js":142,"./utils/events.js":143,"./utils/fn.js":144,"./utils/log.js":147,"global/document":1,"object.assign":45}],66:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./button"),a=n(s),l=t("./component"),c=n(l),u=function(t){function e(o,n){r(this,e),t.call(this,o,n),this.controlText(n&&n.controlText||this.localize("Close"))}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},e}(a.default);c.default.registerComponent("CloseButton",u),o.default=u,e.exports=o.default},{"./button":64,"./component":67}],67:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o.__esModule=!0;var s=t("global/window"),a=r(s),l=t("./utils/dom.js"),c=n(l),u=t("./utils/fn.js"),p=n(u),f=t("./utils/guid.js"),d=n(f),h=t("./utils/events.js"),A=n(h),v=t("./utils/log.js"),g=r(v),y=t("./utils/to-title-case.js"),m=r(y),b=t("./utils/merge-options.js"),j=r(b),w=function(){function t(e,o,n){if(i(this,t),!e&&this.play?this.player_=e=this:this.player_=e,this.options_=j.default({},this.options_),o=this.options_=j.default(this.options_,o),this.id_=o.id||o.el&&o.el.id,!this.id_){var r=e&&e.id&&e.id()||"no_player";this.id_=r+"_component_"+d.newGUID()}this.name_=o.name||null,o.el?this.el_=o.el:o.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},o.initChildren!==!1&&this.initChildren(),this.ready(n),o.reportTouchActivity!==!1&&this.enableTouchActivity()}return t.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),c.removeElData(this.el_),this.el_=null},t.prototype.player=function(){return this.player_},t.prototype.options=function(t){return g.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t?(this.options_=j.default(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,o){return c.createEl(t,e,o)},t.prototype.localize=function(t){var e=this.player_.language&&this.player_.language(),o=this.player_.languages&&this.player_.languages();if(!e||!o)return t;var n=o[e];if(n&&n[t])return n[t];var r=e.split("-")[0],i=o[r];return i&&i[t]?i[t]:t},t.prototype.contentEl=function(){return this.contentEl_||this.el_},t.prototype.id=function(){return this.id_},t.prototype.name=function(){return this.name_},t.prototype.children=function(){return this.children_},t.prototype.getChildById=function(t){return this.childIndex_[t]},t.prototype.getChild=function(t){return this.childNameIndex_[t]},t.prototype.addChild=function(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],r=void 0,i=void 0;if("string"==typeof e){i=e,o||(o={}),o===!0&&(g.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`."),o={});var s=o.componentClass||m.default(i);o.name=i;var a=t.getComponent(s);if(!a)throw new Error("Component "+s+" does not exist");if("function"!=typeof a)return null;r=new a(this.player_||this,o)}else r=e;if(this.children_.splice(n,0,r),"function"==typeof r.id&&(this.childIndex_[r.id()]=r),i=i||r.name&&r.name(),i&&(this.childNameIndex_[i]=r),"function"==typeof r.el&&r.el()){var l=this.contentEl().children,c=l[n]||null;this.contentEl().insertBefore(r.el(),c)}return r},t.prototype.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,o=this.children_.length-1;o>=0;o--)if(this.children_[o]===t){e=!0,this.children_.splice(o,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var n=t.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,o=this.options_.children;o&&!function(){var n=e.options_,r=function(t){var o=t.name,r=t.opts;if(void 0!==n[o]&&(r=n[o]),r!==!1){r===!0&&(r={}),r.playerOptions=e.options_.playerOptions;var i=e.addChild(o,r);i&&(e[o]=i)}},i=void 0,s=t.getComponent("Tech");i=Array.isArray(o)?o:Object.keys(o),i.concat(Object.keys(e.options_).filter(function(t){return!i.some(function(e){return"string"==typeof e?t===e:t===e.name})})).map(function(t){var n=void 0,r=void 0;return"string"==typeof t?(n=t,r=o[n]||e.options_[n]||{}):(n=t.name,r=t),{name:n,opts:r}}).filter(function(e){var o=t.getComponent(e.opts.componentClass||m.default(e.name));return o&&!s.isTech(o)}).forEach(r)}()},t.prototype.buildCSSClass=function(){return""},t.prototype.on=function(t,e,o){var n=this;return"string"==typeof t||Array.isArray(t)?A.on(this.el_,t,p.bind(this,e)):!function(){var r=t,i=e,s=p.bind(n,o),a=function(){return n.off(r,i,s)};a.guid=s.guid,n.on("dispose",a);var l=function(){return n.off("dispose",a)};l.guid=s.guid,t.nodeName?(A.on(r,i,s),A.on(r,"dispose",l)):"function"==typeof t.on&&(r.on(i,s),r.on("dispose",l))}(),this},t.prototype.off=function(t,e,o){if(!t||"string"==typeof t||Array.isArray(t))A.off(this.el_,t,e);else{var n=t,r=e,i=p.bind(this,o);this.off("dispose",i),t.nodeName?(A.off(n,r,i),A.off(n,"dispose",i)):(n.off(r,i),n.off("dispose",i))}return this},t.prototype.one=function(t,e,o){var n=this,r=arguments;return"string"==typeof t||Array.isArray(t)?A.one(this.el_,t,p.bind(this,e)):!function(){var i=t,s=e,a=p.bind(n,o),l=function t(){n.off(i,s,t),a.apply(null,r)};l.guid=a.guid,n.on(i,s,l)}(),this},t.prototype.trigger=function(t,e){return A.trigger(this.el_,t,e),this},t.prototype.ready=function(t){var e=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return t&&(this.isReady_?e?t.call(this):this.setTimeout(t,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(t))),this},t.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},t.prototype.$=function(t,e){return c.$(t,e||this.contentEl())},t.prototype.$$=function(t,e){return c.$$(t,e||this.contentEl())},t.prototype.hasClass=function(t){return c.hasElClass(this.el_,t)},t.prototype.addClass=function(t){return c.addElClass(this.el_,t),this},t.prototype.removeClass=function(t){return c.removeElClass(this.el_,t),this},t.prototype.toggleClass=function(t,e){return c.toggleElClass(this.el_,t,e),this},t.prototype.show=function(){return this.removeClass("vjs-hidden"),this},t.prototype.hide=function(){return this.addClass("vjs-hidden"),this},t.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},t.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},t.prototype.width=function(t,e){return this.dimension("width",t,e)},t.prototype.height=function(t,e){return this.dimension("height",t,e)},t.prototype.dimensions=function(t,e){return this.width(t,!0).height(e)},t.prototype.dimension=function(t,e,o){if(void 0!==e)return null!==e&&e===e||(e=0),(""+e).indexOf("%")!==-1||(""+e).indexOf("px")!==-1?this.el_.style[t]=e:"auto"===e?this.el_.style[t]="":this.el_.style[t]=e+"px",o||this.trigger("resize"),this;if(!this.el_)return 0;var n=this.el_.style[t],r=n.indexOf("px");return r!==-1?parseInt(n.slice(0,r),10):parseInt(this.el_["offset"+m.default(t)],10)},t.prototype.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if("function"==typeof a.default.getComputedStyle){var o=a.default.getComputedStyle(this.el_);e=o.getPropertyValue(t)||o[t]}else if(this.el_.currentStyle){var n="offset"+m.default(t);e=this.el_[n]}return e=parseFloat(e)},t.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.prototype.currentWidth=function(){return this.currentDimension("width")},t.prototype.currentHeight=function(){return this.currentDimension("height")},t.prototype.emitTapEvents=function(){var t=0,e=null,o=10,n=200,r=void 0;this.on("touchstart",function(o){1===o.touches.length&&(e={pageX:o.touches[0].pageX,pageY:o.touches[0].pageY},t=(new Date).getTime(),r=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)r=!1;else if(e){var n=t.touches[0].pageX-e.pageX,i=t.touches[0].pageY-e.pageY,s=Math.sqrt(n*n+i*i);s>o&&(r=!1)}});var i=function(){r=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(o){if(e=null,r===!0){var i=(new Date).getTime()-t;i<n&&(o.preventDefault(),this.trigger("tap"))}})},t.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t=p.bind(this.player(),this.player().reportUserActivity),e=void 0;this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var o=function(o){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",o),this.on("touchcancel",o)}},t.prototype.setTimeout=function(t,e){t=p.bind(this,t);var o=a.default.setTimeout(t,e),n=function(){this.clearTimeout(o)};return n.guid="vjs-timeout-"+o,this.on("dispose",n),o},t.prototype.clearTimeout=function(t){a.default.clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},t.prototype.setInterval=function(t,e){t=p.bind(this,t);var o=a.default.setInterval(t,e),n=function(){this.clearInterval(o)};return n.guid="vjs-interval-"+o,this.on("dispose",n),o},t.prototype.clearInterval=function(t){a.default.clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},t.registerComponent=function(e,o){return t.components_||(t.components_={}),t.components_[e]=o,o},t.getComponent=function(e){return t.components_&&t.components_[e]?t.components_[e]:a.default&&a.default.videojs&&a.default.videojs[e]?(g.default.warn("The "+e+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),a.default.videojs[e]):void 0},t.extend=function(e){e=e||{},g.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var o=e.init||e.init||this.prototype.init||this.prototype.init||function(){},n=function(){o.apply(this,arguments)};n.prototype=Object.create(this.prototype),n.prototype.constructor=n,n.extend=t.extend;for(var r in e)e.hasOwnProperty(r)&&(n.prototype[r]=e[r]);return n},t}();w.registerComponent("Component",w),o.default=w,e.exports=o.default},{"./utils/dom.js":142,"./utils/events.js":143,"./utils/fn.js":144,"./utils/guid.js":146,"./utils/log.js":147,"./utils/merge-options.js":148,"./utils/to-title-case.js":151,"global/window":2}],68:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../track-button.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=(n(p),t("./audio-track-menu-item.js")),d=r(f),h=function(t){function e(o){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];i(this,e),n.tracks=o.audioTracks&&o.audioTracks(),t.call(this,o,n),this.el_.setAttribute("aria-label","Audio Menu")}return s(e,t),e.prototype.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},e.prototype.createItems=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=this.player_.audioTracks&&this.player_.audioTracks();if(!e)return t;for(var o=0;o<e.length;o++){var n=e[o];t.push(new d.default(this.player_,{selectable:!0,track:n}))}return t},e}(l.default);h.prototype.controlText_="Audio Track",u.default.registerComponent("AudioTrackButton",h),o.default=h,e.exports=o.default},{"../../component.js":67,"../../utils/fn.js":144,"../track-button.js":98,"./audio-track-menu-item.js":69}],69:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../menu/menu-item.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=n(p),d=function(t){function e(o,n){var r=this;i(this,e);var s=n.track,a=o.audioTracks();n.label=s.label||s.language||"Unknown",n.selected=s.enabled,t.call(this,o,n),this.track=s,a&&!function(){var t=f.bind(r,r.handleTracksChange);a.addEventListener("change",t),r.on("dispose",function(){a.removeEventListener("change",t)})}()}return s(e,t),e.prototype.handleClick=function(e){var o=this.player_.audioTracks();if(t.prototype.handleClick.call(this,e),o)for(var n=0;n<o.length;n++){var r=o[n];r.enabled=r===this.track}},e.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(l.default);u.default.registerComponent("AudioTrackMenuItem",d),o.default=d,e.exports=o.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":144}],70:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../component.js"),a=n(s),l=t("./play-toggle.js"),c=(n(l),t("./time-controls/current-time-display.js")),u=(n(c),t("./time-controls/duration-display.js")),p=(n(u),t("./time-controls/time-divider.js")),f=(n(p),t("./time-controls/remaining-time-display.js")),d=(n(f),t("./live-display.js")),h=(n(d),t("./progress-control/progress-control.js")),A=(n(h),t("./fullscreen-toggle.js")),v=(n(A),t("./volume-control/volume-control.js")),g=(n(v),t("./volume-menu-button.js")),y=(n(g),t("./mute-toggle.js")),m=(n(y),t("./text-track-controls/chapters-button.js")),b=(n(m),t("./text-track-controls/descriptions-button.js")),j=(n(b),t("./text-track-controls/subtitles-button.js")),w=(n(j),t("./text-track-controls/captions-button.js")),_=(n(w),t("./audio-track-controls/audio-track-button.js")),T=(n(_),t("./playback-rate-menu/playback-rate-menu-button.js")),E=(n(T),t("./spacer-controls/custom-control-spacer.js")),k=(n(E),function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},e}(a.default));k.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},a.default.registerComponent("ControlBar",k),o.default=k,e.exports=o.default},{"../component.js":67,"./audio-track-controls/audio-track-button.js":68,"./fullscreen-toggle.js":71,"./live-display.js":72,"./mute-toggle.js":73,"./play-toggle.js":74,"./playback-rate-menu/playback-rate-menu-button.js":75,"./progress-control/progress-control.js":80,"./spacer-controls/custom-control-spacer.js":83,"./text-track-controls/captions-button.js":86,"./text-track-controls/chapters-button.js":87,"./text-track-controls/descriptions-button.js":89,"./text-track-controls/subtitles-button.js":91,"./time-controls/current-time-display.js":94,"./time-controls/duration-display.js":95,"./time-controls/remaining-time-display.js":96,"./time-controls/time-divider.js":97,"./volume-control/volume-control.js":100,"./volume-menu-button.js":102}],71:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../button.js"),a=n(s),l=t("../component.js"),c=n(l),u=function(t){function e(o,n){r(this,e),t.call(this,o,n),this.on(o,"fullscreenchange",this.handleFullscreenChange)}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleFullscreenChange=function(){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.prototype.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(a.default);u.prototype.controlText_="Fullscreen",c.default.registerComponent("FullscreenToggle",u),o.default=u,e.exports=o.default},{"../button.js":64,"../component.js":67}],72:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../component"),l=r(a),c=t("../utils/dom.js"),u=n(c),p=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.updateShowing(),this.on(this.player(),"durationchange",this.updateShowing)}return s(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},e}(l.default);l.default.registerComponent("LiveDisplay",p),o.default=p,e.exports=o.default},{"../component":67,"../utils/dom.js":142}],73:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../button"),l=r(a),c=t("../component"),u=r(c),p=t("../utils/dom.js"),f=n(p),d=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"volumechange",this.update),o.tech_&&o.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden"),this.on(o,"loadstart",function(){this.update(),o.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return s(e,t),e.prototype.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},e.prototype.update=function(){var t=this.player_.volume(),e=3;0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);var o=this.player_.muted()?"Unmute":"Mute";this.controlText()!==o&&this.controlText(o);for(var n=0;n<4;n++)f.removeElClass(this.el_,"vjs-vol-"+n);f.addElClass(this.el_,"vjs-vol-"+e)},e}(l.default);d.prototype.controlText_="Mute",u.default.registerComponent("MuteToggle",d),o.default=d,e.exports=o.default},{"../button":64,"../component":67,"../utils/dom.js":142}],74:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../button.js"),a=n(s),l=t("../component.js"),c=n(l),u=function(t){function e(o,n){r(this,e),t.call(this,o,n),this.on(o,"play",this.handlePlay),this.on(o,"pause",this.handlePause)}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handlePlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.prototype.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e}(a.default);u.prototype.controlText_="Play",c.default.registerComponent("PlayToggle",u),o.default=u,e.exports=o.default},{"../button.js":64,"../component.js":67}],75:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../menu/menu-button.js"),l=r(a),c=t("../../menu/menu.js"),u=r(c),p=t("./playback-rate-menu-item.js"),f=r(p),d=t("../../component.js"),h=r(d),A=t("../../utils/dom.js"),v=n(A),g=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.updateVisibility(),this.updateLabel(),this.on(o,"loadstart",this.updateVisibility),this.on(o,"ratechange",this.updateLabel)}return s(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelEl_=v.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),e.appendChild(this.labelEl_),e},e.prototype.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},e.prototype.createMenu=function(){var t=new u.default(this.player()),e=this.playbackRates();if(e)for(var o=e.length-1;o>=0;o--)t.addChild(new f.default(this.player(),{rate:e[o]+"x"}));return t},e.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.prototype.handleClick=function(){for(var t=this.player().playbackRate(),e=this.playbackRates(),o=e[0],n=0;n<e.length;n++)if(e[n]>t){o=e[n];break}this.player().playbackRate(o)},e.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},e.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},e}(l.default);g.prototype.controlText_="Playback Rate",h.default.registerComponent("PlaybackRateMenuButton",g),o.default=g,e.exports=o.default},{"../../component.js":67,"../../menu/menu-button.js":109,"../../menu/menu.js":111,"../../utils/dom.js":142,"./playback-rate-menu-item.js":76}],76:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../../menu/menu-item.js"),a=n(s),l=t("../../component.js"),c=n(l),u=function(t){function e(o,n){r(this,e);var i=n.rate,s=parseFloat(i,10);n.label=i,n.selected=1===s,t.call(this,o,n),this.label=i,this.rate=s,this.on(o,"ratechange",this.update)}return i(e,t),e.prototype.handleClick=function(){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},e}(a.default);u.prototype.contentElType="button",c.default.registerComponent("PlaybackRateMenuItem",u),o.default=u,e.exports=o.default},{"../../component.js":67,"../../menu/menu-item.js":110}],77:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../component.js"),l=r(a),c=t("../../utils/dom.js"),u=n(c),p=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"progress",this.update)}return s(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},e.prototype.update=function(){var t=this.player_.buffered(),e=this.player_.duration(),o=this.player_.bufferedEnd(),n=this.el_.children,r=function(t,e){var o=t/e||0;return 100*(o>=1?1:o)+"%"};this.el_.style.width=r(o,e);for(var i=0;i<t.length;i++){var s=t.start(i),a=t.end(i),l=n[i];l||(l=this.el_.appendChild(u.createEl())),l.style.left=r(s,o),l.style.width=r(a-s,o)}for(var i=n.length;i>t.length;i--)this.el_.removeChild(n[i-1])},e}(l.default);l.default.registerComponent("LoadProgressBar",p),o.default=p,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142}],78:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("global/window"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/dom.js"),f=n(p),d=t("../../utils/fn.js"),h=n(d),A=t("../../utils/format-time.js"),v=r(A),g=t("lodash-compat/function/throttle"),y=r(g),m=function(t){function e(o,n){var r=this;i(this,e),t.call(this,o,n),n.playerOptions&&n.playerOptions.controlBar&&n.playerOptions.controlBar.progressControl&&n.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=n.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltip=f.createEl("div",{className:"vjs-time-tooltip"}),this.el().appendChild(this.tooltip),this.addClass("vjs-keep-tooltips-inside")),this.update(0,0),o.on("ready",function(){r.on(o.controlBar.progressControl.el(),"mousemove",y.default(h.bind(r,r.handleMouseMove),25))})}return s(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.handleMouseMove=function(t){var e=this.player_.duration(),o=this.calculateDistance(t)*e,n=t.pageX-f.findElPosition(this.el().parentNode).left;this.update(o,n)},e.prototype.update=function(t,e){var o=v.default(t,this.player_.duration());if(this.el().style.left=e+"px",this.el().setAttribute("data-current-time",o),this.keepTooltipsInside){var n=this.clampPosition_(e),r=e-n+1,i=parseFloat(l.default.getComputedStyle(this.tooltip).width),s=i/2;this.tooltip.innerHTML=o,this.tooltip.style.right="-"+(s-r)+"px"}},e.prototype.calculateDistance=function(t){return f.getPointerPosition(this.el().parentNode,t).x},e.prototype.clampPosition_=function(t){if(!this.keepTooltipsInside)return t;var e=parseFloat(l.default.getComputedStyle(this.player().el()).width),o=parseFloat(l.default.getComputedStyle(this.tooltip).width),n=o/2,r=t;return t<n?r=Math.ceil(n):t>e-n&&(r=Math.floor(e-n)),r},e}(u.default);u.default.registerComponent("MouseTimeDisplay",m),o.default=m,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142,"../../utils/fn.js":144,"../../utils/format-time.js":145,"global/window":2,"lodash-compat/function/throttle":7}],79:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");
}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../component.js"),l=r(a),c=t("../../utils/fn.js"),u=n(c),p=t("../../utils/dom.js"),f=(n(p),t("../../utils/format-time.js")),d=r(f),h=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.updateDataAttr(),this.on(o,"timeupdate",this.updateDataAttr),o.ready(u.bind(this,this.updateDataAttr)),n.playerOptions&&n.playerOptions.controlBar&&n.playerOptions.controlBar.progressControl&&n.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=n.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&this.addClass("vjs-keep-tooltips-inside")}return s(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},e.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",d.default(t,this.player_.duration()))},e}(l.default);l.default.registerComponent("PlayProgressBar",h),o.default=h,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142,"../../utils/fn.js":144,"../../utils/format-time.js":145}],80:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../../component.js"),a=n(s),l=t("./seek-bar.js"),c=(n(l),t("./mouse-time-display.js")),u=(n(c),function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e}(a.default));u.prototype.options_={children:["seekBar"]},a.default.registerComponent("ProgressControl",u),o.default=u,e.exports=o.default},{"../../component.js":67,"./mouse-time-display.js":78,"./seek-bar.js":81}],81:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("global/window"),l=r(a),c=t("../../slider/slider.js"),u=r(c),p=t("../../component.js"),f=r(p),d=t("./load-progress-bar.js"),h=(r(d),t("./play-progress-bar.js")),A=(r(h),t("./tooltip-progress-bar.js")),v=(r(A),t("../../utils/fn.js")),g=n(v),y=t("../../utils/format-time.js"),m=r(y),b=t("object.assign"),j=(r(b),function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"timeupdate",this.updateProgress),this.on(o,"ended",this.updateProgress),o.ready(g.bind(this,this.updateProgress)),n.playerOptions&&n.playerOptions.controlBar&&n.playerOptions.controlBar.progressControl&&n.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=n.playerOptions.controlBar.progressControl.keepTooltipsInside),this.keepTooltipsInside&&(this.tooltipProgressBar=this.addChild("TooltipProgressBar"))}return s(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},e.prototype.updateProgress=function(){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var t=parseFloat(l.default.getComputedStyle(this.player().el()).width),e=parseFloat(l.default.getComputedStyle(this.tooltipProgressBar.tooltip).width),o=this.tooltipProgressBar.el().style;o.maxWidth=Math.floor(t-e/2)+"px",o.minWidth=Math.ceil(e/2)+"px",o.right="-"+e/2+"px"}},e.prototype.updateAriaAttributes=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();t.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),t.setAttribute("aria-valuetext",m.default(e,this.player_.duration()))},e.prototype.getPercent=function(){var t=this.player_.currentTime()/this.player_.duration();return t>=1?1:t},e.prototype.handleMouseDown=function(e){t.prototype.handleMouseDown.call(this,e),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},e.prototype.handleMouseMove=function(t){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)},e.prototype.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},e.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},e}(u.default));j.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},j.prototype.playerEvent="timeupdate",f.default.registerComponent("SeekBar",j),o.default=j,e.exports=o.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":144,"../../utils/format-time.js":145,"./load-progress-bar.js":77,"./play-progress-bar.js":79,"./tooltip-progress-bar.js":82,"global/window":2,"object.assign":45}],82:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../component.js"),l=r(a),c=t("../../utils/fn.js"),u=n(c),p=t("../../utils/dom.js"),f=(n(p),t("../../utils/format-time.js")),d=r(f),h=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.updateDataAttr(),this.on(o,"timeupdate",this.updateDataAttr),o.ready(u.bind(this,this.updateDataAttr))}return s(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=e.querySelector(".vjs-time-tooltip"),e},e.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),e=d.default(t,this.player_.duration());this.el_.setAttribute("data-current-time",e),this.tooltip.innerHTML=e},e}(l.default);l.default.registerComponent("TooltipProgressBar",h),o.default=h,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142,"../../utils/fn.js":144,"../../utils/format-time.js":145}],83:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./spacer.js"),a=n(s),l=t("../../component.js"),c=n(l),u=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML="&nbsp;",e},e}(a.default);c.default.registerComponent("CustomControlSpacer",u),o.default=u,e.exports=o.default},{"../../component.js":67,"./spacer.js":84}],84:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../../component.js"),a=n(s),l=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(a.default);a.default.registerComponent("Spacer",l),o.default=l,e.exports=o.default},{"../../component.js":67}],85:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./text-track-menu-item.js"),a=n(s),l=t("../../component.js"),c=n(l),u=function(t){function e(o,n){r(this,e),n.track={kind:n.kind,player:o,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,t.call(this,o,n),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+n.kind+" settings dialog")}return i(e,t),e.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},e}(a.default);c.default.registerComponent("CaptionSettingsMenuItem",u),o.default=u,e.exports=o.default},{"../../component.js":67,"./text-track-menu-item.js":93}],86:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./text-track-button.js"),a=n(s),l=t("../../component.js"),c=n(l),u=t("./caption-settings-menu-item.js"),p=n(u),f=function(t){function e(o,n,i){r(this,e),t.call(this,o,n,i),this.el_.setAttribute("aria-label","Captions Menu")}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.update=function(){var e=2;t.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(e=1),this.items&&this.items.length>e?this.show():this.hide()},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||e.push(new p.default(this.player_,{kind:this.kind_})),t.prototype.createItems.call(this,e)},e}(a.default);f.prototype.kind_="captions",f.prototype.controlText_="Captions",c.default.registerComponent("CaptionsButton",f),o.default=f,e.exports=o.default},{"../../component.js":67,"./caption-settings-menu-item.js":85,"./text-track-button.js":92}],87:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./text-track-button.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("./text-track-menu-item.js"),f=r(p),d=t("./chapters-track-menu-item.js"),h=r(d),A=t("../../menu/menu.js"),v=r(A),g=t("../../utils/dom.js"),y=n(g),m=t("../../utils/fn.js"),b=(n(m),t("../../utils/to-title-case.js")),j=r(b),w=t("global/window"),_=(r(w),function(t){function e(o,n,r){i(this,e),t.call(this,o,n,r),this.el_.setAttribute("aria-label","Chapters Menu")}return s(e,t),e.prototype.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},e.prototype.createItems=function(){var t=[],e=this.player_.textTracks();if(!e)return t;for(var o=0;o<e.length;o++){var n=e[o];n.kind===this.kind_&&t.push(new f.default(this.player_,{track:n}))}return t},e.prototype.createMenu=function(){for(var t=this,e=this.player_.textTracks()||[],o=void 0,n=this.items||[],r=e.length-1;r>=0;r--){var i=e[r];if(i.kind===this.kind_){o=i;break}}var s=this.menu;if(void 0===s){s=new v.default(this.player_);var a=y.createEl("li",{className:"vjs-menu-title",innerHTML:j.default(this.kind_),tabIndex:-1});s.children_.unshift(a),y.insertElFirst(a,s.contentEl())}else n.forEach(function(t){return s.removeChild(t)}),n=[];if(o&&null==o.cues){o.mode="hidden";var l=this.player_.remoteTextTrackEls().getTrackElementByTrack_(o);l&&l.addEventListener("load",function(e){return t.update()})}if(o&&o.cues&&o.cues.length>0)for(var c=o.cues,u=void 0,r=0,p=c.length;r<p;r++){u=c[r];var f=new h.default(this.player_,{track:o,cue:u});n.push(f),s.addChild(f)}return n.length>0&&this.show(),this.items=n,s},e}(l.default));_.prototype.kind_="chapters",_.prototype.controlText_="Chapters",u.default.registerComponent("ChaptersButton",_),o.default=_,e.exports=o.default},{"../../component.js":67,"../../menu/menu.js":111,"../../utils/dom.js":142,"../../utils/fn.js":144,"../../utils/to-title-case.js":151,"./chapters-track-menu-item.js":88,"./text-track-button.js":92,"./text-track-menu-item.js":93,"global/window":2}],88:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../menu/menu-item.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=n(p),d=function(t){function e(o,n){i(this,e);var r=n.track,s=n.cue,a=o.currentTime();n.label=s.text,n.selected=s.startTime<=a&&a<s.endTime,t.call(this,o,n),this.track=r,this.cue=s,r.addEventListener("cuechange",f.bind(this,this.update))}return s(e,t),e.prototype.handleClick=function(){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.prototype.update=function(){var t=this.cue,e=this.player_.currentTime();this.selected(t.startTime<=e&&e<t.endTime)},e}(l.default);u.default.registerComponent("ChaptersTrackMenuItem",d),o.default=d,e.exports=o.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":144}],89:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./text-track-button.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=n(p),d=function(t){function e(o,n,r){var s=this;i(this,e),t.call(this,o,n,r),this.el_.setAttribute("aria-label","Descriptions Menu");var a=o.textTracks();a&&!function(){var t=f.bind(s,s.handleTracksChange);a.addEventListener("change",t),s.on("dispose",function(){a.removeEventListener("change",t)})}()}return s(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),o=!1,n=0,r=e.length;n<r;n++){var i=e[n];if(i.kind!==this.kind_&&"showing"===i.mode){o=!0;break}}o?this.disable():this.enable()},e.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},e}(l.default);d.prototype.kind_="descriptions",d.prototype.controlText_="Descriptions",u.default.registerComponent("DescriptionsButton",d),o.default=d,e.exports=o.default},{"../../component.js":67,"../../utils/fn.js":144,"./text-track-button.js":92}],90:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./text-track-menu-item.js"),a=n(s),l=t("../../component.js"),c=n(l),u=function(t){function e(o,n){r(this,e),n.track={kind:n.kind,player:o,label:n.kind+" off",default:!1,mode:"disabled"},n.selectable=!0,t.call(this,o,n),this.selected(!0)}return i(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),o=!0,n=0,r=e.length;n<r;n++){var i=e[n];if(i.kind===this.track.kind&&"showing"===i.mode){o=!1;break}}this.selected(o)},e}(a.default);c.default.registerComponent("OffTextTrackMenuItem",u),o.default=u,e.exports=o.default},{"../../component.js":67,"./text-track-menu-item.js":93}],91:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./text-track-button.js"),a=n(s),l=t("../../component.js"),c=n(l),u=function(t){function e(o,n,i){r(this,e),t.call(this,o,n,i),this.el_.setAttribute("aria-label","Subtitles Menu")}return i(e,t),e.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},e}(a.default);u.prototype.kind_="subtitles",u.prototype.controlText_="Subtitles",c.default.registerComponent("SubtitlesButton",u),o.default=u,e.exports=o.default},{"../../component.js":67,"./text-track-button.js":92}],92:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../track-button.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=(n(p),t("./text-track-menu-item.js")),d=r(f),h=t("./off-text-track-menu-item.js"),A=r(h),v=function(t){function e(o){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];i(this,e),n.tracks=o.textTracks(),t.call(this,o,n)}return s(e,t),e.prototype.createItems=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];t.push(new A.default(this.player_,{kind:this.kind_}));var e=this.player_.textTracks();if(!e)return t;for(var o=0;o<e.length;o++){var n=e[o];n.kind===this.kind_&&t.push(new d.default(this.player_,{selectable:!0,track:n}))}return t},e}(l.default);u.default.registerComponent("TextTrackButton",v),o.default=v,e.exports=o.default},{"../../component.js":67,"../../utils/fn.js":144,"../track-button.js":98,"./off-text-track-menu-item.js":90,"./text-track-menu-item.js":93}],93:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../menu/menu-item.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=n(p),d=t("global/window"),h=r(d),A=t("global/document"),v=r(A),g=function(t){function e(o,n){var r=this;i(this,e);var s=n.track,a=o.textTracks();n.label=s.label||s.language||"Unknown",n.selected=s.default||"showing"===s.mode,t.call(this,o,n),this.track=s,a&&!function(){var t=f.bind(r,r.handleTracksChange);a.addEventListener("change",t),r.on("dispose",function(){a.removeEventListener("change",t)})}(),a&&void 0===a.onchange&&!function(){var t=void 0;r.on(["tap","click"],function(){if("object"!=typeof h.default.Event)try{t=new h.default.Event("change")}catch(t){}t||(t=v.default.createEvent("Event"),t.initEvent("change",!0,!0)),a.dispatchEvent(t)})}()}return s(e,t),e.prototype.handleClick=function(e){var o=this.track.kind,n=this.player_.textTracks();if(t.prototype.handleClick.call(this,e),n)for(var r=0;r<n.length;r++){var i=n[r];i.kind===o&&(i===this.track?i.mode="showing":i.mode="disabled")}},e.prototype.handleTracksChange=function(t){this.selected("showing"===this.track.mode)},e}(l.default);u.default.registerComponent("TextTrackMenuItem",g),o.default=g,e.exports=o.default},{"../../component.js":67,"../../menu/menu-item.js":110,"../../utils/fn.js":144,"global/document":1,"global/window":2}],94:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../component.js"),l=r(a),c=t("../../utils/dom.js"),u=n(c),p=t("../../utils/format-time.js"),f=r(p),d=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"timeupdate",this.updateContent)}return s(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.updateContent=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),e=this.localize("Current Time"),o=f.default(t,this.player_.duration());o!==this.formattedTime_&&(this.formattedTime_=o,this.contentEl_.innerHTML='<span class="vjs-control-text">'+e+"</span> "+o)},e}(l.default);l.default.registerComponent("CurrentTimeDisplay",d),o.default=d,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142,"../../utils/format-time.js":145}],95:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../component.js"),l=r(a),c=t("../../utils/dom.js"),u=n(c),p=t("../../utils/format-time.js"),f=r(p),d=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"durationchange",this.updateContent)}return s(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.updateContent=function(){var t=this.player_.duration();if(t&&this.duration_!==t){this.duration_=t;var e=this.localize("Duration Time"),o=f.default(t);this.contentEl_.innerHTML='<span class="vjs-control-text">'+e+"</span> "+o}},e}(l.default);l.default.registerComponent("DurationDisplay",d),o.default=d,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142,"../../utils/format-time.js":145}],96:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../component.js"),l=r(a),c=t("../../utils/dom.js"),u=n(c),p=t("../../utils/format-time.js"),f=r(p),d=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"timeupdate",this.updateContent),this.on(o,"durationchange",this.updateContent)}return s(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=u.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.updateContent=function(){if(this.player_.duration()){var t=this.localize("Remaining Time"),e=f.default(this.player_.remainingTime());e!==this.formattedTime_&&(this.formattedTime_=e,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> -"+e)}},e}(l.default);l.default.registerComponent("RemainingTimeDisplay",d),o.default=d,e.exports=o.default},{"../../component.js":67,"../../utils/dom.js":142,"../../utils/format-time.js":145}],97:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../../component.js"),a=n(s),l=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},e}(a.default);a.default.registerComponent("TimeDivider",l),o.default=l,e.exports=o.default},{"../../component.js":67}],98:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../menu/menu-button.js"),l=r(a),c=t("../component.js"),u=r(c),p=t("../utils/fn.js"),f=n(p),d=function(t){function e(o,n){i(this,e);var r=n.tracks;if(t.call(this,o,n),this.items.length<=1&&this.hide(),r){var s=f.bind(this,this.update);r.addEventListener("removetrack",s),r.addEventListener("addtrack",s),this.player_.on("dispose",function(){r.removeEventListener("removetrack",s),r.removeEventListener("addtrack",s)})}}return s(e,t),e}(l.default);u.default.registerComponent("TrackButton",d),o.default=d,e.exports=o.default},{"../component.js":67,"../menu/menu-button.js":109,"../utils/fn.js":144}],99:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{
constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../../slider/slider.js"),l=r(a),c=t("../../component.js"),u=r(c),p=t("../../utils/fn.js"),f=n(p),d=t("./volume-level.js"),h=(r(d),function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"volumechange",this.updateARIAAttributes),o.ready(f.bind(this,this.updateARIAAttributes))}return s(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},e.prototype.handleMouseMove=function(t){this.checkMuted(),this.player_.volume(this.calculateDistance(t))},e.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.prototype.updateARIAAttributes=function(){var t=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},e}(l.default));h.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},h.prototype.playerEvent="volumechange",u.default.registerComponent("VolumeBar",h),o.default=h,e.exports=o.default},{"../../component.js":67,"../../slider/slider.js":119,"../../utils/fn.js":144,"./volume-level.js":101}],100:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../../component.js"),a=n(s),l=t("./volume-bar.js"),c=(n(l),function(t){function e(o,n){r(this,e),t.call(this,o,n),o.tech_&&o.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden"),this.on(o,"loadstart",function(){o.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return i(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},e}(a.default));c.prototype.options_={children:["volumeBar"]},a.default.registerComponent("VolumeControl",c),o.default=c,e.exports=o.default},{"../../component.js":67,"./volume-bar.js":99}],101:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../../component.js"),a=n(s),l=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(a.default);a.default.registerComponent("VolumeLevel",l),o.default=l,e.exports=o.default},{"../../component.js":67}],102:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../utils/fn.js"),l=r(a),c=t("../component.js"),u=n(c),p=t("../popup/popup.js"),f=n(p),d=t("../popup/popup-button.js"),h=n(d),A=t("./mute-toggle.js"),v=n(A),g=t("./volume-control/volume-bar.js"),y=n(g),m=function(t){function e(o){function n(){o.tech_&&o.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];i(this,e),void 0===r.inline&&(r.inline=!0),void 0===r.vertical&&(r.inline?r.vertical=!1:r.vertical=!0),r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=!!r.vertical,t.call(this,o,r),this.on(o,"volumechange",this.volumeUpdate),this.on(o,"loadstart",this.volumeUpdate),n.call(this),this.on(o,"loadstart",n),this.on(this.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),this.on(this.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),this.on(this.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),this.on(this.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")})}return s(e,t),e.prototype.buildCSSClass=function(){var e="";return e=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+t.prototype.buildCSSClass.call(this)+" "+e},e.prototype.createPopup=function(){var t=new f.default(this.player_,{contentElType:"div"}),e=new y.default(this.player_,this.options_.volumeBar);return t.addChild(e),this.menuContent=t,this.volumeBar=e,this.attachVolumeBarEvents(),t},e.prototype.handleClick=function(){v.default.prototype.handleClick.call(this),t.prototype.handleClick.call(this)},e.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],l.bind(this,this.handleMouseDown))},e.prototype.handleMouseDown=function(t){this.on(["mousemove","touchmove"],l.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},e.prototype.handleMouseUp=function(t){this.off(["mousemove","touchmove"],l.bind(this.volumeBar,this.volumeBar.handleMouseMove))},e}(h.default);m.prototype.volumeUpdate=v.default.prototype.update,m.prototype.controlText_="Mute",u.default.registerComponent("VolumeMenuButton",m),o.default=m,e.exports=o.default},{"../component.js":67,"../popup/popup-button.js":115,"../popup/popup.js":116,"../utils/fn.js":144,"./mute-toggle.js":73,"./volume-control/volume-bar.js":99}],103:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./component"),l=r(a),c=t("./modal-dialog"),u=r(c),p=t("./utils/dom"),f=(n(p),t("./utils/merge-options")),d=r(f),h=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.on(o,"error",this.open)}return s(e,t),e.prototype.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},e.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(u.default);h.prototype.options_=d.default(u.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),l.default.registerComponent("ErrorDisplay",h),o.default=h,e.exports=o.default},{"./component":67,"./modal-dialog":112,"./utils/dom":142,"./utils/merge-options":148}],104:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}o.__esModule=!0;var r=t("./utils/events.js"),i=n(r),s=function(){};s.prototype.allowedEvents_={},s.prototype.on=function(t,e){var o=this.addEventListener;this.addEventListener=function(){},i.on(this,t,e),this.addEventListener=o},s.prototype.addEventListener=s.prototype.on,s.prototype.off=function(t,e){i.off(this,t,e)},s.prototype.removeEventListener=s.prototype.off,s.prototype.one=function(t,e){var o=this.addEventListener;this.addEventListener=function(){},i.one(this,t,e),this.addEventListener=o},s.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=i.fixEvent(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),i.trigger(this,t)},s.prototype.dispatchEvent=s.prototype.trigger,o.default=s,e.exports=o.default},{"./utils/events.js":143}],105:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}o.__esModule=!0;var r=t("./utils/log"),i=n(r),s=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)},a=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=function(){t.apply(this,arguments)},n={};"object"==typeof e?("function"==typeof e.init&&(i.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),e.constructor=e.init),e.constructor!==Object.prototype.constructor&&(o=e.constructor),n=e):"function"==typeof e&&(o=e),s(o,t);for(var r in n)n.hasOwnProperty(r)&&(o.prototype[r]=n[r]);return o};o.default=a,e.exports=o.default},{"./utils/log":147}],106:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}o.__esModule=!0;for(var r=t("global/document"),i=n(r),s={},a=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],l=a[0],c=void 0,u=0;u<a.length;u++)if(a[u][1]in i.default){c=a[u];break}if(c)for(var u=0;u<c.length;u++)s[l[u]]=c[u];o.default=s,e.exports=o.default},{"global/document":1}],107:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("./component"),a=n(s),l=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},e}(a.default);a.default.registerComponent("LoadingSpinner",l),o.default=l,e.exports=o.default},{"./component":67}],108:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){return t instanceof r?t:("number"==typeof t?this.code=t:"string"==typeof t?this.message=t:"object"==typeof t&&("number"==typeof t.code&&(this.code=t.code),s.default(this,t)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}o.__esModule=!0;var i=t("object.assign"),s=n(i);r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var a=0;a<r.errorTypes.length;a++)r[r.errorTypes[a]]=a,r.prototype[r.errorTypes[a]]=a;o.default=r,e.exports=o.default},{"object.assign":45}],109:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../clickable-component.js"),l=r(a),c=t("../component.js"),u=r(c),p=t("./menu.js"),f=r(p),d=t("../utils/dom.js"),h=n(d),A=t("../utils/fn.js"),v=n(A),g=t("../utils/to-title-case.js"),y=r(g),m=function(t){function e(o){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];i(this,e),t.call(this,o,n),this.update(),this.enabled_=!0,this.el_.setAttribute("aria-haspopup","true"),this.el_.setAttribute("role","menuitem"),this.on("keydown",this.handleSubmenuKeyPress)}return s(e,t),e.prototype.update=function(){var t=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},e.prototype.createMenu=function(){var t=new f.default(this.player_);if(this.options_.title){var e=h.createEl("li",{className:"vjs-menu-title",innerHTML:y.default(this.options_.title),tabIndex:-1});t.children_.unshift(e),h.insertElFirst(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var o=0;o<this.items.length;o++)t.addItem(this.items[o]);return t},e.prototype.createItems=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return e+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(){this.one(this.menu.contentEl(),"mouseleave",v.bind(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},e.prototype.handleKeyPress=function(e){27===e.which||9===e.which?(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault()):38===e.which||40===e.which?this.buttonPressed_||(this.pressButton(),e.preventDefault()):t.prototype.handleKeyPress.call(this,e)},e.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault())},e.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},e.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},e.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,t.prototype.disable.call(this)},e.prototype.enable=function(){return this.enabled_=!0,t.prototype.enable.call(this)},e}(l.default);u.default.registerComponent("MenuButton",m),o.default=m,e.exports=o.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":142,"../utils/fn.js":144,"../utils/to-title-case.js":151,"./menu.js":111}],110:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../clickable-component.js"),a=n(s),l=t("../component.js"),c=n(l),u=t("object.assign"),p=n(u),f=function(t){function e(o,n){r(this,e),t.call(this,o,n),this.selectable=n.selectable,this.selected(n.selected),this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return i(e,t),e.prototype.createEl=function(e,o,n){return t.prototype.createEl.call(this,"li",p.default({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},o),n)},e.prototype.handleClick=function(){this.selected(!0)},e.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},e}(a.default);c.default.registerComponent("MenuItem",f),o.default=f,e.exports=o.default},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],111:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../component.js"),l=r(a),c=t("../utils/dom.js"),u=n(c),p=t("../utils/fn.js"),f=n(p),d=t("../utils/events.js"),h=n(d),A=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.focusedChild_=-1,this.on("keydown",this.handleKeyPress)}return s(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",f.bind(this,function(){this.unlockShowing()}))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=u.createEl(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var o=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return o.setAttribute("role","presentation"),o.appendChild(this.contentEl_),h.on(o,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),o},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},e.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.prototype.focus=function(){var t=arguments.length<=0||void 0===arguments[0]?0:arguments[0],e=this.children().slice(),o=e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className);o&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(l.default);l.default.registerComponent("Menu",A),o.default=A,e.exports=o.default},{"../component.js":67,"../utils/dom.js":142,"../utils/events.js":143,"../utils/fn.js":144}],112:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./utils/dom"),l=r(a),c=t("./utils/fn"),u=r(c),p=t("./utils/log"),f=(n(p),t("./component")),d=n(f),h=t("./close-button"),A=(n(h),"vjs-modal-dialog"),v=27,g=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=l.createEl("div",{className:A+"-content"},{role:"document"}),this.descEl_=l.createEl("p",{className:A+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")}),l.textContent(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}return s(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.prototype.buildCSSClass=function(){return A+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},e.prototype.handleKeyPress=function(t){t.which===v&&this.closeable()&&this.close()},e.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},e.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.prototype.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",u.bind(this,this.handleKeyPress)),t.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},e.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},e.prototype.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",u.bind(this,this.handleKeyPress)),t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},e.prototype.closeable=function t(e){if("boolean"==typeof e){var t=this.closeable_=!!e,o=this.getChild("closeButton");if(t&&!o){var n=this.contentEl_;this.contentEl_=this.el_,o=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=n,this.on(o,"close",this.close)}!t&&o&&(this.off(o,"close",this.close),this.removeChild(o),o.dispose())}return this.closeable_},e.prototype.fill=function(){return this.fillWith(this.content())},e.prototype.fillWith=function(t){var e=this.contentEl(),o=e.parentNode,n=e.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,o.removeChild(e),this.empty(),l.insertContent(e,t),this.trigger("modalfill"),n?o.insertBefore(e,n):o.appendChild(e),this},e.prototype.empty=function(){return this.trigger("beforemodalempty"),l.emptyEl(this.contentEl()),this.trigger("modalempty"),this},e.prototype.content=function(t){return"undefined"!=typeof t&&(this.content_=t),this.content_},e}(d.default);g.prototype.options_={temporary:!0},d.default.registerComponent("ModalDialog",g),o.default=g,e.exports=o.default},{"./close-button":66,"./component":67,"./utils/dom":142,"./utils/fn":144,"./utils/log":147}],113:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./component.js"),l=r(a),c=t("global/document"),u=r(c),p=t("global/window"),f=r(p),d=t("./utils/events.js"),h=n(d),A=t("./utils/dom.js"),v=n(A),g=t("./utils/fn.js"),y=n(g),m=t("./utils/guid.js"),b=n(m),j=t("./utils/browser.js"),w=n(j),_=t("./utils/log.js"),T=r(_),E=t("./utils/to-title-case.js"),k=r(E),C=t("./utils/time-ranges.js"),x=t("./utils/buffer.js"),B=t("./utils/stylesheet.js"),S=n(B),O=t("./fullscreen-api.js"),M=r(O),P=t("./media-error.js"),I=r(P),F=t("safe-json-parse/tuple"),D=r(F),R=t("object.assign"),N=r(R),Q=t("./utils/merge-options.js"),L=r(Q),V=t("./tracks/text-track-list-converter.js"),G=r(V),Y=t("./tracks/audio-track-list.js"),H=r(Y),U=t("./tracks/video-track-list.js"),z=r(U),W=t("./tech/loader.js"),J=(r(W),t("./poster-image.js")),X=(r(J),t("./tracks/text-track-display.js")),Z=(r(X),t("./loading-spinner.js")),K=(r(Z),t("./big-play-button.js")),q=(r(K),t("./control-bar/control-bar.js")),$=(r(q),t("./error-display.js")),tt=(r($),t("./tracks/text-track-settings.js")),et=(r(tt),t("./modal-dialog")),ot=r(et),nt=t("./tech/tech.js"),rt=r(nt),it=t("./tech/html5.js"),st=(r(it),function(t){function e(o,n,r){var s=this;if(i(this,e),o.id=o.id||"vjs_video_"+b.newGUID(),n=N.default(e.getTagSettings(o),n),n.initChildren=!1,n.createEl=!1,n.reportTouchActivity=!1,!n.language)if("function"==typeof o.closest){var a=o.closest("[lang]");a&&(n.language=a.getAttribute("lang"))}else for(var l=o;l&&1===l.nodeType;){if(v.getElAttributes(l).hasOwnProperty("lang")){n.language=l.getAttribute("lang");break}l=l.parentNode}if(t.call(this,null,n,r),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=o,this.tagAttributes=o&&v.getElAttributes(o),this.language(this.options_.language),n.languages?!function(){var t={};Object.getOwnPropertyNames(n.languages).forEach(function(e){t[e.toLowerCase()]=n.languages[e]}),s.languages_=t}():this.languages_=e.prototype.options_.languages,this.cache_={},this.poster_=n.poster||"",this.controls_=!!n.controls,o.controls=!1,this.scrubbing_=!1,this.el_=this.createEl();var c=L.default(this.options_);n.plugins&&!function(){var t=n.plugins;Object.getOwnPropertyNames(t).forEach(function(e){"function"==typeof this[e]?this[e](t[e]):T.default.error("Unable to find plugin:",e)},s)}(),this.options_.playerOptions=c,this.initChildren(),this.isAudio("audio"===o.nodeName.toLowerCase()),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label","audio player"):this.el_.setAttribute("aria-label","video player"),this.isAudio()&&this.addClass("vjs-audio"),this.flexNotSupported_()&&this.addClass("vjs-no-flex"),w.IS_IOS||this.addClass("vjs-workinghover"),e.players[this.id_]=this,this.userActive(!0),this.reportUserActivity(),this.listenForUserActivity_(),this.on("fullscreenchange",this.handleFullscreenChange_),this.on("stageclick",this.handleStageClick_)}return s(e,t),e.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var e=this.el_=t.prototype.createEl.call(this,"div"),o=this.tag;o.removeAttribute("width"),o.removeAttribute("height");var n=v.getElAttributes(o);if(Object.getOwnPropertyNames(n).forEach(function(t){"class"===t?e.className=n[t]:e.setAttribute(t,n[t])}),o.playerId=o.id,o.id+="_html5_api",o.className="vjs-tech",o.player=e.player=this,this.addClass("vjs-paused"),f.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=S.createStyleElement("vjs-styles-dimensions");var r=v.$(".vjs-styles-defaults"),i=v.$("head");i.insertBefore(this.styleEl_,r?r.nextSibling:i.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var s=o.getElementsByTagName("a"),a=0;a<s.length;a++){var l=s.item(a);v.addElClass(l,"vjs-hidden"),l.setAttribute("hidden","hidden")}return o.initNetworkState_=o.networkState,o.parentNode&&o.parentNode.insertBefore(e,o),v.insertElFirst(o,e),this.children_.unshift(o),this.el_=e,e},e.prototype.width=function(t){return this.dimension("width",t)},e.prototype.height=function(t){return this.dimension("height",t)},e.prototype.dimension=function(t,e){var o=t+"_";if(void 0===e)return this[o]||0;if(""===e)this[o]=void 0;else{var n=parseFloat(e);if(isNaN(n))return T.default.error('Improper value "'+e+'" supplied for for '+t),this;this[o]=n}return this.updateStyleEl_(),this},e.prototype.fluid=function(t){return void 0===t?!!this.fluid_:(this.fluid_=!!t,void(t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")))},e.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},e.prototype.updateStyleEl_=function(){if(f.default.VIDEOJS_NO_DYNAMIC_STYLE===!0){var t="number"==typeof this.width_?this.width_:this.options_.width,e="number"==typeof this.height_?this.height_:this.options_.height,o=this.tech_&&this.tech_.el();return void(o&&(t>=0&&(o.width=t),e>=0&&(o.height=e)))}var n=void 0,r=void 0,i=void 0,s=void 0;i=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9";var a=i.split(":"),l=a[1]/a[0];n=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/l:this.videoWidth()||300,r=void 0!==this.height_?this.height_:n*l,s=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(s),S.setTextContent(this.styleEl_,"\n      ."+s+" {\n        width: "+n+"px;\n        height: "+r+"px;\n      }\n\n      ."+s+".vjs-fluid {\n        padding-top: "+100*l+"%;\n      }\n    ")},e.prototype.loadTech_=function(t,e){this.tech_&&this.unloadTech_(),"Html5"!==t&&this.tag&&(rt.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=t,this.isReady_=!1;var o=N.default({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:e,playerId:this.id(),techId:this.id()+"_"+t+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,
autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"]},this.options_[t.toLowerCase()]);this.tag&&(o.tag=this.tag),e&&(this.currentType_=e.type,e.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime),this.cache_.src=e.src);var n=rt.default.getTech(t);n||(n=l.default.getComponent(t)),this.tech_=new n(o),this.tech_.ready(y.bind(this,this.handleTechReady_),!0),G.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"progress",this.handleTechProgress_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"suspend",this.handleTechSuspend_),this.on(this.tech_,"abort",this.handleTechAbort_),this.on(this.tech_,"emptied",this.handleTechEmptied_),this.on(this.tech_,"stalled",this.handleTechStalled_),this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_),this.on(this.tech_,"loadeddata",this.handleTechLoadedData_),this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.on(this.tech_,"volumechange",this.handleTechVolumeChange_),this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===t&&this.tag||v.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=G.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},e.prototype.tech=function(t){if(t&&t.IWillNotUseThisInPlugins)return this.tech_;var e="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw f.default.alert(e),new Error(e)},e.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},e.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},e.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(t){T.default("deleting tag.poster throws in some browsers",t)}this.play()}},e.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},e.prototype.hasStarted=function(t){return void 0!==t?(this.hasStarted_!==t&&(this.hasStarted_=t,t?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},e.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},e.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},e.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},e.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},e.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},e.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},e.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},e.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started"),this.trigger("firstplay")},e.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},e.prototype.handleTechProgress_=function(){this.trigger("progress")},e.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},e.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},e.prototype.handleTechClick_=function(t){0===t.button&&this.controls()&&(this.paused()?this.play():this.pause())},e.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},e.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},e.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},e.prototype.handleStageClick_=function(){this.reportUserActivity()},e.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},e.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},e.prototype.handleTechSuspend_=function(){this.trigger("suspend")},e.prototype.handleTechAbort_=function(){this.trigger("abort")},e.prototype.handleTechEmptied_=function(){this.trigger("emptied")},e.prototype.handleTechStalled_=function(){this.trigger("stalled")},e.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},e.prototype.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},e.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},e.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},e.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},e.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},e.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},e.prototype.getCache=function(){return this.cache_},e.prototype.techCall_=function(t,e){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[t](e)},!0);else try{this.tech_&&this.tech_[t](e)}catch(t){throw T.default(t),t}},e.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[t]()}catch(e){throw void 0===this.tech_[t]?T.default("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e):"TypeError"===e.name?(T.default("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1):T.default(e),e}},e.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},e.prototype.pause=function(){return this.techCall_("pause"),this},e.prototype.paused=function(){return this.techGet_("paused")!==!1},e.prototype.scrubbing=function(t){return void 0!==t?(this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},e.prototype.currentTime=function(t){return void 0!==t?(this.techCall_("setCurrentTime",t),this):this.cache_.currentTime=this.techGet_("currentTime")||0},e.prototype.duration=function(t){return void 0===t?this.cache_.duration||0:(t=parseFloat(t)||0,t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},e.prototype.remainingTime=function(){return this.duration()-this.currentTime()},e.prototype.buffered=function t(){var t=this.techGet_("buffered");return t&&t.length||(t=C.createTimeRange(0,0)),t},e.prototype.bufferedPercent=function(){return x.bufferedPercent(this.buffered(),this.duration())},e.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),o=t.end(t.length-1);return o>e&&(o=e),o},e.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),this):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},e.prototype.muted=function(t){return void 0!==t?(this.techCall_("setMuted",t),this):this.techGet_("muted")||!1},e.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},e.prototype.isFullscreen=function(t){return void 0!==t?(this.isFullscreen_=!!t,this):!!this.isFullscreen_},e.prototype.requestFullscreen=function(){var t=M.default;return this.isFullscreen(!0),t.requestFullscreen?(h.on(u.default,t.fullscreenchange,y.bind(this,function e(o){this.isFullscreen(u.default[t.fullscreenElement]),this.isFullscreen()===!1&&h.off(u.default,t.fullscreenchange,e),this.trigger("fullscreenchange")})),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},e.prototype.exitFullscreen=function(){var t=M.default;return this.isFullscreen(!1),t.requestFullscreen?u.default[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},e.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=u.default.documentElement.style.overflow,h.on(u.default,"keydown",y.bind(this,this.fullWindowOnEscKey)),u.default.documentElement.style.overflow="hidden",v.addElClass(u.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},e.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},e.prototype.exitFullWindow=function(){this.isFullWindow=!1,h.off(u.default,"keydown",this.fullWindowOnEscKey),u.default.documentElement.style.overflow=this.docOrigOverflow,v.removeElClass(u.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},e.prototype.canPlayType=function(t){for(var e=void 0,o=0,n=this.options_.techOrder;o<n.length;o++){var r=k.default(n[o]),i=rt.default.getTech(r);if(i||(i=l.default.getComponent(r)),i){if(i.isSupported()&&(e=i.canPlayType(t)))return e}else T.default.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return""},e.prototype.selectSource=function(t){var e=this,o=this.options_.techOrder.map(k.default).map(function(t){return[t,rt.default.getTech(t)||l.default.getComponent(t)]}).filter(function(t){var e=t[0],o=t[1];return o?o.isSupported():(T.default.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),n=function(t,e,o){var n=void 0;return t.some(function(t){return e.some(function(e){if(n=o(t,e))return!0})}),n},r=void 0,i=function(t){return function(e,o){return t(o,e)}},s=function(t,o){var n=t[0],r=t[1];if(r.canPlaySource(o,e.options_[n.toLowerCase()]))return{source:o,tech:n}};return r=this.options_.sourceOrder?n(t,o,i(s)):n(o,t,s),r||!1},e.prototype.src=function(t){if(void 0===t)return this.techGet_("src");var e=rt.default.getTech(this.techName_);return e||(e=l.default.getComponent(this.techName_)),Array.isArray(t)?this.sourceList_(t):"string"==typeof t?this.src({src:t}):t instanceof Object&&(t.type&&!e.canPlaySource(t,this.options_[this.techName_.toLowerCase()])?this.sourceList_([t]):(this.cache_.src=t.src,this.currentType_=t.type||"",this.ready(function(){e.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},e.prototype.sourceList_=function(t){var e=this.selectSource(t);e?e.tech===this.techName_?this.src(e.source):this.loadTech_(e.tech,e.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},e.prototype.load=function(){return this.techCall_("load"),this},e.prototype.reset=function(){return this.loadTech_(k.default(this.options_.techOrder[0]),null),this.techCall_("reset"),this},e.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},e.prototype.currentType=function(){return this.currentType_||""},e.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),this.options_.preload=t,this):this.techGet_("preload")},e.prototype.autoplay=function(t){return void 0!==t?(this.techCall_("setAutoplay",t),this.options_.autoplay=t,this):this.techGet_("autoplay",t)},e.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),this.options_.loop=t,this):this.techGet_("loop")},e.prototype.poster=function(t){return void 0===t?this.poster_:(t||(t=""),this.poster_=t,this.techCall_("setPoster",t),this.trigger("posterchange"),this)},e.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},e.prototype.controls=function(t){return void 0!==t?(t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),t?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},e.prototype.usingNativeControls=function(t){return void 0!==t?(t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,t?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},e.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new I.default(t),this.addClass("vjs-error"),T.default.error("(CODE:"+this.error_.code+" "+I.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},e.prototype.ended=function(){return this.techGet_("ended")},e.prototype.seeking=function(){return this.techGet_("seeking")},e.prototype.seekable=function(){return this.techGet_("seekable")},e.prototype.reportUserActivity=function(t){this.userActivity_=!0},e.prototype.userActive=function(t){return void 0!==t?(t=!!t,t!==this.userActive_&&(this.userActive_=t,t?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},e.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,o=void 0,n=y.bind(this,this.reportUserActivity),r=function(t){t.screenX===e&&t.screenY===o||(e=t.screenX,o=t.screenY,n())},i=function(){n(),this.clearInterval(t),t=this.setInterval(n,250)},s=function(e){n(),this.clearInterval(t)};this.on("mousedown",i),this.on("mousemove",r),this.on("mouseup",s),this.on("keydown",n),this.on("keyup",n);var a=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);var t=this.options_.inactivityTimeout;t>0&&(a=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},e.prototype.playbackRate=function(t){return void 0!==t?(this.techCall_("setPlaybackRate",t),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},e.prototype.isAudio=function(t){return void 0!==t?(this.isAudio_=!!t,this):!!this.isAudio_},e.prototype.networkState=function(){return this.techGet_("networkState")},e.prototype.readyState=function(){return this.techGet_("readyState")},e.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new z.default,this.videoTracks_)},e.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new H.default,this.audioTracks_)},e.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},e.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},e.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},e.prototype.addTextTrack=function(t,e,o){return this.tech_&&this.tech_.addTextTrack(t,e,o)},e.prototype.addRemoteTextTrack=function(t){return this.tech_&&this.tech_.addRemoteTextTrack(t)},e.prototype.removeRemoteTextTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.track,o=void 0===e?arguments[0]:e;this.tech_&&this.tech_.removeRemoteTextTrack(o)},e.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.prototype.language=function(t){return void 0===t?this.language_:(this.language_=(""+t).toLowerCase(),this)},e.prototype.languages=function(){return L.default(e.prototype.options_.languages,this.languages_)},e.prototype.toJSON=function(){var t=L.default(this.options_),e=t.tracks;t.tracks=[];for(var o=0;o<e.length;o++){var n=e[o];n=L.default(n),n.player=void 0,t.tracks[o]=n}return t},e.prototype.createModal=function(t,e){var o=this;e=e||{},e.content=t||"";var n=new ot.default(o,e);return o.addChild(n),n.on("dispose",function(){o.removeChild(n)}),n.open()},e.getTagSettings=function(t){var e={sources:[],tracks:[]},o=v.getElAttributes(t),n=o["data-setup"];if(null!==n){var r=D.default(n||"{}"),i=r[0],s=r[1];i&&T.default.error(i),N.default(o,s)}if(N.default(e,o),t.hasChildNodes())for(var a=t.childNodes,l=0,c=a.length;l<c;l++){var u=a[l],p=u.nodeName.toLowerCase();"source"===p?e.sources.push(v.getElAttributes(u)):"track"===p&&e.tracks.push(v.getElAttributes(u))}return e},e}(l.default));st.players={};var at=f.default.navigator;st.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:at.languages&&at.languages[0]||at.userLanguage||at.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},st.prototype.handleTechLoadStart_,st.prototype.handleLoadedMetaData_,st.prototype.handleTextData_,st.prototype.handleLoadedData_,st.prototype.handleUserActive_,st.prototype.handleUserInactive_,st.prototype.handleTimeUpdate_,st.prototype.handleTechEnded_,st.prototype.handleVolumeChange_,st.prototype.handleError_,st.prototype.flexNotSupported_=function(){var t=u.default.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},l.default.registerComponent("Player",st),o.default=st,e.exports=o.default},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":70,"./error-display.js":103,"./fullscreen-api.js":106,"./loading-spinner.js":107,"./media-error.js":108,"./modal-dialog":112,"./poster-image.js":117,"./tech/html5.js":122,"./tech/loader.js":123,"./tech/tech.js":124,"./tracks/audio-track-list.js":125,"./tracks/text-track-display.js":130,"./tracks/text-track-list-converter.js":131,"./tracks/text-track-settings.js":133,"./tracks/video-track-list.js":138,"./utils/browser.js":140,"./utils/buffer.js":141,"./utils/dom.js":142,"./utils/events.js":143,"./utils/fn.js":144,"./utils/guid.js":146,"./utils/log.js":147,"./utils/merge-options.js":148,"./utils/stylesheet.js":149,"./utils/time-ranges.js":150,"./utils/to-title-case.js":151,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],114:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}o.__esModule=!0;var r=t("./player.js"),i=n(r),s=function(t,e){i.default.prototype[t]=e};o.default=s,e.exports=o.default},{"./player.js":113}],115:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../clickable-component.js"),l=r(a),c=t("../component.js"),u=r(c),p=t("./popup.js"),f=(r(p),t("../utils/dom.js")),d=(n(f),t("../utils/fn.js")),h=(n(d),t("../utils/to-title-case.js")),A=(r(h),function(t){function e(o){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];i(this,e),t.call(this,o,n),this.update()}return s(e,t),e.prototype.update=function(){var t=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=t,this.addChild(t),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},e.prototype.createPopup=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return e+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e}(l.default));u.default.registerComponent("PopupButton",A),o.default=A,e.exports=o.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":142,"../utils/fn.js":144,"../utils/to-title-case.js":151,"./popup.js":116}],116:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../component.js"),l=r(a),c=t("../utils/dom.js"),u=n(c),p=t("../utils/fn.js"),f=n(p),d=t("../utils/events.js"),h=n(d),A=function(t){function e(){i(this,e),t.apply(this,arguments)}return s(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",f.bind(this,function(){this.unlockShowing()}))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=u.createEl(e,{className:"vjs-menu-content"});var o=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return o.appendChild(this.contentEl_),h.on(o,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),o},e}(l.default);l.default.registerComponent("Popup",A),o.default=A,e.exports=o.default},{"../component.js":67,"../utils/dom.js":142,"../utils/events.js":143,"../utils/fn.js":144}],117:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./clickable-component.js"),l=r(a),c=t("./component.js"),u=r(c),p=t("./utils/fn.js"),f=n(p),d=t("./utils/dom.js"),h=n(d),A=t("./utils/browser.js"),v=n(A),g=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.update(),o.on("posterchange",f.bind(this,this.update))}return s(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=h.createEl("div",{className:"vjs-poster",tabIndex:-1});return v.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=h.createEl("img"),t.appendChild(this.fallbackImg_)),t},e.prototype.update=function(){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},e.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},e.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},e}(l.default);u.default.registerComponent("PosterImage",g),o.default=g,e.exports=o.default},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":140,"./utils/dom.js":142,"./utils/fn.js":144}],118:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}o.__esModule=!0;var i=t("./utils/events.js"),s=r(i),a=t("global/document"),l=n(a),c=t("global/window"),u=n(c),p=!1,f=void 0,d=function(){var t=l.default.getElementsByTagName("video"),e=l.default.getElementsByTagName("audio"),o=[];if(t&&t.length>0)for(var n=0,r=t.length;n<r;n++)o.push(t[n]);if(e&&e.length>0)for(var n=0,r=e.length;n<r;n++)o.push(e[n]);if(o&&o.length>0)for(var n=0,r=o.length;n<r;n++){var i=o[n];if(!i||!i.getAttribute){h(1);break}if(void 0===i.player){var s=i.getAttribute("data-setup");if(null!==s){f(i)}}}else p||h(1)},h=function(t,e){e&&(f=e),setTimeout(d,t)};"complete"===l.default.readyState?p=!0:s.one(u.default,"load",function(){p=!0});var A=function(){return p};o.autoSetup=d,o.autoSetupTimeout=h,o.hasLoaded=A},{"./utils/events.js":143,"global/document":1,"global/window":2}],119:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../component.js"),l=r(a),c=t("../utils/dom.js"),u=n(c),p=t("object.assign"),f=r(p),d=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(o,"controlsvisible",this.update),this.on(o,this.playerEvent,this.update)}return s(e,t),e.prototype.createEl=function(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return o.className=o.className+" vjs-slider",o=f.default({tabIndex:0},o),n=f.default({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),t.prototype.createEl.call(this,e,o,n)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;t.preventDefault(),u.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.prototype.handleMouseMove=function(){},e.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;u.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){("number"!=typeof t||t!==t||t<0||t===1/0)&&(t=0);var o=(100*t).toFixed(2)+"%";this.vertical()?e.el().style.height=o:e.el().style.width=o}}},e.prototype.calculateDistance=function(t){var e=u.getPointerPosition(this.el_,t);return this.vertical()?e.y:e.x},e.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},e.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},e.prototype.vertical=function(t){return void 0===t?this.vertical_||!1:(this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},e}(l.default);l.default.registerComponent("Slider",d),o.default=d,e.exports=o.default},{"../component.js":67,"../utils/dom.js":142,"object.assign":45}],120:[function(t,e,o){"use strict";function n(t){return t.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},t.streamFromParts=function(t,e){return t+"&"+e},t.streamToParts=function(t){var e={connection:"",stream:""};if(!t)return e;var o=t.search(/&(?!\w+=)/),n=void 0;return o!==-1?n=o+1:(o=n=t.lastIndexOf("/")+1,0===o&&(o=n=t.length)),e.connection=t.substring(0,o),e.stream=t.substring(n,t.length),e},t.isStreamingType=function(e){
return e in t.streamingFormats},t.RTMP_RE=/^rtmp[set]?:\/\//i,t.isStreamingSrc=function(e){return t.RTMP_RE.test(e)},t.rtmpSourceHandler={},t.rtmpSourceHandler.canPlayType=function(e){return t.isStreamingType(e)?"maybe":""},t.rtmpSourceHandler.canHandleSource=function(e,o){var n=t.rtmpSourceHandler.canPlayType(e.type);return n?n:t.isStreamingSrc(e.src)?"maybe":""},t.rtmpSourceHandler.handleSource=function(e,o,n){var r=t.streamToParts(e.src);o.setRtmpConnection(r.connection),o.setRtmpStream(r.stream)},t.registerSourceHandler(t.rtmpSourceHandler),t}o.__esModule=!0,o.default=n,e.exports=o.default},{}],121:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.charAt(0).toUpperCase()+t.slice(1);k["set"+e]=function(e){return this.el_.vjs_setProperty(t,e)}}function l(t){k[t]=function(){return this.el_.vjs_getProperty(t)}}o.__esModule=!0;for(var c=t("./tech"),u=r(c),p=t("../utils/dom.js"),f=n(p),d=t("../utils/url.js"),h=n(d),A=t("../utils/time-ranges.js"),v=t("./flash-rtmp"),g=r(v),y=t("../component"),m=r(y),b=t("global/window"),j=r(b),w=t("object.assign"),_=r(w),T=j.default.navigator,E=function(t){function e(o,n){i(this,e),t.call(this,o,n),o.source&&this.ready(function(){this.setSource(o.source)},!0),o.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(o.startTime)},!0),j.default.videojs=j.default.videojs||{},j.default.videojs.Flash=j.default.videojs.Flash||{},j.default.videojs.Flash.onReady=e.onReady,j.default.videojs.Flash.onEvent=e.onEvent,j.default.videojs.Flash.onError=e.onError,this.on("seeked",function(){this.lastSeekTarget_=void 0})}return s(e,t),e.prototype.createEl=function(){var t=this.options_;t.swf||(t.swf="//vjs.zencdn.net/swf/5.1.0/video-js.swf");var o=t.techId,n=_.default({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:t.autoplay,preload:t.preload,loop:t.loop,muted:t.muted},t.flashVars),r=_.default({wmode:"opaque",bgcolor:"#000000"},t.params),i=_.default({id:o,name:o,class:"vjs-tech"},t.attributes);return this.el_=e.embed(t.swf,n,r,i),this.el_.tech=this,this.el_},e.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},e.prototype.pause=function(){this.el_.vjs_pause()},e.prototype.src=function(t){return void 0===t?this.currentSrc():this.setSrc(t)},e.prototype.setSrc=function(t){if(t=h.getAbsoluteURL(t),this.el_.vjs_src(t),this.autoplay()){var e=this;this.setTimeout(function(){e.play()},0)}},e.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},e.prototype.setCurrentTime=function(e){var o=this.seekable();o.length&&(e=e>o.start(0)?e:o.start(0),e=e<o.end(o.length-1)?e:o.end(o.length-1),this.lastSeekTarget_=e,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",e),t.prototype.setCurrentTime.call(this))},e.prototype.currentTime=function(t){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},e.prototype.duration=function t(){if(0===this.readyState())return NaN;var t=this.el_.vjs_getProperty("duration");return t>=0?t:1/0},e.prototype.load=function(){this.el_.vjs_load()},e.prototype.poster=function(){this.el_.vjs_getProperty("poster")},e.prototype.setPoster=function(){},e.prototype.seekable=function(){var t=this.duration();return 0===t?A.createTimeRange():A.createTimeRange(0,t)},e.prototype.buffered=function(){var t=this.el_.vjs_getProperty("buffered");return 0===t.length?A.createTimeRange():A.createTimeRange(t[0][0],t[0][1])},e.prototype.supportsFullScreen=function(){return!1},e.prototype.enterFullScreen=function(){return!1},e}(u.default),k=E.prototype,C="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),x="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),B=0;B<C.length;B++)l(C[B]),a(C[B]);for(var B=0;B<x.length;B++)l(x[B]);E.isSupported=function(){return E.version()[0]>=10},u.default.withSourceHandlers(E),E.nativeSourceHandler={},E.nativeSourceHandler.canPlayType=function(t){return t in E.formats?"maybe":""},E.nativeSourceHandler.canHandleSource=function(t,e){function o(t){var e=h.getFileExtension(t);return e?"video/"+e:""}var n;return n=t.type?t.type.replace(/;.*/,"").toLowerCase():o(t.src),E.nativeSourceHandler.canPlayType(n)},E.nativeSourceHandler.handleSource=function(t,e,o){e.setSrc(t.src)},E.nativeSourceHandler.dispose=function(){},E.registerSourceHandler(E.nativeSourceHandler),E.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},E.onReady=function(t){var e=f.getEl(t),o=e&&e.tech;o&&o.el()&&E.checkReady(o)},E.checkReady=function(t){t.el()&&(t.el().vjs_getProperty?t.triggerReady():this.setTimeout(function(){E.checkReady(t)},50))},E.onEvent=function(t,e){var o=f.getEl(t).tech;o.trigger(e,Array.prototype.slice.call(arguments,2))},E.onError=function(t,e){var o=f.getEl(t).tech;return"srcnotfound"===e?o.error(4):void o.error("FLASH: "+e)},E.version=function(){var t="0,0,0";try{t=new j.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(e){try{T.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(t=(T.plugins["Shockwave Flash 2.0"]||T.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(t){}}return t.split(",")},E.embed=function(t,e,o,n){var r=E.getEmbedCode(t,e,o,n),i=f.createEl("div",{innerHTML:r}).childNodes[0];return i},E.getEmbedCode=function(t,e,o,n){var r='<object type="application/x-shockwave-flash" ',i="",s="",a="";return e&&Object.getOwnPropertyNames(e).forEach(function(t){i+=t+"="+e[t]+"&amp;"}),o=_.default({movie:t,flashvars:i,allowScriptAccess:"always",allowNetworking:"all"},o),Object.getOwnPropertyNames(o).forEach(function(t){s+='<param name="'+t+'" value="'+o[t]+'" />'}),n=_.default({data:t,width:"100%",height:"100%"},n),Object.getOwnPropertyNames(n).forEach(function(t){a+=t+'="'+n[t]+'" '}),""+r+a+">"+s+"</object>"},g.default(E),m.default.registerComponent("Flash",E),u.default.registerTech("Flash",E),o.default=E,e.exports=o.default},{"../component":67,"../utils/dom.js":142,"../utils/time-ranges.js":150,"../utils/url.js":152,"./flash-rtmp":120,"./tech":124,"global/window":2,"object.assign":45}],122:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return t.raw=e,t}o.__esModule=!0;var l=a(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. \n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. \n            This may prevent text tracks from loading."]),c=t("./tech.js"),u=r(c),p=t("../component"),f=r(p),d=t("../utils/dom.js"),h=n(d),A=t("../utils/url.js"),v=n(A),g=t("../utils/fn.js"),y=n(g),m=t("../utils/log.js"),b=r(m),j=t("tsml"),w=r(j),_=t("../../../src/js/tracks/text-track.js"),T=(r(_),t("../utils/browser.js")),E=n(T),k=t("global/document"),C=r(k),x=t("global/window"),B=r(x),S=t("object.assign"),O=r(S),M=t("../utils/merge-options.js"),P=r(M),I=t("../utils/to-title-case.js"),F=r(I),D=function(t){function e(o,n){var r=this;i(this,e),t.call(this,o,n);var s=o.source,a=!1;if(s&&(this.el_.currentSrc!==s.src||o.tag&&3===o.tag.initNetworkState_)?this.setSource(s):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var c=this.el_.childNodes,u=c.length,p=[];u--;){var f=c[u],d=f.nodeName.toLowerCase();"track"===d&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(f),this.remoteTextTracks().addTrack_(f.track),a||this.el_.hasAttribute("crossorigin")||!v.isCrossOrigin(f.src)||(a=!0)):p.push(f))}for(var h=0;h<p.length;h++)this.el_.removeChild(p[h])}var A=["audio","video"];A.forEach(function(t){var e=F.default(t);if(r["featuresNative"+e+"Tracks"]){var o=r.el()[t+"Tracks"];o&&o.addEventListener&&(o.addEventListener("change",y.bind(r,r["handle"+e+"TrackChange_"])),o.addEventListener("addtrack",y.bind(r,r["handle"+e+"TrackAdd_"])),o.addEventListener("removetrack",y.bind(r,r["handle"+e+"TrackRemove_"])),r.on("loadstart",r["removeOld"+e+"Tracks_"]))}}),this.featuresNativeTextTracks&&(a&&b.default.warn(w.default(l)),this.handleTextTrackChange_=y.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=y.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=y.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_()),(E.TOUCH_ENABLED||E.IS_IPHONE||E.IS_NATIVE_ANDROID)&&o.nativeControlsForTouch===!0&&this.setControls(!0),this.triggerReady()}return s(e,t),e.prototype.dispose=function(){var o=this;["audio","video","text"].forEach(function(t){var e=F.default(t),n=o.el_[t+"Tracks"];n&&n.removeEventListener&&(n.removeEventListener("change",o["handle"+e+"TrackChange_"]),n.removeEventListener("addtrack",o["handle"+e+"TrackAdd_"]),n.removeEventListener("removetrack",o["handle"+e+"TrackRemove_"])),n&&o.off("loadstart",o["removeOld"+e+"Tracks_"])}),e.disposeMediaElement(this.el_),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=this.options_.tag;if(!t||this.movingMediaElementInDOM===!1)if(t){var o=t.cloneNode(!0);t.parentNode.insertBefore(o,t),e.disposeMediaElement(t),t=o}else{t=C.default.createElement("video");var n=this.options_.tag&&h.getElAttributes(this.options_.tag),r=P.default({},n);E.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete r.controls,h.setElAttributes(t,O.default(r,{id:this.options_.techId,class:"vjs-tech"}))}for(var i=["autoplay","preload","loop","muted"],s=i.length-1;s>=0;s--){var a=i[s],l={};"undefined"!=typeof this.options_[a]&&(l[a]=this.options_[a]),h.setElAttributes(t,l)}return t},e.prototype.handleLateInit_=function(t){var e=this;if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var o=function(){var t=!1,o=function(){t=!0};e.on("loadstart",o);var n=function(){t||this.trigger("loadstart")};return e.on("loadedmetadata",n),e.ready(function(){this.off("loadstart",o),this.off("loadedmetadata",n),t||this.trigger("loadstart")}),{v:void 0}}();if("object"==typeof o)return o.v}var n=["loadstart"];n.push("loadedmetadata"),t.readyState>=2&&n.push("loadeddata"),t.readyState>=3&&n.push("canplay"),t.readyState>=4&&n.push("canplaythrough"),this.ready(function(){n.forEach(function(t){this.trigger(t)},this)})}},e.prototype.proxyNativeTextTracks_=function(){var t=this.el().textTracks;if(t){for(var e=0;e<t.length;e++)this.textTracks().addTrack_(t[e]);t.addEventListener&&(t.addEventListener("change",this.handleTextTrackChange_),t.addEventListener("addtrack",this.handleTextTrackAdd_),t.addEventListener("removetrack",this.handleTextTrackRemove_)),this.on("loadstart",this.removeOldTextTracks_)}},e.prototype.handleTextTrackChange=function(t){var e=this.textTracks();this.textTracks().trigger({type:"change",target:e,currentTarget:e,srcElement:e})},e.prototype.handleTextTrackAdd=function(t){this.textTracks().addTrack_(t.track)},e.prototype.handleTextTrackRemove=function(t){this.textTracks().removeTrack_(t.track)},e.prototype.handleVideoTrackChange_=function(t){var e=this.videoTracks();this.videoTracks().trigger({type:"change",target:e,currentTarget:e,srcElement:e})},e.prototype.handleVideoTrackAdd_=function(t){this.videoTracks().addTrack_(t.track)},e.prototype.handleVideoTrackRemove_=function(t){this.videoTracks().removeTrack_(t.track)},e.prototype.handleAudioTrackChange_=function(t){var e=this.audioTracks();this.audioTracks().trigger({type:"change",target:e,currentTarget:e,srcElement:e})},e.prototype.handleAudioTrackAdd_=function(t){this.audioTracks().addTrack_(t.track)},e.prototype.handleAudioTrackRemove_=function(t){this.audioTracks().removeTrack_(t.track)},e.prototype.removeOldTracks_=function(t,e){var o=[];if(e){for(var n=0;n<t.length;n++){for(var r=t[n],i=!1,s=0;s<e.length;s++)if(e[s]===r){i=!0;break}i||o.push(r)}for(var n=0;n<o.length;n++){var a=o[n];t.removeTrack_(a)}}},e.prototype.removeOldTextTracks_=function(){var t=this.textTracks(),e=this.el().textTracks;this.removeOldTracks_(t,e)},e.prototype.removeOldAudioTracks_=function(){var t=this.audioTracks(),e=this.el().audioTracks;this.removeOldTracks_(t,e)},e.prototype.removeOldVideoTracks_=function(){var t=this.videoTracks(),e=this.el().videoTracks;this.removeOldTracks_(t,e)},e.prototype.play=function(){var t=this.el_.play();void 0!==t&&"function"==typeof t.then&&t.then(null,function(t){})},e.prototype.pause=function(){this.el_.pause()},e.prototype.paused=function(){return this.el_.paused},e.prototype.currentTime=function(){return this.el_.currentTime},e.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){b.default(t,"Video is not ready. (Video.js)")}},e.prototype.duration=function(){return this.el_.duration||0},e.prototype.buffered=function(){return this.el_.buffered},e.prototype.volume=function(){return this.el_.volume},e.prototype.setVolume=function(t){this.el_.volume=t},e.prototype.muted=function(){return this.el_.muted},e.prototype.setMuted=function(t){this.el_.muted=t},e.prototype.width=function(){return this.el_.offsetWidth},e.prototype.height=function(){return this.el_.offsetHeight},e.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=B.default.navigator.userAgent;if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},e.prototype.enterFullScreen=function(){var t=this.el_;"webkitDisplayingFullscreen"in t&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})}),this.trigger("fullscreenchange",{isFullscreen:!0})}),t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},e.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},e.prototype.src=function(t){return void 0===t?this.el_.src:void this.setSrc(t)},e.prototype.setSrc=function(t){this.el_.src=t},e.prototype.load=function(){this.el_.load()},e.prototype.reset=function(){e.resetMediaElement(this.el_)},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.prototype.poster=function(){return this.el_.poster},e.prototype.setPoster=function(t){this.el_.poster=t},e.prototype.preload=function(){return this.el_.preload},e.prototype.setPreload=function(t){this.el_.preload=t},e.prototype.autoplay=function(){return this.el_.autoplay},e.prototype.setAutoplay=function(t){this.el_.autoplay=t},e.prototype.controls=function(){return this.el_.controls},e.prototype.setControls=function(t){this.el_.controls=!!t},e.prototype.loop=function(){return this.el_.loop},e.prototype.setLoop=function(t){this.el_.loop=t},e.prototype.error=function(){return this.el_.error},e.prototype.seeking=function(){return this.el_.seeking},e.prototype.seekable=function(){return this.el_.seekable},e.prototype.ended=function(){return this.el_.ended},e.prototype.defaultMuted=function(){return this.el_.defaultMuted},e.prototype.playbackRate=function(){return this.el_.playbackRate},e.prototype.played=function(){return this.el_.played},e.prototype.setPlaybackRate=function(t){this.el_.playbackRate=t},e.prototype.networkState=function(){return this.el_.networkState},e.prototype.readyState=function(){return this.el_.readyState},e.prototype.videoWidth=function(){return this.el_.videoWidth},e.prototype.videoHeight=function(){return this.el_.videoHeight},e.prototype.textTracks=function(){return t.prototype.textTracks.call(this)},e.prototype.addTextTrack=function(e,o,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,o,n):t.prototype.addTextTrack.call(this,e,o,n)},e.prototype.addRemoteTextTrack=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(!this.featuresNativeTextTracks)return t.prototype.addRemoteTextTrack.call(this,e);var o=C.default.createElement("track");return e.kind&&(o.kind=e.kind),e.label&&(o.label=e.label),(e.language||e.srclang)&&(o.srclang=e.language||e.srclang),e.default&&(o.default=e.default),e.id&&(o.id=e.id),e.src&&(o.src=e.src),this.el().appendChild(o),this.remoteTextTrackEls().addTrackElement_(o),this.remoteTextTracks().addTrack_(o.track),o},e.prototype.removeRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.removeRemoteTextTrack.call(this,e);var o=void 0,n=void 0,r=this.remoteTextTrackEls().getTrackElementByTrack_(e);for(this.remoteTextTrackEls().removeTrackElement_(r),this.remoteTextTracks().removeTrack_(e),o=this.$$("track"),n=o.length;n--;)e!==o[n]&&e!==o[n].track||this.el().removeChild(o[n])},e}(u.default);D.TEST_VID=C.default.createElement("video");var R=C.default.createElement("track");R.kind="captions",R.srclang="en",R.label="English",D.TEST_VID.appendChild(R),D.isSupported=function(){try{D.TEST_VID.volume=.5}catch(t){return!1}return!!D.TEST_VID.canPlayType},u.default.withSourceHandlers(D),D.nativeSourceHandler={},D.nativeSourceHandler.canPlayType=function(t){try{return D.TEST_VID.canPlayType(t)}catch(t){return""}},D.nativeSourceHandler.canHandleSource=function(t,e){var o;return t.type?D.nativeSourceHandler.canPlayType(t.type):t.src?(o=v.getFileExtension(t.src),D.nativeSourceHandler.canPlayType("video/"+o)):""},D.nativeSourceHandler.handleSource=function(t,e,o){e.setSrc(t.src)},D.nativeSourceHandler.dispose=function(){},D.registerSourceHandler(D.nativeSourceHandler),D.canControlVolume=function(){try{var t=D.TEST_VID.volume;return D.TEST_VID.volume=t/2+.1,t!==D.TEST_VID.volume}catch(t){return!1}},D.canControlPlaybackRate=function(){if(E.IS_ANDROID&&E.IS_CHROME)return!1;try{var t=D.TEST_VID.playbackRate;return D.TEST_VID.playbackRate=t/2+.1,t!==D.TEST_VID.playbackRate}catch(t){return!1}},D.supportsNativeTextTracks=function(){var t;return t=!!D.TEST_VID.textTracks,t&&D.TEST_VID.textTracks.length>0&&(t="number"!=typeof D.TEST_VID.textTracks[0].mode),t&&E.IS_FIREFOX&&(t=!1),!t||"onremovetrack"in D.TEST_VID.textTracks||(t=!1),t},D.supportsNativeVideoTracks=function(){var t=!!D.TEST_VID.videoTracks;return t},D.supportsNativeAudioTracks=function(){var t=!!D.TEST_VID.audioTracks;return t},D.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],D.prototype.featuresVolumeControl=D.canControlVolume(),D.prototype.featuresPlaybackRate=D.canControlPlaybackRate(),D.prototype.movingMediaElementInDOM=!E.IS_IOS,D.prototype.featuresFullscreenResize=!0,D.prototype.featuresProgressEvents=!0,D.prototype.featuresNativeTextTracks=D.supportsNativeTextTracks(),D.prototype.featuresNativeVideoTracks=D.supportsNativeVideoTracks(),D.prototype.featuresNativeAudioTracks=D.supportsNativeAudioTracks();var N=void 0,Q=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,L=/^video\/mp4/i;D.patchCanPlayType=function(){E.ANDROID_VERSION>=4&&(N||(N=D.TEST_VID.constructor.prototype.canPlayType),D.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Q.test(t)?"maybe":N.call(this,t)}),E.IS_OLD_ANDROID&&(N||(N=D.TEST_VID.constructor.prototype.canPlayType),D.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&L.test(t)?"maybe":N.call(this,t)})},D.unpatchCanPlayType=function(){var t=D.TEST_VID.constructor.prototype.canPlayType;return D.TEST_VID.constructor.prototype.canPlayType=N,N=null,t},D.patchCanPlayType(),D.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&!function(){try{t.load()}catch(t){}}()}},D.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),o=e.length;o--;)t.removeChild(e[o]);t.removeAttribute("src"),"function"==typeof t.load&&!function(){try{t.load()}catch(t){}}()}},f.default.registerComponent("Html5",D),u.default.registerTech("Html5",D),o.default=D,e.exports=o.default},{"../../../src/js/tracks/text-track.js":134,"../component":67,"../utils/browser.js":140,"../utils/dom.js":142,"../utils/fn.js":144,"../utils/log.js":147,"../utils/merge-options.js":148,"../utils/to-title-case.js":151,"../utils/url.js":152,"./tech.js":124,"global/document":1,"global/window":2,"object.assign":45,tsml:55}],123:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var s=t("../component.js"),a=n(s),l=t("./tech.js"),c=n(l),u=t("global/window"),p=(n(u),t("../utils/to-title-case.js")),f=n(p),d=function(t){function e(o,n,i){if(r(this,e),t.call(this,o,n,i),n.playerOptions.sources&&0!==n.playerOptions.sources.length)o.src(n.playerOptions.sources);else for(var s=0,l=n.playerOptions.techOrder;s<l.length;s++){var u=f.default(l[s]),p=c.default.getTech(u);if(u||(p=a.default.getComponent(u)),p&&p.isSupported()){o.loadTech_(u);break}}}return i(e,t),e}(a.default);a.default.registerComponent("MediaLoader",d),o.default=d,e.exports=o.default},{"../component.js":67,"../utils/to-title-case.js":151,"./tech.js":124,"global/window":2}],124:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../component"),l=r(a),c=t("../tracks/html-track-element"),u=r(c),p=t("../tracks/html-track-element-list"),f=r(p),d=t("../utils/merge-options.js"),h=r(d),A=t("../tracks/text-track"),v=r(A),g=t("../tracks/text-track-list"),y=r(g),m=t("../tracks/video-track"),b=(r(m),t("../tracks/video-track-list")),j=r(b),w=t("../tracks/audio-track-list"),_=r(w),T=t("../tracks/audio-track"),E=(r(T),t("../utils/fn.js")),k=n(E),C=t("../utils/log.js"),x=r(C),B=t("../utils/time-ranges.js"),S=t("../utils/buffer.js"),O=t("../media-error.js"),M=r(O),P=t("global/window"),I=r(P),F=t("global/document"),D=r(F),R=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1];i(this,e),o.reportTouchActivity=!1,t.call(this,null,o,n),this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),this.textTracks_=o.textTracks,this.videoTracks_=o.videoTracks,this.audioTracks_=o.audioTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),o.nativeCaptions!==!1&&o.nativeTextTracks!==!1||(this.featuresNativeTextTracks=!1),this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks),this.initTextTrackListeners(),this.initTrackListeners(),this.emitTapEvents()}/*! Time Tracking -------------------------------------------------------------- */
return s(e,t),e.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},e.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},e.prototype.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(k.bind(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()}),500)},e.prototype.onDurationChange=function(){this.duration_=this.duration()},e.prototype.buffered=function(){return B.createTimeRange(0,0)},e.prototype.bufferedPercent=function(){return S.bufferedPercent(this.buffered(),this.duration_)},e.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},e.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},e.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},e.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},e.prototype.clearTracks=function(t){var e=this;t=[].concat(t),t.forEach(function(t){for(var o=e[t+"Tracks"]()||[],n=o.length;n--;){var r=o[n];"text"===t&&e.removeRemoteTextTrack(r),o.removeTrack_(r)}})},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new M.default(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?B.createTimeRange(0,0):B.createTimeRange()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTextTrackListeners=function(){var t=k.bind(this,function(){this.trigger("texttrackchange")}),e=this.textTracks();e&&(e.addEventListener("removetrack",t),e.addEventListener("addtrack",t),this.on("dispose",k.bind(this,function(){e.removeEventListener("removetrack",t),e.removeEventListener("addtrack",t)})))},e.prototype.initTrackListeners=function(){var t=this,e=["video","audio"];e.forEach(function(e){var o=function(){t.trigger(e+"trackchange")},n=t[e+"Tracks"]();n.addEventListener("removetrack",o),n.addEventListener("addtrack",o),t.on("dispose",function(){n.removeEventListener("removetrack",o),n.removeEventListener("addtrack",o)})})},e.prototype.emulateTextTracks=function(){var t=this,e=this.textTracks();if(e){I.default.WebVTT||null==this.el().parentNode||!function(){var e=D.default.createElement("script");e.src=t.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},t.on("dispose",function(){e.onload=null,e.onerror=null}),I.default.WebVTT=!0,t.el().parentNode.appendChild(e)}();var o=function(){return t.trigger("texttrackchange")},n=function(){o();for(var t=0;t<e.length;t++){var n=e[t];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};n(),e.addEventListener("change",n),this.on("dispose",function(){e.removeEventListener("change",n)})}},e.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new j.default,this.videoTracks_},e.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new _.default,this.audioTracks_},e.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new y.default,this.textTracks_},e.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new y.default,this.remoteTextTracks_},e.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new f.default,this.remoteTextTrackEls_},e.prototype.addTextTrack=function(t,e,o){if(!t)throw new Error("TextTrack kind is required but was not provided");return N(this,t,e,o)},e.prototype.addRemoteTextTrack=function(t){var e=h.default(t,{tech:this}),o=new u.default(e);return this.remoteTextTrackEls().addTrackElement_(o),this.remoteTextTracks().addTrack_(o.track),this.textTracks().addTrack_(o.track),o},e.prototype.removeRemoteTextTrack=function(t){this.textTracks().removeTrack_(t);var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack_(t)},e.prototype.setPoster=function(){},e.prototype.canPlayType=function(){return""},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,o){if(e.techs_||(e.techs_={}),!e.isTech(o))throw new Error("Tech "+t+" must be a Tech");return e.techs_[t]=o,o},e.getTech=function(t){return e.techs_&&e.techs_[t]?e.techs_[t]:I.default&&I.default.videojs&&I.default.videojs[t]?(x.default.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),I.default.videojs[t]):void 0},e}(l.default);R.prototype.textTracks_,R.prototype.audioTracks_,R.prototype.videoTracks_;var N=function(t,e,o,n){var r=arguments.length<=4||void 0===arguments[4]?{}:arguments[4],i=t.textTracks();r.kind=e,o&&(r.label=o),n&&(r.language=n),r.tech=t;var s=new v.default(r);return i.addTrack_(s),s};R.prototype.featuresVolumeControl=!0,R.prototype.featuresFullscreenResize=!1,R.prototype.featuresPlaybackRate=!1,R.prototype.featuresProgressEvents=!1,R.prototype.featuresTimeupdateEvents=!1,R.prototype.featuresNativeTextTracks=!1,R.withSourceHandlers=function(t){t.registerSourceHandler=function(e,o){var n=t.sourceHandlers;n||(n=t.sourceHandlers=[]),void 0===o&&(o=n.length),n.splice(o,0,e)},t.canPlayType=function(e){for(var o=t.sourceHandlers||[],n=void 0,r=0;r<o.length;r++)if(n=o[r].canPlayType(e))return n;return""},t.selectSourceHandler=function(e,o){for(var n=t.sourceHandlers||[],r=void 0,i=0;i<n.length;i++)if(r=n[i].canHandleSource(e,o))return n[i];return null},t.canPlaySource=function(e,o){var n=t.selectSourceHandler(e,o);return n?n.canHandleSource(e,o):""};var e=["seekable","duration"];e.forEach(function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},t.prototype),t.prototype.setSource=function(e){var o=t.selectSourceHandler(e,this.options_);return o||(t.nativeSourceHandler?o=t.nativeSourceHandler:x.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),o!==t.nativeSourceHandler&&(this.currentSource_=e,this.off(this.el_,"loadstart",t.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",t.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",t.prototype.firstLoadStartListener_)),this.sourceHandler_=o.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},t.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",t.prototype.successiveLoadStartListener_)},t.prototype.successiveLoadStartListener_=function(){this.currentSource_=null,this.disposeSourceHandler(),this.one(this.el_,"loadstart",t.prototype.successiveLoadStartListener_)},t.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&(this.off(this.el_,"loadstart",t.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",t.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose(),this.sourceHandler_=null)}},l.default.registerComponent("Tech",R),l.default.registerComponent("MediaTechController",R),R.registerTech("Tech",R),o.default=R,e.exports=o.default},{"../component":67,"../media-error.js":108,"../tracks/audio-track":126,"../tracks/audio-track-list":125,"../tracks/html-track-element":128,"../tracks/html-track-element-list":127,"../tracks/text-track":134,"../tracks/text-track-list":132,"../tracks/video-track":139,"../tracks/video-track-list":138,"../utils/buffer.js":141,"../utils/fn.js":144,"../utils/log.js":147,"../utils/merge-options.js":148,"../utils/time-ranges.js":150,"global/document":1,"global/window":2}],125:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./track-list"),l=r(a),c=t("../utils/browser.js"),u=n(c),p=t("global/document"),f=r(p),d=function(t,e){for(var o=0;o<t.length;o++)e.id!==t[o].id&&(t[o].enabled=!1)},h=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];i(this,e);for(var n=void 0,r=o.length-1;r>=0;r--)if(o[r].enabled){d(o,o[r]);break}if(u.IS_IE8){n=f.default.createElement("custom");for(var s in l.default.prototype)"constructor"!==s&&(n[s]=l.default.prototype[s]);for(var s in e.prototype)"constructor"!==s&&(n[s]=e.prototype[s])}return n=t.call(this,o,n),n.changing_=!1,n}return s(e,t),e.prototype.addTrack_=function(e){var o=this;e.enabled&&d(this,e),t.prototype.addTrack_.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",function(){o.changing_||(o.changing_=!0,d(o,e),o.changing_=!1,o.trigger("change"))})},e.prototype.addTrack=function(t){this.addTrack_(t)},e.prototype.removeTrack=function(e){t.prototype.removeTrack_.call(this,e)},e}(l.default);o.default=h,e.exports=o.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],126:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./track-enums"),l=t("./track"),c=r(l),u=t("../utils/merge-options"),p=r(u),f=t("../utils/browser.js"),d=n(f),h=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,e);var n=p.default(o,{kind:a.AudioTrackKind[o.kind]||""}),r=t.call(this,n),s=!1;if(d.IS_IE8)for(var l in e.prototype)"constructor"!==l&&(r[l]=e.prototype[l]);return Object.defineProperty(r,"enabled",{get:function(){return s},set:function(t){"boolean"==typeof t&&t!==s&&(s=t,this.trigger("enabledchange"))}}),n.enabled&&(r.enabled=n.enabled),r.loaded_=!0,r}return s(e,t),e}(c.default);o.default=h,e.exports=o.default},{"../utils/browser.js":140,"../utils/merge-options":148,"./track":137,"./track-enums":135}],127:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o.__esModule=!0;var s=t("../utils/browser.js"),a=r(s),l=t("global/document"),c=n(l),u=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];i(this,t);var o=this;if(a.IS_IE8){o=c.default.createElement("custom");for(var n in t.prototype)"constructor"!==n&&(o[n]=t.prototype[n])}o.trackElements_=[],Object.defineProperty(o,"length",{get:function(){return this.trackElements_.length}});for(var r=0,s=e.length;r<s;r++)o.addTrackElement_(e[r]);if(a.IS_IE8)return o}return t.prototype.addTrackElement_=function(t){this.trackElements_.push(t)},t.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,o=0,n=this.trackElements_.length;o<n;o++)if(t===this.trackElements_[o].track){e=this.trackElements_[o];break}return e},t.prototype.removeTrackElement_=function(t){for(var e=0,o=this.trackElements_.length;e<o;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},t}();o.default=u,e.exports=o.default},{"../utils/browser.js":140,"global/document":1}],128:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../utils/browser.js"),l=r(a),c=t("global/document"),u=n(c),p=t("../event-target"),f=n(p),d=t("../tracks/text-track"),h=n(d),A=0,v=1,g=2,y=3,m=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,e),t.call(this);var n=void 0,r=this;if(l.IS_IE8){r=u.default.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(r[s]=e.prototype[s])}var a=new h.default(o);if(r.kind=a.kind,r.src=a.src,r.srclang=a.language,r.label=a.label,r.default=a.default,Object.defineProperty(r,"readyState",{get:function(){return n}}),Object.defineProperty(r,"track",{get:function(){return a}}),n=A,a.addEventListener("loadeddata",function(){n=g,r.trigger({type:"load",target:r})}),l.IS_IE8)return r}return s(e,t),e}(f.default);m.prototype.allowedEvents_={load:"load"},m.NONE=A,m.LOADING=v,m.LOADED=g,m.ERROR=y,o.default=m,e.exports=o.default},{"../event-target":104,"../tracks/text-track":134,"../utils/browser.js":140,"global/document":1}],129:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}o.__esModule=!0;var s=t("../utils/browser.js"),a=r(s),l=t("global/document"),c=n(l),u=function(){function t(e){i(this,t);var o=this;if(a.IS_IE8){o=c.default.createElement("custom");for(var n in t.prototype)"constructor"!==n&&(o[n]=t.prototype[n])}if(t.prototype.setCues_.call(o,e),Object.defineProperty(o,"length",{get:function(){return this.length_}}),a.IS_IE8)return o}return t.prototype.setCues_=function(t){var e=this.length||0,o=0,n=t.length;this.cues_=t,this.length_=t.length;var r=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<n)for(o=e;o<n;o++)r.call(this,o)},t.prototype.getCueById=function(t){for(var e=null,o=0,n=this.length;o<n;o++){var r=this[o];if(r.id===t){e=r;break}}return e},t}();o.default=u,e.exports=o.default},{"../utils/browser.js":140,"global/document":1}],130:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function l(t,e,o){try{t.style[e]=o}catch(t){}}o.__esModule=!0;var c=t("../component"),u=r(c),p=t("../menu/menu.js"),f=(r(p),t("../menu/menu-item.js")),d=(r(f),t("../menu/menu-button.js")),h=(r(d),t("../utils/fn.js")),A=n(h),v=t("global/document"),g=(r(v),t("global/window")),y=r(g),m="#222",b="#ccc",j={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},w=function(t){function e(o,n,r){i(this,e),t.call(this,o,n,r),o.on("loadstart",A.bind(this,this.toggleDisplay)),o.on("texttrackchange",A.bind(this,this.updateDisplay)),o.ready(A.bind(this,function(){if(o.tech_&&o.tech_.featuresNativeTextTracks)return void this.hide();o.on("fullscreenchange",A.bind(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++){var n=t[e];this.player_.addRemoteTextTrack(n)}var r={captions:1,subtitles:1},i=this.player_.textTracks(),s=void 0,a=void 0;if(i){for(var e=0;e<i.length;e++){var n=i[e];n.default&&("descriptions"!==n.kind||s?n.kind in r&&!a&&(a=n):s=n)}a?a.mode="showing":s&&(s.mode="showing")}}))}return s(e,t),e.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"assertive","aria-atomic":"true"})},e.prototype.clearDisplay=function(){"function"==typeof y.default.WebVTT&&y.default.WebVTT.processCues(y.default,[],this.el_)},e.prototype.updateDisplay=function(){var t=this.player_.textTracks();if(this.clearDisplay(),t){for(var e=null,o=null,n=t.length;n--;){var r=t[n];"showing"===r.mode&&("descriptions"===r.kind?e=r:o=r)}o?this.updateForTrack(o):e&&this.updateForTrack(e)}},e.prototype.updateForTrack=function(t){if("function"==typeof y.default.WebVTT&&t.activeCues){for(var e=this.player_.textTrackSettings.getValues(),o=[],n=0;n<t.activeCues.length;n++)o.push(t.activeCues[n]);y.default.WebVTT.processCues(y.default,o,this.el_);for(var r=o.length;r--;){var i=o[r];if(i){var s=i.displayState;if(e.color&&(s.firstChild.style.color=e.color),e.textOpacity&&l(s.firstChild,"color",a(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(s.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&l(s.firstChild,"backgroundColor",a(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?l(s,"backgroundColor",a(e.windowColor,e.windowOpacity)):s.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px "+m+", 2px 2px 4px "+m+", 2px 2px 5px "+m:"raised"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px "+m+", 2px 2px "+m+", 3px 3px "+m:"depressed"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px "+b+", 0 1px "+b+", -1px -1px "+m+", 0 -1px "+m:"uniform"===e.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px "+m+", 0 0 4px "+m+", 0 0 4px "+m+", 0 0 4px "+m)),e.fontPercent&&1!==e.fontPercent){var c=y.default.parseFloat(s.style.fontSize);s.style.fontSize=c*e.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"}e.fontFamily&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=j[e.fontFamily])}}}},e}(u.default);u.default.registerComponent("TextTrackDisplay",w),o.default=w,e.exports=o.default},{"../component":67,"../menu/menu-button.js":109,"../menu/menu-item.js":110,"../menu/menu.js":111,"../utils/fn.js":144,"global/document":1,"global/window":2}],131:[function(t,e,o){"use strict";o.__esModule=!0;var n=function(t){var e=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(e,o,n){return t[o]&&(e[o]=t[o]),e},{cues:t.cues&&Array.prototype.map.call(t.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})});return e},r=function(t){var e=t.$$("track"),o=Array.prototype.map.call(e,function(t){return t.track}),r=Array.prototype.map.call(e,function(t){var e=n(t.track);return t.src&&(e.src=t.src),e});return r.concat(Array.prototype.filter.call(t.textTracks(),function(t){return o.indexOf(t)===-1}).map(n))},i=function(t,e){return t.forEach(function(t){var o=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return o.addCue(t)})}),e.textTracks()};o.default={textTracksToJson:r,jsonToTextTracks:i,trackToJson_:n},e.exports=o.default},{}],132:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./track-list"),l=r(a),c=t("../utils/fn.js"),u=n(c),p=t("../utils/browser.js"),f=n(p),d=t("global/document"),h=r(d),A=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];i(this,e);var n=void 0;if(f.IS_IE8){n=h.default.createElement("custom");for(var r in l.default.prototype)"constructor"!==r&&(n[r]=l.default.prototype[r]);for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}return n=t.call(this,o,n)}return s(e,t),e.prototype.addTrack_=function(e){t.prototype.addTrack_.call(this,e),e.addEventListener("modechange",u.bind(this,function(){this.trigger("change")}))},e.prototype.removeTrack_=function(t){for(var e=void 0,o=0,n=this.length;o<n;o++)if(this[o]===t){e=this[o],e.off&&e.off(),this.tracks_.splice(o,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,o=0,n=this.length;o<n;o++){var r=this[o];if(r.id===t){e=r;break}}return e},e}(l.default);o.default=A,e.exports=o.default},{"../utils/browser.js":140,"../utils/fn.js":144,"./track-list":136,"global/document":1}],133:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=void 0;return t.selectedOptions?e=t.selectedOptions[0]:t.options&&(e=t.options[t.options.selectedIndex]),e.value}function l(t,e){if(e){var o=void 0;for(o=0;o<t.options.length;o++){var n=t.options[o];if(n.value===e)break}t.selectedIndex=o}}function c(t,e,o){var n='\n    <div role="document">\n      <div role="heading" aria-level="1" id="'+e+'" class="vjs-control-text">Captions Settings Dialog</div>\n      <div id="'+o+'" class="vjs-control-text">Beginning of dialog window. Escape will cancel and close the window.</div>\n      <div class="vjs-tracksettings">\n        <div class="vjs-tracksettings-colors">\n          <fieldset class="vjs-fg-color vjs-tracksetting">\n            <legend>Text</legend>\n            <label class="vjs-label" for="captions-foreground-color-'+t+'">Color</label>\n            <select id="captions-foreground-color-'+t+'">\n              <option value="#FFF" selected>White</option>\n              <option value="#000">Black</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-text-opacity vjs-opacity">\n              <label class="vjs-label" for="captions-foreground-opacity-'+t+'">Transparency</label>\n              <select id="captions-foreground-opacity-'+t+'">\n                <option value="1" selected>Opaque</option>\n                <option value="0.5">Semi-Opaque</option>\n              </select>\n            </span>\n          </fieldset>\n          <fieldset class="vjs-bg-color vjs-tracksetting">\n            <legend>Background</legend>\n            <label class="vjs-label" for="captions-background-color-'+t+'">Color</label>\n            <select id="captions-background-color-'+t+'">\n              <option value="#000" selected>Black</option>\n              <option value="#FFF">White</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-bg-opacity vjs-opacity">\n              <label class="vjs-label" for="captions-background-opacity-'+t+'">Transparency</label>\n              <select id="captions-background-opacity-'+t+'">\n                <option value="1" selected>Opaque</option>\n                <option value="0.5">Semi-Transparent</option>\n                <option value="0">Transparent</option>\n              </select>\n            </span>\n          </fieldset>\n          <fieldset class="window-color vjs-tracksetting">\n            <legend>Window</legend>\n            <label class="vjs-label" for="captions-window-color-'+t+'">Color</label>\n            <select id="captions-window-color-'+t+'">\n              <option value="#000" selected>Black</option>\n              <option value="#FFF">White</option>\n              <option value="#F00">Red</option>\n              <option value="#0F0">Green</option>\n              <option value="#00F">Blue</option>\n              <option value="#FF0">Yellow</option>\n              <option value="#F0F">Magenta</option>\n              <option value="#0FF">Cyan</option>\n            </select>\n            <span class="vjs-window-opacity vjs-opacity">\n              <label class="vjs-label" for="captions-window-opacity-'+t+'">Transparency</label>\n              <select id="captions-window-opacity-'+t+'">\n                <option value="0" selected>Transparent</option>\n                <option value="0.5">Semi-Transparent</option>\n                <option value="1">Opaque</option>\n              </select>\n            </span>\n          </fieldset>\n        </div> <!-- vjs-tracksettings-colors -->\n        <div class="vjs-tracksettings-font">\n          <div class="vjs-font-percent vjs-tracksetting">\n            <label class="vjs-label" for="captions-font-size-'+t+'">Font Size</label>\n            <select id="captions-font-size-'+t+'">\n              <option value="0.50">50%</option>\n              <option value="0.75">75%</option>\n              <option value="1.00" selected>100%</option>\n              <option value="1.25">125%</option>\n              <option value="1.50">150%</option>\n              <option value="1.75">175%</option>\n              <option value="2.00">200%</option>\n              <option value="3.00">300%</option>\n              <option value="4.00">400%</option>\n            </select>\n          </div>\n          <div class="vjs-edge-style vjs-tracksetting">\n            <label class="vjs-label" for="captions-edge-style-'+t+'">Text Edge Style</label>\n            <select id="captions-edge-style-'+t+'">\n              <option value="none" selected>None</option>\n              <option value="raised">Raised</option>\n              <option value="depressed">Depressed</option>\n              <option value="uniform">Uniform</option>\n              <option value="dropshadow">Dropshadow</option>\n            </select>\n          </div>\n          <div class="vjs-font-family vjs-tracksetting">\n            <label class="vjs-label" for="captions-font-family-'+t+'">Font Family</label>\n            <select id="captions-font-family-'+t+'">\n              <option value="proportionalSansSerif" selected>Proportional Sans-Serif</option>\n              <option value="monospaceSansSerif">Monospace Sans-Serif</option>\n              <option value="proportionalSerif">Proportional Serif</option>\n              <option value="monospaceSerif">Monospace Serif</option>\n              <option value="casual">Casual</option>\n              <option value="script">Script</option>\n              <option value="small-caps">Small Caps</option>\n            </select>\n          </div>\n        </div> <!-- vjs-tracksettings-font -->\n        <div class="vjs-tracksettings-controls">\n          <button class="vjs-default-button">Defaults</button>\n          <button class="vjs-done-button">Done</button>\n        </div>\n      </div> <!-- vjs-tracksettings -->\n    </div> <!--  role="document" -->';return n}o.__esModule=!0;var u=t("../component"),p=r(u),f=t("../utils/events.js"),d=n(f),h=t("../utils/fn.js"),A=n(h),v=t("../utils/log.js"),g=r(v),y=t("safe-json-parse/tuple"),m=r(y),b=t("global/window"),j=r(b),w=function(t){function e(o,n){i(this,e),t.call(this,o,n),this.hide(),void 0===n.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),d.on(this.$(".vjs-done-button"),"click",A.bind(this,function(){this.saveSettings(),this.hide()})),d.on(this.$(".vjs-default-button"),"click",A.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0,this.$(".vjs-bg-color > select").selectedIndex=0,this.$(".window-color > select").selectedIndex=0,this.$(".vjs-text-opacity > select").selectedIndex=0,this.$(".vjs-bg-opacity > select").selectedIndex=0,this.$(".vjs-window-opacity > select").selectedIndex=0,this.$(".vjs-edge-style select").selectedIndex=0,this.$(".vjs-font-family select").selectedIndex=0,this.$(".vjs-font-percent select").selectedIndex=2,this.updateDisplay()})),d.on(this.$(".vjs-fg-color > select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".vjs-bg-color > select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".window-color > select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".vjs-text-opacity > select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".vjs-bg-opacity > select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".vjs-window-opacity > select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".vjs-font-percent select"),"change",A.bind(this,this.updateDisplay)),
d.on(this.$(".vjs-edge-style select"),"change",A.bind(this,this.updateDisplay)),d.on(this.$(".vjs-font-family select"),"change",A.bind(this,this.updateDisplay)),this.options_.persistTextTrackSettings&&this.restoreSettings()}return s(e,t),e.prototype.createEl=function(){var e=this.id_,o="TTsettingsDialogLabel-"+e,n="TTsettingsDialogDescription-"+e;return t.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:c(e,o,n),tabIndex:-1},{role:"dialog","aria-labelledby":o,"aria-describedby":n})},e.prototype.getValues=function(){var t=a(this.$(".vjs-edge-style select")),e=a(this.$(".vjs-font-family select")),o=a(this.$(".vjs-fg-color > select")),n=a(this.$(".vjs-text-opacity > select")),r=a(this.$(".vjs-bg-color > select")),i=a(this.$(".vjs-bg-opacity > select")),s=a(this.$(".window-color > select")),l=a(this.$(".vjs-window-opacity > select")),c=j.default.parseFloat(a(this.$(".vjs-font-percent > select"))),u={backgroundOpacity:i,textOpacity:n,windowOpacity:l,edgeStyle:t,fontFamily:e,color:o,backgroundColor:r,windowColor:s,fontPercent:c};for(var p in u)(""===u[p]||"none"===u[p]||"fontPercent"===p&&1===u[p])&&delete u[p];return u},e.prototype.setValues=function(t){l(this.$(".vjs-edge-style select"),t.edgeStyle),l(this.$(".vjs-font-family select"),t.fontFamily),l(this.$(".vjs-fg-color > select"),t.color),l(this.$(".vjs-text-opacity > select"),t.textOpacity),l(this.$(".vjs-bg-color > select"),t.backgroundColor),l(this.$(".vjs-bg-opacity > select"),t.backgroundOpacity),l(this.$(".window-color > select"),t.windowColor),l(this.$(".vjs-window-opacity > select"),t.windowOpacity);var e=t.fontPercent;e&&(e=e.toFixed(2)),l(this.$(".vjs-font-percent > select"),e)},e.prototype.restoreSettings=function(){var t=void 0,e=void 0;try{var o=m.default(j.default.localStorage.getItem("vjs-text-track-settings"));t=o[0],e=o[1],t&&g.default.error(t)}catch(t){g.default.warn(t)}e&&this.setValues(e)},e.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.getOwnPropertyNames(t).length>0?j.default.localStorage.setItem("vjs-text-track-settings",JSON.stringify(t)):j.default.localStorage.removeItem("vjs-text-track-settings")}catch(t){g.default.warn(t)}}},e.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},e}(p.default);p.default.registerComponent("TextTrackSettings",w),o.default=w,e.exports=o.default},{"../component":67,"../utils/events.js":143,"../utils/fn.js":144,"../utils/log.js":147,"global/window":2,"safe-json-parse/tuple":54}],134:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./text-track-cue-list"),l=r(a),c=t("../utils/fn.js"),u=n(c),p=t("./track-enums"),f=t("../utils/log.js"),d=r(f),h=t("global/document"),A=(r(h),t("global/window")),v=r(A),g=t("./track.js"),y=r(g),m=t("../utils/url.js"),b=t("xhr"),j=r(b),w=t("../utils/merge-options"),_=r(w),T=t("../utils/browser.js"),E=n(T),k=function(t,e){var o=new v.default.WebVTT.Parser(v.default,v.default.vttjs,v.default.WebVTT.StringDecoder()),n=[];o.oncue=function(t){e.addCue(t)},o.onparsingerror=function(t){n.push(t)},o.onflush=function(){e.trigger({type:"loadeddata",target:e})},o.parse(t),n.length>0&&(console.groupCollapsed&&console.groupCollapsed("Text Track parsing errors for "+e.src),n.forEach(function(t){return d.default.error(t)}),console.groupEnd&&console.groupEnd()),o.flush()},C=function(t,e){var o={uri:t},n=m.isCrossOrigin(t);n&&(o.cors=n),j.default(o,u.bind(this,function(t,o,n){return t?d.default.error(t,o):(e.loaded_=!0,void("function"!=typeof v.default.WebVTT?e.tech_&&!function(){var t=function(){return k(n,e)};e.tech_.on("vttjsloaded",t),e.tech_.on("vttjserror",function(){d.default.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",t)})}():k(n,e)))}))},x=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(i(this,e),!o.tech)throw new Error("A tech was not provided.");var n=_.default(o,{kind:p.TextTrackKind[o.kind]||"subtitles",language:o.language||o.srclang||""}),r=p.TextTrackMode[n.mode]||"disabled",s=n.default;"metadata"!==n.kind&&"chapters"!==n.kind||(r="hidden");var a=t.call(this,n);if(a.tech_=n.tech,E.IS_IE8)for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c]);a.cues_=[],a.activeCues_=[];var f=new l.default(a.cues_),d=new l.default(a.activeCues_),h=!1,A=u.bind(a,function(){this.activeCues,h&&(this.trigger("cuechange"),h=!1)});return"disabled"!==r&&a.tech_.on("timeupdate",A),Object.defineProperty(a,"default",{get:function(){return s},set:function(){}}),Object.defineProperty(a,"mode",{get:function(){return r},set:function(t){p.TextTrackMode[t]&&(r=t,"showing"===r&&this.tech_.on("timeupdate",A),this.trigger("modechange"))}}),Object.defineProperty(a,"cues",{get:function(){return this.loaded_?f:null},set:function(){}}),Object.defineProperty(a,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return d;for(var t=this.tech_.currentTime(),e=[],o=0,n=this.cues.length;o<n;o++){var r=this.cues[o];r.startTime<=t&&r.endTime>=t?e.push(r):r.startTime===r.endTime&&r.startTime<=t&&r.startTime+.5>=t&&e.push(r)}if(h=!1,e.length!==this.activeCues_.length)h=!0;else for(var o=0;o<e.length;o++)this.activeCues_.indexOf(e[o])===-1&&(h=!0);return this.activeCues_=e,d.setCues_(this.activeCues_),d},set:function(){}}),n.src?(a.src=n.src,C(n.src,a)):a.loaded_=!0,a}return s(e,t),e.prototype.addCue=function(t){var e=this.tech_.textTracks();if(e)for(var o=0;o<e.length;o++)e[o]!==this&&e[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},e.prototype.removeCue=function(t){for(var e=!1,o=0,n=this.cues_.length;o<n;o++){var r=this.cues_[o];r===t&&(this.cues_.splice(o,1),e=!0)}e&&this.cues.setCues_(this.cues_)},e}(y.default);x.prototype.allowedEvents_={cuechange:"cuechange"},o.default=x,e.exports=o.default},{"../utils/browser.js":140,"../utils/fn.js":144,"../utils/log.js":147,"../utils/merge-options":148,"../utils/url.js":152,"./text-track-cue-list":129,"./track-enums":135,"./track.js":137,"global/document":1,"global/window":2,xhr:56}],135:[function(t,e,o){"use strict";o.__esModule=!0;var n={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},r={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},i={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},s={disabled:"disabled",hidden:"hidden",showing:"showing"};o.default={VideoTrackKind:n,AudioTrackKind:r,TextTrackKind:i,TextTrackMode:s},e.exports=o.default},{}],136:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../event-target"),l=r(a),c=t("../utils/fn.js"),u=(n(c),t("../utils/browser.js")),p=n(u),f=t("global/document"),d=r(f),h=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(i(this,e),t.call(this),!n&&(n=this,p.IS_IE8)){n=d.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}n.tracks_=[],Object.defineProperty(n,"length",{get:function(){return this.tracks_.length}});for(var s=0;s<o.length;s++)n.addTrack_(o[s]);return n}return s(e,t),e.prototype.addTrack_=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),this.tracks_.indexOf(t)===-1&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},e.prototype.removeTrack_=function(t){for(var e=void 0,o=0,n=this.length;o<n;o++)if(this[o]===t){e=this[o],e.off&&e.off(),this.tracks_.splice(o,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,o=0,n=this.length;o<n;o++){var r=this[o];if(r.id===t){e=r;break}}return e},e}(l.default);h.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var A in h.prototype.allowedEvents_)h.prototype["on"+A]=null;o.default=h,e.exports=o.default},{"../event-target":104,"../utils/browser.js":140,"../utils/fn.js":144,"global/document":1}],137:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("../utils/browser.js"),l=r(a),c=t("global/document"),u=n(c),p=t("../utils/guid.js"),f=r(p),d=t("../event-target"),h=n(d),A=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,e),t.call(this);var n=this;if(l.IS_IE8){n=u.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}var s={id:o.id||"vjs_track_"+f.newGUID(),kind:o.kind||"",label:o.label||"",language:o.language||""},a=function(t){Object.defineProperty(n,t,{get:function(){return s[t]},set:function(){}})};for(var c in s)a(c);return n}return s(e,t),e}(h.default);o.default=A,e.exports=o.default},{"../event-target":104,"../utils/browser.js":140,"../utils/guid.js":146,"global/document":1}],138:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./track-list"),l=r(a),c=t("../utils/browser.js"),u=n(c),p=t("global/document"),f=r(p),d=function(t,e){for(var o=0;o<t.length;o++)e.id!==t[o].id&&(t[o].selected=!1)},h=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];i(this,e);for(var n=void 0,r=o.length-1;r>=0;r--)if(o[r].selected){d(o,o[r]);break}if(u.IS_IE8){n=f.default.createElement("custom");for(var s in l.default.prototype)"constructor"!==s&&(n[s]=l.default.prototype[s]);for(var s in e.prototype)"constructor"!==s&&(n[s]=e.prototype[s])}return n=t.call(this,o,n),n.changing_=!1,Object.defineProperty(n,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),n}return s(e,t),e.prototype.addTrack_=function(e){var o=this;e.selected&&d(this,e),t.prototype.addTrack_.call(this,e),e.addEventListener&&e.addEventListener("selectedchange",function(){o.changing_||(o.changing_=!0,d(o,e),o.changing_=!1,o.trigger("change"))})},e.prototype.addTrack=function(t){this.addTrack_(t)},e.prototype.removeTrack=function(e){t.prototype.removeTrack_.call(this,e)},e}(l.default);o.default=h,e.exports=o.default},{"../utils/browser.js":140,"./track-list":136,"global/document":1}],139:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}o.__esModule=!0;var a=t("./track-enums"),l=t("./track"),c=r(l),u=t("../utils/merge-options"),p=r(u),f=t("../utils/browser.js"),d=n(f),h=function(t){function e(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,e);var n=p.default(o,{kind:a.VideoTrackKind[o.kind]||""}),r=t.call(this,n),s=!1;if(d.IS_IE8)for(var l in e.prototype)"constructor"!==l&&(r[l]=e.prototype[l]);return Object.defineProperty(r,"selected",{get:function(){return s},set:function(t){"boolean"==typeof t&&t!==s&&(s=t,this.trigger("selectedchange"))}}),n.selected&&(r.selected=n.selected),r}return s(e,t),e}(c.default);o.default=h,e.exports=o.default},{"../utils/browser.js":140,"../utils/merge-options":148,"./track":137,"./track-enums":135}],140:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}o.__esModule=!0;var r=t("global/document"),i=n(r),s=t("global/window"),a=n(s),l=a.default.navigator.userAgent,c=/AppleWebKit\/([\d.]+)/i.exec(l),u=c?parseFloat(c.pop()):null,p=/iPad/i.test(l);o.IS_IPAD=p;var f=/iPhone/i.test(l)&&!p;o.IS_IPHONE=f;var d=/iPod/i.test(l);o.IS_IPOD=d;var h=f||p||d;o.IS_IOS=h;var A=function(){var t=l.match(/OS (\d+)_/i);if(t&&t[1])return t[1]}();o.IOS_VERSION=A;var v=/Android/i.test(l);o.IS_ANDROID=v;var g=function(){var t,e,o=l.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);return o?(t=o[1]&&parseFloat(o[1]),e=o[2]&&parseFloat(o[2]),t&&e?parseFloat(o[1]+"."+o[2]):t?t:null):null}();o.ANDROID_VERSION=g;var y=v&&/webkit/i.test(l)&&g<2.3;o.IS_OLD_ANDROID=y;var m=v&&g<5&&u<537;o.IS_NATIVE_ANDROID=m;var b=/Firefox/i.test(l);o.IS_FIREFOX=b;var j=/Edge/i.test(l);o.IS_EDGE=j;var w=!j&&/Chrome/i.test(l);o.IS_CHROME=w;var _=/MSIE\s8\.0/.test(l);o.IS_IE8=_;var T=function(t){return t&&parseFloat(t[1])}(/MSIE\s(\d+)\.\d/.exec(l));o.IE_VERSION=T;var E=!!("ontouchstart"in a.default||a.default.DocumentTouch&&i.default instanceof a.default.DocumentTouch);o.TOUCH_ENABLED=E;var k="backgroundSize"in i.default.createElement("video").style;o.BACKGROUND_SIZE_SUPPORTED=k},{"global/document":1,"global/window":2}],141:[function(t,e,o){"use strict";function n(t,e){var o,n,i=0;if(!e)return 0;t&&t.length||(t=r.createTimeRange(0,0));for(var s=0;s<t.length;s++)o=t.start(s),n=t.end(s),n>e&&(n=e),i+=n-o;return i/e}o.__esModule=!0,o.bufferedPercent=n;var r=t("./time-ranges.js")},{"./time-ranges.js":150}],142:[function(t,e,o){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return t.raw=e,t}function s(t){return"string"==typeof t&&/\S/.test(t)}function a(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function l(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}function c(t){return function(e,o){return s(e)?(s(o)&&(o=F.default.querySelector(o)),(C(o)?o:F.default)[t](e)):F.default[t](null)}}function u(t){return 0===t.indexOf("#")&&(t=t.slice(1)),F.default.getElementById(t)}function p(){var t=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=F.default.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(t){var o=e[t];t.indexOf("aria-")!==-1||"role"===t||"type"===t?(V.default.warn(Y.default(P,t,o)),n.setAttribute(t,o)):n[t]=o}),Object.getOwnPropertyNames(o).forEach(function(t){o[t];n.setAttribute(t,o[t])}),n}function f(t,e){"undefined"==typeof t.textContent?t.innerText=e:t.textContent=e}function d(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function h(t){var e=t[U];return e||(e=t[U]=Q.newGUID()),H[e]||(H[e]={}),H[e]}function A(t){var e=t[U];return!!e&&!!Object.getOwnPropertyNames(H[e]).length}function v(t){var e=t[U];if(e){delete H[e];try{delete t[U]}catch(e){t.removeAttribute?t.removeAttribute(U):t[U]=null}}}function g(t,e){return t.classList?t.classList.contains(e):(a(e),l(e).test(t.className))}function y(t,e){return t.classList?t.classList.add(e):g(t,e)||(t.className=(t.className+" "+e).trim()),t}function m(t,e){return t.classList?t.classList.remove(e):(a(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function b(t,e,o){var n=g(t,e);if("function"==typeof o&&(o=o(t,e)),"boolean"!=typeof o&&(o=!n),o!==n)return o?y(t,e):m(t,e),t}function j(t,e){Object.getOwnPropertyNames(e).forEach(function(o){var n=e[o];null===n||"undefined"==typeof n||n===!1?t.removeAttribute(o):t.setAttribute(o,n===!0?"":n)})}function w(t){var e,o,n,r,i;if(e={},o=",autoplay,controls,loop,muted,default,",t&&t.attributes&&t.attributes.length>0){n=t.attributes;for(var s=n.length-1;s>=0;s--)r=n[s].name,i=n[s].value,"boolean"!=typeof t[r]&&o.indexOf(","+r+",")===-1||(i=null!==i),e[r]=i}return e}function _(){F.default.body.focus(),F.default.onselectstart=function(){return!1}}function T(){F.default.onselectstart=function(){return!0}}function E(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var o=F.default.documentElement,n=F.default.body,r=o.clientLeft||n.clientLeft||0,i=R.default.pageXOffset||n.scrollLeft,s=e.left+i-r,a=o.clientTop||n.clientTop||0,l=R.default.pageYOffset||n.scrollTop,c=e.top+l-a;return{left:Math.round(s),top:Math.round(c)}}function k(t,e){var o={},n=E(t),r=t.offsetWidth,i=t.offsetHeight,s=n.top,a=n.left,l=e.pageY,c=e.pageX;return e.changedTouches&&(c=e.changedTouches[0].pageX,l=e.changedTouches[0].pageY),o.y=Math.max(0,Math.min(1,(s-l+i)/i)),o.x=Math.max(0,Math.min(1,(c-a)/r)),o}function C(t){return!!t&&"object"==typeof t&&1===t.nodeType}function x(t){return!!t&&"object"==typeof t&&3===t.nodeType}function B(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function S(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),C(t)||x(t)?t:"string"==typeof t&&/\S/.test(t)?F.default.createTextNode(t):void 0}).filter(function(t){return t})}function O(t,e){return S(e).forEach(function(e){return t.appendChild(e)}),t}function M(t,e){return O(B(t),e)}o.__esModule=!0,o.getEl=u,o.createEl=p,o.textContent=f,o.insertElFirst=d,o.getElData=h,o.hasElData=A,o.removeElData=v,o.hasElClass=g,o.addElClass=y,o.removeElClass=m,o.toggleElClass=b,o.setElAttributes=j,o.getElAttributes=w,o.blockTextSelection=_,o.unblockTextSelection=T,o.findElPosition=E,o.getPointerPosition=k,o.isEl=C,o.isTextNode=x,o.emptyEl=B,o.normalizeContent=S,o.appendContent=O,o.insertContent=M;var P=i(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]),I=t("global/document"),F=r(I),D=t("global/window"),R=r(D),N=t("./guid.js"),Q=n(N),L=t("./log.js"),V=r(L),G=t("tsml"),Y=r(G),H={},U="vdata"+(new Date).getTime(),z=c("querySelector");o.$=z;var W=c("querySelectorAll");o.$$=W},{"./guid.js":146,"./log.js":147,"global/document":1,"global/window":2,tsml:55}],143:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t,e,o){if(Array.isArray(e))return p(i,t,e,o);var n=d.getElData(t);n.handlers||(n.handlers={}),n.handlers[e]||(n.handlers[e]=[]),o.guid||(o.guid=A.newGUID()),n.handlers[e].push(o),n.dispatcher||(n.disabled=!1,n.dispatcher=function(e,o){if(!n.disabled){e=c(e);var r=n.handlers[e.type];if(r)for(var i=r.slice(0),s=0,a=i.length;s<a&&!e.isImmediatePropagationStopped();s++)try{i[s].call(t,e,o)}catch(t){g.default.error(t)}}}),1===n.handlers[e].length&&(t.addEventListener?t.addEventListener(e,n.dispatcher,!1):t.attachEvent&&t.attachEvent("on"+e,n.dispatcher))}function s(t,e,o){if(d.hasElData(t)){var n=d.getElData(t);if(n.handlers){if(Array.isArray(e))return p(s,t,e,o);var r=function(e){n.handlers[e]=[],u(t,e)};if(e){var i=n.handlers[e];if(i){if(!o)return void r(e);if(o.guid)for(var a=0;a<i.length;a++)i[a].guid===o.guid&&i.splice(a--,1);u(t,e)}}else for(var l in n.handlers)r(l)}}}function a(t,e,o){var n=d.hasElData(t)?d.getElData(t):{},r=t.parentNode||t.ownerDocument;if("string"==typeof e&&(e={type:e,target:t}),e=c(e),n.dispatcher&&n.dispatcher.call(t,e,o),r&&!e.isPropagationStopped()&&e.bubbles===!0)a.call(null,r,e,o);else if(!r&&!e.defaultPrevented){var i=d.getElData(e.target);e.target[e.type]&&(i.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),i.disabled=!1)}return!e.defaultPrevented}function l(t,e,o){if(Array.isArray(e))return p(l,t,e,o);var n=function n(){s(t,e,n),o.apply(this,arguments)};n.guid=o.guid=o.guid||A.newGUID(),i(t,e,n)}function c(t){function e(){return!0}function o(){return!1}if(!t||!t.isPropagationStopped){var n=t||m.default.event;t={};for(var r in n)"layerX"!==r&&"layerY"!==r&&"keyLocation"!==r&&"webkitMovementX"!==r&&"webkitMovementY"!==r&&("returnValue"===r&&n.preventDefault||(t[r]=n[r]));if(t.target||(t.target=t.srcElement||j.default),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){n.preventDefault&&n.preventDefault(),t.returnValue=!1,n.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),t.cancelBubble=!0,n.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=o,t.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=o,null!=t.clientX){var i=j.default.documentElement,s=j.default.body;t.pageX=t.clientX+(i&&i.scrollLeft||s&&s.scrollLeft||0)-(i&&i.clientLeft||s&&s.clientLeft||0),t.pageY=t.clientY+(i&&i.scrollTop||s&&s.scrollTop||0)-(i&&i.clientTop||s&&s.clientTop||0)}t.which=t.charCode||t.keyCode,null!=t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}function u(t,e){var o=d.getElData(t);0===o.handlers[e].length&&(delete o.handlers[e],t.removeEventListener?t.removeEventListener(e,o.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,o.dispatcher)),Object.getOwnPropertyNames(o.handlers).length<=0&&(delete o.handlers,delete o.dispatcher,delete o.disabled),0===Object.getOwnPropertyNames(o).length&&d.removeElData(t)}function p(t,e,o,n){o.forEach(function(o){t(e,o,n)})}o.__esModule=!0,o.on=i,o.off=s,o.trigger=a,o.one=l,o.fixEvent=c;var f=t("./dom.js"),d=r(f),h=t("./guid.js"),A=r(h),v=t("./log.js"),g=n(v),y=t("global/window"),m=n(y),b=t("global/document"),j=n(b)},{"./dom.js":142,"./guid.js":146,"./log.js":147,"global/document":1,"global/window":2}],144:[function(t,e,o){"use strict";o.__esModule=!0;var n=t("./guid.js"),r=function(t,e,o){e.guid||(e.guid=n.newGUID());var r=function(){return e.apply(t,arguments)};return r.guid=o?o+"_"+e.guid:e.guid,r};o.bind=r},{"./guid.js":146}],145:[function(t,e,o){"use strict";function n(t){var e=arguments.length<=1||void 0===arguments[1]?t:arguments[1];return function(){t=t<0?0:t;var o=Math.floor(t%60),n=Math.floor(t/60%60),r=Math.floor(t/3600),i=Math.floor(e/60%60),s=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(r=n=o="-"),r=r>0||s>0?r+":":"",n=((r||i>=10)&&n<10?"0"+n:n)+":",o=o<10?"0"+o:o,r+n+o}()}o.__esModule=!0,o.default=n,e.exports=o.default},{}],146:[function(t,e,o){"use strict";function n(){return r++}o.__esModule=!0,o.newGUID=n;var r=1},{}],147:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];l("log",e)}o.__esModule=!0;var i=t("global/window"),s=n(i),a=t("./browser"),l=function(t,e){var o=arguments.length<=2||void 0===arguments[2]?!!a.IE_VERSION&&a.IE_VERSION<11:arguments[2],n=s.default.console,i=n&&n[t]||function(){};"log"!==t&&e.unshift(t.toUpperCase()+":"),r.history.push(e),e.unshift("VIDEOJS:"),o&&(e=e.map(function(t){if(t&&"object"==typeof t||Array.isArray(t))try{return JSON.stringify(t)}catch(t){}return String(t)}).join(" ")),i.apply?i[Array.isArray(e)?"apply":"call"](n,e):i(e)};o.logByType=l,r.history=[],r.error=function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return l("error",e)},r.warn=function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return l("warn",e)},o.default=r},{"./browser":140,"global/window":2}],148:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){return!!t&&"object"==typeof t&&"[object Object]"===t.toString()&&t.constructor===Object}function i(){var t=Array.prototype.slice.call(arguments);return t.unshift({}),t.push(l),a.default.apply(null,t),t[0]}o.__esModule=!0,o.default=i;var s=t("lodash-compat/object/merge"),a=n(s),l=function(t,e){return r(e)?r(t)?void 0:i(e):e};e.exports=o.default},{"lodash-compat/object/merge":40}],149:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}o.__esModule=!0;var r=t("global/document"),i=n(r),s=function(t){var e=i.default.createElement("style");return e.className=t,e};o.createStyleElement=s;var a=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e};o.setTextContent=a},{"global/document":1}],150:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){return Array.isArray(t)?i(t):void 0===t||void 0===e?i():i([[t,e]])}function i(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:s.bind(null,"start",0,t),end:s.bind(null,"end",1,t)}}function s(t,e,o,n){return void 0===n&&(c.default.warn("DEPRECATED: Function '"+t+"' on 'TimeRanges' called without an index argument."),n=0),a(t,n,o.length-1),o[n][e]}function a(t,e,o){if(e<0||e>o)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is greater than or equal to the maximum bound ("+o+").")}o.__esModule=!0,o.createTimeRanges=r;var l=t("./log.js"),c=n(l);o.createTimeRange=r},{"./log.js":147}],151:[function(t,e,o){"use strict";function n(t){return t.charAt(0).toUpperCase()+t.slice(1)}o.__esModule=!0,o.default=n,e.exports=o.default},{}],152:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}o.__esModule=!0;var r=t("global/document"),i=n(r),s=t("global/window"),a=n(s),l=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],o=i.default.createElement("a");o.href=t;var n=""===o.host&&"file:"!==o.protocol,r=void 0;n&&(r=i.default.createElement("div"),r.innerHTML='<a href="'+t+'"></a>',o=r.firstChild,r.setAttribute("style","display:none; position:absolute;"),i.default.body.appendChild(r));for(var s={},a=0;a<e.length;a++)s[e[a]]=o[e[a]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),n&&i.default.body.removeChild(r),s};o.parseUrl=l;var c=function(t){if(!t.match(/^https?:\/\//)){var e=i.default.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t};o.getAbsoluteURL=c;var u=function(t){if("string"==typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,o=e.exec(t);if(o)return o.pop().toLowerCase()}return""};o.getFileExtension=u;var p=function(t){var e=a.default.location,o=l(t),n=":"===o.protocol?e.protocol:o.protocol,r=n+o.host!==e.protocol+e.host;return r};o.isCrossOrigin=p},{"global/document":1,"global/window":2}],153:[function(e,o,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e,o){var n=void 0;if("string"==typeof t){if(0===t.indexOf("#")&&(t=t.slice(1)),s.getPlayers()[t])return e&&Q.default.warn('Player "'+t+'" is already initialised. Options will not be applied.'),o&&s.getPlayers()[t].ready(o),s.getPlayers()[t];n=V.getEl(t)}else n=t;if(!n||!n.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return n.player||w.default.players[n.playerId]||new w.default(n,e,o)}n.__esModule=!0;var a=e("global/window"),l=i(a),c=e("global/document"),u=i(c),p=e("./setup"),f=r(p),d=e("./utils/stylesheet.js"),h=r(d),A=e("./component"),v=i(A),g=e("./event-target"),y=i(g),m=e("./utils/events.js"),b=r(m),j=e("./player"),w=i(j),_=e("./plugins.js"),T=i(_),E=e("../../src/js/utils/merge-options.js"),k=i(E),C=e("./utils/fn.js"),x=r(C),B=e("./tracks/text-track.js"),S=i(B),O=e("./tracks/audio-track.js"),M=i(O),P=e("./tracks/video-track.js"),I=i(P),F=e("./utils/time-ranges.js"),D=e("./utils/format-time.js"),R=i(D),N=e("./utils/log.js"),Q=i(N),L=e("./utils/dom.js"),V=r(L),G=e("./utils/browser.js"),Y=r(G),H=e("./utils/url.js"),U=r(H),z=e("./extend.js"),W=i(z),J=e("lodash-compat/object/merge"),X=i(J),Z=e("xhr"),K=i(Z),q=e("./tech/tech.js"),$=i(q),tt=e("./tech/html5.js"),et=(i(tt),e("./tech/flash.js"));i(et);if("undefined"==typeof HTMLVideoElement&&(u.default.createElement("video"),u.default.createElement("audio"),u.default.createElement("track")),l.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0){var ot=V.$(".vjs-styles-defaults");if(!ot){ot=h.createStyleElement("vjs-styles-defaults");var nt=V.$("head");nt.insertBefore(ot,nt.firstChild),h.setTextContent(ot,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}f.autoSetupTimeout(1,s),s.VERSION="5.11.6",s.options=w.default.prototype.options_,s.getPlayers=function(){return w.default.players},s.players=w.default.players,s.getComponent=v.default.getComponent,s.registerComponent=function(t,e){$.default.isTech(e)&&Q.default.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),v.default.registerComponent.call(v.default,t,e)},s.getTech=$.default.getTech,s.registerTech=$.default.registerTech,s.browser=Y,s.TOUCH_ENABLED=Y.TOUCH_ENABLED,s.extend=W.default,s.mergeOptions=k.default,s.bind=x.bind,s.plugin=T.default,s.addLanguage=function(t,e){var o;return t=(""+t).toLowerCase(),X.default(s.options.languages,(o={},o[t]=e,o))[t];
},s.log=Q.default,s.createTimeRange=s.createTimeRanges=F.createTimeRanges,s.formatTime=R.default,s.parseUrl=U.parseUrl,s.isCrossOrigin=U.isCrossOrigin,s.EventTarget=y.default,s.on=b.on,s.one=b.one,s.off=b.off,s.trigger=b.trigger,s.xhr=K.default,s.TextTrack=S.default,s.AudioTrack=M.default,s.VideoTrack=I.default,s.isEl=V.isEl,s.isTextNode=V.isTextNode,s.createEl=V.createEl,s.hasClass=V.hasElClass,s.addClass=V.addElClass,s.removeClass=V.removeElClass,s.toggleClass=V.toggleElClass,s.setAttributes=V.setElAttributes,s.getAttributes=V.getElAttributes,s.emptyEl=V.emptyEl,s.appendContent=V.appendContent,s.insertContent=V.insertContent,"function"==typeof t&&t.amd?t("videojs",[],function(){return s}):"object"==typeof n&&"object"==typeof o&&(o.exports=s),n.default=s,o.exports=n.default},{"../../src/js/utils/merge-options.js":148,"./component":67,"./event-target":104,"./extend.js":105,"./player":113,"./plugins.js":114,"./setup":118,"./tech/flash.js":121,"./tech/html5.js":122,"./tech/tech.js":124,"./tracks/audio-track.js":126,"./tracks/text-track.js":134,"./tracks/video-track.js":139,"./utils/browser.js":140,"./utils/dom.js":142,"./utils/events.js":143,"./utils/fn.js":144,"./utils/format-time.js":145,"./utils/log.js":147,"./utils/stylesheet.js":149,"./utils/time-ranges.js":150,"./utils/url.js":152,"global/document":1,"global/window":2,"lodash-compat/object/merge":40,xhr:56}]},{},[153])(153)}),function(t){var e=t.vttjs={},o=e.VTTCue,n=e.VTTRegion,r=t.VTTCue,i=t.VTTRegion;e.shim=function(){e.VTTCue=o,e.VTTRegion=n},e.restore=function(){e.VTTCue=r,e.VTTRegion=i}}(this),function(t,e){function o(t){if("string"!=typeof t)return!1;var e=a[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(t){if("string"!=typeof t)return!1;var e=l[t.toLowerCase()];return!!e&&t.toLowerCase()}function r(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)t[n]=o[n]}return t}function i(t,e,i){var a=this,l=/MSIE\s8\.0/.test(navigator.userAgent),c={};l?a=document.createElement("custom"):c.enumerable=!0,a.hasBeenReset=!1;var u="",p=!1,f=t,d=e,h=i,A=null,v="",g=!0,y="auto",m="start",b=50,j="middle",w=50,_="middle";if(Object.defineProperty(a,"id",r({},c,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(a,"pauseOnExit",r({},c,{get:function(){return p},set:function(t){p=!!t}})),Object.defineProperty(a,"startTime",r({},c,{get:function(){return f},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"endTime",r({},c,{get:function(){return d},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"text",r({},c,{get:function(){return h},set:function(t){h=""+t,this.hasBeenReset=!0}})),Object.defineProperty(a,"region",r({},c,{get:function(){return A},set:function(t){A=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"vertical",r({},c,{get:function(){return v},set:function(t){var e=o(t);if(e===!1)throw new SyntaxError("An invalid or illegal string was specified.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"snapToLines",r({},c,{get:function(){return g},set:function(t){g=!!t,this.hasBeenReset=!0}})),Object.defineProperty(a,"line",r({},c,{get:function(){return y},set:function(t){if("number"!=typeof t&&t!==s)throw new SyntaxError("An invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"lineAlign",r({},c,{get:function(){return m},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");m=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"position",r({},c,{get:function(){return b},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"positionAlign",r({},c,{get:function(){return j},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");j=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"size",r({},c,{get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"align",r({},c,{get:function(){return _},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");_=e,this.hasBeenReset=!0}})),a.displayState=void 0,l)return a}var s="auto",a={"":!0,lr:!0,rl:!0},l={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.VTTCue=t.VTTCue||i,e.VTTCue=i}(this,this.vttjs||{}),function(t,e){function o(t){if("string"!=typeof t)return!1;var e=i[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(t){return"number"==typeof t&&t>=0&&t<=100}function r(){var t=100,e=3,r=0,i=100,s=0,a=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!n(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(t){if(!n(t))throw new Error("RegionAnchorX must be between 0 and 100.");i=t}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(t){if(!n(t))throw new Error("RegionAnchorY must be between 0 and 100.");r=t}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!n(t))throw new Error("ViewportAnchorY must be between 0 and 100.");a=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!n(t))throw new Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return l},set:function(t){var e=o(t);if(e===!1)throw new SyntaxError("An invalid or illegal string was specified.");l=e}}})}var i={"":!0,up:!0};t.VTTRegion=t.VTTRegion||r,e.VTTRegion=r}(this,this.vttjs||{}),function(t){function e(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function o(t){function e(t,e,o,n){return 3600*(0|t)+60*(0|e)+(0|o)+(0|n)/1e3}var o=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return o?o[3]?e(o[1],o[2],o[3].replace(":",""),o[4]):o[1]>59?e(o[1],o[2],0,o[4]):e(0,o[1],o[2],o[4]):null}function n(){this.values=h(null)}function r(t,e,o,n){var r=n?t.split(n):[t];for(var i in r)if("string"==typeof r[i]){var s=r[i].split(o);if(2===s.length){var a=s[0],l=s[1];e(a,l)}}}function i(t,i,s){function a(){var n=o(t);if(null===n)throw new e(e.Errors.BadTimeStamp,"Malformed timestamp: "+u);return t=t.replace(/^[^\sa-zA-Z-]+/,""),n}function l(t,e){var o=new n;r(t,function(t,e){switch(t){case"region":for(var n=s.length-1;n>=0;n--)if(s[n].id===e){o.set(t,s[n].region);break}break;case"vertical":o.alt(t,e,["rl","lr"]);break;case"line":var r=e.split(","),i=r[0];o.integer(t,i),o.percent(t,i)?o.set("snapToLines",!1):null,o.alt(t,i,["auto"]),2===r.length&&o.alt("lineAlign",r[1],["start","middle","end"]);break;case"position":r=e.split(","),o.percent(t,r[0]),2===r.length&&o.alt("positionAlign",r[1],["start","middle","end"]);break;case"size":o.percent(t,e);break;case"align":o.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),e.region=o.get("region",null),e.vertical=o.get("vertical",""),e.line=o.get("line","auto"),e.lineAlign=o.get("lineAlign","start"),e.snapToLines=o.get("snapToLines",!0),e.size=o.get("size",100),e.align=o.get("align","middle"),e.position=o.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=o.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function c(){t=t.replace(/^\s+/,"")}var u=t;if(c(),i.startTime=a(),c(),"-->"!==t.substr(0,3))throw new e(e.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+u);t=t.substr(3),c(),i.endTime=a(),c(),l(t,i)}function s(t,e){function n(){function t(t){return e=e.substr(t.length),t}if(!e)return null;var o=e.match(/^([^<]*)(<[^>]+>?)?/);return t(o[1]?o[1]:o[2])}function r(t){return A[t]}function i(t){for(;h=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(h[0],r);return t}function s(t,e){return!y[e.localName]||y[e.localName]===t.localName}function a(e,o){var n=v[e];if(!n)return null;var r=t.document.createElement(n);r.localName=n;var i=g[e];return i&&o&&(r[i]=o.trim()),r}for(var l,c=t.document.createElement("div"),u=c,p=[];null!==(l=n());)if("<"!==l[0])u.appendChild(t.document.createTextNode(i(l)));else{if("/"===l[1]){p.length&&p[p.length-1]===l.substr(2).replace(">","")&&(p.pop(),u=u.parentNode);continue}var f,d=o(l.substr(1,l.length-2));if(d){f=t.document.createProcessingInstruction("timestamp",d),u.appendChild(f);continue}var h=l.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(f=a(h[1],h[3]),!f)continue;if(!s(u,f))continue;h[2]&&(f.className=h[2].substr(1).replace("."," ")),p.push(h[1]),u.appendChild(f),u=f}return c}function a(t){function e(t,e){for(var o=e.childNodes.length-1;o>=0;o--)t.push(e.childNodes[o])}function o(t){if(!t||!t.length)return null;var n=t.pop(),r=n.textContent||n.innerText;if(r){var i=r.match(/^.*(\n|\r)/);return i?(t.length=0,i[0]):r}return"ruby"===n.tagName?o(t):n.childNodes?(e(t,n),o(t)):void 0}var n,r=[],i="";if(!t||!t.childNodes)return"ltr";for(e(r,t);i=o(r);)for(var s=0;s<i.length;s++){n=i.charCodeAt(s);for(var a=0;a<m.length;a++)if(m[a]===n)return"rtl"}return"ltr"}function l(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,o=e.textTrackList,n=0,r=0;r<o.length&&o[r]!==e;r++)"showing"===o[r].mode&&n++;return++n*-1}function c(){}function u(t,e,o){var n=/MSIE\s8\.0/.test(navigator.userAgent),r="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)";n&&(r="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),c.call(this),this.cue=e,this.cueDiv=s(t,e.text);var l={color:r,backgroundColor:i,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};n||(l.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",l.unicodeBidi="plaintext"),this.applyStyles(l,this.cueDiv),this.div=t.document.createElement("div"),l={textAlign:"middle"===e.align?"center":e.align,font:o.font,whiteSpace:"pre-line",position:"absolute"},n||(l.direction=a(this.cueDiv),l.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(l),this.div.appendChild(this.cueDiv);var u=0;switch(e.positionAlign){case"start":u=e.position;break;case"middle":u=e.position-e.size/2;break;case"end":u=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(u,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(u,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function p(t){var e,o,n,r,i=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){o=t.div.offsetHeight,n=t.div.offsetWidth,r=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||r,this.height=t.height||o,this.bottom=t.bottom||r+(t.height||o),this.width=t.width||n,this.lineHeight=void 0!==e?e:t.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function f(t,e,o,n){function r(t,e){for(var r,i=new p(t),s=1,a=0;a<e.length;a++){for(;t.overlapsOppositeAxis(o,e[a])||t.within(o)&&t.overlapsAny(n);)t.move(e[a]);if(t.within(o))return t;var l=t.intersectPercentage(o);s>l&&(r=new p(t),s=l),t=new p(i)}return r||i}var i=new p(e),s=e.cue,a=l(s),c=[];if(s.snapToLines){var u;switch(s.vertical){case"":c=["+y","-y"],u="height";break;case"rl":c=["+x","-x"],u="width";break;case"lr":c=["-x","+x"],u="width"}var f=i.lineHeight,d=f*Math.round(a),h=o[u]+f,A=c[0];Math.abs(d)>h&&(d=d<0?-1:1,d*=Math.ceil(h/f)*f),a<0&&(d+=""===s.vertical?o.height:o.width,c=c.reverse()),i.move(A,d)}else{var v=i.lineHeight/o.height*100;switch(s.lineAlign){case"middle":a-=v/2;break;case"end":a-=v}switch(s.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")})}c=["+y","-x","+x","-y"],i=new p(e)}var g=r(i,c);e.move(g.toCSSCompatValues(o))}function d(){}var h=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();e.prototype=h(Error.prototype),e.prototype.constructor=e,e.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},n.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,o){return o?this.has(t)?this.values[t]:e[o]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,o){for(var n=0;n<o.length;++n)if(e===o[n]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){var o;return!!((o=e.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(e=parseFloat(e),e>=0&&e<=100))&&(this.set(t,e),!0)}};var A={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},v={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},g={v:"title",lang:"lang"},y={rt:"ruby"},m=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];c.prototype.applyStyles=function(t,e){e=e||this.div;for(var o in t)t.hasOwnProperty(o)&&(e.style[o]=t[o])},c.prototype.formatStyle=function(t,e){return 0===t?0:t+e},u.prototype=h(c.prototype),u.prototype.constructor=u,p.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},p.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},p.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},p.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},p.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},p.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),o=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),n=e*o;return n/(this.height*this.width)},p.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},p.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,o=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var r={left:t.left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||o};return r},d.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},d.convertCueToDOMTree=function(t,e){return t&&e?s(t,e):null};var b=.05,j="sans-serif",w="1.5%";d.processCues=function(t,e,o){function n(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(!t||!e||!o)return null;for(;o.firstChild;)o.removeChild(o.firstChild);var r=t.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin=w,o.appendChild(r),n(e)){var i=[],s=p.getSimpleBoxPosition(r),a=Math.round(s.height*b*100)/100,l={font:a+"px "+j};!function(){for(var o,n,a=0;a<e.length;a++)n=e[a],o=new u(t,n,l),r.appendChild(o.div),f(t,o,s,i),n.displayState=o.div,i.push(p.getSimpleBoxPosition(o))}()}else for(var c=0;c<e.length;c++)r.appendChild(e[c].displayState)},d.Parser=function(t,e,o){o||(o=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=o||new TextDecoder("utf8"),this.regionList=[]},d.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof e))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function o(){for(var t=l.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var o=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,l.buffer=t.substr(e),o}function s(t){var e=new n;if(r(t,function(t,o){switch(t){case"id":e.set(t,o);break;case"width":e.percent(t,o);break;case"lines":e.integer(t,o);break;case"regionanchor":case"viewportanchor":var r=o.split(",");if(2!==r.length)break;var i=new n;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;e.set(t+"X",i.get("x")),e.set(t+"Y",i.get("y"));break;case"scroll":e.alt(t,o,["up"])}},/=/,/\s/),e.has("id")){var o=new(l.vttjs.VTTRegion||l.window.VTTRegion);o.width=e.get("width",100),o.lines=e.get("lines",3),o.regionAnchorX=e.get("regionanchorX",0),o.regionAnchorY=e.get("regionanchorY",100),o.viewportAnchorX=e.get("viewportanchorX",0),o.viewportAnchorY=e.get("viewportanchorY",100),o.scroll=e.get("scroll",""),l.onregion&&l.onregion(o),l.regionList.push({id:e.get("id"),region:o})}}function a(t){r(t,function(t,e){switch(t){case"Region":s(e)}},/:/)}var l=this;t&&(l.buffer+=l.decoder.decode(t,{stream:!0}));try{var c;if("INITIAL"===l.state){if(!/\r\n|\n/.test(l.buffer))return this;c=o();var u=c.match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new e(e.Errors.BadSignature);l.state="HEADER"}for(var p=!1;l.buffer;){if(!/\r\n|\n/.test(l.buffer))return this;switch(p?p=!1:c=o(),l.state){case"HEADER":/:/.test(c)?a(c):c||(l.state="ID");continue;case"NOTE":c||(l.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(c)){l.state="NOTE";break}if(!c)continue;if(l.cue=new(l.vttjs.VTTCue||l.window.VTTCue)(0,0,""),l.state="CUE",c.indexOf("-->")===-1){l.cue.id=c;continue}case"CUE":try{i(c,l.cue,l.regionList)}catch(t){l.reportOrThrowError(t),l.cue=null,l.state="BADCUE";continue}l.state="CUETEXT";continue;case"CUETEXT":var f=c.indexOf("-->")!==-1;if(!c||f&&(p=!0)){l.oncue&&l.oncue(l.cue),l.cue=null,l.state="ID";continue}l.cue.text&&(l.cue.text+="\n"),l.cue.text+=c;continue;case"BADCUE":c||(l.state="ID");continue}}}catch(t){l.reportOrThrowError(t),"CUETEXT"===l.state&&l.cue&&l.oncue&&l.oncue(l.cue),l.cue=null,l.state="INITIAL"===l.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new e(e.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.WebVTT=d}(this,this.vttjs||{})}).call(e,o(1))},function(t,e){function o(t,e){for(var o=0;o<t.length;o++){var n=t[o],r=u[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(a(n.parts[i],e))}else{for(var s=[],i=0;i<n.parts.length;i++)s.push(a(n.parts[i],e));u[n.id]={id:n.id,refs:1,parts:s}}}}function n(t){for(var e=[],o={},n=0;n<t.length;n++){var r=t[n],i=r[0],s=r[1],a=r[2],l=r[3],c={css:s,media:a,sourceMap:l};o[i]?o[i].parts.push(c):e.push(o[i]={id:i,parts:[c]})}return e}function r(t,e){var o=d(),n=v[v.length-1];if("top"===t.insertAt)n?n.nextSibling?o.insertBefore(e,n.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),v.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");o.appendChild(e)}}function i(t){t.parentNode.removeChild(t);var e=v.indexOf(t);e>=0&&v.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",r(t,e),e}function a(t,e){var o,n,r;if(e.singleton){var a=A++;o=h||(h=s(e)),n=l.bind(null,o,a,!1),r=l.bind(null,o,a,!0)}else o=s(e),n=c.bind(null,o),r=function(){i(o)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function l(t,e,o,n){var r=o?"":n.css;if(t.styleSheet)t.styleSheet.cssText=g(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function c(t,e){var o=e.css,n=e.media,r=e.sourceMap;if(n&&t.setAttribute("media",n),r&&(o+="\n/*# sourceURL="+r.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var u={},p=function(t){var e;
return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},f=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=p(function(){return document.head||document.getElementsByTagName("head")[0]}),h=null,A=0,v=[];t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},"undefined"==typeof e.singleton&&(e.singleton=f()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var r=n(t);return o(r,e),function(t){for(var i=[],s=0;s<r.length;s++){var a=r[s],l=u[a.id];l.refs--,i.push(l)}if(t){var c=n(t);o(c,e)}for(var s=0;s<i.length;s++){var l=i[s];if(0===l.refs){for(var p=0;p<l.parts.length;p++)l.parts[p]();delete u[l.id]}}}};var g=function(){var t=[];return function(e,o){return t[e]=o,t.filter(Boolean).join("\n")}}()},function(t,e,o){var n=o(7);t.exports=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={rendererComponent:{},contentType:{}};return e.prototype.render=function(){this.emit("component_render:"+this.contentType,this.rendererComponent)},o.rendererComponent.get=function(){return null},o.contentType.get=function(){return null},Object.defineProperties(e.prototype,o),e}(n)},function(t,e,o){o(20),o(19);var n=o(17)(o(9),o(18),"data-v-ca7afac4",null);t.exports=n.exports},function(t,e){t.exports=[{lang:"Afar",code:"aa"},{lang:"Abkhazian",code:"ab"},{lang:"Afrikaans",code:"af"},{lang:"Akan",code:"ak"},{lang:"Amharic",code:"am"},{lang:"Aragonese",code:"an"},{lang:"Arabic",code:"ar"},{lang:"Assamese",code:"as"},{lang:"Avar",code:"av"},{lang:"Aymara",code:"ay"},{lang:"Azerbaijani",code:"az"},{lang:"Bashkir",code:"ba"},{lang:"Belarusian",code:"be"},{lang:"Bulgarian",code:"bg"},{lang:"Bihari",code:"bh"},{lang:"Bislama",code:"bi"},{lang:"Bambara",code:"bm"},{lang:"Bengali",code:"bn"},{lang:"Tibetan",code:"bo"},{lang:"Breton",code:"br"},{lang:"Bosnian",code:"bs"},{lang:"Catalan",code:"ca"},{lang:"Chechen",code:"ce"},{lang:"Chamorro",code:"ch"},{lang:"Corsican",code:"co"},{lang:"Cree",code:"cr"},{lang:"Czech",code:"cs"},{lang:"Old Church Slavonic / Old Bulgarian",code:"cu"},{lang:"Chuvash",code:"cv"},{lang:"Welsh",code:"cy"},{lang:"Danish",code:"da"},{lang:"German",code:"de"},{lang:"Divehi",code:"dv"},{lang:"Dzongkha",code:"dz"},{lang:"Ewe",code:"ee"},{lang:"Greek",code:"el"},{lang:"English",code:"en"},{lang:"Esperanto",code:"eo"},{lang:"Spanish",code:"es"},{lang:"Estonian",code:"et"},{lang:"Basque",code:"eu"},{lang:"Persian",code:"fa"},{lang:"Peul",code:"ff"},{lang:"Finnish",code:"fi"},{lang:"Fijian",code:"fj"},{lang:"Faroese",code:"fo"},{lang:"French",code:"fr"},{lang:"West Frisian",code:"fy"},{lang:"Irish",code:"ga"},{lang:"Scottish Gaelic",code:"gd"},{lang:"Galician",code:"gl"},{lang:"Guarani",code:"gn"},{lang:"Gujarati",code:"gu"},{lang:"Manx",code:"gv"},{lang:"Hausa",code:"ha"},{lang:"Hebrew",code:"he"},{lang:"Hindi",code:"hi"},{lang:"Hiri Motu",code:"ho"},{lang:"Croatian",code:"hr"},{lang:"Haitian",code:"ht"},{lang:"Hungarian",code:"hu"},{lang:"Armenian",code:"hy"},{lang:"Herero",code:"hz"},{lang:"Interlingua",code:"ia"},{lang:"Indonesian",code:"id"},{lang:"Interlingue",code:"ie"},{lang:"Igbo",code:"ig"},{lang:"Sichuan Yi",code:"ii"},{lang:"Inupiak",code:"ik"},{lang:"Ido",code:"io"},{lang:"Icelandic",code:"is"},{lang:"Italian",code:"it"},{lang:"Inuktitut",code:"iu"},{lang:"Japanese",code:"ja"},{lang:"Javanese",code:"jv"},{lang:"Kongo",code:"kg"},{lang:"Kikuyu",code:"ki"},{lang:"Kuanyama",code:"kj"},{lang:"Kazakh",code:"kk"},{lang:"Greenlandic",code:"kl"},{lang:"Cambodian",code:"km"},{lang:"Kannada",code:"kn"},{lang:"Korean",code:"ko"},{lang:"Kanuri",code:"kr"},{lang:"Kashmiri",code:"ks"},{lang:"Kurdish",code:"ku"},{lang:"Komi",code:"kv"},{lang:"Cornish",code:"kw"},{lang:"Kirghiz",code:"ky"},{lang:"Latin",code:"la"},{lang:"Luxembourgish",code:"lb"},{lang:"Ganda",code:"lg"},{lang:"Limburgian",code:"li"},{lang:"Lingala",code:"ln"},{lang:"Laotian",code:"lo"},{lang:"Lithuanian",code:"lt"},{lang:"Latvian",code:"lv"},{lang:"Malagasy",code:"mg"},{lang:"Marshallese",code:"mh"},{lang:"Maori",code:"mi"},{lang:"Macedonian",code:"mk"},{lang:"Malayalam",code:"ml"},{lang:"Mongolian",code:"mn"},{lang:"Moldovan",code:"mo"},{lang:"Marathi",code:"mr"},{lang:"Malay",code:"ms"},{lang:"Maltese",code:"mt"},{lang:"Burmese",code:"my"},{lang:"Nauruan",code:"na"},{lang:"North Ndebele",code:"nd"},{lang:"Nepali",code:"ne"},{lang:"Ndonga",code:"ng"},{lang:"Dutch",code:"nl"},{lang:"Norwegian Nynorsk",code:"nn"},{lang:"Norwegian",code:"no"},{lang:"South Ndebele",code:"nr"},{lang:"Navajo",code:"nv"},{lang:"Chichewa",code:"ny"},{lang:"Occitan",code:"oc"},{lang:"Ojibwa",code:"oj"},{lang:"Oromo",code:"om"},{lang:"Oriya",code:"or"},{lang:"Ossetian",code:"os"},{lang:"Punjabi",code:"pa"},{lang:"Pali",code:"pi"},{lang:"Polish",code:"pl"},{lang:"Pashto",code:"ps"},{lang:"Portuguese",code:"pt"},{lang:"Quechua",code:"qu"},{lang:"Raeto Romance",code:"rm"},{lang:"Kirundi",code:"rn"},{lang:"Romanian",code:"ro"},{lang:"Russian",code:"ru"},{lang:"Rwandi",code:"rw"},{lang:"Sanskrit",code:"sa"},{lang:"Sardinian",code:"sc"},{lang:"Sindhi",code:"sd"},{lang:"Sango",code:"sg"},{lang:"Serbo-Croatian",code:"sh"},{lang:"Sinhalese",code:"si"},{lang:"Slovak",code:"sk"},{lang:"Slovenian",code:"sl"},{lang:"Samoan",code:"sm"},{lang:"Shona",code:"sn"},{lang:"Somalia",code:"so"},{lang:"Albanian",code:"sq"},{lang:"Serbian",code:"sr"},{lang:"Swati",code:"ss"},{lang:"Southern Sotho",code:"st"},{lang:"Sundanese",code:"su"},{lang:"Swedish",code:"sv"},{lang:"Swahili",code:"sw"},{lang:"Tamil",code:"ta"},{lang:"Telugu",code:"te"},{lang:"Tajik",code:"tg"},{lang:"Thai",code:"th"},{lang:"Tigrinya",code:"ti"},{lang:"Turkmen",code:"tk"},{lang:"Tagalog",code:"tl"},{lang:"Tswana",code:"tn"},{lang:"Tonga",code:"to"},{lang:"Turkish",code:"tr"},{lang:"Tsonga",code:"ts"},{lang:"Tatar",code:"tt"},{lang:"Twi",code:"tw"},{lang:"Tahitian",code:"ty"},{lang:"Uyghur",code:"ug"},{lang:"Urdu",code:"ur"},{lang:"Venda",code:"ve"},{lang:"Vietnamese",code:"vi"},{lang:"Volapük",code:"vo"},{lang:"Walloon",code:"wa"},{lang:"Wolof",code:"wo"},{lang:"Xhosa",code:"xh"},{lang:"Yiddish",code:"yi"},{lang:"Yoruba",code:"yo"},{lang:"Zhuang",code:"za"},{lang:"Chinese",code:"zh"},{lang:"Zulu",code:"zu"}]},function(t,e,o){var n=o(21);t.exports=function(){function t(t){for(var e=[],o=arguments.length-1;o-- >0;)e[o]=arguments[o+1];this.name="video_mp4_render_module",this.events={"content_render:video/mp4":"render"},this.once={};var n={};this.kolibriModuleOptions.forEach(function(e){t[e]&&(n[e]=t[e])}),Object.assign(this,n),(r=this).initialize.apply(r,[t].concat(e)),this._registerKolibriModule();var r}var e={kolibriModuleOptions:{}};return e.kolibriModuleOptions.get=function(){return[]},t.prototype._registerKolibriModule=function(){n.registerKolibriModuleSync(this)},t.prototype.initialize=function(){},t.prototype.ready=function(){},t.prototype.stopListening=function(t,e){n.stopListening(t,this,e)},t.prototype.emit=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];n.emit.apply(n,t)},Object.defineProperties(t.prototype,e),t}()},function(t,e,o){var n=o(2),r=n.getComponent("Button"),i=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.buildCSSClass=function(){return"vjs-icon-replay_10 "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(){var t=this.player();t.currentTime(Math.max(0,t.currentTime()-10))},e}(r),s=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.buildCSSClass=function(){return"vjs-icon-forward_10 "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(){var t=this.player();t.currentTime(Math.min(t.duration(),t.currentTime()+10))},e}(r);t.exports={ReplayButton:i,ForwardButton:s}},function(t,e,o){(function(e){var n=o(2),r=o(6),i=o(8),s=o(16);t.exports={$trNameSpace:"videoRender",$trs:{replay:"Go back 10 seconds",forward:"Go forward 10 seconds"},components:{"loading-spinner":o(22)},props:["files"],data:function(){return{dummyTime:0,progressStartingPoint:0,lastUpdateTime:0,loading:!0}},computed:{posterSource:function(){var t=["png","jpg"],e=this.files.filter(function(e){return t.some(function(t){return t===e.extension})});return 0===e.length?"":e[0].storage_url},videoSources:function(){var t=["mp4","webm","ogg"];return this.files.filter(function(e){return t.some(function(t){return t===e.extension})})},trackSources:function(){var t=["vtt"];return this.files.filter(function(e){return t.some(function(t){return t===e.extension})})}},methods:{getLangName:function(t){return r.filter(function(e){return e.code===t})[0].lang},setPlayState:function(t){this.recordProgress(),t===!0?this.$emit("startTracking"):this.$emit("stopTracking")},loadedMetaData:function(){this.resizeVideo(),this.videoPlayerIsReady(),this.loading=!1,this.$refs.video.tabIndex=-1},resizeVideo:function(){var t=this.$refs.wrapper.clientWidth,e=16/9,o=t*(1/e);this.$refs.wrapper.setAttribute("style","height:"+o+"px")},throttledResizeVideo:s(function(){this.resizeVideo()},300),videoPlayerIsReady:function(){var t=this;n(this.$refs.video).on("play",function(){t.setPlayState(!0)}),n(this.$refs.video).on("pause",function(){t.setPlayState(!1)}),n(this.$refs.video).on("ended",function(){t.setPlayState(!1)})},updateTime:function(){this.dummyTime=this.videoPlayer.currentTime(),this.dummyTime-this.lastUpdateTime>=5&&(this.recordProgress(),this.lastUpdateTime=this.dummyTime)},handleSeek:function(){this.recordProgress(),this.dummyTime=this.videoPlayer.currentTime(),this.lastUpdateTime=this.dummyTime},recordProgress:function(){this.$emit("progressUpdate",Math.max(0,(this.dummyTime-this.progressStartingPoint)/Math.floor(this.videoPlayer.duration()))),this.progressStartingPoint=this.videoPlayer.currentTime()},focusOnPlayControl:function(){var t=this.$refs.wrapper;t.getElementsByClassName("vjs-play-control")[0].focus()}},created:function(){i.ReplayButton.prototype.controlText_=this.$tr("replay"),i.ForwardButton.prototype.controlText_=this.$tr("forward"),n.registerComponent("ReplayButton",i.ReplayButton),n.registerComponent("ForwardButton",i.ForwardButton)},mounted:function(){var t=this;this.$nextTick(function(){t.videoPlayer=n(t.$refs.video,{fluid:!0,aspectRatio:"16:9",autoplay:!1,controls:!0,textTrackDisplay:!0,bigPlayButton:!0,inactivityTimeout:1e3,preload:"metadata",playbackRates:[.5,1,1.25,1.5,2],controlBar:{children:[{name:"playToggle"},{name:"ReplayButton"},{name:"ForwardButton"},{name:"currentTimeDisplay"},{name:"timeDivider"},{name:"durationDisplay"},{name:"progressControl"},{name:"VolumeMenuButton",inline:!1,vertical:!0},{name:"playbackRateMenuButton"},{name:"captionsButton"},{name:"fullscreenToggle"}]}}),t.videoPlayer.on("loadedmetadata",t.loadedMetaData),t.videoPlayer.on("play",t.focusOnPlayControl),t.videoPlayer.on("pause",t.focusOnPlayControl),e.addEventListener("resize",t.throttledResizeVideo)})},beforeDestroy:function(){this.recordProgress(),this.$emit("stopTracking"),e.removeEventListener("resize",this.throttledResizeVideo),this.videoPlayer.dispose()}}}).call(e,o(1))},function(t,e,o){e=t.exports=o(0)(),e.push([t.i,"@font-face{font-family:VideoJS;src:url("+o(14)+'?#iefix) format("eot")}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64, ) format("woff"),url(data:application/x-font-ttf;charset=utf-8;base64, ) format("truetype");font-weight:400;font-style:normal}.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play:before{content:"\\F101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\\F102"}.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pause:before{content:"\\F103"}.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-mute:before{content:"\\F104"}.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-low:before{content:"\\F105"}.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-mid:before{content:"\\F106"}.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-high:before{content:"\\F107"}.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-fullscreen-enter:before{content:"\\F108"}.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-fullscreen-exit:before{content:"\\F109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\\F10A"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\\F10B"}.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-subtitles:before{content:"\\F10C"}.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-captions:before{content:"\\F10D"}.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-chapters:before{content:"\\F10E"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\\F10F"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\\F110"}.vjs-icon-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle:before{content:"\\F111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\\F112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\\F113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\\F114"}.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cancel:before{content:"\\F115"}.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before{content:"\\F116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\\F117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\\F118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\\F119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\\F11A"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\\F11B"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\\F11C"}.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-audio-description:before{content:"\\F11D"}.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-audio:before{content:"\\F11E"}.vjs-icon-replay_5{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay_5:before{content:"\\F11F"}.vjs-icon-forward_5{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-forward_5:before{content:"\\F120"}.vjs-icon-replay_10{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay_10:before{content:"\\F121"}.vjs-icon-forward_10{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-forward_10:before{content:"\\F122"}',""])},function(t,e,o){e=t.exports=o(0)(),e.push([t.i,".video-js .vjs-big-play-button:before,.video-js .vjs-control:before,.video-js .vjs-modal-dialog,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before{text-align:center}@font-face{font-family:VideoJS;src:url("+o(15)+'?#iefix) format("eot")}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64, ) format("woff"),url(data:application/x-font-ttf;charset=utf-8;base64, ) format("truetype");font-weight:400;font-style:normal}.video-js .vjs-big-play-button,.video-js .vjs-play-control,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button:before,.video-js .vjs-play-control:before,.vjs-icon-play:before{content:"\\F101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\\F102"}.video-js .vjs-play-control.vjs-playing,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing:before,.vjs-icon-pause:before{content:"\\F103"}.video-js .vjs-mute-control.vjs-vol-0,.video-js .vjs-volume-menu-button.vjs-vol-0,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0:before,.video-js .vjs-volume-menu-button.vjs-vol-0:before,.vjs-icon-volume-mute:before{content:"\\F104"}.video-js .vjs-mute-control.vjs-vol-1,.video-js .vjs-volume-menu-button.vjs-vol-1,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1:before,.video-js .vjs-volume-menu-button.vjs-vol-1:before,.vjs-icon-volume-low:before{content:"\\F105"}.video-js .vjs-mute-control.vjs-vol-2,.video-js .vjs-volume-menu-button.vjs-vol-2,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2:before,.video-js .vjs-volume-menu-button.vjs-vol-2:before,.vjs-icon-volume-mid:before{content:"\\F106"}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control:before,.video-js .vjs-volume-menu-button:before,.vjs-icon-volume-high:before{content:"\\F107"}.video-js .vjs-fullscreen-control,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control:before,.vjs-icon-fullscreen-enter:before{content:"\\F108"}.video-js.vjs-fullscreen .vjs-fullscreen-control,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control:before,.vjs-icon-fullscreen-exit:before{content:"\\F109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\\F10A"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\\F10B"}.video-js .vjs-subtitles-button,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-subtitles-button:before,.vjs-icon-subtitles:before{content:"\\F10C"}.video-js .vjs-captions-button,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button:before,.vjs-icon-captions:before{content:"\\F10D"}.video-js .vjs-chapters-button,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button:before,.vjs-icon-chapters:before{content:"\\F10E"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\\F10F"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\\F110"}.video-js .vjs-mouse-display,.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mouse-display:before,.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before{content:"\\F111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\\F112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\\F113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\\F114"}.video-js .vjs-control.vjs-close-button,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button:before,.vjs-icon-cancel:before{content:"\\F115"}.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before{content:"\\F116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\\F117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\\F118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\\F119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\\F11A"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\\F11B"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\\F11C"}.video-js .vjs-descriptions-button,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button:before,.vjs-icon-audio-description:before{content:"\\F11D"}.video-js .vjs-audio-button,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button:before,.vjs-icon-audio:before{content:"\\F11E"}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-4-3,.video-js.vjs-16-9,.video-js.vjs-fluid{width:100%;max-width:100%;height:0}.video-js.vjs-16-9{padding-top:56.25%}.video-js.vjs-4-3{padding-top:75%}.video-js.vjs-fill,.video-js .vjs-tech{width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.5em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;-webkit-transition:all .4s;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.75em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{outline:0;border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);-webkit-transition:all 0s;transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.video-js button{background:none;border:none;color:inherit;display:inline-block;overflow:visible;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;overflow:auto;font-family:Arial,Helvetica,sans-serif}.vjs-scrubbing .vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li:focus,.vjs-menu li:hover{outline:0;background-color:#73859f;background-color:rgba(115,133,159,.5)}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{-webkit-transition:all .4s;transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.video-js .vjs-menu-button-inline.vjs-slider-active{-webkit-transition:none;transition:none}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;-webkit-transition:all .4s;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-has-started .vjs-control-bar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;visibility:visible;opacity:1;-webkit-transition:visibility .1s,opacity .1s;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;-webkit-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s}@media \\0screen{.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:hidden}}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}@media \\0screen{.vjs-user-inactive.vjs-playing .vjs-control-bar :before{content:""}}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{outline:none;position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;-webkit-box-flex:none;-webkit-flex:none;-ms-flex:none;flex:none}.video-js .vjs-control:before{font-size:1.8em;line-height:1.67}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{-webkit-box-flex:auto;-webkit-flex:auto;-ms-flex:auto;flex:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;min-width:4em}.vjs-live .vjs-progress-control{display:none}.video-js .vjs-progress-holder{-webkit-box-flex:auto;-webkit-flex:auto;-ms-flex:auto;flex:auto;-webkit-transition:all .2s;transition:all .2s;height:.3em}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666666666667em}.video-js .vjs-progress-control:hover .vjs-mouse-display:after,.video-js .vjs-progress-control:hover .vjs-play-progress:after,.video-js .vjs-progress-control:hover .vjs-time-tooltip{font-family:Arial,Helvetica,sans-serif;visibility:visible;font-size:.6em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-tooltip-progress-bar{position:absolute;display:block;height:.3em;margin:0;padding:0;width:0;left:0;top:0}.video-js .vjs-mouse-display:before{display:none}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{position:absolute;top:-.333333333333333em;right:-.5em;font-size:.9em}.video-js .vjs-mouse-display:after,.video-js .vjs-play-progress:after,.video-js .vjs-time-tooltip{visibility:hidden;pointer-events:none;position:absolute;top:-3.4em;right:-1.9em;font-size:.9em;color:#000;content:attr(data-current-time);padding:6px 8px 8px;background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em}.video-js .vjs-play-progress:after,.video-js .vjs-play-progress:before,.video-js .vjs-time-tooltip{z-index:1}.video-js .vjs-progress-control .vjs-keep-tooltips-inside:after{display:none}.video-js .vjs-load-progress{background:#bfc7d3;background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:#fff;background:rgba(115,133,159,.75)}.video-js.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-time-tooltip{display:inline-block;height:2.4em;position:relative;float:right;right:-1.9em}.vjs-tooltip-progress-bar{visibility:hidden}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display:after{visibility:hidden;opacity:0;-webkit-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display:after{display:none}.video-js .vjs-progress-control .vjs-mouse-display:after,.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;margin:0 .45em;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button{cursor:pointer;-webkit-box-flex:none;-webkit-flex:none;-ms-flex:none;flex:none}.video-js .vjs-volume-control{width:5em;-webkit-box-flex:none;-webkit-flex:none;-ms-flex:none;flex:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu{display:block;width:0;height:0;border-top-color:transparent}.vjs-menu-button-popup.vjs-volume-menu-button-vertical .vjs-menu{left:.5em;height:8em}.vjs-menu-button-popup.vjs-volume-menu-button-horizontal .vjs-menu{left:-2em}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu-content{height:0;width:0;overflow-x:hidden;overflow-y:hidden}.vjs-volume-menu-button-vertical .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-vertical.vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-vertical:focus .vjs-menu-content,.vjs-volume-menu-button-vertical:hover .vjs-menu-content{height:8em;width:2.9em}.vjs-volume-menu-button-horizontal .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-horizontal .vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-horizontal:focus .vjs-menu-content,.vjs-volume-menu-button-horizontal:hover .vjs-menu-content{height:2.9em;width:8em}.vjs-volume-menu-button.vjs-menu-button-inline .vjs-menu-content{background-color:transparent!important}.vjs-poster{display:inline-block;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-poster,.vjs-poster img{vertical-align:middle;padding:0}.vjs-poster img{display:block;margin:0 auto;max-height:100%;width:100%}.vjs-has-started .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster{display:block}.vjs-controls-disabled .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-live-control{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-flex:auto;-webkit-flex:auto;-ms-flex:auto;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js .vjs-time-control{-webkit-box-flex:none;-webkit-flex:none;-ms-flex:none;flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-no-flex .vjs-current-time,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer;-webkit-box-flex:none;-webkit-flex:none;-ms-flex:none;flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em;background-color:#000;background-color:rgba(0,0,0,.5)}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{-ms-transform:translateY(-3em);-webkit-transform:translateY(-3em);transform:translateY(-3em)}.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{-ms-transform:translateY(-1.5em);-webkit-transform:translateY(-1.5em);transform:translateY(-1.5em)}.video-js .vjs-fullscreen-control{cursor:pointer;-webkit-box-flex:none;-webkit-flex:none;-ms-flex:none;flex:none}.vjs-playback-rate .vjs-playback-rate-value{font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-spin{to{transform:rotate(1turn)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-custom-control-spacer{-webkit-box-flex:auto;-webkit-flex:auto;-ms-flex:auto;flex:auto}.video-js.vjs-layout-tiny:not(.vjs-fullscreen).vjs-no-flex .vjs-custom-control-spacer{width:auto}.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-audio-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-descriptions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-menu-button{display:none}.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-audio-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-descriptions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-menu-button{display:none}.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-descriptions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-subtitles-button .vjs-audio-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control{display:none}.vjs-caption-settings{position:relative;top:1em;background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;margin:0 auto;padding:.5em;height:16em;font-size:12px;width:40em}.vjs-caption-settings .vjs-tracksettings{top:0;bottom:1em;left:0;right:0;position:absolute;overflow:auto}.vjs-caption-settings .vjs-tracksettings-colors,.vjs-caption-settings .vjs-tracksettings-font{float:left}.vjs-caption-settings .vjs-tracksettings-colors:after,.vjs-caption-settings .vjs-tracksettings-controls:after,.vjs-caption-settings .vjs-tracksettings-font:after{clear:both}.vjs-caption-settings .vjs-tracksettings-controls{position:absolute;bottom:1em;right:1em}.vjs-caption-settings .vjs-tracksetting{margin:5px;padding:3px;min-height:40px;border:none}.vjs-caption-settings .vjs-tracksetting label,.vjs-caption-settings .vjs-tracksetting legend{display:block;width:100px;margin-bottom:5px}.vjs-caption-settings .vjs-tracksetting span{display:inline;margin-left:5px;vertical-align:top;float:right}.vjs-caption-settings .vjs-tracksetting>div{margin-bottom:5px;min-height:20px}.vjs-caption-settings .vjs-tracksetting>div:last-child{margin-bottom:0;padding-bottom:0;min-height:0}.vjs-caption-settings label>input{margin-right:10px}.vjs-caption-settings fieldset{margin-top:1em;margin-left:.5em}.vjs-caption-settings fieldset .vjs-label{position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.vjs-caption-settings input[type=button]{width:40px;height:40px}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:-webkit-linear-gradient(-90deg,rgba(0,0,0,.8),hsla(0,0%,100%,0));background:linear-gradient(180deg,rgba(0,0,0,.8),hsla(0,0%,100%,0))}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}@media print{.video-js>:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}',""]);
},function(t,e,o){e=t.exports=o(0)(),e.push([t.i,'.video-js{font-size:14px;font-family:NotoSans,"sans-serif";font-weight:700;color:#fff}@media screen and (max-width:840px){.video-js{font-size:13px}}@media screen and (max-width:620px){.video-js{font-size:11px}}.video-js .vjs-big-play-button{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);height:2em;width:2em;border-radius:50%;border:none;background-color:#212121}.video-js .vjs-big-play-button:before{font-size:2em;line-height:1em}.video-js:hover .vjs-big-play-button{background-color:#212121}.video-js .vjs-slider{background-color:#424242}.video-js .vjs-progress-control{position:absolute;left:0;right:0;width:auto;top:-3em;visibility:inherit;opacity:inherit}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1em}.video-js .vjs-progress-control:hover .vjs-mouse-display:after,.video-js .vjs-progress-control:hover .vjs-play-progress:after,.video-js .vjs-progress-control:hover .vjs-time-tooltip{font-size:calc(1em - 2px)}.video-js .vjs-progress-holder{margin-left:7px;margin-right:7px;font-size:1em;margin-top:auto}.video-js .vjs-load-progress{background:#303030}.video-js .vjs-play-progress{background-color:#9c27b0}.video-js .vjs-play-progress:before{color:#9c27b0}.video-js .vjs-control-bar,.video-js .vjs-menu-button,.video-js .vjs-menu-content{background-color:#212121}.video-js .vjs-control-bar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.video-js .vjs-menu li{font-weight:700}.video-js .vjs-menu li:focus,.video-js .vjs-menu li:hover{background-color:#303030}.video-js .vjs-menu li .vjs-selected{background-color:#424242;color:#9c27b0}.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#212121}.video-js .vjs-menu li.vjs-selected{background-color:#212121;color:#9c27b0}.video-js .vjs-current-time,.video-js .vjs-duration,.video-js .vjs-time-divider{display:inline-block}.video-js .vjs-current-time{padding-right:0}.video-js .vjs-time-divider{padding:0;text-align:center}.video-js .vjs-duration{padding-left:0}.video-js .vjs-volume-menu-button{margin-left:auto}',""])},function(t,e,o){e=t.exports=o(0)(),e.i(o(11),""),e.i(o(10),""),e.push([t.i,".wrapper[data-v-ca7afac4]{width:854px;height:480px;max-width:100%;max-height:480px}.fill-space[data-v-ca7afac4]{width:100%;height:100%}",""])},function(t,e,o){t.exports=o.p+"VideoJS.eot?9499bb60a03b7e136a699cd87b159cc0"},function(t,e,o){t.exports=o.p+"VideoJS.eot?00103e881a36640a08f869ff6888f0fd"},function(t,e,o){(function(e){function o(t,e,o){function n(e){var o=A,n=v;return A=v=void 0,T=e,y=t.apply(n,o)}function i(t){return T=t,m=setTimeout(u,e),E?n(t):y}function s(t){var o=t-b,n=t-T,r=e-o;return k?w(r,g-n):r}function c(t){var o=t-b,n=t-T;return void 0===b||o>=e||o<0||k&&n>=g}function u(){var t=_();return c(t)?p(t):void(m=setTimeout(u,s(t)))}function p(t){return m=void 0,C&&A?n(t):(A=v=void 0,y)}function f(){void 0!==m&&clearTimeout(m),T=0,A=b=v=m=void 0}function d(){return void 0===m?y:p(_())}function h(){var t=_(),o=c(t);if(A=arguments,v=this,b=t,o){if(void 0===m)return i(b);if(k)return m=setTimeout(u,e),n(b)}return void 0===m&&(m=setTimeout(u,e)),y}var A,v,g,y,m,b,T=0,E=!1,k=!1,C=!0;if("function"!=typeof t)throw new TypeError(l);return e=a(e)||0,r(o)&&(E=!!o.leading,k="maxWait"in o,g=k?j(a(o.maxWait)||0,e):g,C="trailing"in o?!!o.trailing:C),h.cancel=f,h.flush=d,h}function n(t,e,n){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError(l);return r(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),o(t,e,{leading:i,maxWait:e,trailing:s})}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function s(t){return"symbol"==typeof t||i(t)&&b.call(t)==u}function a(t){if("number"==typeof t)return t;if(s(t))return c;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(p,"");var o=d.test(t);return o||h.test(t)?A(t.slice(2),o?2:8):f.test(t)?c:+t}var l="Expected a function",c=NaN,u="[object Symbol]",p=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,h=/^0o[0-7]+$/i,A=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,y=v||g||Function("return this")(),m=Object.prototype,b=m.toString,j=Math.max,w=Math.min,_=function(){return y.Date.now()};t.exports=n}).call(e,o(1))},function(t,e){t.exports=function(t,e,o,n){var r,i=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(r=t,i=t.default);var a="function"==typeof i?i.options:i;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),o&&(a._scopeId=o),n){var l=a.computed||(a.computed={});Object.keys(n).forEach(function(t){var e=n[t];l[t]=function(){return e}})}return{esModule:r,exports:i,options:a}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"wrapper",staticClass:"wrapper"},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"fill-space"},[o("loading-spinner")]),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}],staticClass:"fill-space"},[o("video",{ref:"video",staticClass:"video-js vjs-default-skin",on:{seeking:t.handleSeek,timeupdate:t.updateTime}},[t._l(t.videoSources,function(t){return[o("source",{attrs:{src:t.storage_url,type:"video/"+t.extension}})]}),t._v(" "),t._l(t.trackSources,function(e){return[o("track",{attrs:{kind:"captions",src:e.storage_url,srclang:e.lang,label:t.getLangName(e.lang)}})]})],!0)])])},staticRenderFns:[]}},function(t,e,o){var n=o(12);"string"==typeof n&&(n=[[t.i,n,""]]);o(3)(n,{});n.locals&&(t.exports=n.locals)},function(t,e,o){var n=o(13);"string"==typeof n&&(n=[[t.i,n,""]]);o(3)(n,{});n.locals&&(t.exports=n.locals)},function(t,e){t.exports=kolibriGlobal},function(t,e){t.exports=kolibriGlobal.coreVue.components.loadingSpinner},function(t,e,o){var n=o(4),r=o(5),i=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={rendererComponent:{},contentType:{}};return o.rendererComponent.get=function(){return r},o.contentType.get=function(){return"video/mp4"},Object.defineProperties(e.prototype,o),e}(n);t.exports=new i}]);