wpfw_ewei_shopv2/plugin/live/static/js/video.js
2023-02-14 19:57:32 +08:00

1 line
244 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).videojs=t()}}(function(){return function i(s,a,l){function u(r,t){if(!a[r]){if(!s[r]){var e="function"==typeof require&&require;if(!t&&e)return e(r,!0);if(c)return c(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var o=a[r]={exports:{}};s[r][0].call(o.exports,function(t){var e=s[r][1][t];return u(e||t)},o,o.exports,i,s,a,l)}return a[r].exports}for(var c="function"==typeof require&&require,t=0;t<l.length;t++)u(l[t]);return u}({1:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(2)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.buildCSSClass=function(){return"vjs-big-play-button"},l.prototype.handleClick=function(t){this.player_.play()},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.apply(this,arguments))}a.prototype.controlText_="Play Video",s.default.registerComponent("BigPlayButton",a),r.default=a},{2:2,5:5}],2:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(3)),s=n(t(5)),a=n(t(86)),l=t(88),u=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,o=i.default),c.prototype.createEl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"button",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};e=(0,l.assign)({className:this.buildCSSClass()},e),"button"!==t&&(a.default.warn("Creating a Button with an HTML element of "+t+" is deprecated; use ClickableComponent instead."),e=(0,l.assign)({tabIndex:0},e),r=(0,l.assign)({role:"button"},r)),r=(0,l.assign)({type:"button","aria-live":"polite"},r);var n=s.default.prototype.createEl.call(this,t,e,r);return this.createControlTextEl(n),n},c.prototype.addChild=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=this.constructor.name;return a.default.warn("Adding an actionable (user controllable) child to a Button ("+r+") is not supported; use a ClickableComponent instead."),s.default.prototype.addChild.call(this,t,e)},c.prototype.enable=function(){o.prototype.enable.call(this),this.el_.removeAttribute("disabled")},c.prototype.disable=function(){o.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},c.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&o.prototype.handleKeyPress.call(this,t)},c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.apply(this,arguments))}s.default.registerComponent("Button",u),r.default=u},{3:3,5:5,86:86,88:88}],3:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i,s=o(t(5)),a=n(t(81)),l=n(t(82)),u=n(t(83)),c=o(t(86)),p=o(t(94)),f=t(88),h=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(d,i=s.default),d.prototype.createEl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"div",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};e=(0,f.assign)({className:this.buildCSSClass(),tabIndex:0},e),"button"===t&&c.default.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=(0,f.assign)({role:"button","aria-live":"polite"},r),this.tabIndex_=e.tabIndex;var n=i.prototype.createEl.call(this,t,e,r);return this.createControlTextEl(n),n},d.prototype.createControlTextEl=function(t){return this.controlTextEl_=a.createEl("span",{className:"vjs-control-text"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},d.prototype.controlText=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.el();if(!t)return this.controlText_||"Need Text";var r=this.localize(t);return this.controlText_=t,this.controlTextEl_.innerHTML=r,e.setAttribute("title",r),this},d.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+i.prototype.buildCSSClass.call(this)},d.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},d.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},d.prototype.handleClick=function(t){},d.prototype.handleFocus=function(t){l.on(p.default,"keydown",u.bind(this,this.handleKeyPress))},d.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):i.prototype.handleKeyPress&&i.prototype.handleKeyPress.call(this,t)},d.prototype.handleBlur=function(t){l.off(p.default,"keydown",u.bind(this,this.handleKeyPress))},d);function d(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,i.call(this,t,e));return r.emitTapEvents(),r.enable(),r}s.default.registerComponent("ClickableComponent",h),r.default=h},{5:5,81:81,82:82,83:83,86:86,88:88,94:94}],4:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(2)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.buildCSSClass=function(){return"vjs-close-button "+o.prototype.buildCSSClass.call(this)},l.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.controlText(e&&e.controlText||r.localize("Close")),r}s.default.registerComponent("CloseButton",a),r.default=a},{2:2,5:5}],5:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i=o(t(95)),s=n(t(81)),u=n(t(83)),a=n(t(85)),c=n(t(82)),l=o(t(86)),p=o(t(91)),f=o(t(87)),h=(d.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;0<=t;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_),s.removeElData(this.el_),this.el_=null},d.prototype.player=function(){return this.player_},d.prototype.options=function(t){return l.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t&&(this.options_=(0,f.default)(this.options_,t)),this.options_},d.prototype.el=function(){return this.el_},d.prototype.createEl=function(t,e,r){return s.createEl(t,e,r)},d.prototype.localize=function(t){var e=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages();if(!e||!r)return t;var n=r[e];if(n&&n[t])return n[t];var o=r[e.split("-")[0]];return o&&o[t]?o[t]:t},d.prototype.contentEl=function(){return this.contentEl_||this.el_},d.prototype.id=function(){return this.id_},d.prototype.name=function(){return this.name_},d.prototype.children=function(){return this.children_},d.prototype.getChildById=function(t){return this.childIndex_[t]},d.prototype.getChild=function(t){if(t)return t=(0,p.default)(t),this.childNameIndex_[t]},d.prototype.addChild=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.children_.length,n=void 0,o=void 0;if("string"==typeof t){o=(0,p.default)(t),!0===(e=e||{})&&(l.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`."),e={});var i=e.componentClass||o;e.name=o;var s=d.getComponent(i);if(!s)throw new Error("Component "+i+" does not exist");if("function"!=typeof s)return null;n=new s(this.player_||this,e)}else n=t;if(this.children_.splice(r,0,n),"function"==typeof n.id&&(this.childIndex_[n.id()]=n),(o=o||n.name&&n.name())&&(this.childNameIndex_[o]=n),"function"==typeof n.el&&n.el()){var a=this.contentEl().children[r]||null;this.contentEl().insertBefore(n.el(),a)}return n},d.prototype.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,r=this.children_.length-1;0<=r;r--)if(this.children_[r]===t){e=!0,this.children_.splice(r,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())}}},d.prototype.initChildren=function(){var o,t,r,i=this,n=this.options_.children;n&&(o=i.options_,t=void 0,r=d.getComponent("Tech"),(t=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(i.options_).filter(function(e){return!t.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(t){var e=void 0,r=void 0;return r="string"==typeof t?n[e=t]||i.options_[e]||{}:(e=t.name,t),{name:e,opts:r}}).filter(function(t){var e=d.getComponent(t.opts.componentClass||(0,p.default)(t.name));return e&&!r.isTech(e)}).forEach(function(t){var e=t.name,r=t.opts;if(void 0!==o[e]&&(r=o[e]),!1!==r){!0===r&&(r={}),r.playerOptions=i.options_.playerOptions;var n=i.addChild(e,r);n&&(i[e]=n)}}))},d.prototype.buildCSSClass=function(){return""},d.prototype.on=function(i,s,a){var l=this;return"string"==typeof i||Array.isArray(i)?c.on(this.el_,i,u.bind(this,s)):function(){function t(){return l.off(e,r,n)}var e=i,r=s,n=u.bind(l,a);function o(){return l.off("dispose",t)}t.guid=n.guid,l.on("dispose",t),o.guid=n.guid,i.nodeName?(c.on(e,r,n),c.on(e,"dispose",o)):"function"==typeof i.on&&(e.on(r,n),e.on("dispose",o))}(),this},d.prototype.off=function(t,e,r){if(!t||"string"==typeof t||Array.isArray(t))c.off(this.el_,t,e);else{var n=t,o=e,i=u.bind(this,r);this.off("dispose",i),t.nodeName?(c.off(n,o,i),c.off(n,"dispose",i)):(n.off(o,i),n.off("dispose",i))}return this},d.prototype.one=function(t,e,r){var n,o,i,s=this,a=arguments;return"string"==typeof t||Array.isArray(t)?c.one(this.el_,t,u.bind(this,e)):(n=t,o=e,i=u.bind(s,r),l.guid=i.guid,s.on(n,o,l)),this;function l(){s.off(n,o,l),i.apply(null,a)}},d.prototype.trigger=function(t,e){return c.trigger(this.el_,t,e),this},d.prototype.ready=function(t){var e=1<arguments.length&&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},d.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&0<t.length&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},d.prototype.$=function(t,e){return s.$(t,e||this.contentEl())},d.prototype.$$=function(t,e){return s.$$(t,e||this.contentEl())},d.prototype.hasClass=function(t){return s.hasElClass(this.el_,t)},d.prototype.addClass=function(t){return s.addElClass(this.el_,t),this},d.prototype.removeClass=function(t){return s.removeElClass(this.el_,t),this},d.prototype.toggleClass=function(t,e){return s.toggleElClass(this.el_,t,e),this},d.prototype.show=function(){return this.removeClass("vjs-hidden"),this},d.prototype.hide=function(){return this.addClass("vjs-hidden"),this},d.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},d.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},d.prototype.getAttribute=function(t){return s.getAttribute(this.el_,t)},d.prototype.setAttribute=function(t,e){return s.setAttribute(this.el_,t,e),this},d.prototype.removeAttribute=function(t){return s.removeAttribute(this.el_,t),this},d.prototype.width=function(t,e){return this.dimension("width",t,e)},d.prototype.height=function(t,e){return this.dimension("height",t,e)},d.prototype.dimensions=function(t,e){return this.width(t,!0).height(e)},d.prototype.dimension=function(t,e,r){if(void 0!==e)return null!==e&&e==e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",r||this.trigger("resize"),this;if(!this.el_)return 0;var n=this.el_.style[t],o=n.indexOf("px");return-1!==o?parseInt(n.slice(0,o),10):parseInt(this.el_["offset"+(0,p.default)(t)],10)},d.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 i.default.getComputedStyle){var r=i.default.getComputedStyle(this.el_);e=r.getPropertyValue(t)||r[t]}if(0===(e=parseFloat(e))){var n="offset"+(0,p.default)(t);e=this.el_[n]}return e},d.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},d.prototype.currentWidth=function(){return this.currentDimension("width")},d.prototype.currentHeight=function(){return this.currentDimension("height")},d.prototype.emitTapEvents=function(){var e=0,n=null,o=void 0;function t(){o=!1}this.on("touchstart",function(t){1===t.touches.length&&(n={pageX:t.touches[0].pageX,pageY:t.touches[0].pageY},e=(new Date).getTime(),o=!0)}),this.on("touchmove",function(t){if(1<t.touches.length)o=!1;else if(n){var e=t.touches[0].pageX-n.pageX,r=t.touches[0].pageY-n.pageY;10<Math.sqrt(e*e+r*r)&&(o=!1)}}),this.on("touchleave",t),this.on("touchcancel",t),this.on("touchend",function(t){!(n=null)===o&&(new Date).getTime()-e<200&&(t.preventDefault(),this.trigger("tap"))})},d.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=u.bind(this.player(),this.player().reportUserActivity),r=void 0;this.on("touchstart",function(){e(),this.clearInterval(r),r=this.setInterval(e,250)});var t=function(t){e(),this.clearInterval(r)};this.on("touchmove",e),this.on("touchend",t),this.on("touchcancel",t)}},d.prototype.setTimeout=function(t,e){function r(){this.clearTimeout(n)}t=u.bind(this,t);var n=i.default.setTimeout(t,e);return r.guid="vjs-timeout-"+n,this.on("dispose",r),n},d.prototype.clearTimeout=function(t){function e(){}return i.default.clearTimeout(t),e.guid="vjs-timeout-"+t,this.off("dispose",e),t},d.prototype.setInterval=function(t,e){function r(){this.clearInterval(n)}t=u.bind(this,t);var n=i.default.setInterval(t,e);return r.guid="vjs-interval-"+n,this.on("dispose",r),n},d.prototype.clearInterval=function(t){function e(){}return i.default.clearInterval(t),e.guid="vjs-interval-"+t,this.off("dispose",e),t},d.registerComponent=function(t,e){if(t)return t=(0,p.default)(t),d.components_||(d.components_={}),"Player"===t&&d.components_[t]&&function(){var e=d.components_[t];if(e.players&&0<Object.keys(e.players).length&&Object.keys(e.players).map(function(t){return e.players[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created")}(),d.components_[t]=e},d.getComponent=function(t){if(t)return t=(0,p.default)(t),d.components_&&d.components_[t]?d.components_[t]:i.default&&i.default.videojs&&i.default.videojs[t]?(l.default.warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),i.default.videojs[t]):void 0},d.extend=function(t){function e(){r.apply(this,arguments)}t=t||{},l.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var r=t.init||t.init||this.prototype.init||this.prototype.init||function(){};for(var n in((e.prototype=Object.create(this.prototype)).constructor=e).extend=d.extend,t)t.hasOwnProperty(n)&&(e.prototype[n]=t[n]);return e},d);function d(t,e,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=(0,f.default)({},this.options_),e=this.options_=(0,f.default)(this.options_,e),this.id_=e.id||e.el&&e.el.id,!this.id_){var n=t&&t.id&&t.id()||"no_player";this.id_=n+"_component_"+a.newGUID()}this.name_=e.name||null,e.el?this.el_=e.el:!1!==e.createEl&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},!(this.childNameIndex_={})!==e.initChildren&&this.initChildren(),this.ready(r),!1!==e.reportTouchActivity&&this.enableTouchActivity()}h.registerComponent("Component",h),r.default=h},{81:81,82:82,83:83,85:85,86:86,87:87,91:91,95:95}],6:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(36)),s=n(t(5)),a=n(t(7)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.buildCSSClass=function(){return"vjs-audio-button "+o.prototype.buildCSSClass.call(this)},u.prototype.createItems=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=this.player_.audioTracks&&this.player_.audioTracks();if(!e)return t;for(var r=0;r<e.length;r++){var n=e[r];t.push(new a.default(this.player_,{track:n,selectable:!0}))}return t},u);function u(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,u),e.tracks=t.audioTracks&&t.audioTracks();var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.el_.setAttribute("aria-label","Audio Menu"),r}l.prototype.controlText_="Audio Track",s.default.registerComponent("AudioTrackButton",l),r.default=l},{36:36,5:5,7:7}],7:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var s,o=n(t(48)),i=n(t(5)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,s=o.default),u.prototype.handleClick=function(t){var e=this.player_.audioTracks();if(s.prototype.handleClick.call(this,t),e)for(var r=0;r<e.length;r++){var n=e[r];n.enabled=n===this.track}},u.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=e.track,n=t.audioTracks();e.label=r.label||r.language||"Unknown",e.selected=r.enabled;var o,i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,s.call(this,t,e));return i.track=r,n&&(o=a.bind(i,i.handleTracksChange),n.addEventListener("change",o),i.on("dispose",function(){n.removeEventListener("change",o)})),i}i.default.registerComponent("AudioTrackMenuItem",l),r.default=l},{48:48,5:5,83:83}],8:[function(t,e,r){"use strict";r.__esModule=!0;var n,o=t(5),i=(n=o)&&n.__esModule?n:{default:n};t(12),t(32),t(33),t(35),t(34),t(10),t(18),t(9),t(38),t(40),t(11),t(25),t(27),t(29),t(24),t(6),t(13),t(21);var s,a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,s=i.default),l.prototype.createEl=function(){return s.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,s.apply(this,arguments))}a.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},i.default.registerComponent("ControlBar",a),r.default=a},{10:10,11:11,12:12,13:13,18:18,21:21,24:24,25:25,27:27,29:29,32:32,33:33,34:34,35:35,38:38,40:40,5:5,6:6,9:9}],9:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(2)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+o.prototype.buildCSSClass.call(this)},l.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},l.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"fullscreenchange",r.handleFullscreenChange),r}a.prototype.controlText_="Fullscreen",s.default.registerComponent("FullscreenToggle",a),r.default=a},{2:2,5:5}],10:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,n=s.default),u.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},u.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.call(this,t,e));return r.updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}s.default.registerComponent("LiveDisplay",l),r.default=l},{5:5,81:81}],11:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(2)),s=n(t(5)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.buildCSSClass=function(){return"vjs-mute-control "+o.prototype.buildCSSClass.call(this)},u.prototype.handleClick=function(t){this.player_.muted(!this.player_.muted())},u.prototype.update=function(t){var e=this.player_.volume(),r=3;0===e||this.player_.muted()?r=0:e<.33?r=1:e<.67&&(r=2);var n=this.player_.muted()?"Unmute":"Mute";this.controlText()!==n&&this.controlText(n);for(var o=0;o<4;o++)a.removeElClass(this.el_,"vjs-vol-"+o);a.addElClass(this.el_,"vjs-vol-"+r)},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"volumechange",r.update),t.tech_&&!1===t.tech_.featuresVolumeControl&&r.addClass("vjs-hidden"),r.on(t,"loadstart",function(){this.update(),!1===t.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),r}l.prototype.controlText_="Mute",s.default.registerComponent("MuteToggle",l),r.default=l},{2:2,5:5,81:81}],12:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(2)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.buildCSSClass=function(){return"vjs-play-control "+o.prototype.buildCSSClass.call(this)},l.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},l.prototype.handlePlay=function(t){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},l.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"play",r.handlePlay),r.on(t,"pause",r.handlePause),r}a.prototype.controlText_="Play",s.default.registerComponent("PlayToggle",a),r.default=a},{2:2,5:5}],13:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(47)),s=n(t(49)),a=n(t(14)),l=n(t(5)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),c=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(p,o=i.default),p.prototype.createEl=function(){var t=o.prototype.createEl.call(this);return this.labelEl_=u.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},p.prototype.buildCSSClass=function(){return"vjs-playback-rate "+o.prototype.buildCSSClass.call(this)},p.prototype.createMenu=function(){var t=new s.default(this.player()),e=this.playbackRates();if(e)for(var r=e.length-1;0<=r;r--)t.addChild(new a.default(this.player(),{rate:e[r]+"x"}));return t},p.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},p.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),r=this.playbackRates(),n=r[0],o=0;o<r.length;o++)if(r[o]>e){n=r[o];break}this.player().playbackRate(n)},p.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},p.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},p.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},p.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},p);function p(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.updateVisibility(),r.updateLabel(),r.on(t,"loadstart",r.updateVisibility),r.on(t,"ratechange",r.updateLabel),r}c.prototype.controlText_="Playback Rate",l.default.registerComponent("PlaybackRateMenuButton",c),r.default=c},{14:14,47:47,49:49,5:5,81:81}],14:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i,o=n(t(48)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,i=o.default),l.prototype.handleClick=function(t){i.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},l.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=e.rate,n=parseFloat(r,10);e.label=r,e.selected=1===n;var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,i.call(this,t,e));return o.label=r,o.rate=n,o.on(t,"ratechange",o.update),o}a.prototype.contentElType="button",s.default.registerComponent("PlaybackRateMenuItem",a),r.default=a},{48:48,5:5}],15:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,n=s.default),l.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},l.prototype.update=function(t){function e(t,e){var r=t/e||0;return 100*(1<=r?1:r)+"%"}var r=this.player_.buffered(),n=this.player_.duration(),o=this.player_.bufferedEnd(),i=this.partEls_;this.el_.style.width=e(o,n);for(var s=0;s<r.length;s++){var a=r.start(s),l=r.end(s),u=i[s];u||(u=this.el_.appendChild(p.createEl()),i[s]=u),u.style.left=e(a,o),u.style.width=e(l-a,o)}for(var c=i.length;c>r.length;c--)this.el_.removeChild(i[c-1]);i.length=r.length},l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.call(this,t,e));return r.partEls_=[],r.on(t,"progress",r.update),r}s.default.registerComponent("LoadProgressBar",a),r.default=a},{5:5,81:81}],16:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i,s=o(t(5)),a=n(t(81)),l=n(t(83)),u=o(t(84)),c=o(t(80)),p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,i=s.default),f.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},f.prototype.handleMouseMove=function(t){var e=this.player_.duration(),r=this.calculateDistance(t)*e,n=t.pageX-a.findElPosition(this.el().parentNode).left;this.update(r,n)},f.prototype.update=function(t,e){var r=(0,u.default)(t,this.player_.duration());if(this.el().style.left=e+"px",this.el().setAttribute("data-current-time",r),this.keepTooltipsInside){var n=e-this.clampPosition_(e)+1,o=parseFloat((0,c.default)(this.tooltip,"width"))/2;this.tooltip.innerHTML=r,this.tooltip.style.right="-"+(o-n)+"px"}},f.prototype.calculateDistance=function(t){return a.getPointerPosition(this.el().parentNode,t).x},f.prototype.clampPosition_=function(t){if(!this.keepTooltipsInside)return t;var e=parseFloat((0,c.default)(this.player().el(),"width")),r=parseFloat((0,c.default)(this.tooltip,"width"))/2,n=t;return t<r?n=Math.ceil(r):e-r<t&&(n=Math.floor(e-r)),n},f);function f(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,i.call(this,t,e));return e.playerOptions&&e.playerOptions.controlBar&&e.playerOptions.controlBar.progressControl&&e.playerOptions.controlBar.progressControl.keepTooltipsInside&&(r.keepTooltipsInside=e.playerOptions.controlBar.progressControl.keepTooltipsInside),r.keepTooltipsInside&&(r.tooltip=a.createEl("div",{className:"vjs-time-tooltip"}),r.el().appendChild(r.tooltip),r.addClass("vjs-keep-tooltips-inside")),r.update(0,0),t.on("ready",function(){r.on(t.controlBar.progressControl.el(),"mousemove",l.throttle(l.bind(r,r.handleMouseMove),25))}),r}s.default.registerComponent("MouseTimeDisplay",p),r.default=p},{5:5,80:80,81:81,83:83,84:84}],17:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),a=n(t(84)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.createEl=function(){return o.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>"})},u.prototype.updateDataAttr=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",(0,a.default)(e,this.player_.duration()))},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.updateDataAttr(),r.on(t,"timeupdate",r.updateDataAttr),t.ready(s.bind(r,r.updateDataAttr)),e.playerOptions&&e.playerOptions.controlBar&&e.playerOptions.controlBar.progressControl&&e.playerOptions.controlBar.progressControl.keepTooltipsInside&&(r.keepTooltipsInside=e.playerOptions.controlBar.progressControl.keepTooltipsInside),r.keepTooltipsInside&&r.addClass("vjs-keep-tooltips-inside"),r}i.default.registerComponent("PlayProgressBar",l),r.default=l},{5:5,83:83,84:84}],18:[function(t,e,r){"use strict";r.__esModule=!0;var n,o=t(5),i=(n=o)&&n.__esModule?n:{default:n};t(19),t(16);var s,a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,s=i.default),l.prototype.createEl=function(){return s.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,s.apply(this,arguments))}a.prototype.options_={children:["seekBar"]},i.default.registerComponent("ProgressControl",a),r.default=a},{16:16,19:19,5:5}],19:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o=n(t(57)),i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),a=n(t(84)),l=n(t(80));t(15),t(17),t(20);var u,c=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(p,u=o.default),p.prototype.createEl=function(){return u.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},p.prototype.updateProgress=function(t){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var e=parseFloat((0,l.default)(this.player().el(),"width")),r=parseFloat((0,l.default)(this.tooltipProgressBar.tooltip,"width")),n=this.tooltipProgressBar.el().style;n.maxWidth=Math.floor(e-r/2)+"px",n.minWidth=Math.ceil(r/2)+"px",n.right="-"+r/2+"px"}},p.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",(0,a.default)(e,this.player_.duration()))},p.prototype.getPercent=function(){var t=this.player_.currentTime()/this.player_.duration();return 1<=t?1:t},p.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),u.prototype.handleMouseDown.call(this,t)},p.prototype.handleMouseMove=function(t){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)},p.prototype.handleMouseUp=function(t){u.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},p.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},p.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},p);function p(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,u.call(this,t,e));return r.on(t,"timeupdate",r.updateProgress),r.on(t,"ended",r.updateProgress),t.ready(s.bind(r,r.updateProgress)),e.playerOptions&&e.playerOptions.controlBar&&e.playerOptions.controlBar.progressControl&&e.playerOptions.controlBar.progressControl.keepTooltipsInside&&(r.keepTooltipsInside=e.playerOptions.controlBar.progressControl.keepTooltipsInside),r.keepTooltipsInside&&(r.tooltipProgressBar=r.addChild("TooltipProgressBar")),r}c.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},c.prototype.playerEvent="timeupdate",i.default.registerComponent("SeekBar",c),r.default=c},{15:15,17:17,20:20,5:5,57:57,80:80,83:83,84:84}],20:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),a=n(t(84)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.createEl=function(){var t=o.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=t.querySelector(".vjs-time-tooltip"),t},u.prototype.updateDataAttr=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),r=(0,a.default)(e,this.player_.duration());this.el_.setAttribute("data-current-time",r),this.tooltip.innerHTML=r},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.updateDataAttr(),r.on(t,"timeupdate",r.updateDataAttr),t.ready(s.bind(r,r.updateDataAttr)),r}i.default.registerComponent("TooltipProgressBar",l),r.default=l},{5:5,83:83,84:84}],21:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(22)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+o.prototype.buildCSSClass.call(this)},l.prototype.createEl=function(){var t=o.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.apply(this,arguments))}s.default.registerComponent("CustomControlSpacer",a),r.default=a},{22:22,5:5}],22:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,n=s.default),l.prototype.buildCSSClass=function(){return"vjs-spacer "+n.prototype.buildCSSClass.call(this)},l.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.apply(this,arguments))}s.default.registerComponent("Spacer",a),r.default=a},{5:5}],23:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(31)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},l);function l(t,e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,l),e.track={player:t,kind:e.kind,label:e.kind+" settings",selectable:!1,default:!1,mode:"disabled"},e.selectable=!1;var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.addClass("vjs-texttrack-settings"),r.controlText(", opens "+e.kind+" settings dialog"),r}s.default.registerComponent("CaptionSettingsMenuItem",a),r.default=a},{31:31,5:5}],24:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(30)),s=n(t(5)),a=n(t(23)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.buildCSSClass=function(){return"vjs-captions-button "+o.prototype.buildCSSClass.call(this)},u.prototype.update=function(t){var e=2;o.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(e=1),this.items&&this.items.length>e?this.show():this.hide()},u.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||t.push(new a.default(this.player_,{kind:this.kind_})),o.prototype.createItems.call(this,t)},u);function u(t,e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e,r));return n.el_.setAttribute("aria-label","Captions Menu"),n}l.prototype.kind_="captions",l.prototype.controlText_="Captions",s.default.registerComponent("CaptionsButton",l),r.default=l},{23:23,30:30,5:5}],25:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(30)),s=n(t(5)),a=n(t(26)),l=n(t(91)),u=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,o=i.default),c.prototype.buildCSSClass=function(){return"vjs-chapters-button "+o.prototype.buildCSSClass.call(this)},c.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),o.prototype.update.call(this)},c.prototype.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var r=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);r&&r.addEventListener("load",this.updateHandler_)}}},c.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;0<=e;e--){var r=t[e];if(r.kind===this.kind_)return r}},c.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize((0,l.default)(this.kind_))},c.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),o.prototype.createMenu.call(this)},c.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var r=0,n=e.length;r<n;r++){var o=e[r],i=new a.default(this.player_,{track:this.track_,cue:o});t.push(i)}return t},c);function c(t,e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e,r));return n.el_.setAttribute("aria-label","Chapters Menu"),n}u.prototype.kind_="chapters",u.prototype.controlText_="Chapters",s.default.registerComponent("ChaptersButton",u),r.default=u},{26:26,30:30,5:5,91:91}],26:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var s,o=n(t(48)),i=n(t(5)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,s=o.default),u.prototype.handleClick=function(t){s.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},u.prototype.update=function(t){var e=this.cue,r=this.player_.currentTime();this.selected(e.startTime<=r&&r<e.endTime)},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=e.track,n=e.cue,o=t.currentTime();e.selectable=!0,e.label=n.text,e.selected=n.startTime<=o&&o<n.endTime;var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,s.call(this,t,e));return i.track=r,i.cue=n,r.addEventListener("cuechange",a.bind(i,i.update)),i}i.default.registerComponent("ChaptersTrackMenuItem",l),r.default=l},{48:48,5:5,83:83}],27:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var s,o=n(t(30)),i=n(t(5)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,s=o.default),u.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),r=!1,n=0,o=e.length;n<o;n++){var i=e[n];if(i.kind!==this.kind_&&"showing"===i.mode){r=!0;break}}r?this.disable():this.enable()},u.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+s.prototype.buildCSSClass.call(this)},u);function u(t,e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,s.call(this,t,e,r));n.el_.setAttribute("aria-label","Descriptions Menu");var o,i=t.textTracks();return i&&(o=a.bind(n,n.handleTracksChange),i.addEventListener("change",o),n.on("dispose",function(){i.removeEventListener("change",o)})),n}l.prototype.kind_="descriptions",l.prototype.controlText_="Descriptions",i.default.registerComponent("DescriptionsButton",l),r.default=l},{30:30,5:5,83:83}],28:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(31)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),r=!0,n=0,o=e.length;n<o;n++){var i=e[n];if(i.kind===this.track.kind&&"showing"===i.mode){r=!1;break}}this.selected(r)},l);function l(t,e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,l),e.track={player:t,kind:e.kind,label:e.kind+" off",default:!1,mode:"disabled"},e.selectable=!0;var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.selected(!0),r}s.default.registerComponent("OffTextTrackMenuItem",a),r.default=a},{31:31,5:5}],29:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(30)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+o.prototype.buildCSSClass.call(this)},l);function l(t,e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e,r));return n.el_.setAttribute("aria-label","Subtitles Menu"),n}a.prototype.kind_="subtitles",a.prototype.controlText_="Subtitles",s.default.registerComponent("SubtitlesButton",a),r.default=a},{30:30,5:5}],30:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(36)),s=n(t(5)),a=n(t(31)),l=n(t(28)),u=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,o=i.default),c.prototype.createItems=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];t.push(new l.default(this.player_,{kind:this.kind_}));var e=this.player_.textTracks();if(!e)return t;for(var r=0;r<e.length;r++){var n=e[r];n.kind===this.kind_&&t.push(new a.default(this.player_,{track:n,selectable:!0}))}return t},c);function c(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),e.tracks=t.textTracks(),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e))}s.default.registerComponent("TextTrackButton",u),r.default=u},{28:28,31:31,36:36,5:5}],31:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var a,l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n(t(48)),i=n(t(5)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),c=n(t(95)),p=n(t(94)),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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,a=o.default),f.prototype.handleClick=function(t){var e=this.track.kind,r=this.player_.textTracks();if(a.prototype.handleClick.call(this,t),r)for(var n=0;n<r.length;n++){var o=r[n];o.kind===e&&(o===this.track?o.mode="showing":o.mode="disabled")}},f.prototype.handleTracksChange=function(t){this.selected("showing"===this.track.mode)},f);function f(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var r=e.track,n=t.textTracks();e.label=r.label||r.language||"Unknown",e.selected=r.default||"showing"===r.mode;var o,i,s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,a.call(this,t,e));return s.track=r,n&&(i=u.bind(s,s.handleTracksChange),n.addEventListener("change",i),s.on("dispose",function(){n.removeEventListener("change",i)})),n&&void 0===n.onchange&&(o=void 0,s.on(["tap","click"],function(){if("object"!==l(c.default.Event))try{o=new c.default.Event("change")}catch(t){}o||(o=p.default.createEvent("Event")).initEvent("change",!0,!0),n.dispatchEvent(o)})),s}i.default.registerComponent("TextTrackMenuItem",s),r.default=s},{48:48,5:5,83:83,94:94,95:95}],32:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),a=n(t(84)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.createEl=function(){var t=o.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},u.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),r=this.localize("Current Time"),n=(0,a.default)(e,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+r+"</span> "+n)},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"timeupdate",r.updateContent),r}i.default.registerComponent("CurrentTimeDisplay",l),r.default=l},{5:5,81:81,84:84}],33:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),a=n(t(84)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.createEl=function(){var t=o.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},u.prototype.updateContent=function(t){var e=this.player_.duration();if(e&&this.duration_!==e){this.duration_=e;var r=this.localize("Duration Time"),n=(0,a.default)(e);this.contentEl_.innerHTML='<span class="vjs-control-text">'+r+"</span> "+n}},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"durationchange",r.updateContent),r.on(t,"timeupdate",r.updateContent),r.on(t,"loadedmetadata",r.updateContent),r}i.default.registerComponent("DurationDisplay",l),r.default=l},{5:5,81:81,84:84}],34:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),a=n(t(84)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.createEl=function(){var t=o.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},u.prototype.updateContent=function(t){if(this.player_.duration()){var e=this.localize("Remaining Time"),r=(0,a.default)(this.player_.remainingTime());r!==this.formattedTime_&&(this.formattedTime_=r,this.contentEl_.innerHTML='<span class="vjs-control-text">'+e+"</span> -"+r)}},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"timeupdate",r.updateContent),r.on(t,"durationchange",r.updateContent),r}i.default.registerComponent("RemainingTimeDisplay",l),r.default=l},{5:5,81:81,84:84}],35:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,n=s.default),l.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.apply(this,arguments))}s.default.registerComponent("TimeDivider",a),r.default=a},{5:5}],36:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var s,o=n(t(47)),a=n(t(5)),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),u=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,s=o.default),c);function c(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var r=e.tracks,n=i(this,s.call(this,t,e));if(n.items.length<=1&&n.hide(),!r)return i(n);var o=l.bind(n,n.update);return r.addEventListener("removetrack",o),r.addEventListener("addtrack",o),n.player_.on("dispose",function(){r.removeEventListener("removetrack",o),r.removeEventListener("addtrack",o)}),n}a.default.registerComponent("TrackButton",u),r.default=u},{47:47,5:5,83:83}],37:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o=n(t(57)),i=n(t(5)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83));t(39);var a,l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,a=o.default),u.prototype.createEl=function(){return a.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},u.prototype.handleMouseMove=function(t){this.checkMuted(),this.player_.volume(this.calculateDistance(t))},u.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},u.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},u.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},u.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},u.prototype.updateARIAAttributes=function(t){var e=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,a.call(this,t,e));return r.on(t,"volumechange",r.updateARIAAttributes),t.ready(s.bind(r,r.updateARIAAttributes)),r}l.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},l.prototype.playerEvent="volumechange",i.default.registerComponent("VolumeBar",l),r.default=l},{39:39,5:5,57:57,83:83}],38:[function(t,e,r){"use strict";r.__esModule=!0;var n,o=t(5),i=(n=o)&&n.__esModule?n:{default:n};t(37);var s,a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,s=i.default),l.prototype.createEl=function(){return s.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,s.call(this,t,e));return t.tech_&&!1===t.tech_.featuresVolumeControl&&r.addClass("vjs-hidden"),r.on(t,"loadstart",function(){!1===t.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),r}a.prototype.options_={children:["volumeBar"]},i.default.registerComponent("VolumeControl",a),r.default=a},{37:37,5:5}],39:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,n=s.default),l.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.apply(this,arguments))}s.default.registerComponent("VolumeLevel",a),r.default=a},{5:5}],40:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),s=n(t(5)),a=n(t(54)),l=n(t(53)),u=n(t(11)),c=n(t(37)),p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,o=l.default),f.prototype.buildCSSClass=function(){var t;return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+o.prototype.buildCSSClass.call(this)+" "+t},f.prototype.createPopup=function(){var t=new a.default(this.player_,{contentElType:"div"}),e=new c.default(this.player_,this.options_.volumeBar);return t.addChild(e),this.menuContent=t,this.volumeBar=e,this.attachVolumeBarEvents(),t},f.prototype.handleClick=function(t){u.default.prototype.handleClick.call(this),o.prototype.handleClick.call(this)},f.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],i.bind(this,this.handleMouseDown))},f.prototype.handleMouseDown=function(t){this.on(["mousemove","touchmove"],i.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},f.prototype.handleMouseUp=function(t){this.off(["mousemove","touchmove"],i.bind(this.volumeBar,this.volumeBar.handleMouseMove))},f);function f(t){function e(){t.tech_&&!1===t.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,f),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;var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,r));return n.on(t,"volumechange",n.volumeUpdate),n.on(t,"loadstart",n.volumeUpdate),e.call(n),n.on(t,"loadstart",e),n.on(n.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),n.on(n.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),n.on(n.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),n.on(n.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),n}p.prototype.volumeUpdate=u.default.prototype.update,p.prototype.controlText_="Mute",s.default.registerComponent("VolumeMenuButton",p),r.default=p},{11:11,37:37,5:5,53:53,54:54,83:83}],41:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(5)),s=n(t(50)),a=n(t(87)),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=s.default),u.prototype.buildCSSClass=function(){return"vjs-error-display "+o.prototype.buildCSSClass.call(this)},u.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.on(t,"error",r.open),r}l.prototype.options_=(0,a.default)(s.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),i.default.registerComponent("ErrorDisplay",l),r.default=l},{5:5,50:50,87:87}],42:[function(t,e,r){"use strict";r.__esModule=!0;function n(){}var o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(82));n.prototype.allowedEvents_={},n.prototype.addEventListener=n.prototype.on=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},o.on(this,t,e),this.addEventListener=r},n.prototype.removeEventListener=n.prototype.off=function(t,e){o.off(this,t,e)},n.prototype.one=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},o.one(this,t,e),this.addEventListener=r},n.prototype.dispatchEvent=n.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=o.fixEvent(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),o.trigger(this,t)},r.default=n},{82:82}],43:[function(t,e,r){"use strict";r.__esModule=!0;var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=t(86),s=(n=o)&&n.__esModule?n:{default:n},a=t(88);r.default=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=function(){t.apply(this,arguments)},n={};for(var o in(0,a.isObject)(e)?("function"==typeof e.init&&(s.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),e.constructor=e.init),e.constructor!==Object.prototype.constructor&&(r=e.constructor),n=e):"function"==typeof e&&(r=e),function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)}(r,t),n)n.hasOwnProperty(o)&&(r.prototype[o]=n[o]);return r}},{86:86,88:88}],44:[function(t,e,r){"use strict";r.__esModule=!0;for(var n=t(94),o=(c=n)&&c.__esModule?c:{default:c},i={},s=[["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"]],a=s[0],l=void 0,u=0;u<s.length;u++)if(s[u][1]in o.default){l=s[u];break}var c;if(l)for(var p=0;p<l.length;p++)i[a[p]]=l[p];r.default=i},{94:94}],45:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,n=s.default),l.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.apply(this,arguments))}s.default.registerComponent("LoadingSpinner",a),r.default=a},{5:5}],46:[function(t,e,r){"use strict";function n(t){return t instanceof n?t:("number"==typeof t?this.code=t:"string"==typeof t?this.message=t:(0,o.isObject)(t)&&("number"==typeof t.code&&(this.code=t.code),(0,o.assign)(this,t)),void(this.message||(this.message=n.defaultMessages[this.code]||"")))}r.__esModule=!0;var o=t(88);n.prototype.code=0,n.prototype.message="",n.prototype.status=null,n.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],n.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 i=0;i<n.errorTypes.length;i++)n[n.errorTypes[i]]=i,n.prototype[n.errorTypes[i]]=i;r.default=n},{88:88}],47:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i,s=o(t(3)),a=o(t(5)),l=o(t(49)),u=n(t(81)),c=n(t(83)),p=o(t(91)),f=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(h,i=s.default),h.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&&1<this.items.length&&this.show()},h.prototype.createMenu=function(){var t=new l.default(this.player_);if(this.options_.title){var e=u.createEl("li",{className:"vjs-menu-title",innerHTML:(0,p.default)(this.options_.title),tabIndex:-1});t.children_.unshift(e),u.insertElFirst(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var r=0;r<this.items.length;r++)t.addItem(this.items[r]);return t},h.prototype.createItems=function(){},h.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},h.prototype.buildCSSClass=function(){var t="vjs-menu-button";return"vjs-menu-button "+(t+=!0===this.options_.inline?"-inline":"-popup")+" "+i.prototype.buildCSSClass.call(this)},h.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",c.bind(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},h.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):i.prototype.handleKeyPress.call(this,t)},h.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault())},h.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},h.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},h.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,i.prototype.disable.call(this)},h.prototype.enable=function(){return this.enabled_=!0,i.prototype.enable.call(this)},h);function h(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,i.call(this,t,e));return r.update(),r.enabled_=!0,r.el_.setAttribute("aria-haspopup","true"),r.el_.setAttribute("role","menuitem"),r.on("keydown",r.handleSubmenuKeyPress),r}a.default.registerComponent("MenuButton",f),r.default=f},{3:3,49:49,5:5,81:81,83:83,91:91}],48:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(3)),s=n(t(5)),a=t(88),l=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,o=i.default),u.prototype.createEl=function(t,e,r){return o.prototype.createEl.call(this,"li",(0,a.assign)({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},e),r)},u.prototype.handleClick=function(t){this.selected(!0)},u.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(" ")))},u);function u(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.selectable=e.selectable,r.selected(e.selected),r.selectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitem"),r}s.default.registerComponent("MenuItem",l),r.default=l},{3:3,5:5,88:88}],49:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}r.__esModule=!0;var o,i,s=t(5),a=(i=s)&&i.__esModule?i:{default:i},l=n(t(81)),u=n(t(83)),c=n(t(82)),p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,o=a.default),f.prototype.addItem=function(t){this.addChild(t),t.on("click",u.bind(this,function(t){this.unlockShowing()}))},f.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=l.createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var e=o.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return e.setAttribute("role","presentation"),e.appendChild(this.contentEl_),c.on(e,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),e},f.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},f.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},f.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},f.prototype.focus=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice();e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className)&&e.shift(),0<e.length&&(t<0?t=0:t>=e.length&&(t=e.length-1),e[this.focusedChild_=t].el_.focus())},f);function f(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.focusedChild_=-1,r.on("keydown",r.handleKeyPress),r}a.default.registerComponent("Menu",p),r.default=p},{5:5,81:81,82:82,83:83}],50:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}r.__esModule=!0;var o,i,s=n(t(81)),a=n(t(83)),l=t(5),u=(i=l)&&i.__esModule?i:{default:i},c="vjs-modal-dialog",p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,o=u.default),f.prototype.createEl=function(){return o.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},f.prototype.buildCSSClass=function(){return c+" vjs-hidden "+o.prototype.buildCSSClass.call(this)},f.prototype.handleKeyPress=function(t){27===t.which&&this.closeable()&&this.close()},f.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},f.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},f.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",a.bind(this,this.handleKeyPress)),t.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},f.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},f.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",a.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},f.prototype.closeable=function(t){if("boolean"==typeof t){var e=this.closeable_=!!t,r=this.getChild("closeButton");if(e&&!r){var n=this.contentEl_;this.contentEl_=this.el_,r=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=n,this.on(r,"close",this.close)}!e&&r&&(this.off(r,"close",this.close),this.removeChild(r),r.dispose())}return this.closeable_},f.prototype.fill=function(){return this.fillWith(this.content())},f.prototype.fillWith=function(t){var e=this.contentEl(),r=e.parentNode,n=e.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,r.removeChild(e),this.empty(),s.insertContent(e,t),this.trigger("modalfill"),n?r.insertBefore(e,n):r.appendChild(e),this},f.prototype.empty=function(){return this.trigger("beforemodalempty"),s.emptyEl(this.contentEl()),this.trigger("modalempty"),this},f.prototype.content=function(t){return void 0!==t&&(this.content_=t),this.content_},f);function f(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=s.createEl("div",{className:c+"-content"},{role:"document"}),r.descEl_=s.createEl("p",{className:c+"-description vjs-offscreen",id:r.el().getAttribute("aria-describedby")}),s.textContent(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}p.prototype.options_={temporary:!0},u.default.registerComponent("ModalDialog",p),r.default=p},{5:5,81:81,83:83}],51:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var s=o(t(5)),i=o(t(94)),u=o(t(95)),a=n(t(82)),f=n(t(81)),l=n(t(83)),c=n(t(85)),p=n(t(78)),h=o(t(86)),d=o(t(91)),y=t(90),v=t(79),_=n(t(89)),g=o(t(44)),b=o(t(46)),m=o(t(97)),T=t(88),w=o(t(87)),E=o(t(69)),C=o(t(50)),k=o(t(62)),O=o(t(63)),S=o(t(76));t(61),t(59),t(55),t(68),t(45),t(1),t(4),t(8),t(41),t(71),t(60);var j,x=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"],P=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(M,j=s.default),M.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),M.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(),j.prototype.dispose.call(this)},M.prototype.createEl=function(){var t=this.tag,e=void 0,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");e=this.el_=r?t.parentNode:j.prototype.createEl.call(this,"div"),t.removeAttribute("width"),t.removeAttribute("height");var n=f.getElAttributes(t);if(Object.getOwnPropertyNames(n).forEach(function(t){"class"===t?e.className+=" "+n[t]:e.setAttribute(t,n[t])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=e.player=this,this.addClass("vjs-paused"),!0!==u.default.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=_.createStyleElement("vjs-styles-dimensions");var o=f.$(".vjs-styles-defaults"),i=f.$("head");i.insertBefore(this.styleEl_,o?o.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=t.getElementsByTagName("a"),a=0;a<s.length;a++){var l=s.item(a);f.addElClass(l,"vjs-hidden"),l.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(e,t),f.insertElFirst(t,e),this.children_.unshift(t),this.el_=e},M.prototype.width=function(t){return this.dimension("width",t)},M.prototype.height=function(t){return this.dimension("height",t)},M.prototype.dimension=function(t,e){var r=t+"_";if(void 0===e)return this[r]||0;if(""===e)this[r]=void 0;else{var n=parseFloat(e);if(isNaN(n))return h.default.error('Improper value "'+e+'" supplied for for '+t),this;this[r]=n}return this.updateStyleEl_(),this},M.prototype.fluid=function(t){return void 0===t?!!this.fluid_:(this.fluid_=!!t,t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},M.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_()},M.prototype.updateStyleEl_=function(){if(!0!==u.default.VIDEOJS_NO_DYNAMIC_STYLE){var t,e,r,n=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:0<this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=n[1]/n[0];t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*o,r=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(r),_.setTextContent(this.styleEl_,"\n ."+r+" {\n width: "+t+"px;\n height: "+e+"px;\n }\n\n ."+r+".vjs-fluid {\n padding-top: "+100*o+"%;\n }\n ")}else{var i="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,a=this.tech_&&this.tech_.el();a&&(0<=i&&(a.width=i),0<=s&&(a.height=s))}},M.prototype.loadTech_=function(t,e){var r=this;this.tech_&&this.unloadTech_(),"Html5"!==t&&this.tag&&(k.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=t,this.isReady_=!1;var n=(0,T.assign)({source:e,nativeControlsForTouch:this.options_.nativeControlsForTouch,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(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[t.toLowerCase()]);this.tag&&(n.tag=this.tag),e&&(this.currentType_=e.type,e.src===this.cache_.src&&0<this.cache_.currentTime&&(n.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=e,this.cache_.src=e.src);var o=k.default.getTech(t);o=o||s.default.getComponent(t),this.tech_=new o(n),this.tech_.ready(l.bind(this,this.handleTechReady_),!0),E.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),x.forEach(function(t){r.on(r.tech_,t,r["handleTech"+(0,d.default)(t)+"_"])}),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_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),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||f.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},M.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=E.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},M.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 u.default.alert(e),new Error(e)},M.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_)},M.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_)},M.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){(0,h.default)("deleting tag.poster throws in some browsers",t)}this.play()}},M.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},M.prototype.hasStarted=function(t){return void 0!==t?(this.hasStarted_!==t&&((this.hasStarted_=t)?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},M.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},M.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},M.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},M.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},M.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},M.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},M.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},M.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(h.default.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},M.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},M.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},M.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},M.prototype.handleTechClick_=function(t){0===t.button&&this.controls()&&(this.paused()?this.play():this.pause())},M.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},M.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},M.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},M.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},M.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},M.prototype.handleStageClick_=function(){this.reportUserActivity()},M.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},M.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},M.prototype.handleTechTextData_=function(){var t=null;1<arguments.length&&(t=arguments[1]),this.trigger("textdata",t)},M.prototype.getCache=function(){return this.cache_},M.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(0,h.default)(t),t}},M.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[e]()}catch(t){throw void 0===this.tech_[e]?(0,h.default)("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?((0,h.default)("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):(0,h.default)(t),t}},M.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},M.prototype.pause=function(){return this.techCall_("pause"),this},M.prototype.paused=function(){return!1!==this.techGet_("paused")},M.prototype.scrubbing=function(t){return void 0!==t?(this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},M.prototype.currentTime=function(t){return void 0!==t?(this.techCall_("setCurrentTime",t),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},M.prototype.duration=function(t){return void 0===t?this.cache_.duration||0:((t=parseFloat(t)||0)<0&&(t=1/0),t!==this.cache_.duration&&((this.cache_.duration=t)===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},M.prototype.remainingTime=function(){return this.duration()-this.currentTime()},M.prototype.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=(0,y.createTimeRange)(0,0)),t},M.prototype.bufferedPercent=function(){return(0,v.bufferedPercent)(this.buffered(),this.duration())},M.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),r=t.end(t.length-1);return e<r&&(r=e),r},M.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)},M.prototype.muted=function(t){return void 0!==t?(this.techCall_("setMuted",t),this):this.techGet_("muted")||!1},M.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},M.prototype.isFullscreen=function(t){return void 0!==t?(this.isFullscreen_=!!t,this):!!this.isFullscreen_},M.prototype.requestFullscreen=function(){var r=g.default;return this.isFullscreen(!0),r.requestFullscreen?(a.on(i.default,r.fullscreenchange,l.bind(this,function t(e){this.isFullscreen(i.default[r.fullscreenElement]),!1===this.isFullscreen()&&a.off(i.default,r.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[r.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},M.prototype.exitFullscreen=function(){var t=g.default;return this.isFullscreen(!1),t.requestFullscreen?i.default[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},M.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=i.default.documentElement.style.overflow,a.on(i.default,"keydown",l.bind(this,this.fullWindowOnEscKey)),i.default.documentElement.style.overflow="hidden",f.addElClass(i.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},M.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},M.prototype.exitFullWindow=function(){this.isFullWindow=!1,a.off(i.default,"keydown",this.fullWindowOnEscKey),i.default.documentElement.style.overflow=this.docOrigOverflow,f.removeElClass(i.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},M.prototype.canPlayType=function(t){for(var e=void 0,r=0,n=this.options_.techOrder;r<n.length;r++){var o=(0,d.default)(n[r]),i=k.default.getTech(o);if(i=i||s.default.getComponent(o)){if(i.isSupported()&&(e=i.canPlayType(t)))return e}else h.default.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},M.prototype.selectSource=function(t){function e(t,r,n){var o=void 0;return t.some(function(e){return r.some(function(t){if(o=n(e,t))return!0})}),o}function r(t,e){var r=t[0];if(t[1].canPlaySource(e,o.options_[r.toLowerCase()]))return{source:e,tech:r}}var n,o=this,i=this.options_.techOrder.map(d.default).map(function(t){return[t,k.default.getTech(t)||s.default.getComponent(t)]}).filter(function(t){var e=t[0],r=t[1];return r?r.isSupported():(h.default.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)});return(this.options_.sourceOrder?e(t,i,(n=r,function(t,e){return n(e,t)})):e(i,t,r))||!1},M.prototype.src=function(t){if(void 0===t)return this.techGet_("src");var e=k.default.getTech(this.techName_);return e=e||s.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_.sources=null,this.cache_.source=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},M.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.cache_.sources=t):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},M.prototype.load=function(){return this.techCall_("load"),this},M.prototype.reset=function(){return this.loadTech_((0,d.default)(this.options_.techOrder[0]),null),this.techCall_("reset"),this},M.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},M.prototype.currentSource=function(){var t={},e=this.currentSrc();return e&&(t.src=e),this.cache_.source||t},M.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},M.prototype.currentType=function(){return this.currentType_||""},M.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),this.options_.preload=t,this):this.techGet_("preload")},M.prototype.autoplay=function(t){return void 0!==t?(this.techCall_("setAutoplay",t),this.options_.autoplay=t,this):this.techGet_("autoplay",t)},M.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),this.options_.loop=t,this):this.techGet_("loop")},M.prototype.poster=function(t){return void 0===t?this.poster_:(t=t||"",this.poster_=t,this.techCall_("setPoster",t),this.trigger("posterchange"),this)},M.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},M.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_},M.prototype.usingNativeControls=function(t){return void 0!==t?(t=!!t,this.usingNativeControls_!==t&&((this.usingNativeControls_=t)?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},M.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.error_=new b.default(t),this.addClass("vjs-error"),h.default.error("(CODE:"+this.error_.code+" "+b.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error")),this)},M.prototype.reportUserActivity=function(t){this.userActivity_=!0},M.prototype.userActive=function(t){return void 0!==t?((t=!!t)!==this.userActive_&&((this.userActive_=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_},M.prototype.listenForUserActivity_=function(){var e=void 0,r=void 0,n=void 0,o=l.bind(this,this.reportUserActivity);this.on("mousedown",function(){o(),this.clearInterval(e),e=this.setInterval(o,250)}),this.on("mousemove",function(t){t.screenX===r&&t.screenY===n||(r=t.screenX,n=t.screenY,o())}),this.on("mouseup",function(t){o(),this.clearInterval(e)}),this.on("keydown",o),this.on("keyup",o);var i=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(i);var t=this.options_.inactivityTimeout;0<t&&(i=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},M.prototype.playbackRate=function(t){return void 0!==t?(this.techCall_("setPlaybackRate",t),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},M.prototype.isAudio=function(t){return void 0!==t?(this.isAudio_=!!t,this):!!this.isAudio_},M.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new S.default,this.videoTracks_)},M.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new O.default,this.audioTracks_)},M.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},M.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},M.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},M.prototype.addTextTrack=function(t,e,r){if(this.tech_)return this.tech_.addTextTrack(t,e,r)},M.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},M.prototype.removeRemoteTextTrack=function(){var t=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).track,e=void 0===t?arguments[0]:t;if(this.tech_)return this.tech_.removeRemoteTextTrack(e)},M.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},M.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},M.prototype.language=function(t){return void 0===t?this.language_:(this.language_=String(t).toLowerCase(),this)},M.prototype.languages=function(){return(0,w.default)(M.prototype.options_.languages,this.languages_)},M.prototype.toJSON=function(){var t=(0,w.default)(this.options_),e=t.tracks;t.tracks=[];for(var r=0;r<e.length;r++){var n=e[r];(n=(0,w.default)(n)).player=void 0,t.tracks[r]=n}return t},M.prototype.createModal=function(t,e){var r=this;(e=e||{}).content=t||"";var n=new C.default(this,e);return this.addChild(n),n.on("dispose",function(){r.removeChild(n)}),n.open()},M.getTagSettings=function(t){var e={sources:[],tracks:[]},r=f.getElAttributes(t),n=r["data-setup"];if(f.hasElClass(t,"vjs-fluid")&&(r.fluid=!0),null!==n){var o=(0,m.default)(n||"{}"),i=o[0],s=o[1];i&&h.default.error(i),(0,T.assign)(r,s)}if((0,T.assign)(e,r),t.hasChildNodes())for(var a=t.childNodes,l=0,u=a.length;l<u;l++){var c=a[l],p=c.nodeName.toLowerCase();"source"===p?e.sources.push(f.getElAttributes(c)):"track"===p&&e.tracks.push(f.getElAttributes(c))}return e},M.prototype.flexNotSupported_=function(){var t=i.default.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},M);function M(t,e,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,M),t.id=t.id||"vjs_video_"+c.newGUID(),(e=(0,T.assign)(M.getTagSettings(t),e)).initChildren=!1,e.createEl=!1,e.reportTouchActivity=!1,!e.language)if("function"==typeof t.closest){var n=t.closest("[lang]");n&&(e.language=n.getAttribute("lang"))}else for(var o=t;o&&1===o.nodeType;){if(f.getElAttributes(o).hasOwnProperty("lang")){e.language=o.getAttribute("lang");break}o=o.parentNode}var i,s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,j.call(this,null,e,r));if(!s.options_||!s.options_.techOrder||!s.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");s.tag=t,s.tagAttributes=t&&f.getElAttributes(t),s.language(s.options_.language),e.languages?(i={},Object.getOwnPropertyNames(e.languages).forEach(function(t){i[t.toLowerCase()]=e.languages[t]}),s.languages_=i):s.languages_=M.prototype.options_.languages,s.cache_={},s.poster_=e.poster||"",s.controls_=!!e.controls,t.controls=!1,s.scrubbing_=!1,s.el_=s.createEl();var a,l=(0,w.default)(s.options_);return e.plugins&&(a=e.plugins,Object.getOwnPropertyNames(a).forEach(function(t){"function"==typeof this[t]?this[t](a[t]):h.default.error("Unable to find plugin:",t)},s)),s.options_.playerOptions=l,s.initChildren(),s.isAudio("audio"===t.nodeName.toLowerCase()),s.controls()?s.addClass("vjs-controls-enabled"):s.addClass("vjs-controls-disabled"),s.el_.setAttribute("role","region"),s.isAudio()?s.el_.setAttribute("aria-label","audio player"):s.el_.setAttribute("aria-label","video player"),s.isAudio()&&s.addClass("vjs-audio"),s.flexNotSupported_()&&s.addClass("vjs-no-flex"),p.IS_IOS||s.addClass("vjs-workinghover"),(M.players[s.id_]=s).userActive(!0),s.reportUserActivity(),s.listenForUserActivity_(),s.on("fullscreenchange",s.handleFullscreenChange_),s.on("stageclick",s.handleStageClick_),s}P.players={};var A=u.default.navigator;P.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:A&&(A.languages&&A.languages[0]||A.userLanguage||A.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(t){P.prototype[t]=function(){return this.techGet_(t)}}),x.forEach(function(t){P.prototype["handleTech"+(0,d.default)(t)+"_"]=function(){return this.trigger(t)}}),s.default.registerComponent("Player",P),r.default=P},{1:1,4:4,41:41,44:44,45:45,46:46,5:5,50:50,55:55,59:59,60:60,61:61,62:62,63:63,68:68,69:69,71:71,76:76,78:78,79:79,8:8,81:81,82:82,83:83,85:85,86:86,87:87,88:88,89:89,90:90,91:91,94:94,95:95,97:97}],52:[function(t,e,r){"use strict";r.__esModule=!0;var n,o=t(51),i=(n=o)&&n.__esModule?n:{default:n};r.default=function(t,e){i.default.prototype[t]=e}},{51:51}],53:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var o,i=n(t(3)),s=n(t(5)),a=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o=i.default),l.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&&1<this.items.length&&this.show()},l.prototype.createPopup=function(){},l.prototype.createEl=function(){return o.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},l.prototype.buildCSSClass=function(){var t="vjs-menu-button";return"vjs-menu-button "+(t+=!0===this.options_.inline?"-inline":"-popup")+" "+o.prototype.buildCSSClass.call(this)},l);function l(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,t,e));return r.update(),r}s.default.registerComponent("PopupButton",a),r.default=a},{3:3,5:5}],54:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}r.__esModule=!0;var o,i,s=t(5),a=(i=s)&&i.__esModule?i:{default:i},l=n(t(81)),u=n(t(83)),c=n(t(82)),p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,o=a.default),f.prototype.addItem=function(t){this.addChild(t),t.on("click",u.bind(this,function(){this.unlockShowing()}))},f.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=l.createEl(t,{className:"vjs-menu-content"});var e=o.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return e.appendChild(this.contentEl_),c.on(e,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),e},f);function f(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.apply(this,arguments))}a.default.registerComponent("Popup",p),r.default=p},{5:5,81:81,82:82,83:83}],55:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i,s=o(t(3)),a=o(t(5)),l=n(t(83)),u=n(t(81)),c=n(t(78)),p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,i=s.default),f.prototype.dispose=function(){this.player().off("posterchange",this.update),i.prototype.dispose.call(this)},f.prototype.createEl=function(){var t=u.createEl("div",{className:"vjs-poster",tabIndex:-1});return c.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=u.createEl("img"),t.appendChild(this.fallbackImg_)),t},f.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},f.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},f.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},f);function f(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,i.call(this,t,e));return r.update(),t.on("posterchange",l.bind(r,r.update)),r}a.default.registerComponent("PosterImage",p),r.default=p},{3:3,5:5,78:78,81:81,83:83}],56:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function c(t,e){e&&(d=e),s.default.setTimeout(a,t)}r.__esModule=!0,r.hasLoaded=r.autoSetupTimeout=r.autoSetup=void 0;var p=o(t(81)),i=o(t(82)),f=n(t(94)),s=n(t(95)),h=!1,d=void 0,a=function(){if(p.isReal()){var t=f.default.getElementsByTagName("video"),e=f.default.getElementsByTagName("audio"),r=[];if(t&&0<t.length)for(var n=0,o=t.length;n<o;n++)r.push(t[n]);if(e&&0<e.length)for(var i=0,s=e.length;i<s;i++)r.push(e[i]);if(r&&0<r.length)for(var a=0,l=r.length;a<l;a++){var u=r[a];if(!u||!u.getAttribute){c(1);break}if(void 0===u.player)null!==u.getAttribute("data-setup")&&d(u)}else h||c(1)}};p.isReal()&&"complete"===f.default.readyState?h=!0:i.one(s.default,"load",function(){h=!0});r.autoSetup=a,r.autoSetupTimeout=c,r.hasLoaded=function(){return h}},{81:81,82:82,94:94,95:95}],57:[function(t,e,r){"use strict";r.__esModule=!0;var n,o,i=t(5),s=(o=i)&&o.__esModule?o:{default:o},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),l=t(88),u=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,n=s.default),c.prototype.createEl=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return e.className=e.className+" vjs-slider",e=(0,l.assign)({tabIndex:0},e),r=(0,l.assign)({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),n.prototype.createEl.call(this,t,e,r)},c.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;t.preventDefault(),a.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)},c.prototype.handleMouseMove=function(t){},c.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;a.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()},c.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 r=(100*t).toFixed(2)+"%";this.vertical()?e.el().style.height=r:e.el().style.width=r}}},c.prototype.calculateDistance=function(t){var e=a.getPointerPosition(this.el_,t);return this.vertical()?e.y:e.x},c.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},c.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},c.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},c.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},c.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)},c);function c(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.call(this,t,e));return r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.on("mousedown",r.handleMouseDown),r.on("touchstart",r.handleMouseDown),r.on("focus",r.handleFocus),r.on("blur",r.handleBlur),r.on("click",r.handleClick),r.on(t,"controlsvisible",r.update),r.on(t,r.playerEvent,r.update),r}s.default.registerComponent("Slider",u),r.default=u},{5:5,81:81,88:88}],58:[function(t,e,r){"use strict";r.__esModule=!0,r.default=function(o){return o.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},o.streamFromParts=function(t,e){return t+"&"+e},o.streamToParts=function(t){var e={connection:"",stream:""};if(!t)return e;var r=t.search(/&(?!\w+=)/),n=void 0;return-1!==r?n=r+1:0===(r=n=t.lastIndexOf("/")+1)&&(r=n=t.length),e.connection=t.substring(0,r),e.stream=t.substring(n,t.length),e},o.isStreamingType=function(t){return t in o.streamingFormats},o.RTMP_RE=/^rtmp[set]?:\/\//i,o.isStreamingSrc=function(t){return o.RTMP_RE.test(t)},o.rtmpSourceHandler={},o.rtmpSourceHandler.canPlayType=function(t){return o.isStreamingType(t)?"maybe":""},o.rtmpSourceHandler.canHandleSource=function(t,e){var r=o.rtmpSourceHandler.canPlayType(t.type);return r||(o.isStreamingSrc(t.src)?"maybe":"")},o.rtmpSourceHandler.handleSource=function(t,e,r){var n=o.streamToParts(t.src);e.setRtmpConnection(n.connection),e.setRtmpStream(n.stream)},o.registerSourceHandler(o.rtmpSourceHandler),o}},{}],59:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(e){var t=e.charAt(0).toUpperCase()+e.slice(1);_["set"+t]=function(t){return this.el_.vjs_setProperty(e,t)}}function s(t){_[t]=function(){return this.el_.vjs_getProperty(t)}}r.__esModule=!0;for(var a=o(t(62)),l=n(t(81)),u=n(t(92)),c=t(90),p=o(t(58)),f=o(t(5)),h=o(t(95)),d=t(88),y=h.default.navigator,v=function(n){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.call(this,t,e));return t.source&&r.ready(function(){this.setSource(t.source)},!0),t.startTime&&r.ready(function(){this.load(),this.play(),this.currentTime(t.startTime)},!0),h.default.videojs=h.default.videojs||{},h.default.videojs.Flash=h.default.videojs.Flash||{},h.default.videojs.Flash.onReady=i.onReady,h.default.videojs.Flash.onEvent=i.onEvent,h.default.videojs.Flash.onError=i.onError,r.on("seeked",function(){this.lastSeekTarget_=void 0}),r}return 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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,n),i.prototype.createEl=function(){var t=this.options_;if(!t.swf){t.swf="//vjs.zencdn.net/swf/5.1.0/video-js.swf"}var e=t.techId,r=(0,d.assign)({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),n=(0,d.assign)({wmode:"opaque",bgcolor:"#000000"},t.params),o=(0,d.assign)({id:e,name:e,class:"vjs-tech"},t.attributes);return this.el_=i.embed(t.swf,r,n,o),(this.el_.tech=this).el_},i.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},i.prototype.pause=function(){this.el_.vjs_pause()},i.prototype.src=function(t){return void 0===t?this.currentSrc():this.setSrc(t)},i.prototype.setSrc=function(t){var e=this;t=u.getAbsoluteURL(t),this.el_.vjs_src(t),this.autoplay()&&this.setTimeout(function(){return e.play()},0)},i.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},i.prototype.setCurrentTime=function(t){var e=this.seekable();e.length&&(t=(t=t>e.start(0)?t:e.start(0))<e.end(e.length-1)?t:e.end(e.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),n.prototype.setCurrentTime.call(this))},i.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},i.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},i.prototype.duration=function(){if(0===this.readyState())return NaN;var t=this.el_.vjs_getProperty("duration");return 0<=t?t:1/0},i.prototype.load=function(){this.el_.vjs_load()},i.prototype.poster=function(){this.el_.vjs_getProperty("poster")},i.prototype.setPoster=function(){},i.prototype.seekable=function(){var t=this.duration();return 0===t?(0,c.createTimeRange)():(0,c.createTimeRange)(0,t)},i.prototype.buffered=function(){var t=this.el_.vjs_getProperty("buffered");return 0===t.length?(0,c.createTimeRange)():(0,c.createTimeRange)(t[0][0],t[0][1])},i.prototype.supportsFullScreen=function(){return!1},i.prototype.enterFullScreen=function(){return!1},i}(a.default),_=v.prototype,g="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),b="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),m=0;m<g.length;m++)s(g[m]),i(g[m]);for(var T=0;T<b.length;T++)s(b[T]);v.isSupported=function(){return 10<=v.version()[0]},a.default.withSourceHandlers(v),v.nativeSourceHandler={},v.nativeSourceHandler.canPlayType=function(t){return t in v.formats?"maybe":""},v.nativeSourceHandler.canHandleSource=function(t,e){var r,n,o;return r=t.type?t.type.replace(/;.*/,"").toLowerCase():(n=t.src,(o=u.getFileExtension(n))?"video/"+o:""),v.nativeSourceHandler.canPlayType(r)},v.nativeSourceHandler.handleSource=function(t,e,r){e.setSrc(t.src)},v.nativeSourceHandler.dispose=function(){},v.registerSourceHandler(v.nativeSourceHandler),v.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},v.onReady=function(t){var e=l.getEl(t),r=e&&e.tech;r&&r.el()&&v.checkReady(r)},v.checkReady=function(t){t.el()&&(t.el().vjs_getProperty?t.triggerReady():this.setTimeout(function(){v.checkReady(t)},50))},v.onEvent=function(t,e){var r=l.getEl(t).tech,n=Array.prototype.slice.call(arguments,2);r.setTimeout(function(){r.trigger(e,n)},1)},v.onError=function(t,e){var r=l.getEl(t).tech;return"srcnotfound"===e?r.error(4):void r.error("FLASH: "+e)},v.version=function(){var e="0,0,0";try{e=new h.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{y.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(y.plugins["Shockwave Flash 2.0"]||y.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(t){}}return e.split(",")},v.embed=function(t,e,r,n){var o=v.getEmbedCode(t,e,r,n);return l.createEl("div",{innerHTML:o}).childNodes[0]},v.getEmbedCode=function(t,e,r,n){var o="",i="",s="";return e&&Object.getOwnPropertyNames(e).forEach(function(t){o+=t+"="+e[t]+"&amp;"}),r=(0,d.assign)({movie:t,flashvars:o,allowScriptAccess:"always",allowNetworking:"all"},r),Object.getOwnPropertyNames(r).forEach(function(t){i+='<param name="'+t+'" value="'+r[t]+'" />'}),n=(0,d.assign)({data:t,width:"100%",height:"100%"},n),Object.getOwnPropertyNames(n).forEach(function(t){s+=t+'="'+n[t]+'" '}),'<object type="application/x-shockwave-flash" '+s+">"+i+"</object>"},(0,p.default)(v),f.default.registerComponent("Flash",v),a.default.registerTech("Flash",v),r.default=v},{5:5,58:58,62:62,81:81,88:88,90:90,92:92,95:95}],60:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var c,i,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p=((i=["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]).raw=["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],i),a=o(t(62)),l=o(t(5)),u=n(t(81)),f=n(t(92)),h=n(t(83)),d=o(t(86)),y=o(t(98)),v=n(t(78)),_=o(t(94)),g=o(t(95)),b=t(88),m=o(t(87)),T=o(t(91)),w=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(E,c=a.default),E.prototype.dispose=function(){var n=this;["audio","video","text"].forEach(function(t){var e=(0,T.default)(t),r=n.el_[t+"Tracks"];r&&r.removeEventListener&&(r.removeEventListener("change",n["handle"+e+"TrackChange_"]),r.removeEventListener("addtrack",n["handle"+e+"TrackAdd_"]),r.removeEventListener("removetrack",n["handle"+e+"TrackRemove_"])),r&&n.off("loadstart",n["removeOld"+e+"Tracks_"])}),E.disposeMediaElement(this.el_),c.prototype.dispose.call(this)},E.prototype.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var e=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(e,t),E.disposeMediaElement(t),t=e}else{t=_.default.createElement("video");var r=this.options_.tag&&u.getElAttributes(this.options_.tag),n=(0,m.default)({},r);v.TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete n.controls,u.setElAttributes(t,(0,b.assign)(n,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}for(var o=["autoplay","preload","loop","muted"],i=o.length-1;0<=i;i--){var s=o[i],a={};void 0!==this.options_[s]&&(a[s]=this.options_[s]),u.setElAttributes(t,a)}return t},E.prototype.handleLateInit_=function(t){var n=this;if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=function(){function t(){e=!0}var e=!1;function r(){e||this.trigger("loadstart")}return n.on("loadstart",t),n.on("loadedmetadata",r),n.ready(function(){this.off("loadstart",t),this.off("loadedmetadata",r),e||this.trigger("loadstart")}),{v:void 0}}();if("object"===(void 0===e?"undefined":s(e)))return e.v}var r=["loadstart"];r.push("loadedmetadata"),2<=t.readyState&&r.push("loadeddata"),3<=t.readyState&&r.push("canplay"),4<=t.readyState&&r.push("canplaythrough"),this.ready(function(){r.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.removeOldTracks_=function(t,e){var r=[];if(e){for(var n=0;n<t.length;n++){for(var o=t[n],i=!1,s=0;s<e.length;s++)if(e[s]===o){i=!0;break}i||r.push(o)}for(var a=0;a<r.length;a++){var l=r[a];t.removeTrack_(l)}}},E.prototype.removeOldTextTracks_=function(t){var e=this.textTracks(),r=this.el().textTracks;this.removeOldTracks_(e,r)},E.prototype.play=function(){var t=this.el_.play();void 0!==t&&"function"==typeof t.then&&t.then(null,function(t){})},E.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){(0,d.default)(t,"Video is not ready. (Video.js)")}},E.prototype.duration=function(){var e=this;if(this.el_.duration===1/0&&v.IS_ANDROID&&v.IS_CHROME&&0===this.el_.currentTime){var t=(e.on("timeupdate",function t(){0<e.el_.currentTime&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))}),{v:NaN});if("object"===s(t))return t.v}return this.el_.duration||NaN},E.prototype.width=function(){return this.el_.offsetWidth},E.prototype.height=function(){return this.el_.offsetHeight},E.prototype.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},r=function(){this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",r),this.on("dispose",function(){t.off("webkitbeginfullscreen",r),t.off("webkitendfullscreen",e)})}},E.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=g.default.navigator&&g.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_;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.reset=function(){E.resetMediaElement(this.el_)},E.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},E.prototype.setControls=function(t){this.el_.controls=!!t},E.prototype.addTextTrack=function(t,e,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,e,r):c.prototype.addTextTrack.call(this,t,e,r)},E.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return c.prototype.createRemoteTextTrack.call(this,t);var e=_.default.createElement("track");return t.kind&&(e.kind=t.kind),t.label&&(e.label=t.label),(t.language||t.srclang)&&(e.srclang=t.language||t.srclang),t.default&&(e.default=t.default),t.id&&(e.id=t.id),t.src&&(e.src=t.src),e},E.prototype.addRemoteTextTrack=function(t,e){var r=c.prototype.addRemoteTextTrack.call(this,t,e);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},E.prototype.removeRemoteTextTrack=function(t){if(c.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var e=this.$$("track"),r=e.length;r--;)t!==e[r]&&t!==e[r].track||this.el().removeChild(e[r])},E);function E(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,E);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,c.call(this,t,e)),r=t.source,n=!1;if(r&&(o.el_.currentSrc!==r.src||t.tag&&3===t.tag.initNetworkState_)?o.setSource(r):o.handleLateInit_(o.el_),o.el_.hasChildNodes()){for(var i=o.el_.childNodes,s=i.length,a=[];s--;){var l=i[s];"track"===l.nodeName.toLowerCase()&&(o.featuresNativeTextTracks?(o.remoteTextTrackEls().addTrackElement_(l),o.remoteTextTracks().addTrack_(l.track),n||o.el_.hasAttribute("crossorigin")||!f.isCrossOrigin(l.src)||(n=!0)):a.push(l))}for(var u=0;u<a.length;u++)o.el_.removeChild(a[u])}return["audio","video"].forEach(function(t){var e=o.el()[t+"Tracks"],r=o[t+"Tracks"](),n=(0,T.default)(t);o["featuresNative"+n+"Tracks"]&&e&&e.addEventListener&&(o["handle"+n+"TrackChange_"]=function(t){r.trigger({type:"change",target:r,currentTarget:r,srcElement:r})},o["handle"+n+"TrackAdd_"]=function(t){return r.addTrack(t.track)},o["handle"+n+"TrackRemove_"]=function(t){return r.removeTrack(t.track)},e.addEventListener("change",o["handle"+n+"TrackChange_"]),e.addEventListener("addtrack",o["handle"+n+"TrackAdd_"]),e.addEventListener("removetrack",o["handle"+n+"TrackRemove_"]),o["removeOld"+n+"Tracks_"]=function(t){return o.removeOldTracks_(r,e)},o.on("loadstart",o["removeOld"+n+"Tracks_"]))}),o.featuresNativeTextTracks&&(n&&d.default.warn((0,y.default)(p)),o.handleTextTrackChange_=h.bind(o,o.handleTextTrackChange),o.handleTextTrackAdd_=h.bind(o,o.handleTextTrackAdd),o.handleTextTrackRemove_=h.bind(o,o.handleTextTrackRemove),o.proxyNativeTextTracks_()),(v.TOUCH_ENABLED||v.IS_IPHONE||v.IS_NATIVE_ANDROID)&&!0===t.nativeControlsForTouch&&o.setControls(!0),o.proxyWebkitFullscreen_(),o.triggerReady(),o}if(u.isReal()){w.TEST_VID=_.default.createElement("video");var C=_.default.createElement("track");C.kind="captions",C.srclang="en",C.label="English",w.TEST_VID.appendChild(C)}w.isSupported=function(){try{w.TEST_VID.volume=.5}catch(t){return!1}return!(!w.TEST_VID||!w.TEST_VID.canPlayType)},w.canControlVolume=function(){try{var t=w.TEST_VID.volume;return w.TEST_VID.volume=t/2+.1,t!==w.TEST_VID.volume}catch(t){return!1}},w.canControlPlaybackRate=function(){if(v.IS_ANDROID&&v.IS_CHROME)return!1;try{var t=w.TEST_VID.playbackRate;return w.TEST_VID.playbackRate=t/2+.1,t!==w.TEST_VID.playbackRate}catch(t){return!1}},w.supportsNativeTextTracks=function(){return v.IS_ANY_SAFARI},w.supportsNativeVideoTracks=function(){return!(!w.TEST_VID||!w.TEST_VID.videoTracks)},w.supportsNativeAudioTracks=function(){return!(!w.TEST_VID||!w.TEST_VID.audioTracks)},w.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],w.prototype.featuresVolumeControl=w.canControlVolume(),w.prototype.featuresPlaybackRate=w.canControlPlaybackRate(),w.prototype.movingMediaElementInDOM=!v.IS_IOS,w.prototype.featuresFullscreenResize=!0,w.prototype.featuresProgressEvents=!0,w.prototype.featuresTimeupdateEvents=!0,w.prototype.featuresNativeTextTracks=w.supportsNativeTextTracks(),w.prototype.featuresNativeVideoTracks=w.supportsNativeVideoTracks(),w.prototype.featuresNativeAudioTracks=w.supportsNativeAudioTracks();var k=w.TEST_VID&&w.TEST_VID.constructor.prototype.canPlayType,O=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,S=/^video\/mp4/i;w.patchCanPlayType=function(){4<=v.ANDROID_VERSION&&!v.IS_FIREFOX?w.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&O.test(t)?"maybe":k.call(this,t)}:v.IS_OLD_ANDROID&&(w.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&S.test(t)?"maybe":k.call(this,t)})},w.unpatchCanPlayType=function(){var t=w.TEST_VID.constructor.prototype.canPlayType;return w.TEST_VID.constructor.prototype.canPlayType=k,t},w.patchCanPlayType(),w.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){}}()}},w.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),r=e.length;r--;)t.removeChild(e[r]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(t){w.prototype[t]=function(){return this.el_[t]}}),["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(e){w.prototype["set"+(0,T.default)(e)]=function(t){this.el_[e]=t}}),["pause","load"].forEach(function(t){w.prototype[t]=function(){return this.el_[t]()}}),a.default.withSourceHandlers(w),w.nativeSourceHandler={},w.nativeSourceHandler.canPlayType=function(t){try{return w.TEST_VID.canPlayType(t)}catch(t){return""}},w.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return w.nativeSourceHandler.canPlayType(t.type);if(t.src){var r=f.getFileExtension(t.src);return w.nativeSourceHandler.canPlayType("video/"+r)}return""},w.nativeSourceHandler.handleSource=function(t,e,r){e.setSrc(t.src)},w.nativeSourceHandler.dispose=function(){},w.registerSourceHandler(w.nativeSourceHandler),l.default.registerComponent("Html5",w),a.default.registerTech("Html5",w),r.default=w},{5:5,62:62,78:78,81:81,83:83,86:86,87:87,88:88,91:91,92:92,94:94,95:95,98:98}],61:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var l,u=n(t(5)),c=n(t(62)),p=n(t(91)),o=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,l=u.default),f);function f(t,e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,l.call(this,t,e,r));if(e.playerOptions.sources&&0!==e.playerOptions.sources.length)t.src(e.playerOptions.sources);else for(var o=0,i=e.playerOptions.techOrder;o<i.length;o++){var s=(0,p.default)(i[o]),a=c.default.getTech(s);if(s||(a=u.default.getComponent(s)),a&&a.isSupported()){t.loadTech_(s);break}}return n}u.default.registerComponent("MediaLoader",o),r.default=o},{5:5,62:62,91:91}],62:[function(n,t,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=r(n(5)),a=r(n(66)),l=r(n(65)),u=r(n(87)),c=r(n(72)),p=r(n(70)),f=r(n(76)),h=r(n(63)),d=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(n(83)),y=r(n(86)),v=n(90),_=n(79),g=r(n(46)),b=r(n(95)),m=r(n(94)),T=n(88),w=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(E,o=s.default),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(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(d.bind(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),1===(this.bufferedPercent_=t)&&this.stopTrackingProgress()}),500)},E.prototype.onDurationChange=function(t){this.duration_=this.duration()},E.prototype.buffered=function(){return(0,v.createTimeRange)(0,0)},E.prototype.bufferedPercent=function(){return(0,_.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(),o.prototype.dispose.call(this)},E.prototype.clearTracks=function(t){var o=this;(t=[].concat(t)).forEach(function(t){for(var e=o[t+"Tracks"]()||[],r=e.length;r--;){var n=e[r];"text"===t&&o.removeRemoteTextTrack(n),e.removeTrack_(n)}})},E.prototype.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var r=t[e];this.removeRemoteTextTrack(r)}},E.prototype.reset=function(){},E.prototype.error=function(t){return void 0!==t&&(this.error_=new g.default(t),this.trigger("error")),this.error_},E.prototype.played=function(){return this.hasStarted_?(0,v.createTimeRange)(0,0):(0,v.createTimeRange)()},E.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},E.prototype.initTextTrackListeners=function(){var t=d.bind(this,function(){this.trigger("texttrackchange")}),e=this.textTracks();e&&(e.addEventListener("removetrack",t),e.addEventListener("addtrack",t),this.on("dispose",d.bind(this,function(){e.removeEventListener("removetrack",t),e.removeEventListener("addtrack",t)})))},E.prototype.initTrackListeners=function(){var n=this;["video","audio"].forEach(function(t){function e(){n.trigger(t+"trackchange")}var r=n[t+"Tracks"]();r.addEventListener("removetrack",e),r.addEventListener("addtrack",e),n.on("dispose",function(){r.removeEventListener("removetrack",e),r.removeEventListener("addtrack",e)})})},E.prototype.addWebVttScript_=function(){var r=this;if(!b.default.WebVTT&&null!==this.el().parentNode&&void 0!==this.el().parentNode){var t=function(){var e=n(99);if(!r.options_["vtt.js"]&&(0,T.isPlain)(e)&&0<Object.keys(e).length)return Object.keys(e).forEach(function(t){b.default[t]=e[t]}),r.trigger("vttjsloaded"),{v:void 0};var t=m.default.createElement("script");t.src=r.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",t.onload=function(){r.trigger("vttjsloaded")},t.onerror=function(){r.trigger("vttjserror")},r.on("dispose",function(){t.onload=null,t.onerror=null}),b.default.WebVTT=!0,r.el().parentNode.appendChild(t)}();if("object"===(void 0===t?"undefined":i(t)))return t.v}},E.prototype.emulateTextTracks=function(){var e=this,r=this.textTracks();if(r){this.remoteTextTracks().on("addtrack",function(t){e.textTracks().addTrack_(t.track)}),this.remoteTextTracks().on("removetrack",function(t){e.textTracks().removeTrack_(t.track)}),this.on("ready",this.addWebVttScript_);var n=function(){return e.trigger("texttrackchange")},t=function(){n();for(var t=0;t<r.length;t++){var e=r[t];e.removeEventListener("cuechange",n),"showing"===e.mode&&e.addEventListener("cuechange",n)}};t(),r.addEventListener("change",t),this.on("dispose",function(){r.removeEventListener("change",t)})}},E.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new f.default,this.videoTracks_},E.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new h.default,this.audioTracks_},E.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new p.default,this.textTracks_},E.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new p.default,this.remoteTextTracks_},E.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new l.default,this.remoteTextTrackEls_},E.prototype.addTextTrack=function(t,e,r){if(!t)throw new Error("TextTrack kind is required but was not provided");return function(t,e,r,n,o){var i=4<arguments.length&&void 0!==o?o:{},s=t.textTracks();i.kind=e,r&&(i.label=r),n&&(i.language=n),i.tech=t;var a=new c.default(i);return s.addTrack_(a),a}(this,t,e,r)},E.prototype.createRemoteTextTrack=function(t){var e=(0,u.default)(t,{tech:this});return new a.default(e)},E.prototype.addRemoteTextTrack=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],r=this.createRemoteTextTrack(t);return!0!==e&&!1!==e&&(y.default.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),e=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack_(r.track),!0!==e&&this.autoRemoteTextTracks_.addTrack_(r.track),r},E.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack_(t),this.autoRemoteTextTracks_.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,e){if(E.techs_||(E.techs_={}),!E.isTech(e))throw new Error("Tech "+t+" must be a Tech");return E.techs_[t]=e},E.getTech=function(t){return E.techs_&&E.techs_[t]?E.techs_[t]:b.default&&b.default.videojs&&b.default.videojs[t]?(y.default.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),b.default.videojs[t]):void 0},E);function E(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,E),e.reportTouchActivity=!1;var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,null,e,t));return r.hasStarted_=!1,r.on("playing",function(){this.hasStarted_=!0}),r.on("loadstart",function(){this.hasStarted_=!1}),r.textTracks_=e.textTracks,r.videoTracks_=e.videoTracks,r.audioTracks_=e.audioTracks,r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){!1===e["native"+t+"Tracks"]&&(r["featuresNative"+t+"Tracks"]=!1)}),!1===e.nativeCaptions&&(r.featuresNativeTextTracks=!1),r.featuresNativeTextTracks||r.emulateTextTracks(),r.autoRemoteTextTracks_=new p.default,r.initTextTrackListeners(),r.initTrackListeners(),e.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}w.prototype.textTracks_,w.prototype.audioTracks_,w.prototype.videoTracks_,w.prototype.featuresVolumeControl=!0,w.prototype.featuresFullscreenResize=!1,w.prototype.featuresPlaybackRate=!1,w.prototype.featuresProgressEvents=!1,w.prototype.featuresTimeupdateEvents=!1,w.prototype.featuresNativeTextTracks=!1,w.withSourceHandlers=function(o){o.registerSourceHandler=function(t,e){var r=o.sourceHandlers;r=r||(o.sourceHandlers=[]),void 0===e&&(e=r.length),r.splice(e,0,t)},o.canPlayType=function(t){for(var e=o.sourceHandlers||[],r=void 0,n=0;n<e.length;n++)if(r=e[n].canPlayType(t))return r;return""},o.selectSourceHandler=function(t,e){for(var r=o.sourceHandlers||[],n=0;n<r.length;n++)if(r[n].canHandleSource(t,e))return r[n];return null},o.canPlaySource=function(t,e){var r=o.selectSourceHandler(t,e);return r?r.canHandleSource(t,e):""};["seekable","duration"].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)})},o.prototype),o.prototype.setSource=function(t){var e=o.selectSourceHandler(t,this.options_);return e||(o.nativeSourceHandler?e=o.nativeSourceHandler:y.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),e!==o.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",o.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",o.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",o.prototype.firstLoadStartListener_)),this.sourceHandler_=e.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},o.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",o.prototype.successiveLoadStartListener_)},o.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler(),this.one(this.el_,"loadstart",o.prototype.successiveLoadStartListener_)},o.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.off(this.el_,"loadstart",o.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",o.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},s.default.registerComponent("Tech",w),s.default.registerComponent("MediaTechController",w),w.registerTech("Tech",w),e.default=w},{46:46,5:5,63:63,65:65,66:66,70:70,72:72,76:76,79:79,83:83,86:86,87:87,88:88,90:90,94:94,95:95,99:99}],63:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;function a(t,e){for(var r=0;r<t.length;r++)e.id!==t[r].id&&(t[r].enabled=!1)}var l,u=n(t(74)),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),p=n(t(94)),o=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,l=u.default),f.prototype.addTrack_=function(t){var e=this;t.enabled&&a(this,t),l.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){e.changing_||(e.changing_=!0,a(e,t),e.changing_=!1,e.trigger("change"))})},f.prototype.addTrack=function(t){this.addTrack_(t)},f.prototype.removeTrack=function(t){l.prototype.removeTrack_.call(this,t)},f);function f(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);for(var r=void 0,n=e.length-1;0<=n;n--)if(e[n].enabled){a(e,e[n]);break}if(c.IS_IE8){for(var o in r=p.default.createElement("custom"),u.default.prototype)"constructor"!==o&&(r[o]=u.default.prototype[o]);for(var i in f.prototype)"constructor"!==i&&(r[i]=f.prototype[i])}return(r=t=s(this,l.call(this,e,r))).changing_=!1,s(t,r)}r.default=o},{74:74,78:78,94:94}],64:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var a,l=t(73),o=n(t(75)),u=n(t(87)),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),i=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(p,a=o.default),p);function p(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p);var r=(0,u.default)(e,{kind:l.AudioTrackKind[e.kind]||""}),n=t=s(this,a.call(this,r)),o=!1;if(c.IS_IE8)for(var i in p.prototype)"constructor"!==i&&(n[i]=p.prototype[i]);return Object.defineProperty(n,"enabled",{get:function(){return o},set:function(t){"boolean"==typeof t&&t!==o&&(o=t,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,s(t,n)}r.default=i},{73:73,75:75,78:78,87:87}],65:[function(t,e,r){"use strict";r.__esModule=!0;var n,i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),o=t(94),s=(n=o)&&n.__esModule?n:{default:n},a=(l.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},l.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,r=0,n=this.trackElements_.length;r<n;r++)if(t===this.trackElements_[r].track){e=this.trackElements_[r];break}return e},l.prototype.removeTrackElement_=function(t){for(var e=0,r=this.trackElements_.length;e<r;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},l);function l(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var e=this;if(i.IS_IE8)for(var r in e=s.default.createElement("custom"),l.prototype)"constructor"!==r&&(e[r]=l.prototype[r]);e.trackElements_=[],Object.defineProperty(e,"length",{get:function(){return this.trackElements_.length}});for(var n=0,o=t.length;n<o;n++)e.addTrackElement_(t[n]);if(i.IS_IE8)return e}r.default=a},{78:78,94:94}],66:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var a,l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),u=n(t(94)),o=n(t(42)),c=n(t(72)),i=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(p,a=o.default),p);function p(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p);var e=s(this,a.call(this)),r=void 0,n=e;if(l.IS_IE8)for(var o in n=u.default.createElement("custom"),p.prototype)"constructor"!==o&&(n[o]=p.prototype[o]);var i=new c.default(t);return n.kind=i.kind,n.src=i.src,n.srclang=i.language,n.label=i.label,n.default=i.default,Object.defineProperty(n,"readyState",{get:function(){return r}}),Object.defineProperty(n,"track",{get:function(){return i}}),r=0,i.addEventListener("loadeddata",function(){r=2,n.trigger({type:"load",target:n})}),l.IS_IE8?s(e,n):e}i.prototype.allowedEvents_={load:"load"},i.NONE=0,i.LOADING=1,i.LOADED=2,i.ERROR=3,r.default=i},{42:42,72:72,78:78,94:94}],67:[function(t,e,r){"use strict";r.__esModule=!0;var n,o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),i=t(94),s=(n=i)&&n.__esModule?n:{default:n},a=(l.prototype.setCues_=function(t){var e=this.length||0,r=0,n=t.length;function o(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})}if(this.cues_=t,this.length_=t.length,e<n)for(r=e;r<n;r++)o.call(this,r)},l.prototype.getCueById=function(t){for(var e=null,r=0,n=this.length;r<n;r++){var o=this[r];if(o.id===t){e=o;break}}return e},l);function l(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var e=this;if(o.IS_IE8)for(var r in e=s.default.createElement("custom"),l.prototype)"constructor"!==r&&(e[r]=l.prototype[r]);if(l.prototype.setCues_.call(e,t),Object.defineProperty(e,"length",{get:function(){return this.length_}}),o.IS_IE8)return e}r.default=a},{78:78,94:94}],68:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function l(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function u(t,e,r){try{t.style[e]=r}catch(t){return}}r.__esModule=!0;var o,i=n(t(5)),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(83)),p=n(t(95)),f="#222",h={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'},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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,o=i.default),a.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},a.prototype.createEl=function(){return o.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},a.prototype.clearDisplay=function(){"function"==typeof p.default.WebVTT&&p.default.WebVTT.processCues(p.default,[],this.el_)},a.prototype.updateDisplay=function(){var t=this.player_.textTracks();if(this.clearDisplay(),t){for(var e=null,r=null,n=t.length;n--;){var o=t[n];"showing"===o.mode&&("descriptions"===o.kind?e=o:r=o)}r?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(r)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))}},a.prototype.updateForTrack=function(t){if("function"==typeof p.default.WebVTT&&t.activeCues){for(var e=this.player_.textTrackSettings.getValues(),r=[],n=0;n<t.activeCues.length;n++)r.push(t.activeCues[n]);p.default.WebVTT.processCues(p.default,r,this.el_);for(var o=r.length;o--;){var i=r[o];if(i){var s=i.displayState;if(e.color&&(s.firstChild.style.color=e.color),e.textOpacity&&u(s.firstChild,"color",l(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(s.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&u(s.firstChild,"backgroundColor",l(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?u(s,"backgroundColor",l(e.windowColor,e.windowOpacity)):s.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px "+f:"raised"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px "+f:"depressed"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px "+f:"uniform"===e.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px "+f)),e.fontPercent&&1!==e.fontPercent){var a=p.default.parseFloat(s.style.fontSize);s.style.fontSize=a*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=h[e.fontFamily])}}}},a);function a(l,t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.call(this,l,t,e));return l.on("loadstart",c.bind(r,r.toggleDisplay)),l.on("texttrackchange",c.bind(r,r.updateDisplay)),l.ready(c.bind(r,function(){if(l.tech_&&l.tech_.featuresNativeTextTracks)this.hide();else{l.on("fullscreenchange",c.bind(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);var r={captions:1,subtitles:1},n=this.player_.textTracks(),o=void 0,i=void 0;if(n){for(var s=0;s<n.length;s++){var a=n[s];a.default&&("descriptions"!==a.kind||o?a.kind in r&&!i&&(i=a):o=a)}i?i.mode="showing":o&&(o.mode="showing")}}})),r}i.default.registerComponent("TextTrackDisplay",s),r.default=s},{5:5,83:83,95:95}],69:[function(t,e,r){"use strict";r.__esModule=!0;function n(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,e,r){return n[e]&&(t[e]=n[e]),t},{cues:n.cues&&Array.prototype.map.call(n.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})})}r.default={textTracksToJson:function(t){var e=t.$$("track"),r=Array.prototype.map.call(e,function(t){return t.track});return Array.prototype.map.call(e,function(t){var e=n(t.track);return t.src&&(e.src=t.src),e}).concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===r.indexOf(t)}).map(n))},jsonToTextTracks:function(t,r){return t.forEach(function(t){var e=r.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return e.addCue(t)})}),r.textTracks()},trackToJson_:n}},{}],70:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var s,a=o(t(74)),l=n(t(83)),u=n(t(78)),c=o(t(94)),p=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,s=a.default),f.prototype.addTrack_=function(t){s.prototype.addTrack_.call(this,t),t.addEventListener("modechange",l.bind(this,function(){this.trigger("change")}))},f);function f(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var r=void 0;if(u.IS_IE8){for(var n in r=c.default.createElement("custom"),a.default.prototype)"constructor"!==n&&(r[n]=a.default.prototype[n]);for(var o in f.prototype)"constructor"!==o&&(r[o]=f.prototype[o])}return r=t=i(this,s.call(this,e,r)),i(t,r)}r.default=p},{74:74,78:78,83:83,94:94}],71:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}r.__esModule=!0;var s=o(t(95)),a=o(t(5)),l=t(81),u=n(t(83)),c=n(t(88)),p=o(t(86)),f="vjs-text-track-settings",h=["#000","Black"],d=["#00F","Blue"],y=["#0FF","Cyan"],v=["#0F0","Green"],_=["#F0F","Magenta"],g=["#F00","Red"],b=["#FFF","White"],m=["#FF0","Yellow"],T=["1","Opaque"],w=["0.5","Semi-Transparent"],E=["0","Transparent"],C={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[h,b,g,v,d,m,_,y]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[T,w,E]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[b,h,g,v,d,m,_,y]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[T,w]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[E,w,T]}};C.windowColor.options=C.backgroundColor.options;var k,O=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(S,k=a.default),S.prototype.createElSelect_=function(t){var e=this,r=C[t],n=r.id.replace("%s",this.id_);return[(0,l.createEl)("label",{className:"vjs-label",textContent:r.label},{for:n}),(0,l.createEl)("select",{id:n},void 0,r.options.map(function(t){return(0,l.createEl)("option",{textContent:e.localize(t[1]),value:t[0]})}))]},S.prototype.createElFgColor_=function(){var t=(0,l.createEl)("legend",{textContent:this.localize("Text")}),e=this.createElSelect_("color"),r=(0,l.createEl)("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return(0,l.createEl)("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[t].concat(e,r))},S.prototype.createElBgColor_=function(){var t=(0,l.createEl)("legend",{textContent:this.localize("Background")}),e=this.createElSelect_("backgroundColor"),r=(0,l.createEl)("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return(0,l.createEl)("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[t].concat(e,r))},S.prototype.createElWinColor_=function(){var t=(0,l.createEl)("legend",{textContent:this.localize("Window")}),e=this.createElSelect_("windowColor"),r=(0,l.createEl)("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return(0,l.createEl)("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[t].concat(e,r))},S.prototype.createElColors_=function(){return(0,l.createEl)("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},S.prototype.createElFont_=function(){var t=(0,l.createEl)("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),e=(0,l.createEl)("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),r=(0,l.createEl)("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return(0,l.createEl)("div",{className:"vjs-tracksettings-font"},void 0,[t,e,r])},S.prototype.createElControls_=function(){var t=(0,l.createEl)("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),e=(0,l.createEl)("button",{className:"vjs-done-button",textContent:"Done"});return(0,l.createEl)("div",{className:"vjs-tracksettings-controls"},void 0,[t,e])},S.prototype.createEl=function(){var t=(0,l.createEl)("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),e=(0,l.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),r=(0,l.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),n=(0,l.createEl)("div",void 0,{role:"document"},[e,r,t]);return(0,l.createEl)("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":e.id,"aria-describedby":r.id},n)},S.prototype.getValues=function(){var o=this;return c.reduce(C,function(t,e,r){var n=function(t,e){return i(t.options[t.options.selectedIndex].value,e)}(o.$(e.selector),e.parser);return void 0!==n&&(t[r]=n),t},{})},S.prototype.setValues=function(r){var n=this;c.each(C,function(t,e){!function(t,e,r){if(e)for(var n=0;n<t.options.length;n++)if(i(t.options[n].value,r)===e){t.selectedIndex=n;break}}(n.$(t.selector),r[e],t.parser)})},S.prototype.setDefaults=function(){var r=this;c.each(C,function(t){var e=t.hasOwnProperty("default")?t.default:0;r.$(t.selector).selectedIndex=e})},S.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(s.default.localStorage.getItem(f))}catch(t){p.default.warn(t)}t&&this.setValues(t)},S.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?s.default.localStorage.setItem(f,JSON.stringify(t)):s.default.localStorage.removeItem(f)}catch(t){p.default.warn(t)}}},S.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},S);function S(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,S);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,k.call(this,t,e));return r.setDefaults(),r.hide(),r.updateDisplay=u.bind(r,r.updateDisplay),void 0===e.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",function(){r.saveSettings(),r.hide()}),r.on(r.$(".vjs-default-button"),"click",function(){r.setDefaults(),r.updateDisplay()}),c.each(C,function(t){r.on(r.$(t.selector),"change",r.updateDisplay)}),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}a.default.registerComponent("TextTrackSettings",O),r.default=O},{5:5,81:81,83:83,86:86,88:88,95:95}],72:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;function f(t,e){var r=new g.default.WebVTT.Parser(g.default,g.default.vttjs,g.default.WebVTT.StringDecoder()),n=[];r.oncue=function(t){e.addCue(t)},r.onparsingerror=function(t){n.push(t)},r.onflush=function(){e.trigger({type:"loadeddata",target:e})},r.parse(t),0<n.length&&(g.default.console&&g.default.console.groupCollapsed&&g.default.console.groupCollapsed("Text Track parsing errors for "+e.src),n.forEach(function(t){return _.default.error(t)}),g.default.console&&g.default.console.groupEnd&&g.default.console.groupEnd()),r.flush()}var h,d=o(t(67)),y=n(t(83)),v=t(73),_=o(t(86)),g=o(t(95)),i=o(t(75)),b=t(92),m=o(t(105)),T=o(t(87)),w=n(t(78)),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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(E,h=i.default),E.prototype.addCue=function(t){var e=this.tech_.textTracks();if(e)for(var r=0;r<e.length;r++)e[r]!==this&&e[r].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},E.prototype.removeCue=function(t){for(var e=!1,r=0,n=this.cues_.length;r<n;r++)this.cues_[r]===t&&(this.cues_.splice(r,1),e=!0);e&&this.cues.setCues_(this.cues_)},E);function E(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,E),!e.tech)throw new Error("A tech was not provided.");var r=(0,T.default)(e,{kind:v.TextTrackKind[e.kind]||"subtitles",language:e.language||e.srclang||""}),n=v.TextTrackMode[r.mode]||"disabled",o=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(n="hidden");var i=t=p(this,h.call(this,r));if(i.tech_=r.tech,w.IS_IE8)for(var s in E.prototype)"constructor"!==s&&(i[s]=E.prototype[s]);i.cues_=[],i.activeCues_=[];var a=new d.default(i.cues_),l=new d.default(i.activeCues_),u=!1,c=y.bind(i,function(){this.activeCues,u&&(this.trigger("cuechange"),u=!1)});return"disabled"!==n&&i.tech_.on("timeupdate",c),Object.defineProperty(i,"default",{get:function(){return o},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return n},set:function(t){v.TextTrackMode[t]&&("showing"===(n=t)&&this.tech_.on("timeupdate",c),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?a:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return l;for(var t=this.tech_.currentTime(),e=[],r=0,n=this.cues.length;r<n;r++){var o=this.cues[r];o.startTime<=t&&o.endTime>=t?e.push(o):o.startTime===o.endTime&&o.startTime<=t&&o.startTime+.5>=t&&e.push(o)}if(u=!1,e.length!==this.activeCues_.length)u=!0;else for(var i=0;i<e.length;i++)-1===this.activeCues_.indexOf(e[i])&&(u=!0);return this.activeCues_=e,l.setCues_(this.activeCues_),l},set:function(){}}),r.src?(i.src=r.src,function(t,o){var e={uri:t},r=(0,b.isCrossOrigin)(t);r&&(e.cors=r),(0,m.default)(e,y.bind(this,function(t,e,r){return t?_.default.error(t,e):(o.loaded_=!0,void("function"!=typeof g.default.WebVTT?o.tech_&&(o.tech_.on("vttjsloaded",n),o.tech_.on("vttjserror",function(){_.default.error("vttjs failed to load, stopping trying to process "+o.src),o.tech_.off("vttjsloaded",n)})):f(r,o)));function n(){return f(r,o)}}))}(r.src,i)):i.loaded_=!0,p(t,i)}s.prototype.allowedEvents_={cuechange:"cuechange"},r.default=s},{105:105,67:67,73:73,75:75,78:78,83:83,86:86,87:87,92:92,95:95}],73:[function(t,e,r){"use strict";r.__esModule=!0,r.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},r.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},r.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},r.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},{}],74:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var s,o=n(t(42)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),l=n(t(94)),u=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,s=o.default),c.prototype.addTrack_=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},c.prototype.removeTrack_=function(t){for(var e=void 0,r=0,n=this.length;r<n;r++)if(this[r]===t){(e=this[r]).off&&e.off(),this.tracks_.splice(r,1);break}e&&this.trigger({track:e,type:"removetrack"})},c.prototype.getTrackById=function(t){for(var e=null,r=0,n=this.length;r<n;r++){var o=this[r];if(o.id===t){e=o;break}}return e},c);function c(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var r=i(this,s.call(this));if(!e&&(e=r,a.IS_IE8))for(var n in e=l.default.createElement("custom"),c.prototype)"constructor"!==n&&(e[n]=c.prototype[n]);e.tracks_=[],Object.defineProperty(e,"length",{get:function(){return this.tracks_.length}});for(var o=0;o<t.length;o++)e.addTrack_(t[o]);return i(r,e)}for(var p in u.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},u.prototype.allowedEvents_)u.prototype["on"+p]=null;r.default=u},{42:42,78:78,94:94}],75:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var l,u=o(t(78)),c=n(t(94)),p=o(t(85)),i=n(t(42)),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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,l=i.default),f);function f(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var e=a(this,l.call(this)),r=e;if(u.IS_IE8)for(var n in r=c.default.createElement("custom"),f.prototype)"constructor"!==n&&(r[n]=f.prototype[n]);function o(t){Object.defineProperty(r,t,{get:function(){return i[t]},set:function(){}})}var i={id:t.id||"vjs_track_"+p.newGUID(),kind:t.kind||"",label:t.label||"",language:t.language||""};for(var s in i)o(s);return a(e,r)}r.default=s},{42:42,78:78,85:85,94:94}],76:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;function a(t,e){for(var r=0;r<t.length;r++)e.id!==t[r].id&&(t[r].selected=!1)}var l,u=n(t(74)),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),p=n(t(94)),o=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,l=u.default),f.prototype.addTrack_=function(t){var e=this;t.selected&&a(this,t),l.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){e.changing_||(e.changing_=!0,a(e,t),e.changing_=!1,e.trigger("change"))})},f.prototype.addTrack=function(t){this.addTrack_(t)},f.prototype.removeTrack=function(t){l.prototype.removeTrack_.call(this,t)},f);function f(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);for(var r=void 0,n=e.length-1;0<=n;n--)if(e[n].selected){a(e,e[n]);break}if(c.IS_IE8){for(var o in r=p.default.createElement("custom"),u.default.prototype)"constructor"!==o&&(r[o]=u.default.prototype[o]);for(var i in f.prototype)"constructor"!==i&&(r[i]=f.prototype[i])}return(r=t=s(this,l.call(this,e,r))).changing_=!1,Object.defineProperty(r,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),s(t,r)}r.default=o},{74:74,78:78,94:94}],77:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}r.__esModule=!0;var a,l=t(73),o=n(t(75)),u=n(t(87)),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(78)),i=(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&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(p,a=o.default),p);function p(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p);var r=(0,u.default)(e,{kind:l.VideoTrackKind[e.kind]||""}),n=t=s(this,a.call(this,r)),o=!1;if(c.IS_IE8)for(var i in p.prototype)"constructor"!==i&&(n[i]=p.prototype[i]);return Object.defineProperty(n,"selected",{get:function(){return o},set:function(t){"boolean"==typeof t&&t!==o&&(o=t,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),s(t,n)}r.default=i},{73:73,75:75,78:78,87:87}],78:[function(t,e,r){"use strict";r.__esModule=!0,r.BACKGROUND_SIZE_SUPPORTED=r.TOUCH_ENABLED=r.IS_ANY_SAFARI=r.IS_SAFARI=r.IE_VERSION=r.IS_IE8=r.IS_CHROME=r.IS_EDGE=r.IS_FIREFOX=r.IS_NATIVE_ANDROID=r.IS_OLD_ANDROID=r.ANDROID_VERSION=r.IS_ANDROID=r.IOS_VERSION=r.IS_IOS=r.IS_IPOD=r.IS_IPHONE=r.IS_IPAD=void 0;var n,o,i,s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(81)),a=t(95),l=(i=a)&&i.__esModule?i:{default:i},u=l.default.navigator&&l.default.navigator.userAgent||"",c=/AppleWebKit\/([\d.]+)/i.exec(u),p=c?parseFloat(c.pop()):null,f=r.IS_IPAD=/iPad/i.test(u),h=r.IS_IPHONE=/iPhone/i.test(u)&&!f,d=r.IS_IPOD=/iPod/i.test(u),y=r.IS_IOS=h||f||d,v=(r.IOS_VERSION=(o=u.match(/OS (\d+)_/i))&&o[1]?o[1]:null,r.IS_ANDROID=/Android/i.test(u)),_=r.ANDROID_VERSION=function(){var t=u.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),r=t[2]&&parseFloat(t[2]);return e&&r?parseFloat(t[1]+"."+t[2]):e||null}(),g=(r.IS_OLD_ANDROID=v&&/webkit/i.test(u)&&_<2.3,r.IS_NATIVE_ANDROID=v&&_<5&&p<537,r.IS_FIREFOX=/Firefox/i.test(u),r.IS_EDGE=/Edge/i.test(u)),b=r.IS_CHROME=!g&&/Chrome/i.test(u),m=(r.IS_IE8=/MSIE\s8\.0/.test(u),r.IE_VERSION=(n=/MSIE\s(\d+)\.\d/.exec(u))&&parseFloat(n[1]),r.IS_SAFARI=/Safari/i.test(u)&&!b&&!v&&!g);r.IS_ANY_SAFARI=m||y,r.TOUCH_ENABLED=s.isReal()&&("ontouchstart"in l.default||l.default.DocumentTouch&&l.default.document instanceof l.default.DocumentTouch),r.BACKGROUND_SIZE_SUPPORTED=s.isReal()&&"backgroundSize"in l.default.document.createElement("video").style},{81:81,95:95}],79:[function(t,e,r){"use strict";r.__esModule=!0,r.bufferedPercent=function(t,e){var r=0,n=void 0,o=void 0;if(!e)return 0;t&&t.length||(t=(0,s.createTimeRange)(0,0));for(var i=0;i<t.length;i++)n=t.start(i),e<(o=t.end(i))&&(o=e),r+=o-n;return r/e};var s=t(90)},{90:90}],80:[function(t,e,r){"use strict";r.__esModule=!0,r.default=function(t,e){if(!t||!e)return"";if("function"!=typeof i.default.getComputedStyle)return t.currentStyle[e]||"";var r=i.default.getComputedStyle(t);return r?r[e]:""};var n,o=t(95),i=(n=o)&&n.__esModule?n:{default:n}},{95:95}],81:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){return"string"==typeof t&&/\S/.test(t)}function i(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function s(t){return(0,C.isObject)(t)&&1===t.nodeType}function a(n){return function(t,e){if(!o(t))return b.default[n](null);o(e)&&(e=b.default.querySelector(e));var r=s(e)?e:b.default;return r[n]&&r[n](t)}}function l(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function u(t,e){return i(e),t.classList?t.classList.contains(e):function(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}(e).test(t.className)}function c(t,e){return t.classList?t.classList.add(e):u(t,e)||(t.className=(t.className+" "+e).trim()),t}function p(t,e){return t.classList?t.classList.remove(e):(i(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function f(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var r=b.default.documentElement,n=b.default.body,o=r.clientLeft||n.clientLeft||0,i=m.default.pageXOffset||n.scrollLeft,s=e.left+i-o,a=r.clientTop||n.clientTop||0,l=m.default.pageYOffset||n.scrollTop,u=e.top+l-a;return{left:Math.round(s),top:Math.round(u)}}function h(t){return(0,C.isObject)(t)&&3===t.nodeType}function d(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function y(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),s(t)||h(t)?t:"string"==typeof t&&/\S/.test(t)?b.default.createTextNode(t):void 0}).filter(function(t){return t})}function v(e,t){return y(t).forEach(function(t){return e.appendChild(t)}),e}r.__esModule=!0,r.$$=r.$=void 0;var _,g=((_=["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 ","."]).raw=["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 ","."],_);r.isReal=function(){return b.default===m.default.document&&void 0!==b.default.createElement},r.isEl=s,r.getEl=function(t){return 0===t.indexOf("#")&&(t=t.slice(1)),b.default.getElementById(t)},r.createEl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"div",r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=arguments[3],o=b.default.createElement(t);return Object.getOwnPropertyNames(r).forEach(function(t){var e=r[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(w.default.warn((0,E.default)(g,t,e)),o.setAttribute(t,e)):"textContent"===t?l(o,e):o[t]=e}),Object.getOwnPropertyNames(e).forEach(function(t){o.setAttribute(t,e[t])}),n&&v(o,n),o},r.textContent=l,r.insertElFirst=function(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},r.getElData=function(t){var e=t[O];return e=e||(t[O]=T.newGUID()),k[e]||(k[e]={}),k[e]},r.hasElData=function(t){var e=t[O];return!!e&&!!Object.getOwnPropertyNames(k[e]).length},r.removeElData=function(e){var t=e[O];if(t){delete k[t];try{delete e[O]}catch(t){e.removeAttribute?e.removeAttribute(O):e[O]=null}}},r.hasElClass=u,r.addElClass=c,r.removeElClass=p,r.toggleElClass=function(t,e,r){var n=u(t,e);if("function"==typeof r&&(r=r(t,e)),"boolean"!=typeof r&&(r=!n),r!==n)return r?c(t,e):p(t,e),t},r.setElAttributes=function(r,n){Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];null==e||!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})},r.getElAttributes=function(t){var e={};if(t&&t.attributes&&0<t.attributes.length)for(var r=t.attributes,n=r.length-1;0<=n;n--){var o=r[n].name,i=r[n].value;"boolean"!=typeof t[o]&&-1===",autoplay,controls,loop,muted,default,".indexOf(","+o+",")||(i=null!==i),e[o]=i}return e},r.getAttribute=function(t,e){return t.getAttribute(e)},r.setAttribute=function(t,e,r){t.setAttribute(e,r)},r.removeAttribute=function(t,e){t.removeAttribute(e)},r.blockTextSelection=function(){b.default.body.focus(),b.default.onselectstart=function(){return!1}},r.unblockTextSelection=function(){b.default.onselectstart=function(){return!0}},r.findElPosition=f,r.getPointerPosition=function(t,e){var r={},n=f(t),o=t.offsetWidth,i=t.offsetHeight,s=n.top,a=n.left,l=e.pageY,u=e.pageX;return e.changedTouches&&(u=e.changedTouches[0].pageX,l=e.changedTouches[0].pageY),r.y=Math.max(0,Math.min(1,(s-l+i)/i)),r.x=Math.max(0,Math.min(1,(u-a)/o)),r},r.isTextNode=h,r.emptyEl=d,r.normalizeContent=y,r.appendContent=v,r.insertContent=function(t,e){return v(d(t),e)};var b=n(t(94)),m=n(t(95)),T=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(t(85)),w=n(t(86)),E=n(t(98)),C=t(88),k={},O="vdata"+(new Date).getTime();r.$=a("querySelector"),r.$$=a("querySelectorAll")},{85:85,86:86,88:88,94:94,95:95,98:98}],82:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function l(t,e){var r=f.getElData(t);0===r.handlers[e].length&&(delete r.handlers[e],t.removeEventListener?t.removeEventListener(e,r.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,r.dispatcher)),Object.getOwnPropertyNames(r.handlers).length<=0&&(delete r.handlers,delete r.dispatcher,delete r.disabled),0===Object.getOwnPropertyNames(r).length&&f.removeElData(t)}function u(e,r,t,n){t.forEach(function(t){e(r,t,n)})}function c(o){function i(){return!0}function s(){return!1}return o&&o.isPropagationStopped||function(){var t=o||a.default.event;for(var e in o={},t)"layerX"!==e&&"layerY"!==e&&"keyLocation"!==e&&"webkitMovementX"!==e&&"webkitMovementY"!==e&&("returnValue"===e&&t.preventDefault||(o[e]=t[e]));if(o.target||(o.target=o.srcElement||y.default),o.relatedTarget||(o.relatedTarget=o.fromElement===o.target?o.toElement:o.fromElement),o.preventDefault=function(){t.preventDefault&&t.preventDefault(),o.returnValue=!1,t.returnValue=!1,o.defaultPrevented=!0},o.defaultPrevented=!1,o.stopPropagation=function(){t.stopPropagation&&t.stopPropagation(),o.cancelBubble=!0,t.cancelBubble=!0,o.isPropagationStopped=i},o.isPropagationStopped=s,o.stopImmediatePropagation=function(){t.stopImmediatePropagation&&t.stopImmediatePropagation(),o.isImmediatePropagationStopped=i,o.stopPropagation()},o.isImmediatePropagationStopped=s,null!==o.clientX&&void 0!==o.clientX){var r=y.default.documentElement,n=y.default.body;o.pageX=o.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),o.pageY=o.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)}o.which=o.charCode||o.keyCode,null!==o.button&&void 0!==o.button&&(o.button=1&o.button?0:4&o.button?1:2&o.button?2:0)}(),o}function i(s,t,e){if(Array.isArray(t))return u(i,s,t,e);var a=f.getElData(s);a.handlers||(a.handlers={}),a.handlers[t]||(a.handlers[t]=[]),e.guid||(e.guid=h.newGUID()),a.handlers[t].push(e),a.dispatcher||(a.disabled=!1,a.dispatcher=function(t,e){if(!a.disabled){t=c(t);var r=a.handlers[t.type];if(r)for(var n=r.slice(0),o=0,i=n.length;o<i&&!t.isImmediatePropagationStopped();o++)try{n[o].call(s,t,e)}catch(t){d.default.error(t)}}}),1===a.handlers[t].length&&(s.addEventListener?s.addEventListener(t,a.dispatcher,!1):s.attachEvent&&s.attachEvent("on"+t,a.dispatcher))}function p(e,t,r){if(f.hasElData(e)){var n=f.getElData(e);if(n.handlers){if(Array.isArray(t))return u(p,e,t,r);var o=function(t){n.handlers[t]=[],l(e,t)};if(t){var i=n.handlers[t];if(i){if(!r)return void o(t);if(r.guid)for(var s=0;s<i.length;s++)i[s].guid===r.guid&&i.splice(s--,1);l(e,t)}}else for(var a in n.handlers)o(a)}}}r.__esModule=!0,r.fixEvent=c,r.on=i,r.off=p,r.trigger=function t(e,r,n){var o=f.hasElData(e)?f.getElData(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof r&&(r={type:r,target:e}),r=c(r),o.dispatcher&&o.dispatcher.call(e,r,n),i&&!r.isPropagationStopped()&&!0===r.bubbles)t.call(null,i,r,n);else if(!i&&!r.defaultPrevented){var s=f.getElData(r.target);r.target[r.type]&&(s.disabled=!0,"function"==typeof r.target[r.type]&&r.target[r.type](),s.disabled=!1)}return!r.defaultPrevented},r.one=function t(e,r,n){if(Array.isArray(r))return u(t,e,r,n);function o(){p(e,r,o),n.apply(this,arguments)}o.guid=n.guid=n.guid||h.newGUID(),i(e,r,o)};var f=o(t(81)),h=o(t(85)),d=n(t(86)),a=n(t(95)),y=n(t(94))},{81:81,85:85,86:86,94:94,95:95}],83:[function(t,e,r){"use strict";r.__esModule=!0,r.throttle=r.bind=void 0;var o=t(85);r.bind=function(t,e,r){e.guid||(e.guid=(0,o.newGUID)());function n(){return e.apply(t,arguments)}return n.guid=r?r+"_"+e.guid:e.guid,n},r.throttle=function(e,r){var n=Date.now();return function(){var t=Date.now();r<=t-n&&(e.apply(void 0,arguments),n=t)}}},{85:85}],84:[function(t,e,r){"use strict";r.__esModule=!0,r.default=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t;t=t<0?0:t;var r=Math.floor(t%60),n=Math.floor(t/60%60),o=Math.floor(t/3600),i=Math.floor(e/60%60),s=Math.floor(e/3600);return!isNaN(t)&&t!==1/0||(o=n=r="-"),(o=0<o||0<s?o+":":"")+(n=((o||10<=i)&&n<10?"0"+n:n)+":")+(r=r<10?"0"+r:r)}},{}],85:[function(t,e,r){"use strict";r.__esModule=!0,r.newGUID=function(){return n++};var n=1},{}],86:[function(t,e,r){"use strict";r.__esModule=!0,r.logByType=void 0;var n,o=t(95),i=(n=o)&&n.__esModule?n:{default:n},s=t(78),a=t(88),l=void 0,u=r.logByType=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!!s.IE_VERSION&&s.IE_VERSION<11;"log"!==t&&e.unshift(t.toUpperCase()+":"),l.history.push(e),e.unshift("VIDEOJS:");var n=i.default.console&&i.default.console[t];n&&(r&&(e=e.map(function(e){if((0,a.isObject)(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),n.apply?n[Array.isArray(e)?"apply":"call"](i.default.console,e):n(e))};(l=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];u("log",e)}).history=[],l.error=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return u("error",e)},l.warn=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return u("warn",e)},r.default=l},{78:78,88:88,95:95}],87:[function(t,e,r){"use strict";r.__esModule=!0,r.default=function r(){for(var n={},t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.forEach(function(t){t&&(0,i.each)(t,function(t,e){return(0,i.isPlain)(t)?((0,i.isPlain)(n[e])||(n[e]={}),void(n[e]=r(n[e],t))):void(n[e]=t)})}),n};var i=t(88)},{88:88}],88:[function(t,e,r){"use strict";function o(e,r){Object.keys(e).forEach(function(t){return r(e[t],t)})}function n(t){return!!t&&"object"===(void 0===t?"undefined":i(t))}r.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r.each=o,r.reduce=function(r,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;return Object.keys(r).reduce(function(t,e){return n(t,r[e],e)},t)},r.assign=function(r){for(var t=arguments.length,e=Array(1<t?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];return Object.assign?Object.assign.apply(Object,[r].concat(e)):(e.forEach(function(t){t&&o(t,function(t,e){r[e]=t})}),r)},r.isObject=n,r.isPlain=function(t){return n(t)&&"[object Object]"===s.call(t)&&t.constructor===Object};var s=Object.prototype.toString},{}],89:[function(t,e,r){"use strict";r.__esModule=!0,r.setTextContent=r.createStyleElement=void 0;var n,o=t(94),i=(n=o)&&n.__esModule?n:{default:n};r.createStyleElement=function(t){var e=i.default.createElement("style");return e.className=t,e},r.setTextContent=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e}},{94:94}],90:[function(t,e,r){"use strict";function n(t,e,r,n){return void 0===n&&(l.default.warn("DEPRECATED: Function '"+t+"' on 'TimeRanges' called without an index argument."),n=0),function(t,e,r){if(e<0||r<e)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is greater than or equal to the maximum bound ("+r+").")}(t,n,r.length-1),r[n][e]}function o(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:n.bind(null,"start",0,t),end:n.bind(null,"end",1,t)}}function i(t,e){return Array.isArray(t)?o(t):void 0===t||void 0===e?o():o([[t,e]])}r.__esModule=!0,r.createTimeRange=void 0,r.createTimeRanges=i;var s,a=t(86),l=(s=a)&&s.__esModule?s:{default:s};r.createTimeRange=i},{86:86}],91:[function(t,e,r){"use strict";r.__esModule=!0,r.default=function(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}},{}],92:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.isCrossOrigin=r.getFileExtension=r.getAbsoluteURL=r.parseUrl=void 0;var a=n(t(94)),o=n(t(95)),i=r.parseUrl=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],r=a.default.createElement("a");r.href=t;var n=""===r.host&&"file:"!==r.protocol,o=void 0;n&&((o=a.default.createElement("div")).innerHTML='<a href="'+t+'"></a>',r=o.firstChild,o.setAttribute("style","display:none; position:absolute;"),a.default.body.appendChild(o));for(var i={},s=0;s<e.length;s++)i[e[s]]=r[e[s]];return"http:"===i.protocol&&(i.host=i.host.replace(/:80$/,"")),"https:"===i.protocol&&(i.host=i.host.replace(/:443$/,"")),n&&a.default.body.removeChild(o),i};r.getAbsoluteURL=function(t){if(!t.match(/^https?:\/\//)){var e=a.default.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t},r.getFileExtension=function(t){if("string"==typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(t);if(e)return e.pop().toLowerCase()}return""},r.isCrossOrigin=function(t){var e=o.default.location,r=i(t);return(":"===r.protocol?e.protocol:r.protocol)+r.host!==e.protocol+e.host}},{94:94,95:95}],93:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t,r,e){var n=void 0;if("string"==typeof t){if(0===t.indexOf("#")&&(t=t.slice(1)),i.getPlayers()[t])return r&&E.default.warn('Player "'+t+'" is already initialised. Options will not be applied.'),e&&i.getPlayers()[t].ready(e),i.getPlayers()[t];n=C.getEl(t)}else n=t;if(!n||!n.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(n.player||d.default.players[n.playerId])return n.player||d.default.players[n.playerId];r=r||{},i.hooks("beforesetup").forEach(function(t){var e=t(n,(0,v.default)(r));return!(0,S.isObject)(e)||Array.isArray(e)?void E.default.error("please return an object in beforesetup hooks"):void(r=(0,v.default)(r,e))});var o=new(p.default.getComponent("Player"))(n,r,e);return i.hooks("setup").forEach(function(t){return t(o)}),o}r.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=o(t(95)),l=o(t(94)),u=n(t(56)),c=n(t(89)),p=o(t(5)),f=o(t(42)),h=n(t(82)),d=o(t(51)),y=o(t(52)),v=o(t(87)),_=n(t(83)),g=o(t(72)),b=o(t(64)),m=o(t(77)),T=t(90),w=o(t(84)),E=o(t(86)),C=n(t(81)),k=n(t(78)),O=n(t(92)),S=t(88),j=o(t(80)),x=o(t(43)),P=o(t(105)),M=o(t(62));if("undefined"==typeof HTMLVideoElement&&C.isReal()&&(l.default.createElement("video"),l.default.createElement("audio"),l.default.createElement("track")),i.hooks_={},i.hooks=function(t,e){return i.hooks_[t]=i.hooks_[t]||[],e&&(i.hooks_[t]=i.hooks_[t].concat(e)),i.hooks_[t]},i.hook=function(t,e){i.hooks(t,e)},i.removeHook=function(t,e){var r=i.hooks(t).indexOf(e);return!(r<=-1||(i.hooks_[t]=i.hooks_[t].slice(),i.hooks_[t].splice(r,1),0))},!0!==a.default.VIDEOJS_NO_DYNAMIC_STYLE&&C.isReal()){var A=C.$(".vjs-styles-defaults");if(!A){A=c.createStyleElement("vjs-styles-defaults");var R=C.$("head");R&&R.insertBefore(A,R.firstChild),c.setTextContent(A,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}u.autoSetupTimeout(1,i),i.VERSION="5.16.0",i.options=d.default.prototype.options_,i.getPlayers=function(){return d.default.players},i.players=d.default.players,i.getComponent=p.default.getComponent,i.registerComponent=function(t,e){M.default.isTech(e)&&E.default.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),p.default.registerComponent.call(p.default,t,e)},i.getTech=M.default.getTech,i.registerTech=M.default.registerTech,i.browser=k,i.TOUCH_ENABLED=k.TOUCH_ENABLED,i.extend=x.default,i.mergeOptions=v.default,i.bind=_.bind,i.plugin=y.default,i.addLanguage=function(t,e){var r;return t=(""+t).toLowerCase(),i.options.languages=(0,v.default)(i.options.languages,((r={})[t]=e,r)),i.options.languages[t]},i.log=E.default,i.createTimeRange=i.createTimeRanges=T.createTimeRanges,i.formatTime=w.default,i.parseUrl=O.parseUrl,i.isCrossOrigin=O.isCrossOrigin,i.EventTarget=f.default,i.on=h.on,i.one=h.one,i.off=h.off,i.trigger=h.trigger,i.xhr=P.default,i.TextTrack=g.default,i.AudioTrack=b.default,i.VideoTrack=m.default,i.isEl=C.isEl,i.isTextNode=C.isTextNode,i.createEl=C.createEl,i.hasClass=C.hasElClass,i.addClass=C.addElClass,i.removeClass=C.removeElClass,i.toggleClass=C.toggleElClass,i.setAttributes=C.setElAttributes,i.getAttributes=C.getElAttributes,i.emptyEl=C.emptyEl,i.appendContent=C.appendContent,i.insertContent=C.insertContent,i.computedStyle=j.default,"object"===(void 0===r?"undefined":s(r))&&"object"===(void 0===e?"undefined":s(e))&&(e.exports=i),r.default=i},{105:105,42:42,43:43,5:5,51:51,52:52,56:56,62:62,64:64,72:72,77:77,78:78,80:80,81:81,82:82,83:83,84:84,86:86,87:87,88:88,89:89,90:90,92:92,94:94,95:95}],94:[function(o,i,t){(function(t){var e=void 0!==t?t:"undefined"!=typeof window?window:{},r=o(96);if("undefined"!=typeof document)i.exports=document;else{var n=e["__GLOBAL_DOCUMENT_CACHE@4"];n=n||(e["__GLOBAL_DOCUMENT_CACHE@4"]=r),i.exports=n}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{96:96}],95:[function(t,e,r){(function(t){"undefined"!=typeof window?e.exports=window:void 0!==t?e.exports=t:"undefined"!=typeof self?e.exports=self:e.exports={}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],96:[function(t,e,r){},{}],97:[function(t,e,r){e.exports=function(t,e){var r,n=null;try{r=JSON.parse(t,e)}catch(t){n=t}return[n,r]}},{}],98:[function(t,e,r){e.exports=function(t){for(var e="",r=0;r<arguments.length;r++)e+=t[r].replace(/\n\r?\s*/g,"")+(arguments[r+1]||"");return e}},{}],99:[function(t,e,r){e.exports={WebVTT:t(100).WebVTT,VTTCue:t(101).VTTCue,VTTRegion:t(103).VTTRegion}},{100:100,101:101,103:103}],100:[function(t,e,r){!function(t){function u(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function y(t){function e(t,e,r,n){return 3600*(0|t)+60*(0|e)+(0|r)+(0|n)/1e3}var r=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return r?r[3]?e(r[1],r[2],r[3].replace(":",""),r[4]):59<r[1]?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function c(){this.values=r(null)}function p(t,e,r,n){var o=n?t.split(n):[t];for(var i in o)if("string"==typeof o[i]){var s=o[i].split(r);if(2===s.length)e(s[0],s[1])}}function l(e,t,i){function r(){var t=y(e);if(null===t)throw new u(u.Errors.BadTimeStamp,"Malformed timestamp: "+l);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function n(){e=e.replace(/^\s+/,"")}var o,s,a,l=e;if(n(),t.startTime=r(),n(),"--\x3e"!==e.substr(0,3))throw new u(u.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+l);e=e.substr(3),n(),t.endTime=r(),n(),o=e,s=t,a=new c,p(o,function(t,e){switch(t){case"region":for(var r=i.length-1;0<=r;r--)if(i[r].id===e){a.set(t,i[r].region);break}break;case"vertical":a.alt(t,e,["rl","lr"]);break;case"line":var n=e.split(","),o=n[0];a.integer(t,o),a.percent(t,o)&&a.set("snapToLines",!1),a.alt(t,o,["auto"]),2===n.length&&a.alt("lineAlign",n[1],["start","middle","end"]);break;case"position":n=e.split(","),a.percent(t,n[0]),2===n.length&&a.alt("positionAlign",n[1],["start","middle","end"]);break;case"size":a.percent(t,e);break;case"align":a.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),s.region=a.get("region",null),s.vertical=a.get("vertical",""),s.line=a.get("line","auto"),s.lineAlign=a.get("lineAlign","start"),s.snapToLines=a.get("snapToLines",!0),s.size=a.get("size",100),s.align=a.get("align","middle"),s.position=a.get("position",{start:0,left:0,middle:50,end:100,right:100},s.align),s.positionAlign=a.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},s.align)}function f(i,r){function t(){if(!r)return null;var t,e=r.match(/^([^<]*)(<[^>]+>?)?/);return t=e[1]?e[1]:e[2],r=r.substr(t.length),t}function e(t){return g[t]}function n(t){for(;f=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(f[0],e);return t}function o(t,e){var r=b[t];if(!r)return null;var n=i.document.createElement(r);n.localName=r;var o=m[t];return o&&e&&(n[o]=e.trim()),n}for(var s,a=i.document.createElement("div"),l=a,u=[];null!==(s=t());)if("<"!==s[0])l.appendChild(i.document.createTextNode(n(s)));else{if("/"===s[1]){u.length&&u[u.length-1]===s.substr(2).replace(">","")&&(u.pop(),l=l.parentNode);continue}var c,p=y(s.substr(1,s.length-2));if(p){c=i.document.createProcessingInstruction("timestamp",p),l.appendChild(c);continue}var f=s.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!f)continue;if(!(c=o(f[1],f[3])))continue;if(h=l,T[(d=c).localName]&&T[d.localName]!==h.localName)continue;f[2]&&(c.className=f[2].substr(1).replace("."," ")),u.push(f[1]),l.appendChild(c),l=c}var h,d;return a}function h(){}function d(t,e,r){var n=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)";n&&(o="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),h.call(this),this.cue=e,this.cueDiv=f(t,e.text);var s={color:o,backgroundColor:i,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};n||(s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=t.document.createElement("div"),s={textAlign:"middle"===e.align?"center":e.align,font:r.font,whiteSpace:"pre-line",position:"absolute"},n||(s.direction=function(t){function o(t,e){for(var r=e.childNodes.length-1;0<=r;r--)t.push(e.childNodes[r])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var n=r.match(/^.*(\n|\r)/);return n?n[t.length=0]:r}return"ruby"===e.tagName?i(t):e.childNodes?(o(t,e),i(t)):void 0}var e,r=[],n="";if(!t||!t.childNodes)return"ltr";for(o(r,t);n=i(r);)for(var s=0;s<n.length;s++){e=n.charCodeAt(s);for(var a=0;a<w.length;a++)if(w[a]===e)return"rtl"}return"ltr"}(this.cueDiv),s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var a=0;switch(e.positionAlign){case"start":a=e.position;break;case"middle":a=e.position-e.size/2;break;case"end":a=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(a,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(a,"%"),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 v(t){var e,r,n,o,i=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){r=t.div.offsetHeight,n=t.div.offsetWidth,o=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||o,this.height=t.height||r,this.bottom=t.bottom||o+(t.height||r),this.width=t.width||n,this.lineHeight=void 0!==e?e:t.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function _(t,e,a,l){var r=new v(e),n=e.cue,o=function(t){if("number"==typeof t.line&&(t.snapToLines||0<=t.line&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,r=e.textTrackList,n=0,o=0;o<r.length&&r[o]!==e;o++)"showing"===r[o].mode&&n++;return-1*++n}(n),i=[];if(n.snapToLines){var s;switch(n.vertical){case"":i=["+y","-y"],s="height";break;case"rl":i=["+x","-x"],s="width";break;case"lr":i=["-x","+x"],s="width"}var u=r.lineHeight,c=u*Math.round(o),p=a[s]+u,f=i[0];Math.abs(c)>p&&(c=c<0?-1:1,c*=Math.ceil(p/u)*u),o<0&&(c+=""===n.vertical?a.height:a.width,i=i.reverse()),r.move(f,c)}else{var h=r.lineHeight/a.height*100;switch(n.lineAlign){case"middle":o-=h/2;break;case"end":o-=h}switch(n.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}i=["+y","-x","+x","-y"],r=new v(e)}var d=function(t,e){for(var r,n=new v(t),o=1,i=0;i<e.length;i++){for(;t.overlapsOppositeAxis(a,e[i])||t.within(a)&&t.overlapsAny(l);)t.move(e[i]);if(t.within(a))return t;var s=t.intersectPercentage(a);s<o&&(r=new v(t),o=s),t=new v(n)}return r||n}(r,i);e.move(d.toCSSCompatValues(a))}function e(){}var r=Object.create||function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return n.prototype=t,new n};function n(){}((u.prototype=r(Error.prototype)).constructor=u).Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},c.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n<r.length;++n)if(e===r[n]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(0<=(e=parseFloat(e))&&e<=100))&&(this.set(t,e),!0)}};var g={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"","&rlm;":"","&nbsp;":" "},b={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},m={v:"title",lang:"lang"},T={rt:"ruby"},w=[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];h.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},h.prototype.formatStyle=function(t,e){return 0===t?0:t+e},(d.prototype=r(h.prototype)).constructor=d,v.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}},v.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},v.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},v.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},v.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}},v.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},v.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}},v.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},e.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},e.convertCueToDOMTree=function(t,e){return t&&e?f(t,e):null};e.processCues=function(n,o,t){if(!n||!o||!t)return null;for(;t.firstChild;)t.removeChild(t.firstChild);var i=n.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",t.appendChild(i),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}(o)){var s=[],a=v.getSimpleBoxPosition(i),l={font:Math.round(.05*a.height*100)/100+"px sans-serif"};!function(){for(var t,e,r=0;r<o.length;r++)e=o[r],t=new d(n,e,l),i.appendChild(t.div),_(0,t,a,s),e.displayState=t.div,s.push(v.getSimpleBoxPosition(t))}()}else for(var e=0;e<o.length;e++)i.appendChild(o[e].displayState)},(e.Parser=function(t,e,r){r||(r=e,e={}),e=e||{},this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=r||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(t){if(!(t instanceof u))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function e(){for(var t=n.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var r=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,n.buffer=t.substr(e),r}function r(t){p(t,function(t,e){switch(t){case"Region":!function(t){var o=new c;if(p(t,function(t,e){switch(t){case"id":o.set(t,e);break;case"width":o.percent(t,e);break;case"lines":o.integer(t,e);break;case"regionanchor":case"viewportanchor":var r=e.split(",");if(2!==r.length)break;var n=new c;if(n.percent("x",r[0]),n.percent("y",r[1]),!n.has("x")||!n.has("y"))break;o.set(t+"X",n.get("x")),o.set(t+"Y",n.get("y"));break;case"scroll":o.alt(t,e,["up"])}},/=/,/\s/),o.has("id")){var e=new(n.vttjs.VTTRegion||n.window.VTTRegion);e.width=o.get("width",100),e.lines=o.get("lines",3),e.regionAnchorX=o.get("regionanchorX",0),e.regionAnchorY=o.get("regionanchorY",100),e.viewportAnchorX=o.get("viewportanchorX",0),e.viewportAnchorY=o.get("viewportanchorY",100),e.scroll=o.get("scroll",""),n.onregion&&n.onregion(e),n.regionList.push({id:o.get("id"),region:e})}}(e)}},/:/)}var n=this;t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));try{var o;if("INITIAL"===n.state){if(!/\r\n|\n/.test(n.buffer))return this;var i=(o=e()).match(/^WEBVTT([ \t].*)?$/);if(!i||!i[0])throw new u(u.Errors.BadSignature);n.state="HEADER"}for(var s=!1;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(s?s=!1:o=e(),n.state){case"HEADER":/:/.test(o)?r(o):o||(n.state="ID");continue;case"NOTE":o||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){n.state="NOTE";break}if(!o)continue;if(n.cue=new(n.vttjs.VTTCue||n.window.VTTCue)(0,0,""),n.state="CUE",-1===o.indexOf("--\x3e")){n.cue.id=o;continue}case"CUE":try{l(o,n.cue,n.regionList)}catch(t){n.reportOrThrowError(t),n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":var a=-1!==o.indexOf("--\x3e");if(!o||a&&(s=!0)){n.oncue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}n.cue.text&&(n.cue.text+="\n"),n.cue.text+=o;continue;case"BADCUE":o||(n.state="ID");continue}}}catch(t){n.reportOrThrowError(t),"CUETEXT"===n.state&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state="INITIAL"===n.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),!e.cue&&"HEADER"!==e.state||(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new u(u.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},t.WebVTT=e}(this,this.vttjs)},{}],101:[function(t,e,r){var n;void 0!==e&&e.exports&&(this.VTTCue=this.VTTCue||t(102).VTTCue),(n=this).VTTCue.prototype.toJSON=function(){var e={},r=this;return Object.keys(this).forEach(function(t){"getCueAsHTML"!==t&&"hasBeenReset"!==t&&"displayState"!==t&&(e[t]=r[t])}),e},n.VTTCue.create=function(t){if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var e=new n.VTTCue(t.startTime,t.endTime,t.text);for(var r in t)e.hasOwnProperty(r)&&(e[r]=t[r]);return e},n.VTTCue.fromJSON=function(t){return this.create(JSON.parse(t))}},{102:102}],102:[function(t,e,r){function m(t){return"string"==typeof t&&(!!s[t.toLowerCase()]&&t.toLowerCase())}function T(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function n(t,e,r){var n=this,o=/MSIE\s8\.0/.test(navigator.userAgent),i={};o?n=document.createElement("custom"):i.enumerable=!0,n.hasBeenReset=!1;var s="",a=!1,l=t,u=e,c=r,p=null,f="",h=!0,d="auto",y="start",v=50,_="middle",g=50,b="middle";if(Object.defineProperty(n,"id",T({},i,{get:function(){return s},set:function(t){s=""+t}})),Object.defineProperty(n,"pauseOnExit",T({},i,{get:function(){return a},set:function(t){a=!!t}})),Object.defineProperty(n,"startTime",T({},i,{get:function(){return l},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");l=t,this.hasBeenReset=!0}})),Object.defineProperty(n,"endTime",T({},i,{get:function(){return u},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");u=t,this.hasBeenReset=!0}})),Object.defineProperty(n,"text",T({},i,{get:function(){return c},set:function(t){c=""+t,this.hasBeenReset=!0}})),Object.defineProperty(n,"region",T({},i,{get:function(){return p},set:function(t){p=t,this.hasBeenReset=!0}})),Object.defineProperty(n,"vertical",T({},i,{get:function(){return f},set:function(t){var e=function(t){return"string"==typeof t&&(!!w[t.toLowerCase()]&&t.toLowerCase())}(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");f=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"snapToLines",T({},i,{get:function(){return h},set:function(t){h=!!t,this.hasBeenReset=!0}})),Object.defineProperty(n,"line",T({},i,{get:function(){return d},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("An invalid number or illegal string was specified.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(n,"lineAlign",T({},i,{get:function(){return y},set:function(t){var e=m(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"position",T({},i,{get:function(){return v},set:function(t){if(t<0||100<t)throw new Error("Position must be between 0 and 100.");v=t,this.hasBeenReset=!0}})),Object.defineProperty(n,"positionAlign",T({},i,{get:function(){return _},set:function(t){var e=m(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"size",T({},i,{get:function(){return g},set:function(t){if(t<0||100<t)throw new Error("Size must be between 0 and 100.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(n,"align",T({},i,{get:function(){return b},set:function(t){var e=m(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");b=e,this.hasBeenReset=!0}})),n.displayState=void 0,o)return n}var o,i,w,s;i=(o=this).vttjs||{},w={"":!0,lr:!0,rl:!0},s={start:!0,middle:!0,end:!0,left:!0,right:!0},n.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},o.VTTCue=o.VTTCue||n,i.VTTCue=n},{}],103:[function(t,e,r){var n;void 0!==e&&e.exports&&(this.VTTRegion=t(104).VTTRegion),(n=this).VTTRegion.create=function(t){var e=new n.VTTRegion;for(var r in t)e.hasOwnProperty(r)&&(e[r]=t[r]);return e},n.VTTRegion.fromJSON=function(t){return this.create(JSON.parse(t))}},{104:104}],104:[function(t,e,r){function l(t){return"number"==typeof t&&0<=t&&t<=100}function n(){var e=100,r=3,n=0,o=100,i=0,s=100,a="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!l(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");r=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!l(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(t){if(!l(t))throw new Error("RegionAnchorY must be between 0 and 100.");n=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!l(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!l(t))throw new Error("ViewportAnchorX must be between 0 and 100.");i=t}},scroll:{enumerable:!0,get:function(){return a},set:function(t){var e=function(t){return"string"==typeof t&&(!!u[t.toLowerCase()]&&t.toLowerCase())}(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");a=e}}})}var o,i,u;i=(o=this).vttjs||{},u={"":!0,up:!0},o.VTTRegion=o.VTTRegion||n,i.VTTRegion=n},{}],105:[function(t,e,r){"use strict";function o(t,e,r){var n=t;return s(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=a(e,{uri:t}),n.callback=r,n}function v(t,e,r){return i(e=o(t,e,r))}function i(n){function e(t){return clearTimeout(i),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,a(t,l)}function t(){if(!o){var t;clearTimeout(i),t=n.useXDR&&void 0===u.status?200:1223===u.status?204:u.status;var e=l,r=null;return 0!==t?(e={body:function(){var t=void 0;if(t=u.response?u.response:u.responseText||function(t){if("document"===t.responseType)return t.responseXML;var e=204===t.status&&t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}(u),y)try{t=JSON.parse(t)}catch(t){}return t}(),statusCode:t,method:p,headers:{},url:c,rawRequest:u},u.getAllResponseHeaders&&(e.headers=_(u.getAllResponseHeaders()))):r=new Error("Internal XMLHttpRequest Error"),a(r,e,e.body)}}if(void 0===n.callback)throw new Error("callback argument missing");var r,o,i,s=!1,a=function(t,e,r){s||(s=!0,n.callback(t,e,r))},l={body:void 0,headers:{},statusCode:0,method:p,url:c,rawRequest:u},u=n.xhr||null,c=(u=u||(n.cors||n.useXDR?new v.XDomainRequest:new v.XMLHttpRequest)).url=n.uri||n.url,p=u.method=n.method||"GET",f=n.body||n.data||null,h=u.headers=n.headers||{},d=!!n.sync,y=!1;if("json"in n&&(y=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),f=JSON.stringify(n.json))),u.onreadystatechange=function(){4===u.readyState&&t()},u.onload=t,u.onerror=e,u.onprogress=function(){},u.ontimeout=e,u.open(p,c,!d,n.username,n.password),d||(u.withCredentials=!!n.withCredentials),!d&&0<n.timeout&&(i=setTimeout(function(){o=!0,u.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",e(t)},n.timeout)),u.setRequestHeader)for(r in h)h.hasOwnProperty(r)&&u.setRequestHeader(r,h[r]);else if(n.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(u.responseType=n.responseType),"beforeSend"in n&&"function"==typeof n.beforeSend&&n.beforeSend(u),u.send(f),u}var n=t(95),s=t(106),_=t(109),a=t(110);(e.exports=v).XMLHttpRequest=n.XMLHttpRequest||function(){},v.XDomainRequest="withCredentials"in new v.XMLHttpRequest?v.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r<t.length;r++)e(t[r])}(["get","put","post","patch","head","delete"],function(n){v["delete"===n?"del":n]=function(t,e,r){return(e=o(t,e,r)).method=n.toUpperCase(),i(e)}})},{106:106,109:109,110:110,95:95}],106:[function(t,e,r){e.exports=function(t){var e=n.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)};var n=Object.prototype.toString},{}],107:[function(t,e,r){var n=t(106);e.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");arguments.length<3&&(r=this),"[object Array]"===o.call(t)?function(t,e,r){for(var n=0,o=t.length;n<o;n++)i.call(t,n)&&e.call(r,t[n],n,t)}(t,e,r):"string"==typeof t?function(t,e,r){for(var n=0,o=t.length;n<o;n++)e.call(r,t.charAt(n),n,t)}(t,e,r):function(t,e,r){for(var n in t)i.call(t,n)&&e.call(r,t[n],n,t)}(t,e,r)};var o=Object.prototype.toString,i=Object.prototype.hasOwnProperty},{106:106}],108:[function(t,e,r){(r=e.exports=function(t){return t.replace(/^\s*|\s*$/g,"")}).left=function(t){return t.replace(/^\s*/,"")},r.right=function(t){return t.replace(/\s*$/,"")}},{}],109:[function(t,e,r){var i=t(108),n=t(107);e.exports=function(t){if(!t)return{};var o={};return n(i(t).split("\n"),function(t){var e=t.indexOf(":"),r=i(t.slice(0,e)).toLowerCase(),n=i(t.slice(e+1));void 0===o[r]?o[r]=n:function(t){return"[object Array]"===Object.prototype.toString.call(t)}(o[r])?o[r].push(n):o[r]=[o[r],n]}),o}},{107:107,108:108}],110:[function(t,e,r){e.exports=function(){for(var t={},e=0;e<arguments.length;e++){var r=arguments[e];for(var n in r)o.call(r,n)&&(t[n]=r[n])}return t};var o=Object.prototype.hasOwnProperty},{}]},{},[93])(93)});