/** * @license * video.js 5.18.4 * copyright brightcove, inc. * available under apache license version 2.0 * * * includes vtt.js * available under apache license version 2.0 * */ !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.videojs=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new error("cannot find module '"+g+"'");throw j.code="module_not_found",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g0&&void 0!==arguments[0]?arguments[0]:"button",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};b=(0,n.assign)({classname:this.buildcssclass()},b),"button"!==a&&(m["default"].warn("creating a button with an html element of "+a+" is deprecated; use clickablecomponent instead."),b=(0,n.assign)({tabindex:0},b),c=(0,n.assign)({role:"button"},c)),c=(0,n.assign)({type:"button","aria-live":"polite"},c);var d=k["default"].prototype.createel.call(this,a,b,c);return this.createcontroltextel(d),d},b.prototype.addchild=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=this.constructor.name;return m["default"].warn("adding an actionable (user controllable) child to a button ("+c+") is not supported; use a clickablecomponent instead."),k["default"].prototype.addchild.call(this,a,b)},b.prototype.enable=function(){a.prototype.enable.call(this),this.el_.removeattribute("disabled")},b.prototype.disable=function(){a.prototype.disable.call(this),this.el_.setattribute("disabled","disabled")},b.prototype.handlekeypress=function(b){32!==b.which&&13!==b.which&&a.prototype.handlekeypress.call(this,b)},b}(i["default"]);k["default"].registercomponent("button",o),c["default"]=o},{3:3,5:5,86:86,88:88}],3:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(81),l=d(k),m=a(82),n=d(m),o=a(83),p=d(o),q=a(86),r=e(q),s=a(94),t=e(s),u=a(88),v=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.emittapevents(),e.enable(),e}return h(b,a),b.prototype.createel=function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c=(0,u.assign)({classname:this.buildcssclass(),tabindex:0},c),"button"===b&&r["default"].error("creating a clickablecomponent with an html element of "+b+" is not supported; use a button instead."),d=(0,u.assign)({role:"button","aria-live":"polite"},d),this.tabindex_=c.tabindex;var e=a.prototype.createel.call(this,b,c,d);return this.createcontroltextel(e),e},b.prototype.createcontroltextel=function(a){return this.controltextel_=l.createel("span",{classname:"vjs-control-text"}),a&&a.appendchild(this.controltextel_),this.controltext(this.controltext_,a),this.controltextel_},b.prototype.controltext=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(!a)return this.controltext_||"need text";var c=this.localize(a);return this.controltext_=a,this.controltextel_.innerhtml=c,this.noniconcontrol||b.setattribute("title",c),this},b.prototype.buildcssclass=function(){return"vjs-control vjs-button "+a.prototype.buildcssclass.call(this)},b.prototype.enable=function(){return this.removeclass("vjs-disabled"),this.el_.setattribute("aria-disabled","false"),"undefined"!=typeof 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},b.prototype.disable=function(){return this.addclass("vjs-disabled"),this.el_.setattribute("aria-disabled","true"),"undefined"!=typeof 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},b.prototype.handleclick=function(a){},b.prototype.handlefocus=function(a){n.on(t["default"],"keydown",p.bind(this,this.handlekeypress))},b.prototype.handlekeypress=function(b){32===b.which||13===b.which?(b.preventdefault(),this.handleclick(b)):a.prototype.handlekeypress&&a.prototype.handlekeypress.call(this,b)},b.prototype.handleblur=function(a){n.off(t["default"],"keydown",p.bind(this,this.handlekeypress))},b}(j["default"]);j["default"].registercomponent("clickablecomponent",v),c["default"]=v},{5:5,81:81,82:82,83:83,86:86,88:88,94:94}],4:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(2),i=d(h),j=a(5),k=d(j),l=function(a){function b(c,d){e(this,b);var g=f(this,a.call(this,c,d));return g.controltext(d&&d.controltext||g.localize("close")),g}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-close-button "+a.prototype.buildcssclass.call(this)},b.prototype.handleclick=function(a){this.trigger({type:"close",bubbles:!1})},b}(i["default"]);k["default"].registercomponent("closebutton",l),c["default"]=l},{2:2,5:5}],5:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}c.__esmodule=!0;var g=a(95),h=e(g),i=a(81),j=d(i),k=a(83),l=d(k),m=a(85),n=d(m),o=a(82),p=d(o),q=a(86),r=e(q),s=a(91),t=e(s),u=a(87),v=e(u),w=function(){function a(b,c,d){if(f(this,a),!b&&this.play?this.player_=b=this:this.player_=b,this.options_=(0,v["default"])({},this.options_),c=this.options_=(0,v["default"])(this.options_,c),this.id_=c.id||c.el&&c.el.id,!this.id_){var e=b&&b.id&&b.id()||"no_player";this.id_=e+"_component_"+n.newguid()}this.name_=c.name||null,c.el?this.el_=c.el:c.createel!==!1&&(this.el_=this.createel()),this.children_=[],this.childindex_={},this.childnameindex_={},c.initchildren!==!1&&this.initchildren(),this.ready(d),c.reporttouchactivity!==!1&&this.enabletouchactivity()}return a.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var a=this.children_.length-1;a>=0;a--)this.children_[a].dispose&&this.children_[a].dispose();this.children_=null,this.childindex_=null,this.childnameindex_=null,this.off(),this.el_.parentnode&&this.el_.parentnode.removechild(this.el_),j.removeeldata(this.el_),this.el_=null},a.prototype.player=function(){return this.player_},a.prototype.options=function(a){return r["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),a?(this.options_=(0,v["default"])(this.options_,a),this.options_):this.options_},a.prototype.el=function(){return this.el_},a.prototype.createel=function(a,b,c){return j.createel(a,b,c)},a.prototype.localize=function(a){var b=this.player_.language&&this.player_.language(),c=this.player_.languages&&this.player_.languages();if(!b||!c)return a;var d=c[b];if(d&&d[a])return d[a];var e=b.split("-")[0],f=c[e];return f&&f[a]?f[a]:a},a.prototype.contentel=function(){return this.contentel_||this.el_},a.prototype.id=function(){return this.id_},a.prototype.name=function(){return this.name_},a.prototype.children=function(){return this.children_},a.prototype.getchildbyid=function(a){return this.childindex_[a]},a.prototype.getchild=function(a){if(a)return a=(0,t["default"])(a),this.childnameindex_[a]},a.prototype.addchild=function(b){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,e=void 0,f=void 0;if("string"==typeof b){f=(0,t["default"])(b),c||(c={}),c===!0&&(r["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`."),c={});var g=c.componentclass||f;c.name=f;var h=a.getcomponent(g);if(!h)throw new error("component "+g+" does not exist");if("function"!=typeof h)return null;e=new h(this.player_||this,c)}else e=b;if(this.children_.splice(d,0,e),"function"==typeof e.id&&(this.childindex_[e.id()]=e),f=f||e.name&&(0,t["default"])(e.name()),f&&(this.childnameindex_[f]=e),"function"==typeof e.el&&e.el()){var i=this.contentel().children,j=i[d]||null;this.contentel().insertbefore(e.el(),j)}return e},a.prototype.removechild=function(a){if("string"==typeof a&&(a=this.getchild(a)),a&&this.children_){for(var b=!1,c=this.children_.length-1;c>=0;c--)if(this.children_[c]===a){b=!0,this.children_.splice(c,1);break}if(b){this.childindex_[a.id()]=null,this.childnameindex_[a.name()]=null;var d=a.el();d&&d.parentnode===this.contentel()&&this.contentel().removechild(a.el())}}},a.prototype.initchildren=function(){var b=this,c=this.options_.children;if(c){var d=this.options_,e=function(a){var c=a.name,e=a.opts;if(void 0!==d[c]&&(e=d[c]),e!==!1){e===!0&&(e={}),e.playeroptions=b.options_.playeroptions;var f=b.addchild(c,e);f&&(b[c]=f)}},f=void 0,g=a.getcomponent("tech");f=array.isarray(c)?c:object.keys(c),f.concat(object.keys(this.options_).filter(function(a){return!f.some(function(b){return"string"==typeof b?a===b:a===b.name})})).map(function(a){var d=void 0,e=void 0;return"string"==typeof a?(d=a,e=c[d]||b.options_[d]||{}):(d=a.name,e=a),{name:d,opts:e}}).filter(function(b){var c=a.getcomponent(b.opts.componentclass||(0,t["default"])(b.name));return c&&!g.istech(c)}).foreach(e)}},a.prototype.buildcssclass=function(){return""},a.prototype.on=function(a,b,c){var d=this;if("string"==typeof a||array.isarray(a))p.on(this.el_,a,l.bind(this,b));else{var e=a,f=b,g=l.bind(this,c),h=function(){return d.off(e,f,g)};h.guid=g.guid,this.on("dispose",h);var i=function(){return d.off("dispose",h)};i.guid=g.guid,a.nodename?(p.on(e,f,g),p.on(e,"dispose",i)):"function"==typeof a.on&&(e.on(f,g),e.on("dispose",i))}return this},a.prototype.off=function(a,b,c){if(!a||"string"==typeof a||array.isarray(a))p.off(this.el_,a,b);else{var d=a,e=b,f=l.bind(this,c);this.off("dispose",f),a.nodename?(p.off(d,e,f),p.off(d,"dispose",f)):(d.off(e,f),d.off("dispose",f))}return this},a.prototype.one=function(a,b,c){var d=this,e=arguments;if("string"==typeof a||array.isarray(a))p.one(this.el_,a,l.bind(this,b));else{var f=a,g=b,h=l.bind(this,c),i=function j(){d.off(f,g,j),h.apply(null,e)};i.guid=h.guid,this.on(f,g,i)}return this},a.prototype.trigger=function(a,b){return p.trigger(this.el_,a,b),this},a.prototype.ready=function(a){var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a&&(this.isready_?b?a.call(this):this.settimeout(a,1):(this.readyqueue_=this.readyqueue_||[],this.readyqueue_.push(a))),this},a.prototype.triggerready=function(){this.isready_=!0,this.settimeout(function(){var a=this.readyqueue_;this.readyqueue_=[],a&&a.length>0&&a.foreach(function(a){a.call(this)},this),this.trigger("ready")},1)},a.prototype.$=function(a,b){return j.$(a,b||this.contentel())},a.prototype.$$=function(a,b){return j.$$(a,b||this.contentel())},a.prototype.hasclass=function(a){return j.haselclass(this.el_,a)},a.prototype.addclass=function(a){return j.addelclass(this.el_,a),this},a.prototype.removeclass=function(a){return j.removeelclass(this.el_,a),this},a.prototype.toggleclass=function(a,b){return j.toggleelclass(this.el_,a,b),this},a.prototype.show=function(){return this.removeclass("vjs-hidden"),this},a.prototype.hide=function(){return this.addclass("vjs-hidden"),this},a.prototype.lockshowing=function(){return this.addclass("vjs-lock-showing"),this},a.prototype.unlockshowing=function(){return this.removeclass("vjs-lock-showing"),this},a.prototype.getattribute=function(a){return j.getattribute(this.el_,a)},a.prototype.setattribute=function(a,b){return j.setattribute(this.el_,a,b),this},a.prototype.removeattribute=function(a){return j.removeattribute(this.el_,a),this},a.prototype.width=function(a,b){return this.dimension("width",a,b)},a.prototype.height=function(a,b){return this.dimension("height",a,b)},a.prototype.dimensions=function(a,b){return this.width(a,!0).height(b)},a.prototype.dimension=function(a,b,c){if(void 0!==b)return null!==b&&b===b||(b=0),(""+b).indexof("%")!==-1||(""+b).indexof("px")!==-1?this.el_.style[a]=b:this.el_.style[a]="auto"===b?"":b+"px",c||this.trigger("resize"),this;if(!this.el_)return 0;var d=this.el_.style[a],e=d.indexof("px");return e!==-1?parseint(d.slice(0,e),10):parseint(this.el_["offset"+(0,t["default"])(a)],10)},a.prototype.currentdimension=function(a){var b=0;if("width"!==a&&"height"!==a)throw new error("currentdimension only accepts width or height value");if("function"==typeof h["default"].getcomputedstyle){var c=h["default"].getcomputedstyle(this.el_);b=c.getpropertyvalue(a)||c[a]}if(b=parsefloat(b),0===b){var d="offset"+(0,t["default"])(a);b=this.el_[d]}return b},a.prototype.currentdimensions=function(){return{width:this.currentdimension("width"),height:this.currentdimension("height")}},a.prototype.currentwidth=function(){return this.currentdimension("width")},a.prototype.currentheight=function(){return this.currentdimension("height")},a.prototype.focus=function(){this.el_.focus()},a.prototype.blur=function(){this.el_.blur()},a.prototype.emittapevents=function(){var a=0,b=null,c=void 0;this.on("touchstart",function(d){1===d.touches.length&&(b={pagex:d.touches[0].pagex,pagey:d.touches[0].pagey},a=(new date).gettime(),c=!0)}),this.on("touchmove",function(a){if(a.touches.length>1)c=!1;else if(b){var d=a.touches[0].pagex-b.pagex,e=a.touches[0].pagey-b.pagey,f=math.sqrt(d*d+e*e);f>10&&(c=!1)}});var d=function(){c=!1};this.on("touchleave",d),this.on("touchcancel",d),this.on("touchend",function(d){if(b=null,c===!0){(new date).gettime()-a<200&&(d.preventdefault(),this.trigger("tap"))}})},a.prototype.enabletouchactivity=function(){if(this.player()&&this.player().reportuseractivity){var a=l.bind(this.player(),this.player().reportuseractivity),b=void 0;this.on("touchstart",function(){a(),this.clearinterval(b),b=this.setinterval(a,250)});var c=function(c){a(),this.clearinterval(b)};this.on("touchmove",a),this.on("touchend",c),this.on("touchcancel",c)}},a.prototype.settimeout=function(a,b){a=l.bind(this,a);var c=h["default"].settimeout(a,b),d=function(){this.cleartimeout(c)};return d.guid="vjs-timeout-"+c,this.on("dispose",d),c},a.prototype.cleartimeout=function(a){h["default"].cleartimeout(a);var b=function(){};return b.guid="vjs-timeout-"+a,this.off("dispose",b),a},a.prototype.setinterval=function(a,b){a=l.bind(this,a);var c=h["default"].setinterval(a,b),d=function(){this.clearinterval(c)};return d.guid="vjs-interval-"+c,this.on("dispose",d),c},a.prototype.clearinterval=function(a){h["default"].clearinterval(a);var b=function(){};return b.guid="vjs-interval-"+a,this.off("dispose",b),a},a.registercomponent=function(b,c){if(b){if(b=(0,t["default"])(b),a.components_||(a.components_={}),"player"===b&&a.components_[b]){var d=a.components_[b];if(d.players&&object.keys(d.players).length>0&&object.keys(d.players).map(function(a){return d.players[a]}).every(boolean))throw new error("can not register player component after player has been created")}return a.components_[b]=c,c}},a.getcomponent=function(b){if(b)return b=(0,t["default"])(b),a.components_&&a.components_[b]?a.components_[b]:h["default"]&&h["default"].videojs&&h["default"].videojs[b]?(r["default"].warn("the "+b+" component was added to the videojs object when it should be registered using videojs.registercomponent(name, component)"),h["default"].videojs[b]):void 0},a.extend=function(b){b=b||{},r["default"].warn("component.extend({}) has been deprecated, use videojs.extend(component, {}) instead");var c=b.init||b.init||this.prototype.init||this.prototype.init||function(){},d=function(){c.apply(this,arguments)};d.prototype=object.create(this.prototype),d.prototype.constructor=d,d.extend=a.extend;for(var e in b)b.hasownproperty(e)&&(d.prototype[e]=b[e]);return d},a}();w.registercomponent("component",w),c["default"]=w},{81:81,82:82,83:83,85:85,86:86,87:87,91:91,95:95}],6:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(36),i=d(h),j=a(5),k=d(j),l=a(7),m=d(l),n=function(a){function b(c){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e(this,b),d.tracks=c.audiotracks&&c.audiotracks();var g=f(this,a.call(this,c,d));return g.el_.setattribute("aria-label","audio menu"),g}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-audio-button "+a.prototype.buildcssclass.call(this)},b.prototype.createitems=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],b=this.player_.audiotracks&&this.player_.audiotracks();if(!b)return a;for(var c=0;c'+this.localize("stream type")+""+this.localize("live")},{"aria-live":"off"}),b.appendchild(this.contentel_),b},b.prototype.updateshowing=function(a){this.player().duration()===1/0?this.show():this.hide()},b}(j["default"]);j["default"].registercomponent("livedisplay",m),c["default"]=m},{5:5,81:81}],11:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(2),j=e(i),k=a(5),l=e(k),m=a(81),n=d(m),o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.on(c,"volumechange",e.update),c.tech_&&c.tech_.featuresvolumecontrol===!1&&e.addclass("vjs-hidden"),e.on(c,"loadstart",function(){this.update(),c.tech_.featuresvolumecontrol===!1?this.addclass("vjs-hidden"):this.removeclass("vjs-hidden")}),e}return h(b,a),b.prototype.buildcssclass=function(){return"vjs-mute-control "+a.prototype.buildcssclass.call(this)},b.prototype.handleclick=function(a){this.player_.muted(!this.player_.muted())},b.prototype.update=function(a){var b=this.player_.volume(),c=3;0===b||this.player_.muted()?c=0:b<.33?c=1:b<.67&&(c=2);var d=this.player_.muted()?"unmute":"mute";this.controltext()!==d&&this.controltext(d);for(var e=0;e<4;e++)n.removeelclass(this.el_,"vjs-vol-"+e);n.addelclass(this.el_,"vjs-vol-"+c)},b}(j["default"]);o.prototype.controltext_="mute",l["default"].registercomponent("mutetoggle",o),c["default"]=o},{2:2,5:5,81:81}],12:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(2),i=d(h),j=a(5),k=d(j),l=function(a){function b(c,d){e(this,b);var g=f(this,a.call(this,c,d));return g.on(c,"play",g.handleplay),g.on(c,"pause",g.handlepause),g}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-play-control "+a.prototype.buildcssclass.call(this)},b.prototype.handleclick=function(a){this.player_.paused()?this.player_.play():this.player_.pause()},b.prototype.handleplay=function(a){this.removeclass("vjs-paused"),this.addclass("vjs-playing"),this.controltext("pause")},b.prototype.handlepause=function(a){this.removeclass("vjs-playing"),this.addclass("vjs-paused"),this.controltext("play")},b}(i["default"]);l.prototype.controltext_="play",k["default"].registercomponent("playtoggle",l),c["default"]=l},{2:2,5:5}],13:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(47),j=e(i),k=a(49),l=e(k),m=a(14),n=e(m),o=a(5),p=e(o),q=a(81),r=d(q),s=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.updatevisibility(),e.updatelabel(),e.on(c,"loadstart",e.updatevisibility),e.on(c,"ratechange",e.updatelabel),e}return h(b,a),b.prototype.createel=function(){var b=a.prototype.createel.call(this);return this.labelel_=r.createel("div",{classname:"vjs-playback-rate-value",innerhtml:1}),b.appendchild(this.labelel_),b},b.prototype.buildcssclass=function(){return"vjs-playback-rate "+a.prototype.buildcssclass.call(this)},b.prototype.createmenu=function(){var a=new l["default"](this.player()),b=this.playbackrates() ;if(b)for(var c=b.length-1;c>=0;c--)a.addchild(new n["default"](this.player(),{rate:b[c]+"x"}));return a},b.prototype.updateariaattributes=function(){this.el().setattribute("aria-valuenow",this.player().playbackrate())},b.prototype.handleclick=function(a){for(var b=this.player().playbackrate(),c=this.playbackrates(),d=c[0],e=0;eb){d=c[e];break}this.player().playbackrate(d)},b.prototype.playbackrates=function(){return this.options_.playbackrates||this.options_.playeroptions&&this.options_.playeroptions.playbackrates},b.prototype.playbackratesupported=function(){return this.player().tech_&&this.player().tech_.featuresplaybackrate&&this.playbackrates()&&this.playbackrates().length>0},b.prototype.updatevisibility=function(a){this.playbackratesupported()?this.removeclass("vjs-hidden"):this.addclass("vjs-hidden")},b.prototype.updatelabel=function(a){this.playbackratesupported()&&(this.labelel_.innerhtml=this.player().playbackrate()+"x")},b}(j["default"]);s.prototype.controltext_="playback rate",p["default"].registercomponent("playbackratemenubutton",s),c["default"]=s},{14:14,47:47,49:49,5:5,81:81}],14:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(48),i=d(h),j=a(5),k=d(j),l=function(a){function b(c,d){e(this,b);var g=d.rate,h=parsefloat(g,10);d.label=g,d.selected=1===h,d.selectable=!0;var i=f(this,a.call(this,c,d));return i.label=g,i.rate=h,i.on(c,"ratechange",i.update),i}return g(b,a),b.prototype.handleclick=function(b){a.prototype.handleclick.call(this),this.player().playbackrate(this.rate)},b.prototype.update=function(a){this.selected(this.player().playbackrate()===this.rate)},b}(i["default"]);l.prototype.contenteltype="button",k["default"].registercomponent("playbackratemenuitem",l),c["default"]=l},{48:48,5:5}],15:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(81),l=d(k),m=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.partels_=[],e.on(c,"progress",e.update),e}return h(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-load-progress",innerhtml:''+this.localize("loaded")+": 0%"})},b.prototype.update=function(a){var b=this.player_.buffered(),c=this.player_.duration(),d=this.player_.bufferedend(),e=this.partels_,f=function(a,b){var c=a/b||0;return 100*(c>=1?1:c)+"%"};this.el_.style.width=f(d,c);for(var g=0;gb.length;k--)this.el_.removechild(e[k-1]);e.length=b.length},b}(j["default"]);j["default"].registercomponent("loadprogressbar",m),c["default"]=m},{5:5,81:81}],16:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(81),l=d(k),m=a(83),n=d(m),o=a(84),p=e(o),q=a(80),r=e(q),s=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return d.playeroptions&&d.playeroptions.controlbar&&d.playeroptions.controlbar.progresscontrol&&d.playeroptions.controlbar.progresscontrol.keeptooltipsinside&&(e.keeptooltipsinside=d.playeroptions.controlbar.progresscontrol.keeptooltipsinside),e.keeptooltipsinside&&(e.tooltip=l.createel("div",{classname:"vjs-time-tooltip"}),e.el().appendchild(e.tooltip),e.addclass("vjs-keep-tooltips-inside")),e.update(0,0),c.on("ready",function(){e.on(c.controlbar.progresscontrol.el(),"mousemove",n.throttle(n.bind(e,e.handlemousemove),25))}),e}return h(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-mouse-display"})},b.prototype.handlemousemove=function(a){var b=this.player_.duration(),c=this.calculatedistance(a)*b,d=a.pagex-l.findelposition(this.el().parentnode).left;this.update(c,d)},b.prototype.update=function(a,b){var c=(0,p["default"])(a,this.player_.duration());if(this.el().style.left=b+"px",this.el().setattribute("data-current-time",c),this.keeptooltipsinside){var d=this.clampposition_(b),e=b-d+1,f=parsefloat((0,r["default"])(this.tooltip,"width")),g=f/2;this.tooltip.innerhtml=c,this.tooltip.style.right="-"+(g-e)+"px"}},b.prototype.calculatedistance=function(a){return l.getpointerposition(this.el().parentnode,a).x},b.prototype.clampposition_=function(a){if(!this.keeptooltipsinside)return a;var b=parsefloat((0,r["default"])(this.player().el(),"width")),c=parsefloat((0,r["default"])(this.tooltip,"width")),d=c/2,e=a;return ab-d&&(e=math.floor(b-d)),e},b}(j["default"]);j["default"].registercomponent("mousetimedisplay",s),c["default"]=s},{5:5,80:80,81:81,83:83,84:84}],17:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(83),l=d(k),m=a(84),n=e(m),o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.updatedataattr(),e.on(c,"timeupdate",e.updatedataattr),c.ready(l.bind(e,e.updatedataattr)),d.playeroptions&&d.playeroptions.controlbar&&d.playeroptions.controlbar.progresscontrol&&d.playeroptions.controlbar.progresscontrol.keeptooltipsinside&&(e.keeptooltipsinside=d.playeroptions.controlbar.progresscontrol.keeptooltipsinside),e.keeptooltipsinside&&e.addclass("vjs-keep-tooltips-inside"),e}return h(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-play-progress vjs-slider-bar",innerhtml:''+this.localize("progress")+": 0%"})},b.prototype.updatedataattr=function(a){var b=this.player_.scrubbing()?this.player_.getcache().currenttime:this.player_.currenttime();this.el_.setattribute("data-current-time",(0,n["default"])(b,this.player_.duration()))},b}(j["default"]);j["default"].registercomponent("playprogressbar",o),c["default"]=o},{5:5,83:83,84:84}],18:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h);a(19),a(16);var j=function(a){function b(){return e(this,b),f(this,a.apply(this,arguments))}return g(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-progress-control vjs-control"})},b}(i["default"]);j.prototype.options_={children:["seekbar"]},i["default"].registercomponent("progresscontrol",j),c["default"]=j},{16:16,19:19,5:5}],19:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(57),j=e(i),k=a(5),l=e(k),m=a(83),n=d(m),o=a(84),p=e(o),q=a(80),r=e(q);a(15),a(17),a(20);var s=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.on(c,"timeupdate",e.updateprogress),e.on(c,"ended",e.updateprogress),c.ready(n.bind(e,e.updateprogress)),d.playeroptions&&d.playeroptions.controlbar&&d.playeroptions.controlbar.progresscontrol&&d.playeroptions.controlbar.progresscontrol.keeptooltipsinside&&(e.keeptooltipsinside=d.playeroptions.controlbar.progresscontrol.keeptooltipsinside),e.keeptooltipsinside&&(e.tooltipprogressbar=e.addchild("tooltipprogressbar")),e}return h(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-progress-holder"},{"aria-label":"progress bar"})},b.prototype.updateprogress=function(a){if(this.updateariaattributes(this.el_),this.keeptooltipsinside){this.updateariaattributes(this.tooltipprogressbar.el_),this.tooltipprogressbar.el_.style.width=this.bar.el_.style.width;var b=parsefloat((0,r["default"])(this.player().el(),"width")),c=parsefloat((0,r["default"])(this.tooltipprogressbar.tooltip,"width")),d=this.tooltipprogressbar.el().style;d.maxwidth=math.floor(b-c/2)+"px",d.minwidth=math.ceil(c/2)+"px",d.right="-"+c/2+"px"}},b.prototype.updateariaattributes=function(a){var b=this.player_.scrubbing()?this.player_.getcache().currenttime:this.player_.currenttime();a.setattribute("aria-valuenow",(100*this.getpercent()).tofixed(2)),a.setattribute("aria-valuetext",(0,p["default"])(b,this.player_.duration()))},b.prototype.getpercent=function(){var a=this.player_.currenttime()/this.player_.duration();return a>=1?1:a},b.prototype.handlemousedown=function(b){this.player_.scrubbing(!0),this.videowasplaying=!this.player_.paused(),this.player_.pause(),a.prototype.handlemousedown.call(this,b)},b.prototype.handlemousemove=function(a){var b=this.calculatedistance(a)*this.player_.duration();b===this.player_.duration()&&(b-=.1),this.player_.currenttime(b)},b.prototype.handlemouseup=function(b){a.prototype.handlemouseup.call(this,b),this.player_.scrubbing(!1),this.videowasplaying&&this.player_.play()},b.prototype.stepforward=function(){this.player_.currenttime(this.player_.currenttime()+5)},b.prototype.stepback=function(){this.player_.currenttime(this.player_.currenttime()-5)},b}(j["default"]);s.prototype.options_={children:["loadprogressbar","mousetimedisplay","playprogressbar"],barname:"playprogressbar"},s.prototype.playerevent="timeupdate",l["default"].registercomponent("seekbar",s),c["default"]=s},{15:15,17:17,20:20,5:5,57:57,80:80,83:83,84:84}],20:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(83),l=d(k),m=a(84),n=e(m),o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.updatedataattr(),e.on(c,"timeupdate",e.updatedataattr),c.ready(l.bind(e,e.updatedataattr)),e}return h(b,a),b.prototype.createel=function(){var b=a.prototype.createel.call(this,"div",{classname:"vjs-tooltip-progress-bar vjs-slider-bar",innerhtml:'
\n '+this.localize("progress")+": 0%"});return this.tooltip=b.queryselector(".vjs-time-tooltip"),b},b.prototype.updatedataattr=function(a){var b=this.player_.scrubbing()?this.player_.getcache().currenttime:this.player_.currenttime(),c=(0,n["default"])(b,this.player_.duration());this.el_.setattribute("data-current-time",c),this.tooltip.innerhtml=c},b}(j["default"]);j["default"].registercomponent("tooltipprogressbar",o),c["default"]=o},{5:5,83:83,84:84}],21:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(22),i=d(h),j=a(5),k=d(j),l=function(a){function b(){return e(this,b),f(this,a.apply(this,arguments))}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-custom-control-spacer "+a.prototype.buildcssclass.call(this)},b.prototype.createel=function(){var b=a.prototype.createel.call(this,{classname:this.buildcssclass()});return b.innerhtml=" ",b},b}(i["default"]);k["default"].registercomponent("customcontrolspacer",l),c["default"]=l},{22:22,5:5}],22:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h),j=function(a){function b(){return e(this,b),f(this,a.apply(this,arguments))}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-spacer "+a.prototype.buildcssclass.call(this)},b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:this.buildcssclass()})},b}(i["default"]);i["default"].registercomponent("spacer",j),c["default"]=j},{5:5}],23:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(31),i=d(h),j=a(5),k=d(j),l=function(a){function b(c,d){e(this,b),d.track={player:c,kind:d.kind,label:d.kind+" settings",selectable:!1,"default":!1,mode:"disabled"},d.selectable=!1;var g=f(this,a.call(this,c,d));return g.addclass("vjs-texttrack-settings"),g.controltext(", opens "+d.kind+" settings dialog"),g}return g(b,a),b.prototype.handleclick=function(a){this.player().getchild("texttracksettings").show(),this.player().getchild("texttracksettings").el_.focus()},b}(i["default"]);k["default"].registercomponent("captionsettingsmenuitem",l),c["default"]=l},{31:31,5:5}],24:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(30),i=d(h),j=a(5),k=d(j),l=a(23),m=d(l),n=function(a){function b(c,d,g){e(this,b);var h=f(this,a.call(this,c,d,g));return h.el_.setattribute("aria-label","captions menu"),h}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-captions-button "+a.prototype.buildcssclass.call(this)},b.prototype.createitems=function(){var b=[];return this.player().tech_&&this.player().tech_.featuresnativetexttracks||(b.push(new m["default"](this.player_,{kind:this.kind_})),this.hidethreshold_+=1),a.prototype.createitems.call(this,b)},b}(i["default"]);n.prototype.kind_="captions",n.prototype.controltext_="captions",k["default"].registercomponent("captionsbutton",n),c["default"]=n},{23:23,30:30,5:5}],25:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(30),i=d(h),j=a(5),k=d(j),l=a(26),m=d(l),n=a(91),o=d(n),p=function(a){function b(c,d,g){e(this,b);var h=f(this,a.call(this,c,d,g));return h.el_.setattribute("aria-label","chapters menu"),h}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-chapters-button "+a.prototype.buildcssclass.call(this)},b.prototype.update=function(b){this.track_&&(!b||"addtrack"!==b.type&&"removetrack"!==b.type)||this.settrack(this.findchapterstrack()),a.prototype.update.call(this)},b.prototype.settrack=function(a){if(this.track_!==a){if(this.updatehandler_||(this.updatehandler_=this.update.bind(this)),this.track_){var b=this.player_.remotetexttrackels().gettrackelementbytrack_(this.track_);b&&b.removeeventlistener("load",this.updatehandler_),this.track_=null}if(this.track_=a,this.track_){this.track_.mode="hidden";var c=this.player_.remotetexttrackels().gettrackelementbytrack_(this.track_);c&&c.addeventlistener("load",this.updatehandler_)}}},b.prototype.findchapterstrack=function(){for(var a=this.player_.texttracks()||[],b=a.length-1;b>=0;b--){var c=a[b];if(c.kind===this.kind_)return c}},b.prototype.getmenucaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize((0,o["default"])(this.kind_))},b.prototype.createmenu=function(){return this.options_.title=this.getmenucaption(),a.prototype.createmenu.call(this)},b.prototype.createitems=function(){var a=[];if(!this.track_)return a;var b=this.track_.cues;if(!b)return a;for(var c=0,d=b.length;c1&&void 0!==arguments[1]?arguments[1]:{};return e(this,b),d.tracks=c.texttracks(),f(this,a.call(this,c,d))}return g(b,a),b.prototype.createitems=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];a.push(new o["default"](this.player_,{kind:this.kind_})),this.hidethreshold_+=1;var b=this.player_.texttracks();if(!b)return a;for(var c=0;ccurrent time 0:00'},{"aria-live":"off"}),b.appendchild(this.contentel_),b},b.prototype.updatecontent=function(a){var b=this.player_.scrubbing()?this.player_.getcache().currenttime:this.player_.currenttime(),c=this.localize("current time"),d=(0,n["default"])(b,this.player_.duration());d!==this.formattedtime_&&(this.formattedtime_=d,this.contentel_.innerhtml=''+c+" "+d)},b}(j["default"]);j["default"].registercomponent("currenttimedisplay",o),c["default"]=o},{5:5,81:81,84:84}],33:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(81),l=d(k),m=a(84),n=e(m),o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.on(c,"durationchange",e.updatecontent),e.on(c,"timeupdate",e.updatecontent),e.on(c,"loadedmetadata",e.updatecontent),e}return h(b,a),b.prototype.createel=function(){var b=a.prototype.createel.call(this,"div",{classname:"vjs-duration vjs-time-control vjs-control"});return this.contentel_=l.createel("div",{classname:"vjs-duration-display",innerhtml:''+this.localize("duration time")+" 0:00"},{"aria-live":"off"}),b.appendchild(this.contentel_),b},b.prototype.updatecontent=function(a){var b=this.player_.duration();if(b&&this.duration_!==b){this.duration_=b;var c=this.localize("duration time"),d=(0,n["default"])(b);this.contentel_.innerhtml=''+c+" "+d}},b}(j["default"]);j["default"].registercomponent("durationdisplay",o),c["default"]=o},{5:5,81:81,84:84}],34:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(81),l=d(k),m=a(84),n=e(m),o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.on(c,"timeupdate",e.updatecontent),e.on(c,"durationchange",e.updatecontent),e}return h(b,a),b.prototype.createel=function(){var b=a.prototype.createel.call(this,"div",{classname:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentel_=l.createel("div",{classname:"vjs-remaining-time-display",innerhtml:''+this.localize("remaining time")+" -0:00"},{"aria-live":"off"}),b.appendchild(this.contentel_),b},b.prototype.updatecontent=function(a){if(this.player_.duration()){var b=this.localize("remaining time"),c=(0,n["default"])(this.player_.remainingtime());c!==this.formattedtime_&&(this.formattedtime_=c,this.contentel_.innerhtml=''+b+" -"+c)}},b}(j["default"]);j["default"].registercomponent("remainingtimedisplay",o),c["default"]=o},{5:5,81:81,84:84}],35:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h),j=function(a){function b(){return e(this,b),f(this,a.apply(this,arguments))}return g(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-time-control vjs-time-divider",innerhtml:"
/
"})},b}(i["default"]);i["default"].registercomponent("timedivider",j),c["default"]=j},{5:5}],36:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(47),j=e(i),k=a(5),l=e(k),m=a(83),n=d(m),o=function(a){function b(c,d){f(this,b);var e=d.tracks,h=g(this,a.call(this,c,d));if(h.items.length<=1&&h.hide(),!e)return g(h);var i=n.bind(h,h.update);return e.addeventlistener("removetrack",i),e.addeventlistener("addtrack",i),h.player_.on("dispose",function(){e.removeeventlistener("removetrack",i),e.removeeventlistener("addtrack",i)}),h}return h(b,a),b}(j["default"]);l["default"].registercomponent("trackbutton",o),c["default"]=o},{47:47,5:5,83:83}],37:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(57),j=e(i),k=a(5),l=e(k),m=a(83),n=d(m);a(39);var o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.on(c,"volumechange",e.updateariaattributes),c.ready(n.bind(e,e.updateariaattributes)),e}return h(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},b.prototype.handlemousemove=function(a){this.checkmuted(),this.player_.volume(this.calculatedistance(a))},b.prototype.checkmuted=function(){this.player_.muted()&&this.player_.muted(!1)},b.prototype.getpercent=function(){return this.player_.muted()?0:this.player_.volume()},b.prototype.stepforward=function(){this.checkmuted(),this.player_.volume(this.player_.volume()+.1)},b.prototype.stepback=function(){this.checkmuted(),this.player_.volume(this.player_.volume()-.1)},b.prototype.updateariaattributes=function(a){var b=(100*this.player_.volume()).tofixed(2);this.el_.setattribute("aria-valuenow",b),this.el_.setattribute("aria-valuetext",b+"%")},b}(j["default"]);o.prototype.options_={children:["volumelevel"],barname:"volumelevel"},o.prototype.playerevent="volumechange",l["default"].registercomponent("volumebar",o),c["default"]=o},{39:39,5:5,57:57,83:83}],38:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h);a(37);var j=function(a){function b(c,d){e(this,b);var g=f(this,a.call(this,c,d));return c.tech_&&c.tech_.featuresvolumecontrol===!1&&g.addclass("vjs-hidden"),g.on(c,"loadstart",function(){c.tech_.featuresvolumecontrol===!1?this.addclass("vjs-hidden"):this.removeclass("vjs-hidden")}),g}return g(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-volume-control vjs-control"})},b}(i["default"]);j.prototype.options_={children:["volumebar"]},i["default"].registercomponent("volumecontrol",j),c["default"]=j},{37:37,5:5}],39:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h),j=function(a){function b(){return e(this,b),f(this,a.apply(this,arguments))}return g(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:"vjs-volume-level",innerhtml:''})},b}(i["default"]);i["default"].registercomponent("volumelevel",j),c["default"]=j},{5:5}],40:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(83),j=e(i),k=a(5),l=d(k),m=a(54),n=d(m),o=a(53),p=d(o),q=a(11),r=d(q),s=a(37),t=d(s),u=function(a){function b(c){function d(){c.tech_&&c.tech_.featuresvolumecontrol===!1?this.addclass("vjs-hidden"):this.removeclass("vjs-hidden")}var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,b),void 0===e.inline&&(e.inline=!0),void 0===e.vertical&&(e.inline?e.vertical=!1:e.vertical=!0),e.volumebar=e.volumebar||{},e.volumebar.vertical=!!e.vertical;var h=g(this,a.call(this,c,e));return h.on(c,"volumechange",h.volumeupdate),h.on(c,"loadstart",h.volumeupdate),d.call(h),h.on(c,"loadstart",d),h.on(h.volumebar,["slideractive","focus"],function(){this.addclass("vjs-slider-active")}),h.on(h.volumebar,["sliderinactive","blur"],function(){this.removeclass("vjs-slider-active")}),h.on(h.volumebar,["focus"],function(){this.addclass("vjs-lock-showing")}),h.on(h.volumebar,["blur"],function(){this.removeclass("vjs-lock-showing")}),h}return h(b,a),b.prototype.buildcssclass=function(){var b="";return b=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+a.prototype.buildcssclass.call(this)+" "+b},b.prototype.createpopup=function(){var a=new n["default"](this.player_,{contenteltype:"div"}),b=new t["default"](this.player_,this.options_.volumebar);return a.addchild(b),this.menucontent=a,this.volumebar=b,this.attachvolumebarevents(),a},b.prototype.handleclick=function(b){r["default"].prototype.handleclick.call(this),a.prototype.handleclick.call(this)},b.prototype.attachvolumebarevents=function(){this.menucontent.on(["mousedown","touchdown"],j.bind(this,this.handlemousedown))},b.prototype.handlemousedown=function(a){this.on(["mousemove","touchmove"],j.bind(this.volumebar,this.volumebar.handlemousemove)),this.on(this.el_.ownerdocument,["mouseup","touchend"],this.handlemouseup)},b.prototype.handlemouseup=function(a){this.off(["mousemove","touchmove"],j.bind(this.volumebar,this.volumebar.handlemousemove))},b}(p["default"]);u.prototype.volumeupdate=r["default"].prototype.update,u.prototype.controltext_="mute",l["default"].registercomponent("volumemenubutton",u),c["default"]=u},{11:11,37:37,5:5,53:53,54:54,83:83}],41:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h),j=a(50),k=d(j),l=a(87),m=d(l),n=function(a){function b(c,d){e(this,b);var g=f(this,a.call(this,c,d));return g.on(c,"error",g.open),g}return g(b,a),b.prototype.buildcssclass=function(){return"vjs-error-display "+a.prototype.buildcssclass.call(this)},b.prototype.content=function(){var a=this.player().error();return a?this.localize(a.message):""},b}(k["default"]);n.prototype.options_=(0,m["default"])(k["default"].prototype.options_,{fillalways:!0,temporary:!1,uncloseable:!0}),i["default"].registercomponent("errordisplay",n),c["default"]=n},{5:5,50:50,87:87}],42:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}c.__esmodule=!0;var e=a(82),f=d(e),g=function(){};g.prototype.allowedevents_={},g.prototype.on=function(a,b){var c=this.addeventlistener;this.addeventlistener=function(){},f.on(this,a,b),this.addeventlistener=c},g.prototype.addeventlistener=g.prototype.on,g.prototype.off=function(a,b){f.off(this,a,b)},g.prototype.removeeventlistener=g.prototype.off,g.prototype.one=function(a,b){var c=this.addeventlistener;this.addeventlistener=function(){},f.one(this,a,b),this.addeventlistener=c},g.prototype.trigger=function(a){var b=a.type||a;"string"==typeof a&&(a={type:b}),a=f.fixevent(a),this.allowedevents_[b]&&this["on"+b]&&this["on"+b](a),f.trigger(this,a)},g.prototype.dispatchevent=g.prototype.trigger,c["default"]=g},{82:82}],43:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}c.__esmodule=!0;var e="function"==typeof symbol&&"symbol"==typeof symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof symbol&&a.constructor===symbol&&a!==symbol.prototype?"symbol":typeof a},f=a(86),g=d(f),h=a(88),i=function(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+(void 0===b?"undefined":e(b)));a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.super_=b)},j=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=function(){a.apply(this,arguments)},d={};(0,h.isobject)(b)?("function"==typeof b.init&&(g["default"].warn("constructor logic via init() is deprecated; please use constructor() instead."),b.constructor=b.init),b.constructor!==object.prototype.constructor&&(c=b.constructor),d=b):"function"==typeof b&&(c=b),i(c,a);for(var e in d)d.hasownproperty(e)&&(c.prototype[e]=d[e]);return c};c["default"]=j},{86:86,88:88}],44:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}c.__esmodule=!0;for(var e=a(94),f=d(e),g={},h=[["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"]],i=h[0],j=void 0,k=0;k1&&void 0!==arguments[1]?arguments[1]:{};f(this,b);var e=g(this,a.call(this,c,d));return e.update(),e.enabled_=!0,e.el_.setattribute("aria-haspopup","true"),e.el_.setattribute("role","menuitem"),e.on("keydown",e.handlesubmenukeypress),e}return h(b,a),b.prototype.update=function(){var a=this.createmenu();this.menu&&this.removechild(this.menu),this.menu=a,this.addchild(a),this.buttonpressed_=!1,this.el_.setattribute("aria-expanded","false"),this.items&&this.items.length<=this.hidethreshold_?this.hide():this.show()},b.prototype.createmenu=function(){var a=new n["default"](this.player_);if(this.hidethreshold_=0,this.options_.title){var b=p.createel("li",{classname:"vjs-menu-title",innerhtml:(0,t["default"])(this.options_.title),tabindex:-1});this.hidethreshold_+=1,a.children_.unshift(b),p.insertelfirst(b,a.contentel())}if(this.items=this.createitems(),this.items)for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:0,b=this.children().slice();b.length&&b[0].classname&&/vjs-menu-title/.test(b[0].classname)&&b.shift(),b.length>0&&(a<0?a=0:a>=b.length&&(a=b.length-1),this.focusedchild_=a,b[a].el_.focus())},b}(j["default"]);j["default"].registercomponent("menu",q),c["default"]=q},{5:5,81:81,82:82,83:83}],50:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(81),j=e(i),k=a(83),l=e(k),m=a(5),n=d(m),o=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.opened_=e.hasbeenopened_=e.hasbeenfilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentel_=j.createel("div",{classname:"vjs-modal-dialog-content"},{role:"document"}),e.descel_=j.createel("p",{classname:"vjs-modal-dialog-description vjs-offscreen",id:e.el().getattribute("aria-describedby")}),j.textcontent(e.descel_,e.description()),e.el_.appendchild(e.descel_),e.el_.appendchild(e.contentel_),e}return h(b,a),b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:this.buildcssclass(),tabindex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},b.prototype.buildcssclass=function(){return"vjs-modal-dialog vjs-hidden "+a.prototype.buildcssclass.call(this)},b.prototype.handlekeypress=function(a){27===a.which&&this.closeable()&&this.close()},b.prototype.label=function(){return this.options_.label||this.localize("modal window")},b.prototype.description=function(){var a=this.options_.description||this.localize("this is a modal window.");return this.closeable()&&(a+=" "+this.localize("this modal can be closed by pressing the escape key or activating the close button.")),a},b.prototype.open=function(){if(!this.opened_){var a=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillalways||!this.hasbeenopened_&&!this.hasbeenfilled_)&&this.fill(),this.wasplaying_=!a.paused(),this.wasplaying_&&a.pause(),this.closeable()&&this.on(this.el_.ownerdocument,"keydown",l.bind(this,this.handlekeypress)),a.controls(!1),this.show(),this.el().setattribute("aria-hidden","false"),this.trigger("modalopen"),this.hasbeenopened_=!0}return this},b.prototype.opened=function(a){return"boolean"==typeof a&&this[a?"open":"close"](),this.opened_},b.prototype.close=function(){if(this.opened_){var a=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasplaying_&&a.play(),this.closeable()&&this.off(this.el_.ownerdocument,"keydown",l.bind(this,this.handlekeypress)),a.controls(!0),this.hide(),this.el().setattribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},b.prototype.closeable=function c(a){if("boolean"==typeof a){var c=this.closeable_=!!a,b=this.getchild("closebutton");if(c&&!b){var d=this.contentel_;this.contentel_=this.el_,b=this.addchild("closebutton",{controltext:"close modal dialog"}),this.contentel_=d,this.on(b,"close",this.close)}!c&&b&&(this.off(b,"close",this.close),this.removechild(b),b.dispose())}return this.closeable_},b.prototype.fill=function(){return this.fillwith(this.content())},b.prototype.fillwith=function(a){var b=this.contentel(),c=b.parentnode,d=b.nextsibling;return this.trigger("beforemodalfill"),this.hasbeenfilled_=!0, c.removechild(b),this.empty(),j.insertcontent(b,a),this.trigger("modalfill"),d?c.insertbefore(b,d):c.appendchild(b),this},b.prototype.empty=function(){return this.trigger("beforemodalempty"),j.emptyel(this.contentel()),this.trigger("modalempty"),this},b.prototype.content=function(a){return void 0!==a&&(this.content_=a),this.content_},b}(n["default"]);o.prototype.options_={temporary:!0},n["default"].registercomponent("modaldialog",o),c["default"]=o},{5:5,81:81,83:83}],51:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(94),l=e(k),m=a(95),n=e(m),o=a(82),p=d(o),q=a(81),r=d(q),s=a(83),t=d(s),u=a(85),v=d(u),w=a(78),x=d(w),y=a(86),z=e(y),a=a(91),b=e(a),c=a(90),d=a(79),e=a(89),f=d(e),g=a(44),h=e(g),i=a(46),j=e(i),k=a(97),l=e(k),m=a(88),n=a(87),o=e(n),p=a(69),q=e(p),r=a(50),s=e(r),t=a(62),u=e(t),v=a(63),w=e(v),x=a(76),y=e(x);a(61),a(59),a(55),a(68),a(45),a(1),a(4),a(8),a(41),a(71),a(60);var z=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"],$=function(a){function b(c,d,e){if(f(this,b),c.id=c.id||"vjs_video_"+v.newguid(),d=(0,m.assign)(b.gettagsettings(c),d),d.initchildren=!1,d.createel=!1,d.reporttouchactivity=!1,!d.language)if("function"==typeof c.closest){var h=c.closest("[lang]");h&&(d.language=h.getattribute("lang"))}else for(var i=c;i&&1===i.nodetype;){if(r.getelattributes(i).hasownproperty("lang")){d.language=i.getattribute("lang");break}i=i.parentnode}var j=g(this,a.call(this,null,d,e));if(!j.options_||!j.options_.techorder||!j.options_.techorder.length)throw new error("no techorder specified. did you overwrite videojs.options instead of just changing the properties you want to override?");if(j.tag=c,j.tagattributes=c&&r.getelattributes(c),j.language(j.options_.language),d.languages){var k={};object.getownpropertynames(d.languages).foreach(function(a){k[a.tolowercase()]=d.languages[a]}),j.languages_=k}else j.languages_=b.prototype.options_.languages;j.cache_={},j.poster_=d.poster||"",j.controls_=!!d.controls,c.controls=!1,j.scrubbing_=!1,j.el_=j.createel();var l=(0,o["default"])(j.options_);if(d.plugins){var m=d.plugins;object.getownpropertynames(m).foreach(function(a){"function"==typeof this[a]?this[a](m[a]):z["default"].error("unable to find plugin:",a)},j)}return j.options_.playeroptions=l,j.initchildren(),j.isaudio("audio"===c.nodename.tolowercase()),j.controls()?j.addclass("vjs-controls-enabled"):j.addclass("vjs-controls-disabled"),j.el_.setattribute("role","region"),j.isaudio()?j.el_.setattribute("aria-label","audio player"):j.el_.setattribute("aria-label","video player"),j.isaudio()&&j.addclass("vjs-audio"),j.flexnotsupported_()&&j.addclass("vjs-no-flex"),x.is_ios||j.addclass("vjs-workinghover"),b.players[j.id_]=j,j.useractive(!0),j.reportuseractivity(),j.listenforuseractivity_(),j.on("fullscreenchange",j.handlefullscreenchange_),j.on("stageclick",j.handlestageclick_),j}return h(b,a),b.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleel_&&this.styleel_.parentnode&&this.styleel_.parentnode.removechild(this.styleel_),b.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(),a.prototype.dispose.call(this)},b.prototype.createel=function(){var b=this.tag,c=void 0,d=this.playerelingest_=b.parentnode&&b.parentnode.hasattribute&&b.parentnode.hasattribute("data-vjs-player");c=this.el_=d?b.parentnode:a.prototype.createel.call(this,"div"),b.setattribute("tabindex","-1"),b.removeattribute("width"),b.removeattribute("height");var e=r.getelattributes(b);if(object.getownpropertynames(e).foreach(function(a){"class"===a?c.classname+=" "+e[a]:c.setattribute(a,e[a])}),b.playerid=b.id,b.id+="_html5_api",b.classname="vjs-tech",b.player=c.player=this,this.addclass("vjs-paused"),n["default"].videojs_no_dynamic_style!==!0){this.styleel_=f.createstyleelement("vjs-styles-dimensions");var f=r.$(".vjs-styles-defaults"),g=r.$("head");g.insertbefore(this.styleel_,f?f.nextsibling:g.firstchild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectratio(this.options_.aspectratio);for(var h=b.getelementsbytagname("a"),i=0;i=0&&(c.width=a),b>=0&&(c.height=b)))}var d=void 0,e=void 0,f=void 0,g=void 0;f=void 0!==this.aspectratio_&&"auto"!==this.aspectratio_?this.aspectratio_:this.videowidth()>0?this.videowidth()+":"+this.videoheight():"16:9";var h=f.split(":"),i=h[1]/h[0];d=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/i:this.videowidth()||300,e=void 0!==this.height_?this.height_:d*i,g=/^[^a-za-z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addclass(g),f.settextcontent(this.styleel_,"\n ."+g+" {\n width: "+d+"px;\n height: "+e+"px;\n }\n\n ."+g+".vjs-fluid {\n padding-top: "+100*i+"%;\n }\n ")},b.prototype.loadtech_=function(a,b){var c=this;this.tech_&&this.unloadtech_(),"html5"!==a&&this.tag&&(u["default"].gettech("html5").disposemediaelement(this.tag),this.tag.player=null,this.tag=null),this.techname_=a,this.isready_=!1;var d=(0,m.assign)({source:b,nativecontrolsfortouch:this.options_.nativecontrolsfortouch,playerid:this.id(),techid:this.id()+"_"+a+"_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_[a.tolowercase()]);this.tag&&(d.tag=this.tag),b&&(this.currenttype_=b.type,b.src===this.cache_.src&&this.cache_.currenttime>0&&(d.starttime=this.cache_.currenttime),this.cache_.sources=null,this.cache_.source=b,this.cache_.src=b.src);var e=u["default"].gettech(a);e||(e=j["default"].getcomponent(a)),this.tech_=new e(d),this.tech_.ready(t.bind(this,this.handletechready_),!0),q["default"].jsontotexttracks(this.texttracksjson_||[],this.tech_),z.foreach(function(a){c.on(c.tech_,a,c["handletech"+(0,b["default"])(a)+"_"])}),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"===a&&this.tag||r.insertelfirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},b.prototype.unloadtech_=function(){this.videotracks_=this.videotracks(),this.texttracks_=this.texttracks(),this.audiotracks_=this.audiotracks(),this.texttracksjson_=q["default"].texttrackstojson(this.tech_),this.isready_=!1,this.tech_.dispose(),this.tech_=!1},b.prototype.tech=function(a){if(a&&a.iwillnotusethisinplugins)return this.tech_;var b="\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 n["default"].alert(b),new error(b)},b.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_)},b.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_)},b.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(a){(0,z["default"])("deleting tag.poster throws in some browsers",a)}this.play()}},b.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"))},b.prototype.hasstarted=function(a){return void 0!==a?(this.hasstarted_!==a&&(this.hasstarted_=a,a?(this.addclass("vjs-has-started"),this.trigger("firstplay")):this.removeclass("vjs-has-started")),this):!!this.hasstarted_},b.prototype.handletechplay_=function(){this.removeclass("vjs-ended"),this.removeclass("vjs-paused"),this.addclass("vjs-playing"),this.hasstarted(!0),this.trigger("play")},b.prototype.handletechwaiting_=function(){var a=this;this.addclass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return a.removeclass("vjs-waiting")})},b.prototype.handletechcanplay_=function(){this.removeclass("vjs-waiting"),this.trigger("canplay")},b.prototype.handletechcanplaythrough_=function(){this.removeclass("vjs-waiting"),this.trigger("canplaythrough")},b.prototype.handletechplaying_=function(){this.removeclass("vjs-waiting"),this.trigger("playing")},b.prototype.handletechseeking_=function(){this.addclass("vjs-seeking"),this.trigger("seeking")},b.prototype.handletechseeked_=function(){this.removeclass("vjs-seeking"),this.trigger("seeked")},b.prototype.handletechfirstplay_=function(){this.options_.starttime&&(z["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")},b.prototype.handletechpause_=function(){this.removeclass("vjs-playing"),this.addclass("vjs-paused"),this.trigger("pause")},b.prototype.handletechended_=function(){this.addclass("vjs-ended"),this.options_.loop?(this.currenttime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},b.prototype.handletechdurationchange_=function(){this.duration(this.techget_("duration"))},b.prototype.handletechclick_=function(a){0===a.button&&this.controls()&&(this.paused()?this.play():this.pause())},b.prototype.handletechtap_=function(){this.useractive(!this.useractive())},b.prototype.handletechtouchstart_=function(){this.userwasactive=this.useractive()},b.prototype.handletechtouchmove_=function(){this.userwasactive&&this.reportuseractivity()},b.prototype.handletechtouchend_=function(a){a.preventdefault()},b.prototype.handlefullscreenchange_=function(){this.isfullscreen()?this.addclass("vjs-fullscreen"):this.removeclass("vjs-fullscreen")},b.prototype.handlestageclick_=function(){this.reportuseractivity()},b.prototype.handletechfullscreenchange_=function(a,b){b&&this.isfullscreen(b.isfullscreen),this.trigger("fullscreenchange")},b.prototype.handletecherror_=function(){var a=this.tech_.error();this.error(a)},b.prototype.handletechtextdata_=function(){var a=null;arguments.length>1&&(a=arguments[1]),this.trigger("textdata",a)},b.prototype.getcache=function(){return this.cache_},b.prototype.techcall_=function(a,b){if(this.tech_&&!this.tech_.isready_)this.tech_.ready(function(){this[a](b)},!0);else try{this.tech_&&this.tech_[a](b)}catch(c){throw(0,z["default"])(c),c}},b.prototype.techget_=function(a){if(this.tech_&&this.tech_.isready_)try{return this.tech_[a]()}catch(b){throw void 0===this.tech_[a]?(0,z["default"])("video.js: "+a+" method not defined for "+this.techname_+" playback technology.",b):"typeerror"===b.name?((0,z["default"])("video.js: "+a+" unavailable on "+this.techname_+" playback technology element.",b),this.tech_.isready_=!1):(0,z["default"])(b),b}},b.prototype.play=function(){return this.src()||this.currentsrc()?this.techcall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},b.prototype.pause=function(){return this.techcall_("pause"),this},b.prototype.paused=function(){return this.techget_("paused")!==!1},b.prototype.scrubbing=function(a){return void 0!==a?(this.scrubbing_=!!a,a?this.addclass("vjs-scrubbing"):this.removeclass("vjs-scrubbing"),this):this.scrubbing_},b.prototype.currenttime=function(a){return void 0!==a?(this.techcall_("setcurrenttime",a),this):(this.cache_.currenttime=this.techget_("currenttime")||0,this.cache_.currenttime)},b.prototype.duration=function(a){return void 0===a?this.cache_.duration||0:(a=parsefloat(a)||0,a<0&&(a=1/0),a!==this.cache_.duration&&(this.cache_.duration=a,a===1/0?this.addclass("vjs-live"):this.removeclass("vjs-live"),this.trigger("durationchange")),this)},b.prototype.remainingtime=function(){return this.duration()-this.currenttime()},b.prototype.buffered=function c(){var c=this.techget_("buffered");return c&&c.length||(c=(0,c.createtimerange)(0,0)),c},b.prototype.bufferedpercent=function(){return(0,d.bufferedpercent)(this.buffered(),this.duration())},b.prototype.bufferedend=function(){var a=this.buffered(),b=this.duration(),c=a.end(a.length-1);return c>b&&(c=b),c},b.prototype.volume=function(a){var b=void 0;return void 0!==a?(b=math.max(0,math.min(1,parsefloat(a))),this.cache_.volume=b,this.techcall_("setvolume",b),this):(b=parsefloat(this.techget_("volume")),isnan(b)?1:b)},b.prototype.muted=function(a){return void 0!==a?(this.techcall_("setmuted",a),this):this.techget_("muted")||!1},b.prototype.supportsfullscreen=function(){return this.techget_("supportsfullscreen")||!1},b.prototype.isfullscreen=function(a){return void 0!==a?(this.isfullscreen_=!!a,this):!!this.isfullscreen_},b.prototype.requestfullscreen=function(){var a=h["default"];return this.isfullscreen(!0),a.requestfullscreen?(p.on(l["default"],a.fullscreenchange,t.bind(this,function b(c){this.isfullscreen(l["default"][a.fullscreenelement]),this.isfullscreen()===!1&&p.off(l["default"],a.fullscreenchange,b),this.trigger("fullscreenchange")})),this.el_[a.requestfullscreen]()):this.tech_.supportsfullscreen()?this.techcall_("enterfullscreen"):(this.enterfullwindow(),this.trigger("fullscreenchange")),this},b.prototype.exitfullscreen=function(){var a=h["default"];return this.isfullscreen(!1),a.requestfullscreen?l["default"][a.exitfullscreen]():this.tech_.supportsfullscreen()?this.techcall_("exitfullscreen"):(this.exitfullwindow(),this.trigger("fullscreenchange")),this},b.prototype.enterfullwindow=function(){this.isfullwindow=!0,this.docorigoverflow=l["default"].documentelement.style.overflow,p.on(l["default"],"keydown",t.bind(this,this.fullwindowonesckey)),l["default"].documentelement.style.overflow="hidden",r.addelclass(l["default"].body,"vjs-full-window"),this.trigger("enterfullwindow")},b.prototype.fullwindowonesckey=function(a){27===a.keycode&&(this.isfullscreen()===!0?this.exitfullscreen():this.exitfullwindow())},b.prototype.exitfullwindow=function(){this.isfullwindow=!1,p.off(l["default"],"keydown",this.fullwindowonesckey),l["default"].documentelement.style.overflow=this.docorigoverflow,r.removeelclass(l["default"].body,"vjs-full-window"),this.trigger("exitfullwindow")},b.prototype.canplaytype=function(a){for(var b=void 0,c=0,d=this.options_.techorder;c0&&(h=this.settimeout(function(){this.useractivity_||this.useractive(!1)},a))}},250)},b.prototype.playbackrate=function(a){return void 0!==a?(this.techcall_("setplaybackrate",a),this):this.tech_&&this.tech_.featuresplaybackrate?this.techget_("playbackrate"):1},b.prototype.isaudio=function(a){return void 0!==a?(this.isaudio_=!!a,this):!!this.isaudio_},b.prototype.videotracks=function(){return this.tech_?this.tech_.videotracks():(this.videotracks_=this.videotracks_||new y["default"],this.videotracks_)},b.prototype.audiotracks=function(){return this.tech_?this.tech_.audiotracks():(this.audiotracks_=this.audiotracks_||new w["default"],this.audiotracks_)},b.prototype.texttracks=function(){if(this.tech_)return this.tech_.texttracks()},b.prototype.remotetexttracks=function(){if(this.tech_)return this.tech_.remotetexttracks()},b.prototype.remotetexttrackels=function(){if(this.tech_)return this.tech_.remotetexttrackels()},b.prototype.addtexttrack=function(a,b,c){if(this.tech_)return this.tech_.addtexttrack(a,b,c)},b.prototype.addremotetexttrack=function(a,b){if(this.tech_)return this.tech_.addremotetexttrack(a,b)},b.prototype.removeremotetexttrack=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=a.track,c=void 0===b?arguments[0]:b;if(this.tech_)return this.tech_.removeremotetexttrack(c)},b.prototype.videowidth=function(){return this.tech_&&this.tech_.videowidth&&this.tech_.videowidth()||0},b.prototype.videoheight=function(){return this.tech_&&this.tech_.videoheight&&this.tech_.videoheight()||0},b.prototype.language=function(a){return void 0===a?this.language_:(this.language_=string(a).tolowercase(),this)},b.prototype.languages=function(){return(0,o["default"])(b.prototype.options_.languages,this.languages_)},b.prototype.tojson=function(){var a=(0,o["default"])(this.options_),b=a.tracks;a.tracks=[];for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:{};e(this,b);var g=f(this,a.call(this,c,d));return g.update(),g}return g(b,a),b.prototype.update=function(){var a=this.createpopup();this.popup&&this.removechild(this.popup),this.popup=a,this.addchild(a),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},b.prototype.createpopup=function(){},b.prototype.createel=function(){return a.prototype.createel.call(this,"div",{classname:this.buildcssclass()})},b.prototype.buildcssclass=function(){var b="vjs-menu-button";return b+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+b+" "+a.prototype.buildcssclass.call(this)},b}(i["default"]);k["default"].registercomponent("popupbutton",l),c["default"]=l},{3:3,5:5}],54:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(5),j=e(i),k=a(81),l=d(k),m=a(83),n=d(m),o=a(82),p=d(o),q=function(a){function b(){return f(this,b),g(this,a.apply(this,arguments))}return h(b,a),b.prototype.additem=function(a){this.addchild(a),a.on("click",n.bind(this,function(){this.unlockshowing()}))},b.prototype.createel=function(){var b=this.options_.contenteltype||"ul";this.contentel_=l.createel(b,{classname:"vjs-menu-content"});var c=a.prototype.createel.call(this,"div",{append:this.contentel_,classname:"vjs-menu"});return c.appendchild(this.contentel_),p.on(c,"click",function(a){a.preventdefault(),a.stopimmediatepropagation()}),c},b}(j["default"]);j["default"].registercomponent("popup",q),c["default"]=q},{5:5,81:81,82:82,83:83}],55:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(3),j=e(i),k=a(5),l=e(k),m=a(83),n=d(m),o=a(81),p=d(o),q=a(78),r=d(q),s=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.update(),c.on("posterchange",n.bind(e,e.update)),e}return h(b,a),b.prototype.dispose=function(){ this.player().off("posterchange",this.update),a.prototype.dispose.call(this)},b.prototype.createel=function(){var a=p.createel("div",{classname:"vjs-poster",tabindex:-1});return r.background_size_supported||(this.fallbackimg_=p.createel("img"),a.appendchild(this.fallbackimg_)),a},b.prototype.update=function(a){var b=this.player().poster();this.setsrc(b),b?this.show():this.hide()},b.prototype.setsrc=function(a){if(this.fallbackimg_)this.fallbackimg_.src=a;else{var b="";a&&(b='url("'+a+'")'),this.el_.style.backgroundimage=b}},b.prototype.handleclick=function(a){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},b}(j["default"]);l["default"].registercomponent("posterimage",s),c["default"]=s},{3:3,5:5,78:78,81:81,83:83}],56:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){b&&(p=b),n["default"].settimeout(q,a)}c.__esmodule=!0,c.hasloaded=c.autosetuptimeout=c.autosetup=void 0;var g=a(81),h=e(g),i=a(82),j=e(i),k=a(94),l=d(k),m=a(95),n=d(m),o=!1,p=void 0,q=function(){if(h.isreal()){var a=l["default"].getelementsbytagname("video"),b=l["default"].getelementsbytagname("audio"),c=[];if(a&&a.length>0)for(var d=0,e=a.length;d0)for(var g=0,i=b.length;g0)for(var j=0,k=c.length;j1&&void 0!==arguments[1]?arguments[1]:{},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.classname=c.classname+" vjs-slider",c=(0,m.assign)({tabindex:0},c),d=(0,m.assign)({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabindex:0},d),a.prototype.createel.call(this,b,c,d)},b.prototype.handlemousedown=function(a){var b=this.bar.el_.ownerdocument;a.preventdefault(),l.blocktextselection(),this.addclass("vjs-sliding"),this.trigger("slideractive"),this.on(b,"mousemove",this.handlemousemove),this.on(b,"mouseup",this.handlemouseup),this.on(b,"touchmove",this.handlemousemove),this.on(b,"touchend",this.handlemouseup),this.handlemousemove(a)},b.prototype.handlemousemove=function(a){},b.prototype.handlemouseup=function(){var a=this.bar.el_.ownerdocument;l.unblocktextselection(),this.removeclass("vjs-sliding"),this.trigger("sliderinactive"),this.off(a,"mousemove",this.handlemousemove),this.off(a,"mouseup",this.handlemouseup),this.off(a,"touchmove",this.handlemousemove),this.off(a,"touchend",this.handlemouseup),this.update()},b.prototype.update=function(){if(this.el_){var a=this.getpercent(),b=this.bar;if(b){("number"!=typeof a||a!==a||a<0||a===1/0)&&(a=0);var c=(100*a).tofixed(2)+"%";this.vertical()?b.el().style.height=c:b.el().style.width=c}}},b.prototype.calculatedistance=function(a){var b=l.getpointerposition(this.el_,a);return this.vertical()?b.y:b.x},b.prototype.handlefocus=function(){this.on(this.bar.el_.ownerdocument,"keydown",this.handlekeypress)},b.prototype.handlekeypress=function(a){37===a.which||40===a.which?(a.preventdefault(),this.stepback()):38!==a.which&&39!==a.which||(a.preventdefault(),this.stepforward())},b.prototype.handleblur=function(){this.off(this.bar.el_.ownerdocument,"keydown",this.handlekeypress)},b.prototype.handleclick=function(a){a.stopimmediatepropagation(),a.preventdefault()},b.prototype.vertical=function(a){return void 0===a?this.vertical_||!1:(this.vertical_=!!a,this.vertical_?this.addclass("vjs-slider-vertical"):this.addclass("vjs-slider-horizontal"),this)},b}(j["default"]);j["default"].registercomponent("slider",n),c["default"]=n},{5:5,81:81,88:88}],58:[function(a,b,c){"use strict";function d(a){return a.streamingformats={"rtmp/mp4":"mp4","rtmp/flv":"flv"},a.streamfromparts=function(a,b){return a+"&"+b},a.streamtoparts=function(a){var b={connection:"",stream:""};if(!a)return b;var c=a.search(/&(?!\w+=)/),d=void 0;return c!==-1?d=c+1:(c=d=a.lastindexof("/")+1,0===c&&(c=d=a.length)),b.connection=a.substring(0,c),b.stream=a.substring(d,a.length),b},a.isstreamingtype=function(b){return b in a.streamingformats},a.rtmp_re=/^rtmp[set]?:\/\//i,a.isstreamingsrc=function(b){return a.rtmp_re.test(b)},a.rtmpsourcehandler={},a.rtmpsourcehandler.canplaytype=function(b){return a.isstreamingtype(b)?"maybe":""},a.rtmpsourcehandler.canhandlesource=function(b,c){var d=a.rtmpsourcehandler.canplaytype(b.type);return d?d:a.isstreamingsrc(b.src)?"maybe":""},a.rtmpsourcehandler.handlesource=function(b,c,d){var e=a.streamtoparts(b.src);c.setrtmpconnection(e.connection),c.setrtmpstream(e.stream)},a.registersourcehandler(a.rtmpsourcehandler),a}c.__esmodule=!0,c["default"]=d},{}],59:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}function i(a){a["set"+(a.charat(0).touppercase()+a.slice(1))]=function(b){return this.el_.vjs_setproperty(a,b)}}function j(a){a[a]=function(){return this.el_.vjs_getproperty(a)}}c.__esmodule=!0;for(var k=a(62),l=e(k),m=a(81),n=d(m),o=a(92),p=d(o),q=a(90),r=a(58),s=e(r),t=a(5),u=e(t),v=a(95),w=e(v),x=a(88),y=w["default"].navigator,z=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return c.source&&e.ready(function(){this.setsource(c.source)},!0),c.starttime&&e.ready(function(){this.load(),this.play(),this.currenttime(c.starttime)},!0),w["default"].videojs=w["default"].videojs||{},w["default"].videojs.flash=w["default"].videojs.flash||{},w["default"].videojs.flash.onready=b.onready,w["default"].videojs.flash.onevent=b.onevent,w["default"].videojs.flash.onerror=b.onerror,e.on("seeked",function(){this.lastseektarget_=void 0}),e}return h(b,a),b.prototype.createel=function(){var a=this.options_;if(!a.swf){a.swf="//vjs.zencdn.net/swf/5.3.0/video-js.swf"}var c=a.techid,d=(0,x.assign)({readyfunction:"videojs.flash.onready",eventproxyfunction:"videojs.flash.onevent",erroreventproxyfunction:"videojs.flash.onerror",autoplay:a.autoplay,preload:a.preload,loop:a.loop,muted:a.muted},a.flashvars),e=(0,x.assign)({wmode:"opaque",bgcolor:"#000000"},a.params),f=(0,x.assign)({id:c,name:c,"class":"vjs-tech"},a.attributes);return this.el_=b.embed(a.swf,d,e,f),this.el_.tech=this,this.el_},b.prototype.play=function(){this.ended()&&this.setcurrenttime(0),this.el_.vjs_play()},b.prototype.pause=function(){this.el_.vjs_pause()},b.prototype.src=function(a){return void 0===a?this.currentsrc():this.setsrc(a)},b.prototype.setsrc=function(a){var b=this;a=p.getabsoluteurl(a),this.el_.vjs_src(a),this.autoplay()&&this.settimeout(function(){return b.play()},0)},b.prototype.seeking=function(){return void 0!==this.lastseektarget_},b.prototype.setcurrenttime=function(b){var c=this.seekable();c.length&&(b=b>c.start(0)?b:c.start(0),b=b=0?c:1/0},b.prototype.load=function(){this.el_.vjs_load()},b.prototype.poster=function(){this.el_.vjs_getproperty("poster")},b.prototype.setposter=function(){},b.prototype.seekable=function(){var a=this.duration();return 0===a?(0,q.createtimerange)():(0,q.createtimerange)(0,a)},b.prototype.buffered=function(){var a=this.el_.vjs_getproperty("buffered");return 0===a.length?(0,q.createtimerange)():(0,q.createtimerange)(a[0][0],a[0][1])},b.prototype.supportsfullscreen=function(){return!1},b.prototype.enterfullscreen=function(){return!1},b}(l["default"]),a=z.prototype,b="rtmpconnection,rtmpstream,preload,defaultplaybackrate,playbackrate,autoplay,loop,mediagroup,controller,controls,volume,muted,defaultmuted".split(","),c="networkstate,readystate,initialtime,startoffsettime,paused,ended,videowidth,videoheight".split(","),d=0;d=10},l["default"].withsourcehandlers(z),z.nativesourcehandler={},z.nativesourcehandler.canplaytype=function(a){return a in z.formats?"maybe":""},z.nativesourcehandler.canhandlesource=function(a,b){function c(a){var b=p.getfileextension(a);return b?"video/"+b:""}var d=void 0;return d=a.type?a.type.replace(/;.*/,"").tolowercase():c(a.src),z.nativesourcehandler.canplaytype(d)},z.nativesourcehandler.handlesource=function(a,b,c){b.setsrc(a.src)},z.nativesourcehandler.dispose=function(){},z.registersourcehandler(z.nativesourcehandler),z.formats={"video/flv":"flv","video/x-flv":"flv","video/mp4":"mp4","video/m4v":"mp4"},z.onready=function(a){var b=n.getel(a),c=b&&b.tech;c&&c.el()&&z.checkready(c)},z.checkready=function(a){a.el()&&(a.el().vjs_getproperty?a.triggerready():this.settimeout(function(){z.checkready(a)},50))},z.onevent=function(a,b){var c=n.getel(a).tech,d=array.prototype.slice.call(arguments,2);c.settimeout(function(){c.trigger(b,d)},1)},z.onerror=function(a,b){var c=n.getel(a).tech;if("srcnotfound"===b)return c.error(4);c.error("flash: "+b)},z.version=function(){var a="0,0,0";try{a=new w["default"].activexobject("shockwaveflash.shockwaveflash").getvariable("$version").replace(/\d+/g,",").match(/^,?(.+),?$/)[1]}catch(b){try{y.mimetypes["application/x-shockwave-flash"].enabledplugin&&(a=(y.plugins["shockwave flash 2.0"]||y.plugins["shockwave flash"]).description.replace(/\d+/g,",").match(/^,?(.+),?$/)[1])}catch(c){}}return a.split(",")},z.embed=function(a,b,c,d){var e=z.getembedcode(a,b,c,d);return n.createel("div",{innerhtml:e}).childnodes[0]},z.getembedcode=function(a,b,c,d){var e="",f="",g="";return b&&object.getownpropertynames(b).foreach(function(a){e+=a+"="+b[a]+"&"}),c=(0,x.assign)({movie:a,flashvars:e,allowscriptaccess:"always",allownetworking:"all"},c),object.getownpropertynames(c).foreach(function(a){f+=''}),d=(0,x.assign)({data:a,width:"100%",height:"100%"},d),object.getownpropertynames(d).foreach(function(a){g+=a+'="'+d[a]+'" '}),'"+f+""},(0,s["default"])(z),u["default"].registercomponent("flash",z),l["default"].registertech("flash",z),c["default"]=z},{5:5,58:58,62:62,81:81,88:88,90:90,92:92,95:95}],60:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){return a.raw=b,a}function g(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function h(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function i(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var j=f(["text tracks are being loaded from another origin but the crossorigin attribute isn't used.\n this may prevent text tracks from loading."],["text tracks are being loaded from another origin but the crossorigin attribute isn't used.\n this may prevent text tracks from loading."]),k=a(62),l=e(k),m=a(5),n=e(m),o=a(81),p=d(o),q=a(92),r=d(q),s=a(83),t=d(s),u=a(86),v=e(u),w=a(98),x=e(w),y=a(78),z=d(y),a=a(94),b=e(a),c=a(95),d=e(c),e=a(88),f=a(87),g=e(f),h=a(91),i=e(h),j=function(a){function b(c,d){g(this,b);var e=h(this,a.call(this,c,d)),f=c.source,i=!1;if(f&&(e.el_.currentsrc!==f.src||c.tag&&3===c.tag.initnetworkstate_)?e.setsource(f):e.handlelateinit_(e.el_),e.el_.haschildnodes()){for(var k=e.el_.childnodes,l=k.length,m=[];l--;){var n=k[l];"track"===n.nodename.tolowercase()&&(e.featuresnativetexttracks?(e.remotetexttrackels().addtrackelement_(n),e.remotetexttracks().addtrack_(n.track),i||e.el_.hasattribute("crossorigin")||!r.iscrossorigin(n.src)||(i=!0)):m.push(n))}for(var o=0;o=0;g--){var h=f[g],i={};"undefined"!=typeof this.options_[h]&&(i[h]=this.options_[h]),p.setelattributes(a,i)}return a},b.prototype.handlelateinit_=function(a){if(0!==a.networkstate&&3!==a.networkstate){if(0===a.readystate){var b=!1,c=function(){b=!0};this.on("loadstart",c);var d=function(){b||this.trigger("loadstart")};return this.on("loadedmetadata",d),void this.ready(function(){this.off("loadstart",c),this.off("loadedmetadata",d),b||this.trigger("loadstart")})}var e=["loadstart"];e.push("loadedmetadata"),a.readystate>=2&&e.push("loadeddata"),a.readystate>=3&&e.push("canplay"),a.readystate>=4&&e.push("canplaythrough"),this.ready(function(){e.foreach(function(a){this.trigger(a)},this)})}},b.prototype.proxynativetexttracks_=function(){var a=this.el().texttracks;if(a){for(var b=0;b0&&(a.el_.duration===1/0&&a.trigger("durationchange"),a.off("timeupdate",c))};return this.on("timeupdate",b),nan}return this.el_.duration||nan},b.prototype.width=function(){return this.el_.offsetwidth},b.prototype.height=function(){return this.el_.offsetheight},b.prototype.proxywebkitfullscreen_=function(){var a=this;if("webkitdisplayingfullscreen"in this.el_){var b=function(){this.trigger("fullscreenchange",{isfullscreen:!1})},c=function(){this.one("webkitendfullscreen",b),this.trigger("fullscreenchange",{isfullscreen:!0})};this.on("webkitbeginfullscreen",c),this.on("dispose",function(){a.off("webkitbeginfullscreen",c),a.off("webkitendfullscreen",b)})}},b.prototype.supportsfullscreen=function(){if("function"==typeof this.el_.webkitenterfullscreen){var a=d["default"].navigator&&d["default"].navigator.useragent||"";if(/android/.test(a)||!/chrome|mac os x 10.5/.test(a))return!0}return!1},b.prototype.enterfullscreen=function(){var a=this.el_;a.paused&&a.networkstate<=a.have_metadata?(this.el_.play(),this.settimeout(function(){a.pause(),a.webkitenterfullscreen()},0)):a.webkitenterfullscreen()},b.prototype.exitfullscreen=function(){this.el_.webkitexitfullscreen()},b.prototype.src=function(a){if(void 0===a)return this.el_.src;this.setsrc(a)},b.prototype.reset=function(){b.resetmediaelement(this.el_)},b.prototype.currentsrc=function(){return this.currentsource_?this.currentsource_.src:this.el_.currentsrc},b.prototype.setcontrols=function(a){this.el_.controls=!!a},b.prototype.addtexttrack=function(b,c,d){return this.featuresnativetexttracks?this.el_.addtexttrack(b,c,d):a.prototype.addtexttrack.call(this,b,c,d)},b.prototype.createremotetexttrack=function(b){if(!this.featuresnativetexttracks)return a.prototype.createremotetexttrack.call(this,b);var c=b["default"].createelement("track");return b.kind&&(c.kind=b.kind),b.label&&(c.label=b.label),(b.language||b.srclang)&&(c.srclang=b.language||b.srclang),b["default"]&&(c["default"]=b["default"]),b.id&&(c.id=b.id),b.src&&(c.src=b.src),c},b.prototype.addremotetexttrack=function(b,c){var d=a.prototype.addremotetexttrack.call(this,b,c);return this.featuresnativetexttracks&&this.el().appendchild(d),d},b.prototype.removeremotetexttrack=function(b){if(a.prototype.removeremotetexttrack.call(this,b),this.featuresnativetexttracks)for(var c=this.$$("track"),d=c.length;d--;)b!==c[d]&&b!==c[d].track||this.el().removechild(c[d])},b}(l["default"]);if(p.isreal()){j.test_vid=b["default"].createelement("video");var k=b["default"].createelement("track");k.kind="captions",k.srclang="en",k.label="english",j.test_vid.appendchild(k)}j.issupported=function(){try{j.test_vid.volume=.5}catch(a){return!1}return!(!j.test_vid||!j.test_vid.canplaytype)},j.cancontrolvolume=function(){try{var a=j.test_vid.volume;return j.test_vid.volume=a/2+.1,a!==j.test_vid.volume}catch(b){return!1}},j.cancontrolplaybackrate=function(){if(z.is_android&&z.is_chrome)return!1;try{var a=j.test_vid.playbackrate;return j.test_vid.playbackrate=a/2+.1,a!==j.test_vid.playbackrate}catch(b){return!1}},j.supportsnativetexttracks=function(){return z.is_any_safari},j.supportsnativevideotracks=function(){return!(!j.test_vid||!j.test_vid.videotracks)},j.supportsnativeaudiotracks=function(){return!(!j.test_vid||!j.test_vid.audiotracks)},j.events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],j.prototype.featuresvolumecontrol=j.cancontrolvolume(),j.prototype.featuresplaybackrate=j.cancontrolplaybackrate(),j.prototype.movingmediaelementindom=!z.is_ios,j.prototype.featuresfullscreenresize=!0,j.prototype.featuresprogressevents=!0,j.prototype.featurestimeupdateevents=!0,j.prototype.featuresnativetexttracks=j.supportsnativetexttracks(),j.prototype.featuresnativevideotracks=j.supportsnativevideotracks(),j.prototype.featuresnativeaudiotracks=j.supportsnativeaudiotracks();var l=j.test_vid&&j.test_vid.constructor.prototype.canplaytype,m=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,n=/^video\/mp4/i;j.patchcanplaytype=function(){z.android_version>=4&&!z.is_firefox?j.test_vid.constructor.prototype.canplaytype=function(a){return a&&m.test(a)?"maybe":l.call(this,a)}:z.is_old_android&&(j.test_vid.constructor.prototype.canplaytype=function(a){return a&&n.test(a)?"maybe":l.call(this,a)})},j.unpatchcanplaytype=function(){var a=j.test_vid.constructor.prototype.canplaytype;return j.test_vid.constructor.prototype.canplaytype=l,a},j.patchcanplaytype(),j.disposemediaelement=function(a){if(a){for(a.parentnode&&a.parentnode.removechild(a);a.haschildnodes();)a.removechild(a.firstchild);a.removeattribute("src"),"function"==typeof a.load&&function(){try{a.load()}catch(b){}}()}},j.resetmediaelement=function(a){if(a){for(var b=a.queryselectorall("source"),c=b.length;c--;)a.removechild(b[c]);a.removeattribute("src"),"function"==typeof a.load&&function(){try{a.load()}catch(b){}}()}},["paused","currenttime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultmuted","playbackrate","played","networkstate","readystate","videowidth","videoheight"].foreach(function(a){j.prototype[a]=function(){return this.el_[a]}}),["volume","muted","src","poster","preload","autoplay","loop","playbackrate"].foreach(function(a){j.prototype["set"+(0,i["default"])(a)]=function(b){this.el_[a]=b}}),["pause","load"].foreach(function(a){j.prototype[a]=function(){return this.el_[a]()}}),l["default"].withsourcehandlers(j),j.nativesourcehandler={},j.nativesourcehandler.canplaytype=function(a){try{return j.test_vid.canplaytype(a)}catch(b){return""}},j.nativesourcehandler.canhandlesource=function(a,b){if(a.type)return j.nativesourcehandler.canplaytype(a.type);if(a.src){var c=r.getfileextension(a.src);return j.nativesourcehandler.canplaytype("video/"+c)}return""},j.nativesourcehandler.handlesource=function(a,b,c){b.setsrc(a.src)},j.nativesourcehandler.dispose=function(){},j.registersourcehandler(j.nativesourcehandler),n["default"].registercomponent("html5",j),l["default"].registertech("html5",j),c["default"]=j},{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(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function f(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var h=a(5),i=d(h),j=a(62),k=d(j),l=a(91),m=d(l),n=function(a){function b(c,d,g){e(this,b);var h=f(this,a.call(this,c,d,g));if(d.playeroptions.sources&&0!==d.playeroptions.sources.length)c.src(d.playeroptions.sources);else for(var j=0,l=d.playeroptions.techorder;j4&&void 0!==arguments[4]?arguments[4]:{},f=a.texttracks();e.kind=b,c&&(e.label=c),d&&(e.language=d),e.tech=a;var g=new s["default"](e);return f.addtrack_(g),g}c.__esmodule=!0;var j=a(5),k=e(j),l=a(66),m=e(l),n=a(65),o=e(n),p=a(87),q=e(p),r=a(72),s=e(r),t=a(70),u=e(t),v=a(76),w=e(v),x=a(63),y=e(x),z=a(83),a=d(z),b=a(86),c=e(b),d=a(90),e=a(79),f=a(46),g=e(f),h=a(95),i=e(h),j=a(94),k=e(j),l=a(88),m=function(b){function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};f(this,c),a.reporttouchactivity=!1;var e=g(this,b.call(this,null,a,d));return e.hasstarted_=!1,e.on("playing",function(){this.hasstarted_=!0}),e.on("loadstart",function(){this.hasstarted_=!1}),e.texttracks_=a.texttracks,e.videotracks_=a.videotracks,e.audiotracks_=a.audiotracks,e.featuresprogressevents||e.manualprogresson(),e.featurestimeupdateevents||e.manualtimeupdateson(),["text","audio","video"].foreach(function(b){a["native"+b+"tracks"]===!1&&(e["featuresnative"+b+"tracks"]=!1)}),a.nativecaptions===!1&&(e.featuresnativetexttracks=!1),e.featuresnativetexttracks||e.emulatetexttracks(),e.autoremotetexttracks_=new u["default"],e.inittexttracklisteners(),e.inittracklisteners(),a.nativecontrolsfortouch||e.emittapevents(),e.constructor&&(e.name_=e.constructor.name||"unknown tech"),e}return h(c,b),c.prototype.manualprogresson=function(){this.on("durationchange",this.ondurationchange),this.manualprogress=!0,this.one("ready",this.trackprogress)},c.prototype.manualprogressoff=function(){this.manualprogress=!1,this.stoptrackingprogress(),this.off("durationchange",this.ondurationchange)},c.prototype.trackprogress=function(a){this.stoptrackingprogress(),this.progressinterval=this.setinterval(a.bind(this,function(){var a=this.bufferedpercent();this.bufferedpercent_!==a&&this.trigger("progress"),this.bufferedpercent_=a,1===a&&this.stoptrackingprogress()}),500)},c.prototype.ondurationchange=function(a){this.duration_=this.duration()},c.prototype.buffered=function(){return(0,d.createtimerange)(0,0)},c.prototype.bufferedpercent=function(){return(0,e.bufferedpercent)(this.buffered(),this.duration_)},c.prototype.stoptrackingprogress=function(){this.clearinterval(this.progressinterval)},c.prototype.manualtimeupdateson=function(){this.manualtimeupdates=!0,this.on("play",this.trackcurrenttime),this.on("pause",this.stoptrackingcurrenttime)},c.prototype.manualtimeupdatesoff=function(){this.manualtimeupdates=!1,this.stoptrackingcurrenttime(),this.off("play",this.trackcurrenttime),this.off("pause",this.stoptrackingcurrenttime)},c.prototype.trackcurrenttime=function(){this.currenttimeinterval&&this.stoptrackingcurrenttime(),this.currenttimeinterval=this.setinterval(function(){this.trigger({type:"timeupdate",target:this,manuallytriggered:!0})},250)},c.prototype.stoptrackingcurrenttime=function(){this.clearinterval(this.currenttimeinterval),this.trigger({type:"timeupdate",target:this,manuallytriggered:!0})},c.prototype.dispose=function(){this.cleartracks(["audio","video","text"]),this.manualprogress&&this.manualprogressoff(),this.manualtimeupdates&&this.manualtimeupdatesoff(),b.prototype.dispose.call(this)},c.prototype.cleartracks=function(a){var b=this;a=[].concat(a),a.foreach(function(a){for(var c=b[a+"tracks"]()||[],d=c.length;d--;){var e=c[d];"text"===a&&b.removeremotetexttrack(e),c.removetrack_(e)}})},c.prototype.cleanupautotexttracks=function(){for(var a=this.autoremotetexttracks_||[],b=a.length;b--;){var c=a[b];this.removeremotetexttrack(c)}},c.prototype.reset=function(){},c.prototype.error=function(a){return void 0!==a&&(this.error_=new g["default"](a),this.trigger("error")),this.error_},c.prototype.played=function(){return this.hasstarted_?(0,d.createtimerange)(0,0):(0,d.createtimerange)()},c.prototype.setcurrenttime=function(){this.manualtimeupdates&&this.trigger({type:"timeupdate",target:this,manuallytriggered:!0})},c.prototype.inittexttracklisteners=function(){var a=a.bind(this,function(){this.trigger("texttrackchange")}),b=this.texttracks();b&&(b.addeventlistener("removetrack",a),b.addeventlistener("addtrack",a),this.on("dispose",a.bind(this,function(){b.removeeventlistener("removetrack",a),b.removeeventlistener("addtrack",a)})))},c.prototype.inittracklisteners=function(){var a=this;["video","audio"].foreach(function(b){var c=function(){a.trigger(b+"trackchange")},d=a[b+"tracks"]();d.addeventlistener("removetrack",c),d.addeventlistener("addtrack",c),a.on("dispose",function(){d.removeeventlistener("removetrack",c), d.removeeventlistener("addtrack",c)})})},c.prototype.addwebvttscript_=function(){var b=this;if(!i["default"].webvtt)if(k["default"].body.contains(this.el())){var c=a(105);if(!this.options_["vtt.js"]&&(0,l.isplain)(c)&&object.keys(c).length>0)return void this.trigger("vttjsloaded");var d=k["default"].createelement("script");d.src=this.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",d.onload=function(){b.trigger("vttjsloaded")},d.onerror=function(){b.trigger("vttjserror")},this.on("dispose",function(){d.onload=null,d.onerror=null}),i["default"].webvtt=!0,this.el().parentnode.appendchild(d)}else this.ready(this.addwebvttscript_)},c.prototype.emulatetexttracks=function(){var a=this,b=this.texttracks();if(b){var c=this.remotetexttracks(),d=function(a){return b.addtrack_(a.track)},e=function(a){return b.removetrack_(a.track)};c.on("addtrack",d),c.on("removetrack",e),this.addwebvttscript_();var f=function(){return a.trigger("texttrackchange")},g=function(){f();for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:{},b=arguments[1],c=this.createremotetexttrack(a);return b!==!0&&b!==!1&&(c["default"].warn('calling addremotetexttrack without explicitly setting the "manualcleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),b=!0),this.remotetexttrackels().addtrackelement_(c),this.remotetexttracks().addtrack_(c.track),b!==!0&&this.autoremotetexttracks_.addtrack_(c.track),c},c.prototype.removeremotetexttrack=function(a){var b=this.remotetexttrackels().gettrackelementbytrack_(a);this.remotetexttrackels().removetrackelement_(b),this.remotetexttracks().removetrack_(a),this.autoremotetexttracks_.removetrack_(a)},c.prototype.setposter=function(){},c.prototype.canplaytype=function(){return""},c.istech=function(a){return a.prototype instanceof c||a instanceof c||a===c},c.registertech=function(a,b){if(c.techs_||(c.techs_={}),!c.istech(b))throw new error("tech "+a+" must be a tech");return c.techs_[a]=b,b},c.gettech=function(a){return c.techs_&&c.techs_[a]?c.techs_[a]:i["default"]&&i["default"].videojs&&i["default"].videojs[a]?(c["default"].warn("the "+a+" tech was added to the videojs object when it should be registered using videojs.registertech(name, tech)"),i["default"].videojs[a]):void 0},c}(k["default"]);m.prototype.texttracks_,m.prototype.audiotracks_,m.prototype.videotracks_,m.prototype.featuresvolumecontrol=!0,m.prototype.featuresfullscreenresize=!1,m.prototype.featuresplaybackrate=!1,m.prototype.featuresprogressevents=!1,m.prototype.featurestimeupdateevents=!1,m.prototype.featuresnativetexttracks=!1,m.withsourcehandlers=function(a){a.registersourcehandler=function(b,c){var d=a.sourcehandlers;d||(d=a.sourcehandlers=[]),void 0===c&&(c=d.length),d.splice(c,0,b)},a.canplaytype=function(b){for(var c=a.sourcehandlers||[],d=void 0,e=0;e0&&void 0!==arguments[0]?arguments[0]:[];f(this,b);for(var h=void 0,i=e.length-1;i>=0;i--)if(e[i].enabled){o(e,e[i]);break}if(l.is_ie8){h=n["default"].createelement("custom");for(var k in j["default"].prototype)"constructor"!==k&&(h[k]=j["default"].prototype[k]);for(var m in b.prototype)"constructor"!==m&&(h[m]=b.prototype[m])}return h=c=g(this,a.call(this,e,h)),h.changing_=!1,d=h,g(c,d)}return h(b,a),b.prototype.addtrack_=function(b){var c=this;b.enabled&&o(this,b),a.prototype.addtrack_.call(this,b),b.addeventlistener&&b.addeventlistener("enabledchange",function(){c.changing_||(c.changing_=!0,o(c,b),c.changing_=!1,c.trigger("change"))})},b.prototype.addtrack=function(a){this.addtrack_(a)},b.prototype.removetrack=function(b){a.prototype.removetrack_.call(this,b)},b}(j["default"]);c["default"]=p},{74:74,78:78,94:94}],64:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(73),j=a(75),k=e(j),l=a(87),m=e(l),n=a(78),o=d(n),p=function(a){function b(){var c,d,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(this,b);var h=(0,m["default"])(e,{kind:i.audiotrackkind[e.kind]||""}),j=c=g(this,a.call(this,h)),k=!1;if(o.is_ie8)for(var l in b.prototype)"constructor"!==l&&(j[l]=b.prototype[l]);return object.defineproperty(j,"enabled",{get:function(){return k},set:function(a){"boolean"==typeof a&&a!==k&&(k=a,this.trigger("enabledchange"))}}),h.enabled&&(j.enabled=h.enabled),j.loaded_=!0,d=j,g(c,d)}return h(b,a),b}(k["default"]);c["default"]=p},{73:73,75:75,78:78,87:87}],65:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}c.__esmodule=!0;var g=a(78),h=e(g),i=a(94),j=d(i),k=function(){function a(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];f(this,a);var c=this;if(h.is_ie8){c=j["default"].createelement("custom");for(var d in a.prototype)"constructor"!==d&&(c[d]=a.prototype[d])}c.trackelements_=[],object.defineproperty(c,"length",{get:function(){return this.trackelements_.length}});for(var e=0,g=b.length;e0&&void 0!==arguments[0]?arguments[0]:{};f(this,b);var d=g(this,a.call(this)),e=void 0,h=d;if(j.is_ie8){h=l["default"].createelement("custom");for(var i in b.prototype)"constructor"!==i&&(h[i]=b.prototype[i])}var k=new p["default"](c);if(h.kind=k.kind,h.src=k.src,h.srclang=k.language,h.label=k.label,h["default"]=k["default"],object.defineproperty(h,"readystate",{get:function(){return e}}),object.defineproperty(h,"track",{get:function(){return k}}),e=0,k.addeventlistener("loadeddata",function(){e=2,h.trigger({type:"load",target:h})}),j.is_ie8){var m;return m=h,g(d,m)}return d}return h(b,a),b}(n["default"]);q.prototype.allowedevents_={load:"load"},q.none=0,q.loading=1,q.loaded=2,q.error=3,c["default"]=q},{42:42,72:72,78:78,94:94}],67:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}c.__esmodule=!0;var g=a(78),h=e(g),i=a(94),j=d(i),k=function(){function a(b){f(this,a);var c=this;if(h.is_ie8){c=j["default"].createelement("custom");for(var d in a.prototype)"constructor"!==d&&(c[d]=a.prototype[d])}if(a.prototype.setcues_.call(c,b),object.defineproperty(c,"length",{get:function(){return this.length_}}),h.is_ie8)return c}return a.prototype.setcues_=function(a){var b=this.length||0,c=0,d=a.length;this.cues_=a,this.length_=a.length;var e=function(a){""+a in this||object.defineproperty(this,""+a,{get:function(){return this.cues_[a]}})};if(b0&&void 0!==arguments[0]?arguments[0]:[];f(this,b);var h=void 0;if(n.is_ie8){h=p["default"].createelement("custom");for(var i in j["default"].prototype)"constructor"!==i&&(h[i]=j["default"].prototype[i]);for(var k in b.prototype)"constructor"!==k&&(h[k]=b.prototype[k])}return h=c=g(this,a.call(this,e,h)),d=h,g(c,d)}return h(b,a),b.prototype.addtrack_=function(b){a.prototype.addtrack_.call(this,b),b.addeventlistener("modechange",l.bind(this,function(){this.trigger("change")}))},b}(j["default"]);c["default"]=q},{74:74,78:78,83:83,94:94}],71:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}function i(a,b){if(b&&(a=b(a)),a&&"none"!==a)return a}function j(a,b){return i(a.options[a.options.selectedindex].value,b)}function k(a,b,c){if(b)for(var d=0;d select",id:"captions-background-color-%s",label:"color",options:[w,c,b,z,x,d,a,y]},backgroundopacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"transparency",options:[e,f,g]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"color",options:[c,w,b,z,x,d,a,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(a){return"1.00"===a?null:number(a)}},textopacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"transparency",options:[e,f]},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:[g,f,e]}};h.windowcolor.options=h.backgroundcolor.options;var i=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this,c,d));return e.setdefaults(),e.hide(),e.updatedisplay=r.bind(e,e.updatedisplay),void 0===d.persisttexttracksettings&&(e.options_.persisttexttracksettings=e.options_.playeroptions.persisttexttracksettings),e.on(e.$(".vjs-done-button"),"click",function(){e.savesettings(),e.hide()}),e.on(e.$(".vjs-default-button"),"click",function(){e.setdefaults(),e.updatedisplay()}),t.each(h,function(a){e.on(e.$(a.selector),"change",e.updatedisplay)}),e.options_.persisttexttracksettings&&e.restoresettings(),e}return h(b,a),b.prototype.createelselect_=function(a){var b=this,c=h[a],d=c.id.replace("%s",this.id_);return[(0,p.createel)("label",{classname:"vjs-label",textcontent:c.label},{"for":d}),(0,p.createel)("select",{id:d},void 0,c.options.map(function(a){return(0,p.createel)("option",{textcontent:b.localize(a[1]),value:a[0]})}))]},b.prototype.createelfgcolor_=function(){var a=(0,p.createel)("legend",{textcontent:this.localize("text")}),b=this.createelselect_("color"),c=(0,p.createel)("span",{classname:"vjs-text-opacity vjs-opacity"},void 0,this.createelselect_("textopacity"));return(0,p.createel)("fieldset",{classname:"vjs-fg-color vjs-tracksetting"},void 0,[a].concat(b,c))},b.prototype.createelbgcolor_=function(){var a=(0,p.createel)("legend",{textcontent:this.localize("background")}),b=this.createelselect_("backgroundcolor"),c=(0,p.createel)("span",{classname:"vjs-bg-opacity vjs-opacity"},void 0,this.createelselect_("backgroundopacity"));return(0,p.createel)("fieldset",{classname:"vjs-bg-color vjs-tracksetting"},void 0,[a].concat(b,c))},b.prototype.createelwincolor_=function(){var a=(0,p.createel)("legend",{textcontent:this.localize("window")}),b=this.createelselect_("windowcolor"),c=(0,p.createel)("span",{classname:"vjs-window-opacity vjs-opacity"},void 0,this.createelselect_("windowopacity"));return(0,p.createel)("fieldset",{classname:"vjs-window-color vjs-tracksetting"},void 0,[a].concat(b,c))},b.prototype.createelcolors_=function(){return(0,p.createel)("div",{classname:"vjs-tracksettings-colors"},void 0,[this.createelfgcolor_(),this.createelbgcolor_(),this.createelwincolor_()])},b.prototype.createelfont_=function(){var a=(0,p.createel)("div",{classname:"vjs-font-percent vjs-tracksetting"},void 0,this.createelselect_("fontpercent")),b=(0,p.createel)("div",{classname:"vjs-edge-style vjs-tracksetting"},void 0,this.createelselect_("edgestyle")),c=(0,p.createel)("div",{classname:"vjs-font-family vjs-tracksetting"},void 0,this.createelselect_("fontfamily"));return(0,p.createel)("div",{classname:"vjs-tracksettings-font"},void 0,[a,b,c])},b.prototype.createelcontrols_=function(){var a=(0,p.createel)("button",{classname:"vjs-default-button",textcontent:this.localize("defaults")}),b=(0,p.createel)("button",{classname:"vjs-done-button",textcontent:"done"});return(0,p.createel)("div",{classname:"vjs-tracksettings-controls"},void 0,[a,b])},b.prototype.createel=function(){var a=(0,p.createel)("div",{classname:"vjs-tracksettings"},void 0,[this.createelcolors_(),this.createelfont_(),this.createelcontrols_()]),b=(0,p.createel)("div",{classname:"vjs-control-text",id:"ttsettingsdialoglabel-"+this.id_,textcontent:"caption settings dialog"},{"aria-level":"1",role:"heading"}),c=(0,p.createel)("div",{classname:"vjs-control-text",id:"ttsettingsdialogdescription-"+this.id_,textcontent:"beginning of dialog window. escape will cancel and close the window."}),d=(0,p.createel)("div",void 0,{role:"document"},[b,c,a]);return(0,p.createel)("div",{classname:"vjs-caption-settings vjs-modal-overlay",tabindex:-1},{role:"dialog","aria-labelledby":b.id,"aria-describedby":c.id},d)},b.prototype.getvalues=function(){var a=this;return t.reduce(h,function(b,c,d){var e=j(a.$(c.selector),c.parser);return void 0!==e&&(b[d]=e),b},{})},b.prototype.setvalues=function(a){var b=this;t.each(h,function(c,d){k(b.$(c.selector),a[d],c.parser)})},b.prototype.setdefaults=function(){var a=this;t.each(h,function(b){var c=b.hasownproperty("default")?b["default"]:0;a.$(b.selector).selectedindex=c})},b.prototype.restoresettings=function(){var a=void 0;try{a=json.parse(m["default"].localstorage.getitem("vjs-text-track-settings"))}catch(b){v["default"].warn(b)}a&&this.setvalues(a)},b.prototype.savesettings=function(){if(this.options_.persisttexttracksettings){var a=this.getvalues();try{object.keys(a).length?m["default"].localstorage.setitem("vjs-text-track-settings",json.stringify(a)):m["default"].localstorage.removeitem("vjs-text-track-settings")}catch(b){v["default"].warn(b)}}},b.prototype.updatedisplay=function(){var a=this.player_.getchild("texttrackdisplay");a&&a.updatedisplay()},b}(o["default"]);o["default"].registercomponent("texttracksettings",i),c["default"]=i},{5:5,81:81,83:83,86:86,88:88,95:95}],72:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(67),j=e(i),k=a(83),l=d(k),m=a(73),n=a(86),o=e(n),p=a(95),q=e(p),r=a(75),s=e(r),t=a(92),u=a(99),v=e(u),w=a(87),x=e(w),y=a(78),z=d(y),a=function(a,b){var c=new q["default"].webvtt.parser(q["default"],q["default"].vttjs,q["default"].webvtt.stringdecoder()),d=[];c.oncue=function(a){b.addcue(a)},c.onparsingerror=function(a){d.push(a)},c.onflush=function(){b.trigger({type:"loadeddata",target:b})},c.parse(a),d.length>0&&(q["default"].console&&q["default"].console.groupcollapsed&&q["default"].console.groupcollapsed("text track parsing errors for "+b.src),d.foreach(function(a){return o["default"].error(a)}),q["default"].console&&q["default"].console.groupend&&q["default"].console.groupend()),c.flush()},b=function(a,b){var c={uri:a},d=(0,t.iscrossorigin)(a);d&&(c.cors=d),(0,v["default"])(c,l.bind(this,function(a,c,d){if(a)return o["default"].error(a,c);if(b.loaded_=!0,"function"!=typeof q["default"].webvtt){if(b.tech_){var e=function(){return a(d,b)};b.tech_.on("vttjsloaded",e),b.tech_.on("vttjserror",function(){o["default"].error("vttjs failed to load, stopping trying to process "+b.src),b.tech_.off("vttjsloaded",e)})}}else a(d,b)}))},c=function(a){function b(){var c,d,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(f(this,b),!e.tech)throw new error("a tech was not provided.");var h=(0,x["default"])(e,{kind:m.texttrackkind[e.kind]||"subtitles",language:e.language||e.srclang||""}),i=m.texttrackmode[h.mode]||"disabled",k=h["default"];"metadata"!==h.kind&&"chapters"!==h.kind||(i="hidden");var n=c=g(this,a.call(this,h));if(n.tech_=h.tech,z.is_ie8)for(var o in b.prototype)"constructor"!==o&&(n[o]=b.prototype[o]);n.cues_=[],n.activecues_=[];var p=new j["default"](n.cues_),q=new j["default"](n.activecues_),r=!1,s=l.bind(n,function(){this.activecues,r&&(this.trigger("cuechange"),r=!1)});return"disabled"!==i&&n.tech_.ready(function(){n.tech_.on("timeupdate",s)},!0),object.defineproperty(n,"default",{get:function(){return k},set:function(){}}),object.defineproperty(n,"mode",{get:function(){return i},set:function(a){var b=this;m.texttrackmode[a]&&(i=a,"showing"===i&&this.tech_.ready(function(){b.tech_.on("timeupdate",s)},!0),this.trigger("modechange"))}}),object.defineproperty(n,"cues",{get:function(){return this.loaded_?p:null},set:function(){}}),object.defineproperty(n,"activecues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return q;for(var a=this.tech_.currenttime(),b=[],c=0,d=this.cues.length;c=a?b.push(e):e.starttime===e.endtime&&e.starttime<=a&&e.starttime+.5>=a&&b.push(e)}if(r=!1, b.length!==this.activecues_.length)r=!0;else for(var f=0;f0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;f(this,b);var h=g(this,a.call(this));if(!e&&(e=h,l.is_ie8)){e=n["default"].createelement("custom");for(var i in b.prototype)"constructor"!==i&&(e[i]=b.prototype[i])}e.tracks_=[],object.defineproperty(e,"length",{get:function(){return this.tracks_.length}});for(var j=0;j0&&void 0!==arguments[0]?arguments[0]:{};f(this,b);var e=g(this,a.call(this)),h=e;if(j.is_ie8){h=l["default"].createelement("custom");for(var i in b.prototype)"constructor"!==i&&(h[i]=b.prototype[i])}var k={id:d.id||"vjs_track_"+n.newguid(),kind:d.kind||"",label:d.label||"",language:d.language||""},m=function(a){object.defineproperty(h,a,{get:function(){return k[a]},set:function(){}})};for(var o in k)m(o);return c=h,g(e,c)}return h(b,a),b}(p["default"]);c["default"]=q},{42:42,78:78,85:85,94:94}],76:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new typeerror("cannot call a class as a function")}function g(a,b){if(!a)throw new referenceerror("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new typeerror("super expression must either be null or a function, not "+typeof b);a.prototype=object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(object.setprototypeof?object.setprototypeof(a,b):a.__proto__=b)}c.__esmodule=!0;var i=a(74),j=e(i),k=a(78),l=d(k),m=a(94),n=e(m),o=function(a,b){for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:[];f(this,b);for(var h=void 0,i=e.length-1;i>=0;i--)if(e[i].selected){o(e,e[i]);break}if(l.is_ie8){h=n["default"].createelement("custom");for(var k in j["default"].prototype)"constructor"!==k&&(h[k]=j["default"].prototype[k]);for(var m in b.prototype)"constructor"!==m&&(h[m]=b.prototype[m])}return h=c=g(this,a.call(this,e,h)),h.changing_=!1,object.defineproperty(h,"selectedindex",{get:function(){for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:{};f(this,b);var h=(0,m["default"])(e,{kind:i.videotrackkind[e.kind]||""}),j=c=g(this,a.call(this,h)),k=!1;if(o.is_ie8)for(var l in b.prototype)"constructor"!==l&&(j[l]=b.prototype[l]);return object.defineproperty(j,"selected",{get:function(){return k},set:function(a){"boolean"==typeof a&&a!==k&&(k=a,this.trigger("selectedchange"))}}),h.selected&&(j.selected=h.selected),d=j,g(c,d)}return h(b,a),b}(k["default"]);c["default"]=p},{73:73,75:75,78:78,87:87}],78:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}c.__esmodule=!0,c.background_size_supported=c.touch_enabled=c.is_any_safari=c.is_safari=c.ie_version=c.is_ie8=c.is_chrome=c.is_edge=c.is_firefox=c.is_native_android=c.is_old_android=c.android_version=c.is_android=c.ios_version=c.is_ios=c.is_ipod=c.is_iphone=c.is_ipad=void 0;var f=a(81),g=e(f),h=a(95),i=d(h),j=i["default"].navigator&&i["default"].navigator.useragent||"",k=/applewebkit\/([\d.]+)/i.exec(j),l=k?parsefloat(k.pop()):null,m=c.is_ipad=/ipad/i.test(j),n=c.is_iphone=/iphone/i.test(j)&&!m,o=c.is_ipod=/ipod/i.test(j),p=c.is_ios=n||m||o,q=(c.ios_version=function(){var a=j.match(/os (\d+)_/i);return a&&a[1]?a[1]:null}(),c.is_android=/android/i.test(j)),r=c.android_version=function(){var a=j.match(/android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!a)return null;var b=a[1]&&parsefloat(a[1]),c=a[2]&&parsefloat(a[2]);return b&&c?parsefloat(a[1]+"."+a[2]):b?b:null}(),s=(c.is_old_android=q&&/webkit/i.test(j)&&r<2.3,c.is_native_android=q&&r<5&&l<537,c.is_firefox=/firefox/i.test(j),c.is_edge=/edge/i.test(j)),t=c.is_chrome=!s&&/chrome/i.test(j),u=(c.is_ie8=/msie\s8\.0/.test(j),c.ie_version=function(a){return a&&parsefloat(a[1])}(/msie\s(\d+)\.\d/.exec(j)),c.is_safari=/safari/i.test(j)&&!t&&!q&&!s);c.is_any_safari=u||p,c.touch_enabled=g.isreal()&&("ontouchstart"in i["default"]||i["default"].documenttouch&&i["default"].document instanceof i["default"].documenttouch),c.background_size_supported=g.isreal()&&"backgroundsize"in i["default"].document.createelement("video").style},{81:81,95:95}],79:[function(a,b,c){"use strict";function d(a,b){var c=0,d=void 0,f=void 0;if(!b)return 0;a&&a.length||(a=(0,e.createtimerange)(0,0));for(var g=0;gb&&(f=b),c+=f-d;return c/b}c.__esmodule=!0,c.bufferedpercent=d;var e=a(90)},{90:90}],80:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a,b){if(!a||!b)return"";if("function"==typeof g["default"].getcomputedstyle){var c=g["default"].getcomputedstyle(a);return c?c[b]:""}return a.currentstyle[b]||""}c.__esmodule=!0,c["default"]=e;var f=a(95),g=d(f)},{95:95}],81:[function(a,b,c){"use strict";function d(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function e(a){return a&&a.__esmodule?a:{"default":a}}function f(a,b){return a.raw=b,a}function g(a){return"string"==typeof a&&/\s/.test(a)}function h(a){if(/\s/.test(a))throw new error("class has illegal whitespace characters")}function i(a){return new regexp("(^|\\s)"+a+"($|\\s)")}function j(){return n["default"]===p["default"].document&&"undefined"!=typeof n["default"].createelement}function k(a){return(0,w.isobject)(a)&&1===a.nodetype}function l(a){return function(b,c){if(!g(b))return n["default"][a](null);g(c)&&(c=n["default"].queryselector(c));var d=k(c)?c:n["default"];return d[a]&&d[a](b)}}function m(a){return 0===a.indexof("#")&&(a=a.slice(1)),n["default"].getelementbyid(a)}function n(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=arguments[3],e=n["default"].createelement(a);return object.getownpropertynames(b).foreach(function(a){var c=b[a];a.indexof("aria-")!==-1||"role"===a||"type"===a?(t["default"].warn((0,v["default"])(l,a,c)),e.setattribute(a,c)):"textcontent"===a?o(e,c):e[a]=c}),object.getownpropertynames(c).foreach(function(a){e.setattribute(a,c[a])}),d&&j(e,d),e}function o(a,b){return"undefined"==typeof a.textcontent?a.innertext=b:a.textcontent=b,a}function p(a,b){b.firstchild?b.insertbefore(a,b.firstchild):b.appendchild(a)}function q(a){var b=a[y];return b||(b=a[y]=r.newguid()),x[b]||(x[b]={}),x[b]}function r(a){var b=a[y];return!!b&&!!object.getownpropertynames(x[b]).length}function s(a){var b=a[y];if(b){delete x[b];try{delete a[y]}catch(c){a.removeattribute?a.removeattribute(y):a[y]=null}}}function t(a,b){return h(b),a.classlist?a.classlist.contains(b):i(b).test(a.classname)}function u(a,b){return a.classlist?a.classlist.add(b):t(a,b)||(a.classname=(a.classname+" "+b).trim()),a}function v(a,b){return a.classlist?a.classlist.remove(b):(h(b),a.classname=a.classname.split(/\s+/).filter(function(a){return a!==b}).join(" ")),a}function w(a,b,c){var d=t(a,b);if("function"==typeof c&&(c=c(a,b)),"boolean"!=typeof c&&(c=!d),c!==d)return c?u(a,b):v(a,b),a}function x(a,b){object.getownpropertynames(b).foreach(function(c){var d=b[c];null===d||void 0===d||d===!1?a.removeattribute(c):a.setattribute(c,d===!0?"":d)})}function y(a){var b={};if(a&&a.attributes&&a.attributes.length>0)for(var c=a.attributes,d=c.length-1;d>=0;d--){var e=c[d].name,f=c[d].value;"boolean"!=typeof a[e]&&",autoplay,controls,loop,muted,default,".indexof(","+e+",")===-1||(f=null!==f),b[e]=f}return b}function z(a,b){return a.getattribute(b)}function a(a,b,c){a.setattribute(b,c)}function b(a,b){a.removeattribute(b)}function c(){n["default"].body.focus(),n["default"].onselectstart=function(){return!1}}function d(){n["default"].onselectstart=function(){return!0}}function e(a){var b=void 0;if(a.getboundingclientrect&&a.parentnode&&(b=a.getboundingclientrect()),!b)return{left:0,top:0};var c=n["default"].documentelement,d=n["default"].body,e=c.clientleft||d.clientleft||0,f=p["default"].pagexoffset||d.scrollleft,g=b.left+f-e,h=c.clienttop||d.clienttop||0,i=p["default"].pageyoffset||d.scrolltop,j=b.top+i-h;return{left:math.round(g),top:math.round(j)}}function f(a,b){var c={},d=e(a),e=a.offsetwidth,f=a.offsetheight,g=d.top,h=d.left,i=b.pagey,j=b.pagex;return b.changedtouches&&(j=b.changedtouches[0].pagex,i=b.changedtouches[0].pagey),c.y=math.max(0,math.min(1,(g-i+f)/f)),c.x=math.max(0,math.min(1,(j-h)/e)),c}function g(a){return(0,w.isobject)(a)&&3===a.nodetype}function h(a){for(;a.firstchild;)a.removechild(a.firstchild);return a}function i(a){return"function"==typeof a&&(a=a()),(array.isarray(a)?a:[a]).map(function(a){return"function"==typeof a&&(a=a()),k(a)||g(a)?a:"string"==typeof a&&/\s/.test(a)?n["default"].createtextnode(a):void 0}).filter(function(a){return a})}function j(a,b){return i(b).foreach(function(b){return a.appendchild(b)}),a}function k(a,b){return j(h(a),b)}c.__esmodule=!0,c.$$=c.$=void 0;var l=f(["setting attributes in the second argument of createel()\n has been deprecated. use the third argument instead.\n createel(type, properties, attributes). attempting to set "," to ","."],["setting attributes in the second argument of createel()\n has been deprecated. use the third argument instead.\n createel(type, properties, attributes). attempting to set "," to ","."]);c.isreal=j,c.isel=k,c.getel=m,c.createel=n,c.textcontent=o,c.insertelfirst=p,c.geteldata=q,c.haseldata=r,c.removeeldata=s,c.haselclass=t,c.addelclass=u,c.removeelclass=v,c.toggleelclass=w,c.setelattributes=x,c.getelattributes=y,c.getattribute=z,c.setattribute=a,c.removeattribute=b,c.blocktextselection=c,c.unblocktextselection=d,c.findelposition=e,c.getpointerposition=f,c.istextnode=g,c.emptyel=h,c.normalizecontent=i,c.appendcontent=j,c.insertcontent=k;var m=a(94),n=e(m),o=a(95),p=e(o),q=a(85),r=d(q),s=a(86),t=e(s),u=a(98),v=e(u),w=a(88),x={},y="vdata"+(new date).gettime();c.$=l("queryselector"),c.$$=l("queryselectorall")},{85:85,86:86,88:88,94:94,95:95,98:98}],82:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){var c=n.geteldata(a);0===c.handlers[b].length&&(delete c.handlers[b],a.removeeventlistener?a.removeeventlistener(b,c.dispatcher,!1):a.detachevent&&a.detachevent("on"+b,c.dispatcher)),object.getownpropertynames(c.handlers).length<=0&&(delete c.handlers,delete c.dispatcher,delete c.disabled),0===object.getownpropertynames(c).length&&n.removeeldata(a)}function g(a,b,c,d){c.foreach(function(c){a(b,c,d)})}function h(a){function b(){return!0}function c(){return!1}if(!a||!a.ispropagationstopped){var d=a||t["default"].event;a={};for(var e in d)"layerx"!==e&&"layery"!==e&&"keylocation"!==e&&"webkitmovementx"!==e&&"webkitmovementy"!==e&&("returnvalue"===e&&d.preventdefault||(a[e]=d[e]));if(a.target||(a.target=a.srcelement||v["default"]),a.relatedtarget||(a.relatedtarget=a.fromelement===a.target?a.toelement:a.fromelement),a.preventdefault=function(){d.preventdefault&&d.preventdefault(),a.returnvalue=!1,d.returnvalue=!1,a.defaultprevented=!0},a.defaultprevented=!1,a.stoppropagation=function(){d.stoppropagation&&d.stoppropagation(),a.cancelbubble=!0,d.cancelbubble=!0,a.ispropagationstopped=b},a.ispropagationstopped=c,a.stopimmediatepropagation=function(){d.stopimmediatepropagation&&d.stopimmediatepropagation(),a.isimmediatepropagationstopped=b,a.stoppropagation()},a.isimmediatepropagationstopped=c,null!==a.clientx&&void 0!==a.clientx){var f=v["default"].documentelement,g=v["default"].body;a.pagex=a.clientx+(f&&f.scrollleft||g&&g.scrollleft||0)-(f&&f.clientleft||g&&g.clientleft||0),a.pagey=a.clienty+(f&&f.scrolltop||g&&g.scrolltop||0)-(f&&f.clienttop||g&&g.clienttop||0)}a.which=a.charcode||a.keycode,null!==a.button&&void 0!==a.button&&(a.button=1&a.button?0:4&a.button?1:2&a.button?2:0)}return a}function i(a,b,c){if(array.isarray(b))return g(i,a,b,c);var d=n.geteldata(a);d.handlers||(d.handlers={}),d.handlers[b]||(d.handlers[b]=[]),c.guid||(c.guid=p.newguid()),d.handlers[b].push(c),d.dispatcher||(d.disabled=!1,d.dispatcher=function(b,c){if(!d.disabled){b=h(b);var e=d.handlers[b.type];if(e)for(var f=e.slice(0),g=0,i=f.length;g=b&&(a.apply(void 0,arguments),c=d)}}},{85:85}],84:[function(a,b,c){"use strict";function d(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;a=a<0?0:a;var c=math.floor(a%60),d=math.floor(a/60%60),e=math.floor(a/3600),f=math.floor(b/60%60),g=math.floor(b/3600);return(isnan(a)||a===1/0)&&(e=d=c="-"),e=e>0||g>0?e+":":"",d=((e||f>=10)&&d<10?"0"+d:d)+":",c=c<10?"0"+c:c,e+d+c}c.__esmodule=!0,c["default"]=d},{}],85:[function(a,b,c){"use strict";function d(){return e++}c.__esmodule=!0,c.newguid=d;var e=1},{}],86:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}c.__esmodule=!0,c.logbytype=void 0;var e=a(95),f=d(e),g=a(78),h=a(88),i=void 0,j=c.logbytype=function(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!g.ie_version&&g.ie_version<11;"log"!==a&&b.unshift(a.touppercase()+":"),i.history.push(b),b.unshift("videojs:");var d=f["default"].console&&f["default"].console[a];d&&(c&&(b=b.map(function(a){if((0,h.isobject)(a)||array.isarray(a))try{return json.stringify(a)}catch(b){return string(a)}return string(a)}).join(" ")),d.apply?d[array.isarray(b)?"apply":"call"](f["default"].console,b):d(b))};i=function(){for(var a=arguments.length,b=array(a),c=0;c2&&void 0!==arguments[2]?arguments[2]:0;return k(a).reduce(function(c,d){return b(c,a[d],d)},c)}function f(a){for(var b=arguments.length,c=array(b>1?b-1:0),e=1;ec)throw new error("failed to execute '"+a+"' on 'timeranges': the index provided ("+b+") is greater than or equal to the maximum bound ("+c+").")}function f(a,b,c,d){return void 0===d&&(j["default"].warn("deprecated: function '"+a+"' on 'timeranges' called without an index argument."),d=0),e(a,d,c.length-1),c[d][b]}function g(a){return void 0===a||0===a.length?{length:0,start:function(){throw new error("this timeranges object is empty")},end:function(){throw new error("this timeranges object is empty")}}:{length:a.length,start:f.bind(null,"start",0,a),end:f.bind(null,"end",1,a)}}function h(a,b){return array.isarray(a)?g(a):void 0===a||void 0===b?g():g([[a,b]])}c.__esmodule=!0,c.createtimerange=void 0,c.createtimeranges=h;var i=a(86),j=d(i);c.createtimerange=h},{86:86}],91:[function(a,b,c){"use strict";function d(a){return"string"!=typeof a?a:a.charat(0).touppercase()+a.slice(1)}c.__esmodule=!0,c["default"]=d},{}],92:[function(a,b,c){"use strict";function d(a){return a&&a.__esmodule?a:{"default":a}}c.__esmodule=!0,c.iscrossorigin=c.getfileextension=c.getabsoluteurl=c.parseurl=void 0;var e=a(94),f=d(e),g=a(95),h=d(g),i=c.parseurl=function(a){var b=["protocol","hostname","port","pathname","search","hash","host"],c=f["default"].createelement("a");c.href=a;var d=""===c.host&&"file:"!==c.protocol,e=void 0;d&&(e=f["default"].createelement("div"),e.innerhtml='',c=e.firstchild,e.setattribute("style","display:none; position:absolute;"),f["default"].body.appendchild(e));for(var g={},h=0;hx',a=b.firstchild.href}return a},c.getfileextension=function(a){if("string"==typeof a){var b=/^(\/?)([\s\s]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,c=b.exec(a);if(c)return c.pop().tolowercase()}return""},c.iscrossorigin=function(a){var b=h["default"].location,c=i(a);return(":"===c.protocol?b.protocol:c.protocol)+c.host!==b.protocol+b.host}},{94:94,95:95}],93:[function(b,c,d){"use strict";function e(a){if(a&&a.__esmodule)return a;var b={};if(null!=a)for(var c in a)object.prototype.hasownproperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a){return a&&a.__esmodule?a:{"default":a}}function g(a,b,c){var d=void 0;if("string"==typeof a){if(0===a.indexof("#")&&(a=a.slice(1)),g.getplayers()[a])return b&&o["default"].warn('player "'+a+'" is already initialised. options will not be applied.'),c&&g.getplayers()[a].ready(c),g.getplayers()[a];d=q.getel(a)}else d=a;if(!d||!d.nodename)throw new typeerror("the element or id supplied is not valid. (videojs)");if(d.player||x["default"].players[d.playerid])return d.player||x["default"].players[d.playerid];b=b||{},g.hooks("beforesetup").foreach(function(a){var c=a(d,(0,b["default"])(b));if(!(0,v.isobject)(c)||array.isarray(c))return void o["default"].error("please return an object in beforesetup hooks");b=(0,b["default"])(b,c)});var e=r["default"].getcomponent("player"),f=new e(d,b,c);return g.hooks("setup").foreach(function(a){return a(f)}),f}d.__esmodule=!0;var h="function"==typeof symbol&&"symbol"==typeof symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof symbol&&a.constructor===symbol&&a!==symbol.prototype?"symbol":typeof a},i=b(95),j=f(i),k=b(94),l=f(k),m=b(56),n=e(m),o=b(89),p=e(o),q=b(5),r=f(q),s=b(42),t=f(s),u=b(82),v=e(u),w=b(51),x=f(w),y=b(52),z=f(y),a=b(87),b=f(a),c=b(83),d=e(c),e=b(72),f=f(e),g=b(64),h=f(g),i=b(77),j=f(i),k=b(90),l=b(84),m=f(l),n=b(86),o=f(n),p=b(81),q=e(p),r=b(78),s=e(r),t=b(92),u=e(t),v=b(88),w=b(80),x=f(w),y=b(43),z=f(y),$=b(99),_=f($),aa=b(62),ba=f(aa);if("undefined"==typeof htmlvideoelement&&q.isreal()&&(l["default"].createelement("video"),l["default"].createelement("audio"),l["default"].createelement("track")),g.hooks_={},g.hooks=function(a,b){return g.hooks_[a]=g.hooks_[a]||[],b&&(g.hooks_[a]=g.hooks_[a].concat(b)),g.hooks_[a]},g.hook=function(a,b){g.hooks(a,b)},g.removehook=function(a,b){var c=g.hooks(a).indexof(b);return!(c<=-1)&&(g.hooks_[a]=g.hooks_[a].slice(),g.hooks_[a].splice(c,1),!0)},j["default"].videojs_no_dynamic_style!==!0&&q.isreal()){var ca=q.$(".vjs-styles-defaults");if(!ca){ca=p.createstyleelement("vjs-styles-defaults");var da=q.$("head");da&&da.insertbefore(ca,da.firstchild),p.settextcontent(ca,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}n.autosetuptimeout(1,g),g.version="5.18.4",g.options=x["default"].prototype.options_,g.getplayers=function(){return x["default"].players},g.players=x["default"].players,g.getcomponent=r["default"].getcomponent,g.registercomponent=function(a,b){ba["default"].istech(b)&&o["default"].warn("the "+a+" tech was registered as a component. it should instead be registered using videojs.registertech(name, tech)"),r["default"].registercomponent.call(r["default"],a,b)},g.gettech=ba["default"].gettech,g.registertech=ba["default"].registertech,g.browser=s,g.touch_enabled=s.touch_enabled,g.extend=z["default"],g.mergeoptions=b["default"],g.bind=d.bind,g.plugin=z["default"],g.addlanguage=function(a,b){var c;return a=(""+a).tolowercase(),g.options.languages=(0,b["default"])(g.options.languages,(c={},c[a]=b,c)),g.options.languages[a]},g.log=o["default"],g.createtimerange=g.createtimeranges=k.createtimeranges,g.formattime=m["default"],g.parseurl=u.parseurl,g.iscrossorigin=u.iscrossorigin,g.eventtarget=t["default"],g.on=v.on,g.one=v.one,g.off=v.off,g.trigger=v.trigger,g.xhr=_["default"],g.texttrack=f["default"],g.audiotrack=h["default"],g.videotrack=j["default"],g.isel=q.isel,g.istextnode=q.istextnode,g.createel=q.createel,g.hasclass=q.haselclass,g.addclass=q.addelclass,g.removeclass=q.removeelclass,g.toggleclass=q.toggleelclass,g.setattributes=q.setelattributes,g.getattributes=q.getelattributes,g.emptyel=q.emptyel,g.appendcontent=q.appendcontent,g.insertcontent=q.insertcontent,g.computedstyle=x["default"],"function"==typeof a&&a.amd?a("videojs",[],function(){return g}):"object"===(void 0===d?"undefined":h(d))&&"object"===(void 0===c?"undefined":h(c))&&(c.exports=g),d["default"]=g},{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,99:99}],94:[function(a,b,c){(function(c){var d=void 0!==c?c:"undefined"!=typeof window?window:{},e=a(96);if("undefined"!=typeof document)b.exports=document;else{var f=d["__global_document_cache@4"];f||(f=d["__global_document_cache@4"]=e),b.exports=f}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{96:96}],95:[function(a,b,c){(function(a){"undefined"!=typeof window?b.exports=window:void 0!==a?b.exports=a:"undefined"!=typeof self?b.exports=self:b.exports={}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],96:[function(a,b,c){},{}],97:[function(a,b,c){function d(a,b){var c,d=null;try{c=json.parse(a,b)}catch(e){d=e}return[d,c]}b.exports=d},{}],98:[function(a,b,c){function d(a){return a.replace(/\n\r?\s*/g,"")}b.exports=function(a){for(var b="",c=0;c0&&(o=settimeout(function(){if(!n){n=!0,k.abort("timeout");var a=new error("xmlhttprequest timeout");a.code="etimedout",d(a)}},a.timeout)),k.setrequestheader)for(l in s)s.hasownproperty(l)&&k.setrequestheader(l,s[l]);else if(a.headers&&!e(a.headers))throw new error("headers cannot be set on an xdomainrequest object");return"responsetype"in a&&(k.responsetype=a.responsetype),"beforesend"in a&&"function"==typeof a.beforesend&&a.beforesend(k),k.send(r||null),k}function i(a){if("document"===a.responsetype)return a.responsexml;var b=a.responsexml&&"parsererror"===a.responsexml.documentelement.nodename;return""!==a.responsetype||b?null:a.responsexml}function j(){}var k=a(95),l=a(100),m=a(103),n=a(104);b.exports=g,g.xmlhttprequest=k.xmlhttprequest||j,g.xdomainrequest="withcredentials"in new g.xmlhttprequest?g.xmlhttprequest:k.xdomainrequest,d(["get","put","post","patch","head","delete"],function(a){g["delete"===a?"del":a]=function(b,c,d){return c=f(b,c,d),c.method=a.touppercase(),h(c)}})},{100:100,103:103,104:104,95:95}],100:[function(a,b,c){function d(a){var b=e.call(a);return"[object function]"===b||"function"==typeof a&&"[object regexp]"!==b||"undefined"!=typeof window&&(a===window.settimeout||a===window.alert||a===window.confirm||a===window.prompt)}b.exports=d;var e=object.prototype.tostring},{}],101:[function(a,b,c){function d(a,b,c){if(!h(b))throw new typeerror("iterator must be a function");arguments.length<3&&(c=this),"[object array]"===i.call(a)?e(a,b,c):"string"==typeof a?f(a,b,c):g(a,b,c)}function e(a,b,c){for(var d=0,e=a.length;d59?b(c[1],c[2],0,c[4]):b(0,c[1],c[2],c[4]):null}function d(){this.values=p(null)}function e(a,b,c,d){var e=d?a.split(d):[a];for(var f in e)if("string"==typeof e[f]){var g=e[f].split(c);if(2===g.length){var h=g[0],i=g[1];b(h,i)}}}function f(a,f,g){function h(){var d=c(a);if(null===d)throw new b(b.errors.badtimestamp,"malformed timestamp: "+k);return a=a.replace(/^[^\sa-za-z-]+/,""),d}function i(a,b){var c=new d;e(a,function(a,b){switch(a){case"region":for(var d=g.length-1;d>=0;d--)if(g[d].id===b){c.set(a,g[d].region);break}break;case"vertical":c.alt(a,b,["rl","lr"]);break;case"line":var e=b.split(","),f=e[0];c.integer(a,f),c.percent(a,f)&&c.set("snaptolines",!1),c.alt(a,f,["auto"]),2===e.length&&c.alt("linealign",e[1],["start","middle","end"]);break;case"position":e=b.split(","),c.percent(a,e[0]),2===e.length&&c.alt("positionalign",e[1],["start","middle","end"]);break;case"size":c.percent(a,b);break;case"align":c.alt(a,b,["start","middle","end","left","right"])}},/:/,/\s/),b.region=c.get("region",null),b.vertical=c.get("vertical",""),b.line=c.get("line","auto"),b.linealign=c.get("linealign","start"),b.snaptolines=c.get("snaptolines",!0),b.size=c.get("size",100),b.align=c.get("align","middle"),b.position=c.get("position",{start:0,left:0,middle:50,end:100,right:100},b.align),b.positionalign=c.get("positionalign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},b.align)}function j(){a=a.replace(/^\s+/,"")}var k=a;if(j(),f.starttime=h(),j(),"-->"!==a.substr(0,3))throw new b(b.errors.badtimestamp,"malformed time stamp (time stamps must be separated by '-->'): "+k);a=a.substr(3),j(),f.endtime=h(),j(),i(a,f)}function g(a,b){function d(){function a(a){return b=b.substr(a.length),a}if(!b)return null;var c=b.match(/^([^<]*)(<[^>]+>?)?/);return a(c[1]?c[1]:c[2])}function e(a){return q[a]}function f(a){for(;o=a.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)a=a.replace(o[0],e);return a}function g(a,b){return!t[b.localname]||t[b.localname]===a.localname}function h(b,c){var d=r[b];if(!d)return null;var e=a.document.createelement(d);e.localname=d;var f=s[b];return f&&c&&(e[f]=c.trim()),e}for(var i,j=a.document.createelement("div"),k=j,l=[];null!==(i=d());)if("<"!==i[0])k.appendchild(a.document.createtextnode(f(i)));else{if("/"===i[1]){l.length&&l[l.length-1]===i.substr(2).replace(">","")&&(l.pop(),k=k.parentnode);continue}var m,n=c(i.substr(1,i.length-2));if(n){m=a.document.createprocessinginstruction("timestamp",n),k.appendchild(m);continue}var o=i.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!o)continue;if(m=h(o[1],o[3]),!m)continue;if(!g(k,m))continue;o[2]&&(m.classname=o[2].substr(1).replace("."," ")),l.push(o[1]),k.appendchild(m),k=m}return j}function h(a){for(var b=0;b=c[0]&&a<=c[1])return!0}return!1}function i(a){function b(a,b){for(var c=b.childnodes.length-1;c>=0;c--)a.push(b.childnodes[c])}function c(a){if(!a||!a.length)return null;var d=a.pop(),e=d.textcontent||d.innertext;if(e){var f=e.match(/^.*(\n|\r)/);return f?(a.length=0,f[0]):e}return"ruby"===d.tagname?c(a):d.childnodes?(b(a,d),c(a)):void 0}var d,e=[],f="";if(!a||!a.childnodes)return"ltr";for(b(e,a);f=c(e);)for(var g=0;g=0&&a.line<=100))return a.line;if(!a.track||!a.track.texttracklist||!a.track.texttracklist.mediaelement)return-1;for(var b=a.track,c=b.texttracklist,d=0,e=0;ei&&(e=new m(a),g=i),a=new m(f)}return e||f}var f=new m(b),g=b.cue,h=j(g),i=[];if(g.snaptolines){var k;switch(g.vertical){case"":i=["+y","-y"],k="height";break;case"rl":i=["+x","-x"],k="width";break;case"lr":i=["-x","+x"],k="width"}var l=f.lineheight,n=l*math.round(h),o=c[k]+l,p=i[0];math.abs(n)>o&&(n=n<0?-1:1,n*=math.ceil(o/l)*l),h<0&&(n+=""===g.vertical?c.height:c.width,i=i.reverse()),f.move(p,n)}else{var q=f.lineheight/c.height*100;switch(g.linealign){case"middle":h-=q/2;break;case"end":h-=q}switch(g.vertical){case"":b.applystyles({top:b.formatstyle(h,"%")});break;case"rl":b.applystyles({left:b.formatstyle(h,"%")});break;case"lr":b.applystyles({right:b.formatstyle(h,"%")})}i=["+y","-x","+x","-y"],f=new m(b)}var r=e(f,i);b.move(r.tocsscompatvalues(c))}function o(){}var p=object.create||function(){function a(){}return function(b){if(1!==arguments.length)throw new error("object.create shim only accepts one parameter.");return a.prototype=b,new a}}();b.prototype=p(error.prototype),b.prototype.constructor=b,b.errors={badsignature:{code:0,message:"malformed webvtt signature."},badtimestamp:{code:1,message:"malformed time stamp."}},d.prototype={set:function(a,b){this.get(a)||""===b||(this.values[a]=b)},get:function(a,b,c){return c?this.has(a)?this.values[a]:b[c]:this.has(a)?this.values[a]:b},has:function(a){return a in this.values},alt:function(a,b,c){for(var d=0;d=0&&b<=100))&&(this.set(a,b),!0)}};var q={"&":"&","<":"<",">":">","‎":"‎","‏":"‏"," ":" "},r={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},s={v:"title",lang:"lang"},t={rt:"ruby"},u=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];k.prototype.applystyles=function(a,b){b=b||this.div;for(var c in a)a.hasownproperty(c)&&(b.style[c]=a[c])},k.prototype.formatstyle=function(a,b){return 0===a?0:a+b},l.prototype=p(k.prototype),l.prototype.constructor=l,m.prototype.move=function(a,b){switch(b=void 0!==b?b:this.lineheight,a){case"+x":this.left+=b,this.right+=b;break;case"-x":this.left-=b,this.right-=b;break;case"+y":this.top+=b,this.bottom+=b;break;case"-y":this.top-=b,this.bottom-=b}},m.prototype.overlaps=function(a){return this.lefta.left&&this.topa.top},m.prototype.overlapsany=function(a){for(var b=0;b=a.top&&this.bottom<=a.bottom&&this.left>=a.left&&this.right<=a.right},m.prototype.overlapsoppositeaxis=function(a,b){switch(b){case"+x":return this.lefta.right;case"+y":return this.topa.bottom}},m.prototype.intersectpercentage=function(a){return math.max(0,math.min(this.right,a.right)-math.max(this.left,a.left))*math.max(0,math.min(this.bottom,a.bottom)-math.max(this.top,a.top))/(this.height*this.width)},m.prototype.tocsscompatvalues=function(a){return{top:this.top-a.top,bottom:a.bottom-this.bottom,left:this.left-a.left,right:a.right-this.right,height:this.height,width:this.width}},m.getsimpleboxposition=function(a){var b=a.div?a.div.offsetheight:a.tagname?a.offsetheight:0,c=a.div?a.div.offsetwidth:a.tagname?a.offsetwidth:0,d=a.div?a.div.offsettop:a.tagname?a.offsettop:0;return a=a.div?a.div.getboundingclientrect():a.tagname?a.getboundingclientrect():a,{left:a.left,right:a.right,top:a.top||d,height:a.height||b,bottom:a.bottom||d+(a.height||b),width:a.width||c}},o.stringdecoder=function(){return{decode:function(a){if(!a)return"";if("string"!=typeof a)throw new error("error - expected string data.");return decodeuricomponent(encodeuricomponent(a))}}},o.convertcuetodomtree=function(a,b){return a&&b?g(a,b):null};o.processcues=function(a,b,c){function d(a){for(var b=0;b")===-1){i.cue.id=j;continue}case"cue":try{f(j,i.cue,i.regionlist)}catch(m){i.reportorthrowerror(m),i.cue=null,i.state="badcue";continue}i.state="cuetext";continue;case"cuetext":var n=j.indexof("-->")!==-1;if(!j||n&&(l=!0)){i.oncue&&i.oncue(i.cue),i.cue=null,i.state="id";continue}i.cue.text&&(i.cue.text+="\n"),i.cue.text+=j;continue;case"badcue":j||(i.state="id");continue}}}catch(m){i.reportorthrowerror(m),"cuetext"===i.state&&i.cue&&i.oncue&&i.oncue(i.cue),i.cue=null,i.state="initial"===i.state?"badwebvtt":"badcue"}return this},flush:function(){var a=this;try{if(a.buffer+=a.decoder.decode(),(a.cue||"header"===a.state)&&(a.buffer+="\n\n",a.parse()),"initial"===a.state)throw new b(b.errors.badsignature)}catch(c){a.reportorthrowerror(c)}return a.onflush&&a.onflush(),this}},a.webvtt=o}(this,this.vttjs)},{}],107:[function(a,b,c){void 0!==b&&b.exports&&(this.vttcue=this.vttcue||a(108).vttcue),function(a){a.vttcue.prototype.tojson=function(){var a={},b=this;return object.keys(this).foreach(function(c){"getcueashtml"!==c&&"hasbeenreset"!==c&&"displaystate"!==c&&(a[c]=b[c])}),a},a.vttcue.create=function(b){if(!b.hasownproperty("starttime")||!b.hasownproperty("endtime")||!b.hasownproperty("text"))throw new error("you must at least have start time, end time, and text.");var c=new a.vttcue(b.starttime,b.endtime,b.text);for(var d in b)c.hasownproperty(d)&&(c[d]=b[d]);return c},a.vttcue.fromjson=function(a){return this.create(json.parse(a))}}(this)},{108:108}],108:[function(a,b,c){!function(a,b){function c(a){return"string"==typeof a&&(!!g[a.tolowercase()]&&a.tolowercase())}function d(a){return"string"==typeof a&&(!!h[a.tolowercase()]&&a.tolowercase())}function e(a){for(var b=1;b100)throw new error("position must be between 0 and 100.");t=a,this.hasbeenreset=!0}})),object.defineproperty(g,"positionalign",e({},i,{get:function(){return u},set:function(a){var b=d(a);if(!b)throw new syntaxerror("an invalid or illegal string was specified.");u=b,this.hasbeenreset=!0}})),object.defineproperty(g,"size",e({},i,{get:function(){return v},set:function(a){if(a<0||a>100)throw new error("size must be between 0 and 100.");v=a,this.hasbeenreset=!0}})),object.defineproperty(g,"align",e({},i,{get:function(){return w},set:function(a){var b=d(a);if(!b)throw new syntaxerror("an invalid or illegal string was specified.");w=b,this.hasbeenreset=!0}})),g.displaystate=void 0,h)return g}var g={"":!0,lr:!0,rl:!0},h={start:!0,middle:!0,end:!0,left:!0,right:!0};f.prototype.getcueashtml=function(){return webvtt.convertcuetodomtree(window,this.text)},a.vttcue=a.vttcue||f,b.vttcue=f}(this,this.vttjs||{})},{}],109:[function(a,b,c){void 0!==b&&b.exports&&(this.vttregion=a(110).vttregion),function(a){a.vttregion.create=function(b){var c=new a.vttregion;for(var d in b)c.hasownproperty(d)&&(c[d]=b[d]);return c},a.vttregion.fromjson=function(a){return this.create(json.parse(a))}}(this)},{110:110}],110:[function(a,b,c){!function(a,b){function c(a){return"string"==typeof a&&(!!f[a.tolowercase()]&&a.tolowercase())}function d(a){return"number"==typeof a&&a>=0&&a<=100}function e(){var a=100,b=3,e=0,f=100,g=0,h=100,i="";object.defineproperties(this,{width:{enumerable:!0,get:function(){return a},set:function(b){if(!d(b))throw new error("width must be between 0 and 100.");a=b}},lines:{enumerable:!0,get:function(){return b},set:function(a){if("number"!=typeof a)throw new typeerror("lines must be set to a number.");b=a}},regionanchory:{enumerable:!0,get:function(){return f},set:function(a){if(!d(a))throw new error("regionanchorx must be between 0 and 100.");f=a}},regionanchorx:{enumerable:!0,get:function(){return e},set:function(a){if(!d(a))throw new error("regionanchory must be between 0 and 100.");e=a}},viewportanchory:{enumerable:!0,get:function(){return h},set:function(a){if(!d(a))throw new error("viewportanchory must be between 0 and 100.");h=a}},viewportanchorx:{enumerable:!0,get:function(){return g},set:function(a){if(!d(a))throw new error("viewportanchorx must be between 0 and 100.");g=a}},scroll:{enumerable:!0,get:function(){return i},set:function(a){var b=c(a);if(b===!1)throw new syntaxerror("an invalid or illegal string was specified.");i=b}}})}var f={"":!0,up:!0};a.vttregion=a.vttregion||e,b.vttregion=e}(this,this.vttjs||{})},{}]},{},[93])(93)}); !function(){!function(a){var b=a&&a.videojs;if(b){b.cdn_version="5.18.4";var c="https:"===a.location.protocol?"https://":"http://";b.options.flash.swf=c+"vjs.zencdn.net/swf/5.3.0/video-js.swf"}}(window),function(a,b,c,d,e,f,g){b&&b.help_improve_videojs!==!1&&(e.random()>.01||(f=b.location,g=b.videojs||{},a.src="//www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=ua-16505296-3&utmn=1&utmhn="+d(f.hostname)+"&utmsr="+b.screen.availwidth+"x"+b.screen.availheight+"&utmul="+(c.language||c.userlanguage||"").tolowercase()+"&utmr="+d(f.href)+"&utmp="+d(f.hostname+f.pathname)+"&utmcc=__utma%3d1."+e.floor(1e10*e.random())+".1.1.1.1%3b&utme=8(vjsv*cdnv)9("+g.version+"*"+g.cdn_version+")"))}(new image,window,navigator,encodeuricomponent,math)}();