!function(){"use strict";function n(r){if(!r)throw new Error("No options passed to Waypoint constructor");if(!r.element)throw new Error("No element option passed to Waypoint constructor");if(!r.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+i;this.options=n.Adapter.extend({},n.defaults,r);this.element=this.options.element;this.adapter=new n.Adapter(this.element);this.callback=r.handler;this.axis=this.options.horizontal?"horizontal":"vertical";this.enabled=this.options.enabled;this.triggerPoint=null;this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis});this.context=n.Context.findOrCreateByElement(this.options.context);n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]);this.group.add(this);this.context.add(this);t[this.key]=this;i+=1}var i=0,t={};n.prototype.queueTrigger=function(n){this.group.queueTrigger(this,n)};n.prototype.trigger=function(n){this.enabled&&this.callback&&this.callback.apply(this,n)};n.prototype.destroy=function(){this.context.remove(this);this.group.remove(this);delete t[this.key]};n.prototype.disable=function(){return this.enabled=!1,this};n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};n.prototype.next=function(){return this.group.next(this)};n.prototype.previous=function(){return this.group.previous(this)};n.invokeAll=function(n){var r=[],u,i,f;for(u in t)r.push(t[u]);for(i=0,f=r.length;f>i;i++)r[i][n]()};n.destroyAll=function(){n.invokeAll("destroy")};n.disableAll=function(){n.invokeAll("disable")};n.enableAll=function(){n.Context.refreshAll();for(var i in t)t[i].enabled=!0;return this};n.refreshAll=function(){n.Context.refreshAll()};n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};n.viewportWidth=function(){return document.documentElement.clientWidth};n.adapters=[];n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};n.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}};window.Waypoint=n}(),function(){"use strict";function f(n){window.setTimeout(n,1e3/60)}function n(u){this.element=u;this.Adapter=t.Adapter;this.adapter=new this.Adapter(u);this.key="waypoint-context-"+r;this.didScroll=!1;this.didResize=!1;this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()};this.waypoints={vertical:{},horizontal:{}};u.waypointContextKey=this.key;i[u.waypointContextKey]=this;r+=1;t.windowContext||(t.windowContext=!0,t.windowContext=new n(window));this.createThrottledScrollHandler();this.createThrottledResizeHandler()}var r=0,i={},t=window.Waypoint,u=window.onload;n.prototype.add=function(n){var t=n.options.horizontal?"horizontal":"vertical";this.waypoints[t][n.key]=n;this.refresh()};n.prototype.checkEmpty=function(){var n=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),r=this.element==this.element.window;n&&t&&!r&&(this.adapter.off(".waypoints"),delete i[this.key])};n.prototype.createThrottledResizeHandler=function(){function i(){n.handleResize();n.didResize=!1}var n=this;this.adapter.on("resize.waypoints",function(){n.didResize||(n.didResize=!0,t.requestAnimationFrame(i))})};n.prototype.createThrottledScrollHandler=function(){function i(){n.handleScroll();n.didScroll=!1}var n=this;this.adapter.on("scroll.waypoints",function(){(!n.didScroll||t.isTouch)&&(n.didScroll=!0,t.requestAnimationFrame(i))})};n.prototype.handleResize=function(){t.Context.refreshAll()};n.prototype.handleScroll=function(){var u={},i={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},r,f,n,s;for(r in i){var t=i[r],h=t.newScroll>t.oldScroll,c=h?t.forward:t.backward;for(f in this.waypoints[r])if(n=this.waypoints[r][f],null!==n.triggerPoint){var e=t.oldScroll<n.triggerPoint,o=t.newScroll>=n.triggerPoint,l=e&&o,a=!e&&!o;(l||a)&&(n.queueTrigger(c),u[n.group.id]=n.group)}}for(s in u)u[s].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}};n.prototype.innerHeight=function(){return this.element==this.element.window?t.viewportHeight():this.adapter.innerHeight()};n.prototype.remove=function(n){delete this.waypoints[n.axis][n.key];this.checkEmpty()};n.prototype.innerWidth=function(){return this.element==this.element.window?t.viewportWidth():this.adapter.innerWidth()};n.prototype.destroy=function(){var t=[],i,r,n,u;for(i in this.waypoints)for(r in this.waypoints[i])t.push(this.waypoints[i][r]);for(n=0,u=t.length;u>n;n++)t[n].destroy()};n.prototype.refresh=function(){var o,u=this.element==this.element.window,l=u?void 0:this.adapter.offset(),f={},e,i,a;this.handleScroll();o={horizontal:{contextOffset:u?0:l.left,contextScroll:u?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:u?0:l.top,contextScroll:u?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(e in o){i=o[e];for(a in this.waypoints[e]){var v,s,h,y,p,n=this.waypoints[e][a],r=n.options.offset,w=n.triggerPoint,b=0,c=null==w;n.element!==n.element.window&&(b=n.adapter.offset()[i.offsetProp]);"function"==typeof r?r=r.apply(n):"string"==typeof r&&(r=parseFloat(r),n.options.offset.indexOf("%")>-1&&(r=Math.ceil(i.contextDimension*r/100)));v=i.contextScroll-i.contextOffset;n.triggerPoint=Math.floor(b+v-r);s=w<i.oldScroll;h=n.triggerPoint>=i.oldScroll;y=s&&h;p=!s&&!h;!c&&y?(n.queueTrigger(i.backward),f[n.group.id]=n.group):!c&&p?(n.queueTrigger(i.forward),f[n.group.id]=n.group):c&&i.oldScroll>=n.triggerPoint&&(n.queueTrigger(i.forward),f[n.group.id]=n.group)}}return t.requestAnimationFrame(function(){for(var n in f)f[n].flushTriggers()}),this};n.findOrCreateByElement=function(t){return n.findByElement(t)||new n(t)};n.refreshAll=function(){for(var n in i)i[n].refresh()};n.findByElement=function(n){return i[n.waypointContextKey]};window.onload=function(){u&&u();n.refreshAll()};t.requestAnimationFrame=function(n){var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||f;t.call(window,n)};t.Context=n}(),function(){"use strict";function i(n,t){return n.triggerPoint-t.triggerPoint}function u(n,t){return t.triggerPoint-n.triggerPoint}function n(n){this.name=n.name;this.axis=n.axis;this.id=this.name+"-"+this.axis;this.waypoints=[];this.clearTriggerQueues();r[this.axis][this.name]=this}var r={vertical:{},horizontal:{}},t=window.Waypoint;n.prototype.add=function(n){this.waypoints.push(n)};n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}};n.prototype.flushTriggers=function(){var n,t,e,r,o,f;for(n in this.triggerQueues)for(t=this.triggerQueues[n],e="up"===n||"left"===n,t.sort(e?u:i),r=0,o=t.length;o>r;r+=1)f=t[r],(f.options.continuous||r===t.length-1)&&f.trigger([n]);this.clearTriggerQueues()};n.prototype.next=function(n){this.waypoints.sort(i);var r=t.Adapter.inArray(n,this.waypoints),u=r===this.waypoints.length-1;return u?null:this.waypoints[r+1]};n.prototype.previous=function(n){this.waypoints.sort(i);var r=t.Adapter.inArray(n,this.waypoints);return r?this.waypoints[r-1]:null};n.prototype.queueTrigger=function(n,t){this.triggerQueues[t].push(n)};n.prototype.remove=function(n){var i=t.Adapter.inArray(n,this.waypoints);i>-1&&this.waypoints.splice(i,1)};n.prototype.first=function(){return this.waypoints[0]};n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]};n.findOrCreate=function(t){return r[t.axis][t.name]||new n(t)};t.Group=n}(),function(){"use strict";function n(n){this.$element=t(n)}var t=window.jQuery,i=window.Waypoint;t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,i){n.prototype[i]=function(){var n=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,n)}});t.each(["extend","inArray","isEmptyObject"],function(i,r){n[r]=t[r]});i.adapters.push({name:"jquery",Adapter:n});i.Adapter=n}(),function(){"use strict";function n(n){return function(){var r=[],i=arguments[0];return n.isFunction(arguments[0])&&(i=n.extend({},arguments[1]),i.handler=arguments[0]),this.each(function(){var u=n.extend({},i,{element:this});"string"==typeof u.context&&(u.context=n(this).closest(u.context)[0]);r.push(new t(u))}),r}}var t=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=n(window.jQuery));window.Zepto&&(window.Zepto.fn.waypoint=n(window.Zepto))}();!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";var t=window.Slick||{};t=function(){function t(t,r){var f,u=this;u.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:n(t),appendDots:n(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous<\/button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next<\/button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return n('<button type="button" data-role="none" role="button" tabindex="0" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3};u.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1};n.extend(u,u.initials);u.activeBreakpoint=null;u.animType=null;u.animProp=null;u.breakpoints=[];u.breakpointSettings=[];u.cssTransitions=!1;u.focussed=!1;u.interrupted=!1;u.hidden="hidden";u.paused=!0;u.positionProp=null;u.respondTo=null;u.rowCount=1;u.shouldClick=!0;u.$slider=n(t);u.$slidesCache=null;u.transformType=null;u.transitionType=null;u.visibilityChange="visibilitychange";u.windowWidth=0;u.windowTimer=null;f=n(t).data("slick")||{};u.options=n.extend({},u.defaults,r,f);u.currentSlide=u.options.initialSlide;u.originalSettings=u.options;"undefined"!=typeof document.mozHidden?(u.hidden="mozHidden",u.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(u.hidden="webkitHidden",u.visibilityChange="webkitvisibilitychange");u.autoPlay=n.proxy(u.autoPlay,u);u.autoPlayClear=n.proxy(u.autoPlayClear,u);u.autoPlayIterator=n.proxy(u.autoPlayIterator,u);u.changeSlide=n.proxy(u.changeSlide,u);u.clickHandler=n.proxy(u.clickHandler,u);u.selectHandler=n.proxy(u.selectHandler,u);u.setPosition=n.proxy(u.setPosition,u);u.swipeHandler=n.proxy(u.swipeHandler,u);u.dragHandler=n.proxy(u.dragHandler,u);u.keyHandler=n.proxy(u.keyHandler,u);u.instanceUid=i++;u.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;u.registerBreakpoints();u.init(!0)}var i=0;return t}();t.prototype.activateADA=function(){var n=this;n.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};t.prototype.addSlide=t.prototype.slickAdd=function(t,i,r){var u=this;if("boolean"==typeof i)r=i,i=null;else if(0>i||i>=u.slideCount)return!1;u.unload();"number"==typeof i?0===i&&0===u.$slides.length?n(t).appendTo(u.$slideTrack):r?n(t).insertBefore(u.$slides.eq(i)):n(t).insertAfter(u.$slides.eq(i)):r===!0?n(t).prependTo(u.$slideTrack):n(t).appendTo(u.$slideTrack);u.$slides=u.$slideTrack.children(this.options.slide);u.$slideTrack.children(this.options.slide).detach();u.$slideTrack.append(u.$slides);u.$slides.each(function(t,i){n(i).attr("data-slick-index",t)});u.$slidesCache=u.$slides;u.reinit()};t.prototype.animateHeight=function(){var n=this,t;1===n.options.slidesToShow&&n.options.adaptiveHeight===!0&&n.options.vertical===!1&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.animate({height:t},n.options.speed))};t.prototype.animateSlide=function(t,i){var u={},r=this;r.animateHeight();r.options.rtl===!0&&r.options.vertical===!1&&(t=-t);r.transformsEnabled===!1?r.options.vertical===!1?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):r.cssTransitions===!1?(r.options.rtl===!0&&(r.currentLeft=-r.currentLeft),n({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(n){n=Math.ceil(n);r.options.vertical===!1?(u[r.animType]="translate("+n+"px, 0px)",r.$slideTrack.css(u)):(u[r.animType]="translate(0px,"+n+"px)",r.$slideTrack.css(u))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),u[r.animType]=r.options.vertical===!1?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(u),i&&setTimeout(function(){r.disableTransition();i.call()},r.options.speed))};t.prototype.getNavTarget=function(){var i=this,t=i.options.asNavFor;return t&&null!==t&&(t=n(t).not(i.$slider)),t};t.prototype.asNavFor=function(t){var r=this,i=r.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=n(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})};t.prototype.applyTransition=function(n){var t=this,i={};i[t.transitionType]=t.options.fade===!1?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase;t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.autoPlay=function(){var n=this;n.autoPlayClear();n.slideCount>n.options.slidesToShow&&(n.autoPlayTimer=setInterval(n.autoPlayIterator,n.options.autoplaySpeed))};t.prototype.autoPlayClear=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer)};t.prototype.autoPlayIterator=function(){var n=this,t=n.currentSlide+n.options.slidesToScroll;n.paused||n.interrupted||n.focussed||(n.options.infinite===!1&&(1===n.direction&&n.currentSlide+1===n.slideCount-1?n.direction=0:0===n.direction&&(t=n.currentSlide-n.options.slidesToScroll,n.currentSlide-1==0&&(n.direction=1))),n.slideHandler(t))};t.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&(t.$prevArrow=n(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=n(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))};t.prototype.buildDots=function(){var i,r,t=this;if(t.options.dots===!0&&t.slideCount>t.options.slidesToShow){for(t.$slider.addClass("slick-dotted"),r=n("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)r.append(n("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=r.appendTo(t.options.appendDots);t.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}};t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide");t.slideCount=t.$slides.length;t.$slides.each(function(t,i){n(i).attr("data-slick-index",t).data("originalStyling",n(i).attr("style")||"")});t.$slider.addClass("slick-slider");t.$slideTrack=0===t.slideCount?n('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent();t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent();t.$slideTrack.css("opacity",0);(t.options.centerMode===!0||t.options.swipeToSlide===!0)&&(t.options.slidesToScroll=1);n("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading");t.setupInfinite();t.buildArrows();t.buildDots();t.updateDots();t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);t.options.draggable===!0&&t.$list.addClass("draggable")};t.prototype.buildRows=function(){var t,i,r,f,c,u,e,n=this,o,s,h;if(f=document.createDocumentFragment(),u=n.$slider.children(),n.options.rows>1){for(e=n.options.slidesPerRow*n.options.rows,c=Math.ceil(u.length/e),t=0;c>t;t++){for(o=document.createElement("div"),i=0;i<n.options.rows;i++){for(s=document.createElement("div"),r=0;r<n.options.slidesPerRow;r++)h=t*e+(i*n.options.slidesPerRow+r),u.get(h)&&s.appendChild(u.get(h));o.appendChild(s)}f.appendChild(o)}n.$slider.empty().append(f);n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}};t.prototype.checkResponsive=function(t,i){var f,u,e,r=this,o=!1,s=r.$slider.width(),h=window.innerWidth||n(window).width();if("window"===r.respondTo?e=h:"slider"===r.respondTo?e=s:"min"===r.respondTo&&(e=Math.min(h,s)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){u=null;for(f in r.breakpoints)r.breakpoints.hasOwnProperty(f)&&(r.originalSettings.mobileFirst===!1?e<r.breakpoints[f]&&(u=r.breakpoints[f]):e>r.breakpoints[f]&&(u=r.breakpoints[f]));null!==u?null!==r.activeBreakpoint?(u!==r.activeBreakpoint||i)&&(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=u);t||o===!1||r.$slider.trigger("breakpoint",[r,o])}};t.prototype.changeSlide=function(t,i){var f,e,o,r=this,u=n(t.currentTarget),s;switch(u.is("a")&&t.preventDefault(),u.is("li")||(u=u.closest("li")),o=r.slideCount%r.options.slidesToScroll!=0,f=o?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":e=0===f?r.options.slidesToScroll:r.options.slidesToShow-f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-e,!1,i);break;case"next":e=0===f?r.options.slidesToScroll:f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+e,!1,i);break;case"index":s=0===t.data.index?0:t.data.index||u.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,i);u.children().trigger("focus");break;default:return}};t.prototype.checkNavigable=function(n){var t,i,u=this,r;if(t=u.getNavigableIndexes(),i=0,n>t[t.length-1])n=t[t.length-1];else for(r in t){if(n<t[r]){n=i;break}i=t[r]}return n};t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&n("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",n.proxy(t.interrupt,t,!0)).off("mouseleave.slick",n.proxy(t.interrupt,t,!1));t.$slider.off("focus.slick blur.slick");t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide));t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler);t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler);t.$list.off("touchend.slick mouseup.slick",t.swipeHandler);t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler);t.$list.off("click.slick",t.clickHandler);n(document).off(t.visibilityChange,t.visibility);t.cleanUpSlideEvents();t.options.accessibility===!0&&t.$list.off("keydown.slick",t.keyHandler);t.options.focusOnSelect===!0&&n(t.$slideTrack).children().off("click.slick",t.selectHandler);n(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange);n(window).off("resize.slick.slick-"+t.instanceUid,t.resize);n("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault);n(window).off("load.slick.slick-"+t.instanceUid,t.setPosition);n(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",n.proxy(t.interrupt,t,!0));t.$list.off("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.cleanUpRows=function(){var n,t=this;t.options.rows>1&&(n=t.$slides.children().children(),n.removeAttr("style"),t.$slider.empty().append(n))};t.prototype.clickHandler=function(n){var t=this;t.shouldClick===!1&&(n.stopImmediatePropagation(),n.stopPropagation(),n.preventDefault())};t.prototype.destroy=function(t){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();n(".slick-cloned",i.$slider).detach();i.$dots&&i.$dots.remove();i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove());i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove());i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){n(this).attr("style",n(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides));i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.$slider.removeClass("slick-dotted");i.unslicked=!0;t||i.$slider.trigger("destroy",[i])};t.prototype.disableTransition=function(n){var t=this,i={};i[t.transitionType]="";t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.fadeSlide=function(n,t){var i=this;i.cssTransitions===!1?(i.$slides.eq(n).css({zIndex:i.options.zIndex}),i.$slides.eq(n).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(n),i.$slides.eq(n).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(n);t.call()},i.options.speed))};t.prototype.fadeSlideOut=function(n){var t=this;t.cssTransitions===!1?t.$slides.eq(n).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(n),t.$slides.eq(n).css({opacity:0,zIndex:t.options.zIndex-2}))};t.prototype.filterSlides=t.prototype.slickFilter=function(n){var t=this;null!==n&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(n).appendTo(t.$slideTrack),t.reinit())};t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(i){i.stopImmediatePropagation();var r=n(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=r.is(":focus"),t.autoPlay())},0)})};t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){var n=this;return n.currentSlide};t.prototype.getDotCount=function(){var n=this,i=0,r=0,t=0;if(n.options.infinite===!0)for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(n.options.centerMode===!0)t=n.slideCount;else if(n.options.asNavFor)for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else t=1+Math.ceil((n.slideCount-n.options.slidesToShow)/n.options.slidesToScroll);return t-1};t.prototype.getLeft=function(n){var f,r,i,t=this,u=0;return t.slideOffset=0,r=t.$slides.first().outerHeight(!0),t.options.infinite===!0?(t.slideCount>t.options.slidesToShow&&(t.slideOffset=t.slideWidth*t.options.slidesToShow*-1,u=r*t.options.slidesToShow*-1),t.slideCount%t.options.slidesToScroll!=0&&n+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow&&(n>t.slideCount?(t.slideOffset=(t.options.slidesToShow-(n-t.slideCount))*t.slideWidth*-1,u=(t.options.slidesToShow-(n-t.slideCount))*r*-1):(t.slideOffset=t.slideCount%t.options.slidesToScroll*t.slideWidth*-1,u=t.slideCount%t.options.slidesToScroll*r*-1))):n+t.options.slidesToShow>t.slideCount&&(t.slideOffset=(n+t.options.slidesToShow-t.slideCount)*t.slideWidth,u=(n+t.options.slidesToShow-t.slideCount)*r),t.slideCount<=t.options.slidesToShow&&(t.slideOffset=0,u=0),t.options.centerMode===!0&&t.options.infinite===!0?t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth:t.options.centerMode===!0&&(t.slideOffset=0,t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)),f=t.options.vertical===!1?n*t.slideWidth*-1+t.slideOffset:n*r*-1+u,t.options.variableWidth===!0&&(i=t.slideCount<=t.options.slidesToShow||t.options.infinite===!1?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow),f=t.options.rtl===!0?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t.options.centerMode===!0&&(i=t.slideCount<=t.options.slidesToShow||t.options.infinite===!1?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow+1),f=t.options.rtl===!0?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,f+=(t.$list.width()-i.outerWidth())/2)),f};t.prototype.getOption=t.prototype.slickGetOption=function(n){var t=this;return t.options[n]};t.prototype.getNavigableIndexes=function(){var i,n=this,t=0,r=0,u=[];for(n.options.infinite===!1?i=n.slideCount:(t=-1*n.options.slidesToScroll,r=-1*n.options.slidesToScroll,i=2*n.slideCount);i>t;)u.push(t),t=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return u};t.prototype.getSlick=function(){return this};t.prototype.getSlideCount=function(){var u,i,r,t=this;return r=t.options.centerMode===!0?t.slideWidth*Math.floor(t.options.slidesToShow/2):0,t.options.swipeToSlide===!0?(t.$slideTrack.find(".slick-slide").each(function(u,f){if(f.offsetLeft-r+n(f).outerWidth()/2>-1*t.swipeLeft)return(i=f,!1)}),u=Math.abs(n(i).attr("data-slick-index")-t.currentSlide)||1):t.options.slidesToScroll};t.prototype.goTo=t.prototype.slickGoTo=function(n,t){var i=this;i.changeSlide({data:{message:"index",index:parseInt(n)}},t)};t.prototype.init=function(t){var i=this;n(i.$slider).hasClass("slick-initialized")||(n(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler());t&&i.$slider.trigger("init",[i]);i.options.accessibility===!0&&i.initADA();i.options.autoplay&&(i.paused=!1,i.autoPlay())};t.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"});t.$slideTrack.attr("role","listbox");t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){n(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+i})});null!==t.$dots&&t.$dots.attr("role","tablist").find("li").each(function(i){n(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+i,id:"slick-slide"+t.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar");t.activateADA()};t.prototype.initArrowEvents=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},n.changeSlide),n.$nextArrow.off("click.slick").on("click.slick",{message:"next"},n.changeSlide))};t.prototype.initDotEvents=function(){var t=this;t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&n("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide);t.options.dots===!0&&t.options.pauseOnDotsHover===!0&&n("li",t.$dots).on("mouseenter.slick",n.proxy(t.interrupt,t,!0)).on("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",n.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",n.proxy(t.interrupt,t,!1)))};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.initSlideEvents();t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler);t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler);t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler);t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler);t.$list.on("click.slick",t.clickHandler);n(document).on(t.visibilityChange,n.proxy(t.visibility,t));t.options.accessibility===!0&&t.$list.on("keydown.slick",t.keyHandler);t.options.focusOnSelect===!0&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);n(window).on("orientationchange.slick.slick-"+t.instanceUid,n.proxy(t.orientationChange,t));n(window).on("resize.slick.slick-"+t.instanceUid,n.proxy(t.resize,t));n("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault);n(window).on("load.slick.slick-"+t.instanceUid,t.setPosition);n(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.initUI=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show());n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.show()};t.prototype.keyHandler=function(n){var t=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===n.keyCode&&t.options.accessibility===!0?t.changeSlide({data:{message:t.options.rtl===!0?"next":"previous"}}):39===n.keyCode&&t.options.accessibility===!0&&t.changeSlide({data:{message:t.options.rtl===!0?"previous":"next"}}))};t.prototype.lazyLoad=function(){function f(i){n("img[data-lazy]",i).each(function(){var i=n(this),r=n(this).attr("data-lazy"),u=document.createElement("img");u.onload=function(){i.animate({opacity:0},100,function(){i.attr("src",r).animate({opacity:1},200,function(){i.removeAttr("data-lazy").removeClass("slick-loading")});t.$slider.trigger("lazyLoaded",[t,i,r])})};u.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");t.$slider.trigger("lazyLoadError",[t,i,r])};u.src=r})}var e,r,i,u,t=this;t.options.centerMode===!0?t.options.infinite===!0?(i=t.currentSlide+(t.options.slidesToShow/2+1),u=i+t.options.slidesToShow+2):(i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1)),u=2+(t.options.slidesToShow/2+1)+t.currentSlide):(i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,u=Math.ceil(i+t.options.slidesToShow),t.options.fade===!0&&(i>0&&i--,u<=t.slideCount&&u++));e=t.$slider.find(".slick-slide").slice(i,u);f(e);t.slideCount<=t.options.slidesToShow?(r=t.$slider.find(".slick-slide"),f(r)):t.currentSlide>=t.slideCount-t.options.slidesToShow?(r=t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow),f(r)):0===t.currentSlide&&(r=t.$slider.find(".slick-cloned").slice(-1*t.options.slidesToShow),f(r))};t.prototype.loadSlider=function(){var n=this;n.setPosition();n.$slideTrack.css({opacity:1});n.$slider.removeClass("slick-loading");n.initUI();"progressive"===n.options.lazyLoad&&n.progressiveLazyLoad()};t.prototype.next=t.prototype.slickNext=function(){var n=this;n.changeSlide({data:{message:"next"}})};t.prototype.orientationChange=function(){var n=this;n.checkResponsive();n.setPosition()};t.prototype.pause=t.prototype.slickPause=function(){var n=this;n.autoPlayClear();n.paused=!0};t.prototype.play=t.prototype.slickPlay=function(){var n=this;n.autoPlay();n.options.autoplay=!0;n.paused=!1;n.focussed=!1;n.interrupted=!1};t.prototype.postSlide=function(n){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,n]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),t.options.accessibility===!0&&t.initADA())};t.prototype.prev=t.prototype.slickPrev=function(){var n=this;n.changeSlide({data:{message:"previous"}})};t.prototype.preventDefault=function(n){n.preventDefault()};t.prototype.progressiveLazyLoad=function(t){t=t||1;var r,u,f,i=this,e=n("img[data-lazy]",i.$slider);e.length?(r=e.first(),u=r.attr("data-lazy"),f=document.createElement("img"),f.onload=function(){r.attr("src",u).removeAttr("data-lazy").removeClass("slick-loading");i.options.adaptiveHeight===!0&&i.setPosition();i.$slider.trigger("lazyLoaded",[i,r,u]);i.progressiveLazyLoad()},f.onerror=function(){3>t?setTimeout(function(){i.progressiveLazyLoad(t+1)},500):(r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,r,u]),i.progressiveLazyLoad())},f.src=u):i.$slider.trigger("allImagesLoaded",[i])};t.prototype.refresh=function(t){var r,u,i=this;u=i.slideCount-i.options.slidesToShow;!i.options.infinite&&i.currentSlide>u&&(i.currentSlide=u);i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0);r=i.currentSlide;i.destroy(!0);n.extend(i,i.initials,{currentSlide:r});i.init();t||i.changeSlide({data:{message:"index",index:r}},!1)};t.prototype.registerBreakpoints=function(){var u,f,i,t=this,r=t.options.responsive||null;if("array"===n.type(r)&&r.length){t.respondTo=t.options.respondTo||"window";for(u in r)if(i=t.breakpoints.length-1,f=r[u].breakpoint,r.hasOwnProperty(u)){for(;i>=0;)t.breakpoints[i]&&t.breakpoints[i]===f&&t.breakpoints.splice(i,1),i--;t.breakpoints.push(f);t.breakpointSettings[f]=r[u].settings}t.breakpoints.sort(function(n,i){return t.options.mobileFirst?n-i:i-n})}};t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide");t.slideCount=t.$slides.length;t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll);t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0);t.registerBreakpoints();t.setProps();t.setupInfinite();t.buildArrows();t.updateArrows();t.initArrowEvents();t.buildDots();t.updateDots();t.initDotEvents();t.cleanUpSlideEvents();t.initSlideEvents();t.checkResponsive(!1,!0);t.options.focusOnSelect===!0&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);t.setPosition();t.focusHandler();t.paused=!t.options.autoplay;t.autoPlay();t.$slider.trigger("reInit",[t])};t.prototype.resize=function(){var t=this;n(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=n(window).width();t.checkResponsive();t.unslicked||t.setPosition()},50))};t.prototype.removeSlide=t.prototype.slickRemove=function(n,t,i){var r=this;return"boolean"==typeof n?(t=n,n=t===!0?0:r.slideCount-1):n=t===!0?--n:n,r.slideCount<1||0>n||n>r.slideCount-1?!1:(r.unload(),i===!0?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(n).remove(),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slidesCache=r.$slides,void r.reinit())};t.prototype.setCSS=function(n){var r,u,t=this,i={};t.options.rtl===!0&&(n=-n);r="left"==t.positionProp?Math.ceil(n)+"px":"0px";u="top"==t.positionProp?Math.ceil(n)+"px":"0px";i[t.positionProp]=n;t.transformsEnabled===!1?t.$slideTrack.css(i):(i={},t.cssTransitions===!1?(i[t.animType]="translate("+r+", "+u+")",t.$slideTrack.css(i)):(i[t.animType]="translate3d("+r+", "+u+", 0px)",t.$slideTrack.css(i)))};t.prototype.setDimensions=function(){var n=this,t;n.options.vertical===!1?n.options.centerMode===!0&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),n.options.centerMode===!0&&n.$list.css({padding:n.options.centerPadding+" 0px"}));n.listWidth=n.$list.width();n.listHeight=n.$list.height();n.options.vertical===!1&&n.options.variableWidth===!1?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):n.options.variableWidth===!0?n.$slideTrack.width(5e3*n.slideCount):(n.slideWidth=Math.ceil(n.listWidth),n.$slideTrack.height(Math.ceil(n.$slides.first().outerHeight(!0)*n.$slideTrack.children(".slick-slide").length)));t=n.$slides.first().outerWidth(!0)-n.$slides.first().width();n.options.variableWidth===!1&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-t)};t.prototype.setFade=function(){var i,t=this;t.$slides.each(function(r,u){i=t.slideWidth*r*-1;t.options.rtl===!0?n(u).css({position:"relative",right:i,top:0,zIndex:t.options.zIndex-2,opacity:0}):n(u).css({position:"relative",left:i,top:0,zIndex:t.options.zIndex-2,opacity:0})});t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})};t.prototype.setHeight=function(){var n=this,t;1===n.options.slidesToShow&&n.options.adaptiveHeight===!0&&n.options.vertical===!1&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.css("height",t))};t.prototype.setOption=t.prototype.slickSetOption=function(){var u,f,e,i,r,t=this,o=!1;if("object"===n.type(arguments[0])?(e=arguments[0],o=arguments[1],r="multiple"):"string"===n.type(arguments[0])&&(e=arguments[0],i=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===n.type(arguments[1])?r="responsive":"undefined"!=typeof arguments[1]&&(r="single")),"single"===r)t.options[e]=i;else if("multiple"===r)n.each(e,function(n,i){t.options[n]=i});else if("responsive"===r)for(f in i)if("array"!==n.type(t.options.responsive))t.options.responsive=[i[f]];else{for(u=t.options.responsive.length-1;u>=0;)t.options.responsive[u].breakpoint===i[f].breakpoint&&t.options.responsive.splice(u,1),u--;t.options.responsive.push(i[f])}o&&(t.unload(),t.reinit())};t.prototype.setPosition=function(){var n=this;n.setDimensions();n.setHeight();n.options.fade===!1?n.setCSS(n.getLeft(n.currentSlide)):n.setFade();n.$slider.trigger("setPosition",[n])};t.prototype.setProps=function(){var n=this,t=document.body.style;n.positionProp=n.options.vertical===!0?"top":"left";"top"===n.positionProp?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical");(void 0!==t.WebkitTransition||void 0!==t.MozTransition||void 0!==t.msTransition)&&n.options.useCSS===!0&&(n.cssTransitions=!0);n.options.fade&&("number"==typeof n.options.zIndex?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex);void 0!==t.OTransform&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.MozTransform&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(n.animType=!1));void 0!==t.webkitTransform&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.msTransform&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",void 0===t.msTransform&&(n.animType=!1));void 0!==t.transform&&n.animType!==!1&&(n.animType="transform",n.transformType="transform",n.transitionType="transition");n.transformsEnabled=n.options.useTransform&&null!==n.animType&&n.animType!==!1};t.prototype.setSlideClasses=function(n){var u,i,r,f,t=this;i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");t.$slides.eq(n).addClass("slick-current");t.options.centerMode===!0?(u=Math.floor(t.options.slidesToShow/2),t.options.infinite===!0&&(n>=u&&n<=t.slideCount-1-u?t.$slides.slice(n-u,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(r=t.options.slidesToShow+n,i.slice(r-u+1,r+u+2).addClass("slick-active").attr("aria-hidden","false")),0===n?i.eq(i.length-1-t.options.slidesToShow).addClass("slick-center"):n===t.slideCount-1&&i.eq(t.options.slidesToShow).addClass("slick-center")),t.$slides.eq(n).addClass("slick-center")):n>=0&&n<=t.slideCount-t.options.slidesToShow?t.$slides.slice(n,n+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=t.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(f=t.slideCount%t.options.slidesToShow,r=t.options.infinite===!0?t.options.slidesToShow+n:n,t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-n<t.options.slidesToShow?i.slice(r-(t.options.slidesToShow-f),r+f).addClass("slick-active").attr("aria-hidden","false"):i.slice(r,r+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"===t.options.lazyLoad&&t.lazyLoad()};t.prototype.setupInfinite=function(){var i,r,u,t=this;if(t.options.fade===!0&&(t.options.centerMode=!1),t.options.infinite===!0&&t.options.fade===!1&&(r=null,t.slideCount>t.options.slidesToShow)){for(u=t.options.centerMode===!0?t.options.slidesToShow+1:t.options.slidesToShow,i=t.slideCount;i>t.slideCount-u;i-=1)r=i-1,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r-t.slideCount).prependTo(t.$slideTrack).addClass("slick-cloned");for(i=0;u>i;i+=1)r=i,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r+t.slideCount).appendTo(t.$slideTrack).addClass("slick-cloned");t.$slideTrack.find(".slick-cloned").find("[id]").each(function(){n(this).attr("id","")})}};t.prototype.interrupt=function(n){var t=this;n||t.autoPlay();t.interrupted=n};t.prototype.selectHandler=function(t){var i=this,u=n(t.target).is(".slick-slide")?n(t.target):n(t.target).parents(".slick-slide"),r=parseInt(u.attr("data-slick-index"));return r||(r=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(r),void i.asNavFor(r)):void i.slideHandler(r)};t.prototype.slideHandler=function(n,t,i){var u,f,s,o,e,h=null,r=this;return t=t||!1,r.animating===!0&&r.options.waitForAnimate===!0||r.options.fade===!0&&r.currentSlide===n||r.slideCount<=r.options.slidesToShow?void 0:(t===!1&&r.asNavFor(n),u=n,h=r.getLeft(u),o=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?o:r.swipeLeft,r.options.infinite===!1&&r.options.centerMode===!1&&(0>n||n>r.getDotCount()*r.options.slidesToScroll)?void(r.options.fade===!1&&(u=r.currentSlide,i!==!0?r.animateSlide(o,function(){r.postSlide(u)}):r.postSlide(u))):r.options.infinite===!1&&r.options.centerMode===!0&&(0>n||n>r.slideCount-r.options.slidesToScroll)?void(r.options.fade===!1&&(u=r.currentSlide,i!==!0?r.animateSlide(o,function(){r.postSlide(u)}):r.postSlide(u))):(r.options.autoplay&&clearInterval(r.autoPlayTimer),f=0>u?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+u:u>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:u-r.slideCount:u,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,f]),s=r.currentSlide,r.currentSlide=f,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(e=r.getNavTarget(),e=e.slick("getSlick"),e.slideCount<=e.options.slidesToShow&&e.setSlideClasses(r.currentSlide)),r.updateDots(),r.updateArrows(),r.options.fade===!0?(i!==!0?(r.fadeSlideOut(s),r.fadeSlide(f,function(){r.postSlide(f)})):r.postSlide(f),void r.animateHeight()):void(i!==!0?r.animateSlide(h,function(){r.postSlide(f)}):r.postSlide(f))))};t.prototype.startLoad=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide());n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.hide();n.$slider.addClass("slick-loading")};t.prototype.swipeDirection=function(){var i,r,u,n,t=this;return i=t.touchObject.startX-t.touchObject.curX,r=t.touchObject.startY-t.touchObject.curY,u=Math.atan2(r,i),n=Math.round(180*u/Math.PI),0>n&&(n=360-Math.abs(n)),45>=n&&n>=0?t.options.rtl===!1?"left":"right":360>=n&&n>=315?t.options.rtl===!1?"left":"right":n>=135&&225>=n?t.options.rtl===!1?"right":"left":t.options.verticalSwiping===!0?n>=35&&135>=n?"down":"up":"vertical"};t.prototype.swipeEnd=function(){var t,i,n=this;if(n.dragging=!1,n.interrupted=!1,n.shouldClick=n.touchObject.swipeLength>10?!1:!0,void 0===n.touchObject.curX)return!1;if(n.touchObject.edgeHit===!0&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount();n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount();n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})};t.prototype.swipeHandler=function(n){var t=this;if(!(t.options.swipe===!1||"ontouchend"in document&&t.options.swipe===!1||t.options.draggable===!1&&-1!==n.type.indexOf("mouse")))switch(t.touchObject.fingerCount=n.originalEvent&&void 0!==n.originalEvent.touches?n.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,t.options.verticalSwiping===!0&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),n.data.action){case"start":t.swipeStart(n);break;case"move":t.swipeMove(n);break;case"end":t.swipeEnd(n)}};t.prototype.swipeMove=function(n){var f,e,r,u,i,t=this;return i=void 0!==n.originalEvent?n.originalEvent.touches:null,!t.dragging||i&&1!==i.length?!1:(f=t.getLeft(t.currentSlide),t.touchObject.curX=void 0!==i?i[0].pageX:n.clientX,t.touchObject.curY=void 0!==i?i[0].pageY:n.clientY,t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2))),t.options.verticalSwiping===!0&&(t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2)))),e=t.swipeDirection(),"vertical"!==e?(void 0!==n.originalEvent&&t.touchObject.swipeLength>4&&n.preventDefault(),u=(t.options.rtl===!1?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1),t.options.verticalSwiping===!0&&(u=t.touchObject.curY>t.touchObject.startY?1:-1),r=t.touchObject.swipeLength,t.touchObject.edgeHit=!1,t.options.infinite===!1&&(0===t.currentSlide&&"right"===e||t.currentSlide>=t.getDotCount()&&"left"===e)&&(r=t.touchObject.swipeLength*t.options.edgeFriction,t.touchObject.edgeHit=!0),t.swipeLeft=t.options.vertical===!1?f+r*u:f+r*(t.$list.height()/t.listWidth)*u,t.options.verticalSwiping===!0&&(t.swipeLeft=f+r*u),t.options.fade===!0||t.options.touchMove===!1?!1:t.animating===!0?(t.swipeLeft=null,!1):void t.setCSS(t.swipeLeft)):void 0)};t.prototype.swipeStart=function(n){var i,t=this;return t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow?(t.touchObject={},!1):(void 0!==n.originalEvent&&void 0!==n.originalEvent.touches&&(i=n.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==i?i.pageX:n.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==i?i.pageY:n.clientY,void(t.dragging=!0))};t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var n=this;null!==n.$slidesCache&&(n.unload(),n.$slideTrack.children(this.options.slide).detach(),n.$slidesCache.appendTo(n.$slideTrack),n.reinit())};t.prototype.unload=function(){var t=this;n(".slick-cloned",t.$slider).remove();t.$dots&&t.$dots.remove();t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove();t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove();t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};t.prototype.unslick=function(n){var t=this;t.$slider.trigger("unslick",[t,n]);t.destroy()};t.prototype.updateArrows=function(){var t,n=this;t=Math.floor(n.options.slidesToShow/2);n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&!n.options.infinite&&(n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===n.currentSlide?(n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-n.options.slidesToShow&&n.options.centerMode===!1?(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-1&&n.options.centerMode===!0&&(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))};t.prototype.updateDots=function(){var n=this;null!==n.$dots&&(n.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))};t.prototype.visibility=function(){var n=this;n.options.autoplay&&(n.interrupted=document[n.hidden]?!0:!1)};n.fn.slick=function(){for(var u,i=this,r=arguments[0],f=Array.prototype.slice.call(arguments,1),e=i.length,n=0;e>n;n++)if("object"==typeof r||"undefined"==typeof r?i[n].slick=new t(i[n],r):u=i[n].slick[r].apply(i[n].slick,f),"undefined"!=typeof u)return u;return i}});!function(){"use strict";function n(r){this.options=t.extend({},i.defaults,n.defaults,r);this.element=this.options.element;this.$element=t(this.element);this.createWrapper();this.createWaypoint()}var t=window.jQuery,i=window.Waypoint;n.prototype.createWaypoint=function(){var n=this.options.handler;this.waypoint=new i(t.extend({},this.options,{element:this.wrapper,handler:t.proxy(function(t){var i=this.options.direction.indexOf(t)>-1,r=i?this.$element.outerHeight(!0):"";this.$wrapper.height(r);this.$element.toggleClass(this.options.stuckClass,i);n&&n.call(this,t)},this)}))};n.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper);this.$wrapper=this.$element.parent();this.wrapper=this.$wrapper[0]};n.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())};n.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"};i.Sticky=n}(),function(n){if(typeof exports=="object"&&typeof module!="undefined")module.exports=n();else if(typeof define=="function"&&define.amd)define([],n);else{var t;t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this;t.videojs=n()}}(function(){return function n(t,i,r){function f(u,o){var h,c,s;if(!i[u]){if(!t[u]){if(h=typeof require=="function"&&require,!o&&h)return h(u,!0);if(e)return e(u,!0);c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[u]={exports:{}};t[u][0].call(s.exports,function(n){var i=t[u][1][n];return f(i?i:n)},s,s.exports,n,t,i,r)}return i[u].exports}for(var e=typeof require=="function"&&require,u=0;u<r.length;u++)f(r[u]);return f}({1:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(2),e=u(f),o=n(5),s=u(o);r=function(n){function t(){return h(this,t),c(this,n.apply(this,arguments))}return l(t,n),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(){var t=this.player_.play(),i=this.player_.getChild("controlBar"),n=i&&i.getChild("playToggle");if(!n){this.player_.focus();return}t?t.then(function(){return n.focus()}):this.setTimeout(function(){n.focus()},1)},t}(e["default"]);r.prototype.controlText_="Play Video";s["default"].registerComponent("BigPlayButton",r);i["default"]=r},{"2":2,"5":5}],2:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var o=n(3),s=u(o),h=n(5),r=u(h),c=n(91),l=u(c),e=n(93);f=function(n){function t(){return a(this,t),v(this,n.apply(this,arguments))}return y(t,n),t.prototype.createEl=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u;return n="button",t=e.assign({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"><\/span>',className:this.buildCSSClass()},t),i=e.assign({type:"button","aria-live":"polite"},i),u=r["default"].prototype.createEl.call(this,n,t,i),this.createControlTextEl(u),u},t.prototype.addChild=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=this.constructor.name;return l["default"].warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),r["default"].prototype.addChild.call(this,n,t)},t.prototype.enable=function(){n.prototype.enable.call(this);this.el_.removeAttribute("disabled")},t.prototype.disable=function(){n.prototype.disable.call(this);this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){t.which!==32&&t.which!==13&&n.prototype.handleKeyPress.call(this,t)},t}(s["default"]);r["default"].registerComponent("Button",f);i["default"]=f},{"3":3,"5":5,"91":91,"93":93}],3:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function nt(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var l=n(5),e=u(l),a=n(85),v=r(a),y=n(86),o=r(y),p=n(88),s=r(p),w=n(91),b=u(w),k=n(99),h=u(k),c=n(93);f=function(n){function t(i,r){d(this,t);var u=g(this,n.call(this,i,r));return u.emitTapEvents(),u.enable(),u}return nt(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u;return t=c.assign({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"><\/span>',className:this.buildCSSClass(),tabIndex:0},t),i==="button"&&b["default"].error("Creating a ClickableComponent with an HTML element of "+i+" is not supported; use a Button instead."),r=c.assign({role:"button","aria-live":"polite"},r),this.tabIndex_=t.tabIndex,u=n.prototype.createEl.call(this,i,t,r),this.createControlTextEl(u),u},t.prototype.createControlTextEl=function(n){return this.controlTextEl_=v.createEl("span",{className:"vjs-control-text"}),n&&n.appendChild(this.controlTextEl_),this.controlText(this.controlText_,n),this.controlTextEl_},t.prototype.controlText=function(n){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.el(),t;if(!n)return this.controlText_||"Need Text";t=this.localize(n);this.controlText_=n;this.controlTextEl_.innerHTML=t;this.nonIconControl||i.setAttribute("title",t)},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){if(!this.enabled_){this.enabled_=!0;this.removeClass("vjs-disabled");this.el_.setAttribute("aria-disabled","false");typeof this.tabIndex_!="undefined"&&this.el_.setAttribute("tabIndex",this.tabIndex_);this.on(["tap","click"],this.handleClick);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur)}},t.prototype.disable=function(){this.enabled_=!1;this.addClass("vjs-disabled");this.el_.setAttribute("aria-disabled","true");typeof this.tabIndex_!="undefined"&&this.el_.removeAttribute("tabIndex");this.off(["tap","click"],this.handleClick);this.off("focus",this.handleFocus);this.off("blur",this.handleBlur)},t.prototype.handleClick=function(){},t.prototype.handleFocus=function(){o.on(h["default"],"keydown",s.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){t.which===32||t.which===13?(t.preventDefault(),this.trigger("click")):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(){o.off(h["default"],"keydown",s.bind(this,this.handleKeyPress))},t}(e["default"]);e["default"].registerComponent("ClickableComponent",f);i["default"]=f},{"5":5,"85":85,"86":86,"88":88,"91":91,"93":93,"99":99}],4:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(2),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));return u.controlText(r&&r.controlText||u.localize("Close")),u}return l(t,n),t.prototype.buildCSSClass=function(){return"vjs-close-button "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},t}(e["default"]);s["default"].registerComponent("CloseButton",r);i["default"]=r},{"2":2,"5":5}],5:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function ft(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var o;i.__esModule=!0;var l=n(100),r=e(l),a=n(53),v=e(a),y=n(54),p=e(y),w=n(85),u=h(w),b=n(84),k=h(b),d=n(88),s=h(d),g=n(90),nt=h(g),tt=n(91),it=e(tt),rt=n(96),f=e(rt),ut=n(92),c=e(ut);o=function(){function n(t,i,r){if(ft(this,n),this.player_=!t&&this.play?t=this:t,this.options_=c["default"]({},this.options_),i=this.options_=c["default"](this.options_,i),this.id_=i.id||i.el&&i.el.id,!this.id_){var u=t&&t.id&&t.id()||"no_player";this.id_=u+"_component_"+nt.newGUID()}this.name_=i.name||null;i.el?this.el_=i.el:i.createEl!==!1&&(this.el_=this.createEl());v["default"](this,{eventBusKey:this.el_?"el_":null});p["default"](this,this.constructor.defaultState);this.children_=[];this.childIndex_={};this.childNameIndex_={};i.initChildren!==!1&&this.initChildren();this.ready(r);i.reportTouchActivity!==!1&&this.enableTouchActivity()}return n.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose();this.children_=null;this.childIndex_=null;this.childNameIndex_=null;this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),k.removeData(this.el_),this.el_=null)},n.prototype.player=function(){return this.player_},n.prototype.options=function(n){return(it["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),!n)?this.options_:(this.options_=c["default"](this.options_,n),this.options_)},n.prototype.el=function(){return this.el_},n.prototype.createEl=function(n,t,i){return u.createEl(n,t,i)},n.prototype.localize=function(n,t){var o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:n,u=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),f=r&&r[u],s=u&&u.split("-")[0],e=r&&r[s],i=o;return f&&f[n]?i=f[n]:e&&e[n]&&(i=e[n]),t&&(i=i.replace(/\{(\d+)\}/g,function(n,i){var r=t[i-1],u=r;return typeof r=="undefined"&&(u=n),u})),i},n.prototype.contentEl=function(){return this.contentEl_||this.el_},n.prototype.id=function(){return this.id_},n.prototype.name=function(){return this.name_},n.prototype.children=function(){return this.children_},n.prototype.getChildById=function(n){return this.childIndex_[n]},n.prototype.getChild=function(n){if(n)return n=f["default"](n),this.childNameIndex_[n]},n.prototype.addChild=function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},s=arguments.length>2&&arguments[2]!==undefined?arguments[2]:this.children_.length,i=void 0,r=void 0,o,u,h,c;if(typeof t=="string"){if(r=f["default"](t),o=e.componentClass||r,e.name=r,u=n.getComponent(o),!u)throw new Error("Component "+o+" does not exist");if(typeof u!="function")return null;i=new u(this.player_||this,e)}else i=t;return this.children_.splice(s,0,i),typeof i.id=="function"&&(this.childIndex_[i.id()]=i),r=r||i.name&&f["default"](i.name()),r&&(this.childNameIndex_[r]=i),typeof i.el=="function"&&i.el()&&(h=this.contentEl().children,c=h[s]||null,this.contentEl().insertBefore(i.el(),c)),i},n.prototype.removeChild=function(n){var i,t,r;if(typeof n=="string"&&(n=this.getChild(n)),n&&this.children_){for(i=!1,t=this.children_.length-1;t>=0;t--)if(this.children_[t]===n){i=!0;this.children_.splice(t,1);break}i&&(this.childIndex_[n.id()]=null,this.childNameIndex_[n.name()]=null,r=n.el(),r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(n.el()))}},n.prototype.initChildren=function(){var i=this,t=this.options_.children;if(t){var u=this.options_,e=function(n){var r=n.name,t=n.opts,f;(u[r]!==undefined&&(t=u[r]),t!==!1)&&(t===!0&&(t={}),t.playerOptions=i.options_.playerOptions,f=i.addChild(r,t),f&&(i[r]=f))},r=void 0,o=n.getComponent("Tech");r=Array.isArray(t)?t:Object.keys(t);r.concat(Object.keys(this.options_).filter(function(n){return!r.some(function(t){return typeof t=="string"?n===t:n===t.name})})).map(function(n){var r=void 0,u=void 0;return typeof n=="string"?(r=n,u=t[r]||i.options_[r]||{}):(r=n.name,u=n),{name:r,opts:u}}).filter(function(t){var i=n.getComponent(t.opts.componentClass||f["default"](t.name));return i&&!o.isTech(i)}).forEach(e)}},n.prototype.buildCSSClass=function(){return""},n.prototype.ready=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;n&&(this.isReady_?t?n.call(this):this.setTimeout(n,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(n)))},n.prototype.triggerReady=function(){this.isReady_=!0;this.setTimeout(function(){var n=this.readyQueue_;this.readyQueue_=[];n&&n.length>0&&n.forEach(function(n){n.call(this)},this);this.trigger("ready")},1)},n.prototype.$=function(n,t){return u.$(n,t||this.contentEl())},n.prototype.$$=function(n,t){return u.$$(n,t||this.contentEl())},n.prototype.hasClass=function(n){return u.hasClass(this.el_,n)},n.prototype.addClass=function(n){u.addClass(this.el_,n)},n.prototype.removeClass=function(n){u.removeClass(this.el_,n)},n.prototype.toggleClass=function(n,t){u.toggleClass(this.el_,n,t)},n.prototype.show=function(){this.removeClass("vjs-hidden")},n.prototype.hide=function(){this.addClass("vjs-hidden")},n.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},n.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},n.prototype.getAttribute=function(n){return u.getAttribute(this.el_,n)},n.prototype.setAttribute=function(n,t){u.setAttribute(this.el_,n,t)},n.prototype.removeAttribute=function(n){u.removeAttribute(this.el_,n)},n.prototype.width=function(n,t){return this.dimension("width",n,t)},n.prototype.height=function(n,t){return this.dimension("height",n,t)},n.prototype.dimensions=function(n,t){this.width(n,!0);this.height(t)},n.prototype.dimension=function(n,t,i){if(t!==undefined){(t===null||t!==t)&&(t=0);this.el_.style[n]=(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?t:t==="auto"?"":t+"px";i||this.trigger("componentresize");return}if(!this.el_)return 0;var r=this.el_.style[n],u=r.indexOf("px");return u!==-1?parseInt(r.slice(0,u),10):parseInt(this.el_["offset"+f["default"](n)],10)},n.prototype.currentDimension=function(n){var t=0,i,u;if(n!=="width"&&n!=="height")throw new Error("currentDimension only accepts width or height value");return typeof r["default"].getComputedStyle=="function"&&(i=r["default"].getComputedStyle(this.el_),t=i.getPropertyValue(n)||i[n]),t=parseFloat(t),t===0&&(u="offset"+f["default"](n),t=this.el_[u]),t},n.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},n.prototype.currentWidth=function(){return this.currentDimension("width")},n.prototype.currentHeight=function(){return this.currentDimension("height")},n.prototype.focus=function(){this.el_.focus()},n.prototype.blur=function(){this.el_.blur()},n.prototype.emitTapEvents=function(){var r=0,n=null,u=10,f=200,t=void 0,i;this.on("touchstart",function(i){i.touches.length===1&&(n={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY},r=(new Date).getTime(),t=!0)});this.on("touchmove",function(i){if(i.touches.length>1)t=!1;else if(n){var r=i.touches[0].pageX-n.pageX,f=i.touches[0].pageY-n.pageY,e=Math.sqrt(r*r+f*f);e>u&&(t=!1)}});i=function(){t=!1};this.on("touchleave",i);this.on("touchcancel",i);this.on("touchend",function(i){if(n=null,t===!0){var u=(new Date).getTime()-r;u<f&&(i.preventDefault(),this.trigger("tap"))}})},n.prototype.enableTouchActivity=function(){var n,t,i;if(this.player()&&this.player().reportUserActivity){n=s.bind(this.player(),this.player().reportUserActivity);t=void 0;this.on("touchstart",function(){n();this.clearInterval(t);t=this.setInterval(n,250)});i=function(){n();this.clearInterval(t)};this.on("touchmove",n);this.on("touchend",i);this.on("touchcancel",i)}},n.prototype.setTimeout=function(n,t){n=s.bind(this,n);var i=r["default"].setTimeout(n,t),u=function(){this.clearTimeout(i)};u.guid="vjs-timeout-"+i;this.on("dispose",u);return i},n.prototype.clearTimeout=function(n){r["default"].clearTimeout(n);var t=function(){};return t.guid="vjs-timeout-"+n,this.off("dispose",t),n},n.prototype.setInterval=function(n,t){n=s.bind(this,n);var i=r["default"].setInterval(n,t),u=function(){this.clearInterval(i)};u.guid="vjs-interval-"+i;this.on("dispose",u);return i},n.prototype.clearInterval=function(n){r["default"].clearInterval(n);var t=function(){};return t.guid="vjs-interval-"+n,this.off("dispose",t),n},n.prototype.requestAnimationFrame=function(n){var u=this,t,i;if(this.supportsRaf_){n=s.bind(this,n);t=r["default"].requestAnimationFrame(n);i=function(){return u.cancelAnimationFrame(t)};i.guid="vjs-raf-"+t;this.on("dispose",i);return t}return this.setTimeout(n,1e3/60)},n.prototype.cancelAnimationFrame=function(n){if(this.supportsRaf_){r["default"].cancelAnimationFrame(n);var t=function(){};return t.guid="vjs-raf-"+n,this.off("dispose",t),n}return this.clearTimeout(n)},n.registerComponent=function(t,i){var e,r,u,o;if(typeof t!="string"||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var s=n.getComponent("Tech"),h=s&&s.isTech(i),c=n===i||n.prototype.isPrototypeOf(i.prototype);if(h||!c){e=void 0;e=h?"techs must be registered using Tech.registerTech()":"must be a Component subclass";throw new Error('Illegal component, "'+t+'"; '+e+".");}if(t=f["default"](t),n.components_||(n.components_={}),r=n.getComponent("Player"),t==="Player"&&r&&r.players&&(u=r.players,o=Object.keys(u),u&&o.length>0&&o.map(function(n){return u[n]}).every(Boolean)))throw new Error("Can not register Player component after player has been created.");return n.components_[t]=i,i},n.getComponent=function(t){if(t)return t=f["default"](t),n.components_&&n.components_[t]?n.components_[t]:void 0},n}();o.prototype.supportsRaf_=typeof r["default"].requestAnimationFrame=="function"&&typeof r["default"].cancelAnimationFrame=="function";o.registerComponent("Component",o);i["default"]=o},{"100":100,"53":53,"54":54,"84":84,"85":85,"88":88,"90":90,"91":91,"92":92,"96":96}],6:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(38),e=u(f),o=n(5),s=u(o),h=n(7),c=u(h);r=function(n){function t(i){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return l(this,t),r.tracks=i.audioTracks(),a(this,n.call(this,i,r))}return v(t,n),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+n.prototype.buildWrapperCSSClass.call(this)},t.prototype.createItems=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t,n,r;for(this.hideThreshold_=1,t=this.player_.audioTracks(),n=0;n<t.length;n++)r=t[n],i.push(new c["default"](this.player_,{track:r,selectable:!0}));return i},t}(e["default"]);r.prototype.controlText_="Audio Track";s["default"].registerComponent("AudioTrackButton",r);i["default"]=r},{"38":38,"5":5,"7":7}],7:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(51),e=u(f),o=n(5),s=u(o),h=n(88),c=l(h);r=function(n){function t(i,r){var f,e,u,o;a(this,t);f=r.track;e=i.audioTracks();r.label=f.label||f.language||"Unknown";r.selected=f.enabled;u=v(this,n.call(this,i,r));u.track=f;o=c.bind(u,u.handleTracksChange);e.addEventListener("change",o);u.on("dispose",function(){e.removeEventListener("change",o)});return u}return y(t,n),t.prototype.handleClick=function(t){var u=this.player_.audioTracks(),i,r;for(n.prototype.handleClick.call(this,t),i=0;i<u.length;i++)r=u[i],r.enabled=r===this.track},t.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},t}(e["default"]);s["default"].registerComponent("AudioTrackMenuItem",r);i["default"]=r},{"5":5,"51":51,"88":88}],8:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(12);n(34);n(35);n(37);n(36);n(10);n(18);n(9);n(43);n(25);n(27);n(31);n(24);n(29);n(6);n(13);n(21);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u["default"]);r.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]};u["default"].registerComponent("ControlBar",r);i["default"]=r},{"10":10,"12":12,"13":13,"18":18,"21":21,"24":24,"25":25,"27":27,"29":29,"31":31,"34":34,"35":35,"36":36,"37":37,"43":43,"5":5,"6":6,"9":9}],9:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(2),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));u.on(i,"fullscreenchange",u.handleFullscreenChange);return u}return l(t,n),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(e["default"]);r.prototype.controlText_="Fullscreen";s["default"].registerComponent("FullscreenToggle",r);i["default"]=r},{"2":2,"5":5}],10:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(5),u=h(f),e=n(85),o=s(e);r=function(n){function t(i,r){c(this,t);var u=l(this,n.call(this,i,r));u.updateShowing();u.on(u.player(),"durationchange",u.updateShowing);return u}return a(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=o.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"<\/span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(){this.player().duration()===Infinity?this.show():this.hide()},t}(u["default"]);u["default"].registerComponent("LiveDisplay",r);i["default"]=r},{"5":5,"85":85}],11:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function w(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(2),o=u(e),s=n(5),h=u(s),c=n(85),f=v(c),l=n(39),a=u(l);r=function(n){function t(i,r){y(this,t);var u=p(this,n.call(this,i,r));a["default"](u,i);u.on(i,["loadstart","volumechange"],u.update);return u}return w(t,n),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){var i=this.player_.volume(),n=this.player_.lastVolume_(),t;i===0?(t=n<.1?.1:n,this.player_.volume(t),this.player_.muted(!1)):this.player_.muted(this.player_.muted()?!1:!0)},t.prototype.update=function(){this.updateIcon_();this.updateControlText_()},t.prototype.updateIcon_=function(){var i=this.player_.volume(),n=3,t;for(i===0||this.player_.muted()?n=0:i<.33?n=1:i<.67&&(n=2),t=0;t<4;t++)f.removeClass(this.el_,"vjs-vol-"+t);f.addClass(this.el_,"vjs-vol-"+n)},t.prototype.updateControlText_=function(){var t=this.player_.muted()||this.player_.volume()===0,n=t?"Unmute":"Mute";this.controlText()!==n&&this.controlText(n)},t}(o["default"]);r.prototype.controlText_="Mute";h["default"].registerComponent("MuteToggle",r);i["default"]=r},{"2":2,"39":39,"5":5,"85":85}],12:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(2),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));u.on(i,"play",u.handlePlay);u.on(i,"pause",u.handlePause);u.on(i,"ended",u.handleEnded);return u}return l(t,n),t.prototype.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.controlText("Pause")},t.prototype.handlePause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.controlText("Play")},t.prototype.handleEnded=function(){this.removeClass("vjs-playing");this.addClass("vjs-ended");this.controlText("Replay")},t}(e["default"]);r.prototype.controlText_="Play";s["default"].registerComponent("PlayToggle",r);i["default"]=r},{"2":2,"5":5}],13:[function(n,t,i){"use strict";function p(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var f=n(50),e=r(f),o=n(52),s=r(o),h=n(14),c=r(h),l=n(5),a=r(l),v=n(85),y=p(v);u=function(n){function t(i,r){w(this,t);var u=b(this,n.call(this,i,r));u.updateVisibility();u.updateLabel();u.on(i,"loadstart",u.updateVisibility);u.on(i,"ratechange",u.updateLabel);return u}return k(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=y.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildWrapperCSSClass.call(this)},t.prototype.createMenu=function(){var i=new s["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new c["default"](this.player(),{rate:t[n]+"x"}));return i},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(){for(var r=this.player().playbackRate(),t=this.playbackRates(),i=t[0],n=0;n<t.length;n++)if(t[n]>r){i=t[n];break}this.player().playbackRate(i)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(e["default"]);u.prototype.controlText_="Playback Rate";a["default"].registerComponent("PlaybackRateMenuButton",u);i["default"]=u},{"14":14,"5":5,"50":50,"52":52,"85":85}],14:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(51),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){var f,e,u;h(this,t);f=r.rate;e=parseFloat(f,10);r.label=f;r.selected=e===1;r.selectable=!0;u=c(this,n.call(this,i,r));u.label=f;u.rate=e;u.on(i,"ratechange",u.update);return u}return l(t,n),t.prototype.handleClick=function(){n.prototype.handleClick.call(this);this.player().playbackRate(this.rate)},t.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},t}(e["default"]);r.prototype.contentElType="button";s["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r},{"5":5,"51":51}],15:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(5),u=h(f),e=n(85),o=s(e);r=function(n){function t(i,r){c(this,t);var u=l(this,n.call(this,i,r));u.partEls_=[];u.on(i,"progress",u.update);return u}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"<\/span>: 0%<\/span>"})},t.prototype.update=function(){var t=this.player_.buffered(),h=this.player_.duration(),f=this.player_.bufferedEnd(),i=this.partEls_,e=function(n,t){var i=n/t||0;return(i>=1?1:i)*100+"%"},n,u;for(this.el_.style.width=e(f,h),n=0;n<t.length;n++){var s=t.start(n),c=t.end(n),r=i[n];r||(r=this.el_.appendChild(o.createEl()),i[n]=r);r.style.left=e(s,f);r.style.width=e(c-s,f)}for(u=i.length;u>t.length;u--)this.el_.removeChild(i[u-1]);i.length=t.length},t}(u["default"]);u["default"].registerComponent("LoadProgressBar",r);i["default"]=r},{"5":5,"85":85}],16:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var o=n(5),u=e(o),s=n(88),f=l(s),h=n(89),c=e(h);n(20);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));return u.update=f.throttle(f.bind(u,u.update),25),u}return y(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.update=function(n,t){var i=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_);this.rafId_=this.requestAnimationFrame(function(){var r=i.player_.duration(),u=c["default"](t*r,r);i.el_.style.left=n.width*t+"px";i.getChild("timeTooltip").update(n,t,u)})},t}(u["default"]);r.prototype.options_={children:["timeTooltip"]};u["default"].registerComponent("MouseTimeDisplay",r);i["default"]=r},{"20":20,"5":5,"88":88,"89":89}],17:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var o=n(5),f=e(o),u=n(81),s=n(89),h=e(s);n(20);r=function(n){function t(){return c(this,t),l(this,n.apply(this,arguments))}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"<\/span>: 0%<\/span>"})},t.prototype.update=function(n,t){var i=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_);this.rafId_=this.requestAnimationFrame(function(){var u=i.player_.scrubbing()?i.player_.getCache().currentTime:i.player_.currentTime(),f=h["default"](u,i.player_.duration()),r=i.getChild("timeTooltip");r&&r.update(n,t,f)})},t}(f["default"]);r.prototype.options_={children:[]};!(!u.IE_VERSION||u.IE_VERSION>8)||u.IS_IOS||u.IS_ANDROID||r.prototype.options_.children.push("timeTooltip");f["default"].registerComponent("PlayProgressBar",r);i["default"]=r},{"20":20,"5":5,"81":81,"89":89}],18:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var o=n(5),f=c(o),s=n(85),e=h(s),r=n(88);n(19);u=function(n){function t(i,u){l(this,t);var f=a(this,n.call(this,i,u));f.handleMouseMove=r.throttle(r.bind(f,f.handleMouseMove),25);f.on(f.el_,"mousemove",f.handleMouseMove);f.throttledHandleMouseSeek=r.throttle(r.bind(f,f.handleMouseSeek),25);f.on(["mousedown","touchstart"],f.handleMouseDown);return f}return v(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t.prototype.handleMouseMove=function(n){var i=this.getChild("seekBar"),r=i.getChild("mouseTimeDisplay"),u=i.el(),f=e.getBoundingClientRect(u),t=e.getPointerPosition(u,n).x;t>1?t=1:t<0&&(t=0);r&&r.update(f,t)},t.prototype.handleMouseSeek=function(n){var t=this.getChild("seekBar");t.handleMouseMove(n)},t.prototype.handleMouseDown=function(){var n=this.el_.ownerDocument;this.on(n,"mousemove",this.throttledHandleMouseSeek);this.on(n,"touchmove",this.throttledHandleMouseSeek);this.on(n,"mouseup",this.handleMouseUp);this.on(n,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(){var n=this.el_.ownerDocument;this.off(n,"mousemove",this.throttledHandleMouseSeek);this.off(n,"touchmove",this.throttledHandleMouseSeek);this.off(n,"mouseup",this.handleMouseUp);this.off(n,"touchend",this.handleMouseUp)},t}(f["default"]);u.prototype.options_={children:["seekBar"]};f["default"].registerComponent("ProgressControl",u);i["default"]=u},{"19":19,"5":5,"85":85,"88":88}],19:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function g(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var e,r;i.__esModule=!0;var c=n(60),l=f(c),a=n(5),v=f(a),u=n(81),y=n(85),p=h(y),w=n(88),o=h(w),b=n(89),s=f(b);n(15);n(17);n(16);e=5;r=function(n){function t(i,r){k(this,t);var u=d(this,n.call(this,i,r));u.update=o.throttle(o.bind(u,u.update),50);u.on(i,["timeupdate","ended"],u.update);return u}return g(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},t.prototype.update=function(){var t=n.prototype.update.call(this),i=this.player_.duration(),r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();return this.el_.setAttribute("aria-valuenow",(t*100).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[s["default"](r,i),s["default"](i,i)],"{1} of {2}")),this.bar.update(p.getBoundingClientRect(this.el_),t),t},t.prototype.getPercent=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=t/this.player_.duration();return n>=1?1:n},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0);this.videoWasPlaying=!this.player_.paused();this.player_.pause();n.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(n){var t=this.calculateDistance(n)*this.player_.duration();t===this.player_.duration()&&(t=t-.1);this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){n.prototype.handleMouseUp.call(this,t);this.player_.scrubbing(!1);this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+e)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-e)},t.prototype.handleAction=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleKeyPress=function(t){t.which===32||t.which===13?(t.preventDefault(),this.handleAction(t)):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,t)},t}(l["default"]);r.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"};!(!u.IE_VERSION||u.IE_VERSION>8)||u.IS_IOS||u.IS_ANDROID||r.prototype.options_.children.splice(1,0,"mouseTimeDisplay");r.prototype.playerEvent="timeupdate";v["default"].registerComponent("SeekBar",r);i["default"]=r},{"15":15,"16":16,"17":17,"5":5,"60":60,"81":81,"85":85,"88":88,"89":89}],20:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var e=n(5),f=h(e),o=n(85),r=s(o);u=function(n){function t(){return c(this,t),l(this,n.apply(this,arguments))}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},t.prototype.update=function(n,t,i){var f=r.getBoundingClientRect(this.el_),e=r.getBoundingClientRect(this.player_.el()),o=n.width*t;if(e&&f){var s=n.left-e.left+o,h=n.width-o+(e.right-n.right),u=f.width/2;s<u?u+=u-s:h<u&&(u=h);u<0?u=0:u>f.width&&(u=f.width);this.el_.style.right="-"+u+"px";r.textContent(this.el_,i)}},t}(f["default"]);f["default"].registerComponent("TimeTooltip",u);i["default"]=u},{"5":5,"85":85}],21:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(22),e=u(f),o=n(5),s=u(o);r=function(n){function t(){return h(this,t),c(this,n.apply(this,arguments))}return l(t,n),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+n.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(e["default"]);s["default"].registerComponent("CustomControlSpacer",r);i["default"]=r},{"22":22,"5":5}],22:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.buildCSSClass=function(){return"vjs-spacer "+n.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(r["default"]);r["default"].registerComponent("Spacer",u);i["default"]=u},{"5":5}],23:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(33),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);r.track={player:i,kind:r.kind,label:r.kind+" settings",selectable:!1,"default":!1,mode:"disabled"};r.selectable=!1;r.name="CaptionSettingsMenuItem";var u=c(this,n.call(this,i,r));return u.addClass("vjs-texttrack-settings"),u.controlText(", opens "+r.kind+" settings dialog"),u}return l(t,n),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").open()},t}(e["default"]);s["default"].registerComponent("CaptionSettingsMenuItem",r);i["default"]=r},{"33":33,"5":5}],24:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(32),e=u(f),o=n(5),s=u(o),h=n(23),c=u(h);r=function(n){function t(i,r,u){return l(this,t),a(this,n.call(this,i,r,u))}return v(t,n),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+n.prototype.buildWrapperCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new c["default"](this.player_,{kind:this.kind_})),this.hideThreshold_+=1),n.prototype.createItems.call(this,t)},t}(e["default"]);r.prototype.kind_="captions";r.prototype.controlText_="Captions";s["default"].registerComponent("CaptionsButton",r);i["default"]=r},{"23":23,"32":32,"5":5}],25:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(32),e=u(f),o=n(5),s=u(o),h=n(26),c=u(h),l=n(96),a=u(l);r=function(n){function t(i,r,u){return v(this,t),y(this,n.call(this,i,r,u))}return p(t,n),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildWrapperCSSClass.call(this)},t.prototype.update=function(t){(!this.track_||t&&(t.type==="addtrack"||t.type==="removetrack"))&&this.setTrack(this.findChaptersTrack());n.prototype.update.call(this)},t.prototype.setTrack=function(n){var t,i;this.track_!==n&&(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_&&(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),t&&t.removeEventListener("load",this.updateHandler_),this.track_=null),this.track_=n,this.track_&&(this.track_.mode="hidden",i=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),i&&i.addEventListener("load",this.updateHandler_)))},t.prototype.findChaptersTrack=function(){for(var i=this.player_.textTracks()||[],t,n=i.length-1;n>=0;n--)if(t=i[n],t.kind===this.kind_)return t},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(a["default"](this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},t.prototype.createItems=function(){var i=[],n,t,r,u,f;if(!this.track_||(n=this.track_.cues,!n))return i;for(t=0,r=n.length;t<r;t++)u=n[t],f=new c["default"](this.player_,{track:this.track_,cue:u}),i.push(f);return i},t}(e["default"]);r.prototype.kind_="chapters";r.prototype.controlText_="Chapters";s["default"].registerComponent("ChaptersButton",r);i["default"]=r},{"26":26,"32":32,"5":5,"96":96}],26:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(51),e=u(f),o=n(5),s=u(o),h=n(88),c=l(h);r=function(n){function t(i,r){var u;a(this,t);var e=r.track,f=r.cue,o=i.currentTime();return r.selectable=!0,r.label=f.text,r.selected=f.startTime<=o&&o<f.endTime,u=v(this,n.call(this,i,r)),u.track=e,u.cue=f,e.addEventListener("cuechange",c.bind(u,u.update)),u}return y(t,n),t.prototype.handleClick=function(){n.prototype.handleClick.call(this);this.player_.currentTime(this.cue.startTime);this.update(this.cue.startTime)},t.prototype.update=function(){var n=this.cue,t=this.player_.currentTime();this.selected(n.startTime<=t&&t<n.endTime)},t}(e["default"]);s["default"].registerComponent("ChaptersTrackMenuItem",r);i["default"]=r},{"5":5,"51":51,"88":88}],27:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(32),e=u(f),o=n(5),s=u(o),h=n(88),c=l(h);r=function(n){function t(i,r,u){a(this,t);var f=v(this,n.call(this,i,r,u)),e=i.textTracks(),o=c.bind(f,f.handleTracksChange);e.addEventListener("change",o);f.on("dispose",function(){e.removeEventListener("change",o)});return f}return y(t,n),t.prototype.handleTracksChange=function(){for(var i=this.player().textTracks(),r=!1,t,n=0,u=i.length;n<u;n++)if(t=i[n],t.kind!==this.kind_&&t.mode==="showing"){r=!0;break}r?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildWrapperCSSClass.call(this)},t}(e["default"]);r.prototype.kind_="descriptions";r.prototype.controlText_="Descriptions";s["default"].registerComponent("DescriptionsButton",r);i["default"]=r},{"32":32,"5":5,"88":88}],28:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(33),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);r.track={player:i,kind:r.kind,kinds:r.kinds,"default":!1,mode:"disabled"};r.kinds||(r.kinds=[r.kind]);r.track.label=r.label?r.label:r.kinds.join(" and ")+" off";r.selectable=!0;var u=c(this,n.call(this,i,r));return u.selected(!0),u}return l(t,n),t.prototype.handleTracksChange=function(){for(var i=this.player().textTracks(),r=!0,t,n=0,u=i.length;n<u;n++)if(t=i[n],this.options_.kinds.indexOf(t.kind)>-1&&t.mode==="showing"){r=!1;break}this.selected(r)},t}(e["default"]);s["default"].registerComponent("OffTextTrackMenuItem",r);i["default"]=r},{"33":33,"5":5}],29:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function b(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var f=n(32),e=r(f),o=n(5),s=r(o),h=n(23),c=r(h),l=n(30),a=r(l),v=n(96),y=r(v);u=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;return p(this,t),r=w(this,n.call(this,i,u)),r.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(y["default"](r.label_)),r}return b(t,n),t.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+n.prototype.buildWrapperCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new c["default"](this.player_,{kind:this.label_})),this.hideThreshold_+=1),n.prototype.createItems.call(this,t,a["default"])},t}(e["default"]);u.prototype.kinds_=["captions","subtitles"];u.prototype.controlText_="Subtitles";s["default"].registerComponent("SubsCapsButton",u);i["default"]=u},{"23":23,"30":30,"32":32,"5":5,"96":96}],30:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(33),e=u(f),o=n(5),s=u(o),h=n(93);r=function(n){function t(){return c(this,t),l(this,n.apply(this,arguments))}return a(t,n),t.prototype.createEl=function(t,i,r){var u='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return this.options_.track.kind==="captions"&&(u+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"><\/span>\n        <span class="vjs-control-text"> '+this.localize("Captions")+"<\/span>\n      "),u+="<\/span>",n.prototype.createEl.call(this,t,h.assign({innerHTML:u},i),r)},t}(e["default"]);s["default"].registerComponent("SubsCapsMenuItem",r);i["default"]=r},{"33":33,"5":5,"93":93}],31:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(32),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r,u){return h(this,t),c(this,n.call(this,i,r,u))}return l(t,n),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildWrapperCSSClass.call(this)},t}(e["default"]);r.prototype.kind_="subtitles";r.prototype.controlText_="Subtitles";s["default"].registerComponent("SubtitlesButton",r);i["default"]=r},{"32":32,"5":5}],32:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var f=n(38),e=r(f),o=n(5),s=r(o),h=n(33),c=r(h),l=n(28),a=r(l);u=function(n){function t(i){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return v(this,t),r.tracks=i.textTracks(),y(this,n.call(this,i,r))}return p(t,n),t.prototype.createItems=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:c["default"],f=void 0,r,n,t,u;for(this.label_&&(f=this.label_+" off"),i.push(new a["default"](this.player_,{kinds:this.kinds_,kind:this.kind_,label:f})),this.hideThreshold_+=1,r=this.player_.textTracks(),Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]),n=0;n<r.length;n++)t=r[n],this.kinds_.indexOf(t.kind)>-1&&(u=new e(this.player_,{track:t,selectable:!0}),u.addClass("vjs-"+t.kind+"-menu-item"),i.push(u));return i},t}(e["default"]);s["default"].registerComponent("TextTrackButton",u);i["default"]=u},{"28":28,"33":33,"38":38,"5":5}],33:[function(n,t,i){"use strict";function w(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function d(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o=n(51),s=r(o),h=n(5),c=r(h),l=n(88),a=w(l),v=n(100),f=r(v),y=n(99),p=r(y);u=function(n){function t(i,r){var o,h,u,c,s;b(this,t);o=r.track;h=i.textTracks();r.label=o.label||o.language||"Unknown";r.selected=o["default"]||o.mode==="showing";u=k(this,n.call(this,i,r));u.track=o;c=a.bind(u,u.handleTracksChange);i.on(["loadstart","texttrackchange"],c);h.addEventListener("change",c);u.on("dispose",function(){h.removeEventListener("change",c)});if(h.onchange===undefined){s=void 0;u.on(["tap","click"],function(){if(e(f["default"].Event)!=="object")try{s=new f["default"].Event("change")}catch(n){}s||(s=p["default"].createEvent("Event"),s.initEvent("change",!0,!0));h.dispatchEvent(s)})}return u}return d(t,n),t.prototype.handleClick=function(t){var e=this.track.kind,u=this.track.kinds,f=this.player_.textTracks(),r,i;if(u||(u=[e]),n.prototype.handleClick.call(this,t),f)for(r=0;r<f.length;r++)i=f[r],i===this.track&&u.indexOf(i.kind)>-1?i.mode!=="showing"&&(i.mode="showing"):i.mode!=="disabled"&&(i.mode="disabled")},t.prototype.handleTracksChange=function(){this.selected(this.track.mode==="showing")},t}(s["default"]);c["default"].registerComponent("TextTrackMenuItem",u);i["default"]=u},{"100":100,"5":5,"51":51,"88":88,"99":99}],34:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(5),u=f(e),o=n(85),s=l(o),h=n(89),c=f(h);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));u.on(i,"timeupdate",u.updateContent);return u}return y(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time <\/span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),i=this.localize("Current Time"),n=c["default"](t,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+i+"<\/span> "+n)},t}(u["default"]);u["default"].registerComponent("CurrentTimeDisplay",r);i["default"]=r},{"5":5,"85":85,"89":89}],35:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(5),u=f(e),o=n(85),s=l(o),h=n(89),c=f(h);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));u.on(i,"durationchange",u.updateContent);u.on(i,"timeupdate",u.updateContent);u.on(i,"loadedmetadata",u.updateContent);return u}return y(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"<\/span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){var n=this.player_.duration(),t,i;n&&this.duration_!==n&&(this.duration_=n,t=this.localize("Duration Time"),i=c["default"](n),this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> "+i)},t}(u["default"]);u["default"].registerComponent("DurationDisplay",r);i["default"]=r},{"5":5,"85":85,"89":89}],36:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(5),u=f(e),o=n(85),s=l(o),h=n(89),c=f(h);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));u.on(i,"timeupdate",u.updateContent);u.on(i,"durationchange",u.updateContent);return u}return y(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"<\/span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=c["default"](this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> -"+n)}},t}(u["default"]);u["default"].registerComponent("RemainingTimeDisplay",r);i["default"]=r},{"5":5,"85":85,"89":89}],37:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/<\/span><\/div>"})},t}(r["default"]);r["default"].registerComponent("TimeDivider",u);i["default"]=u},{"5":5}],38:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(50),o=u(e),s=n(5),h=u(s),c=n(88),l=a(c);r=function(n){function t(i,r){var e,u,o;if(v(this,t),e=r.tracks,u=f(this,n.call(this,i,r)),u.items.length<=1&&u.hide(),!e)return f(u);o=l.bind(u,u.update);e.addEventListener("removetrack",o);e.addEventListener("addtrack",o);u.player_.on("ready",o);u.player_.on("dispose",function(){e.removeEventListener("removetrack",o);e.removeEventListener("addtrack",o)});return u}return y(t,n),t}(o["default"]);h["default"].registerComponent("TrackButton",r);i["default"]=r},{"5":5,"50":50,"88":88}],39:[function(n,t,i){"use strict";i.__esModule=!0;var r=function(n,t){t.tech_&&!t.tech_.featuresVolumeControl&&n.addClass("vjs-hidden");n.on(t,"loadstart",function(){t.tech_.featuresVolumeControl?n.removeClass("vjs-hidden"):n.addClass("vjs-hidden")})};i["default"]=r},{}],40:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(60),e=u(f),o=n(5),s=u(o);n(42);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));u.on("slideractive",u.updateLastVolume_);u.on(i,"volumechange",u.updateARIAAttributes);return i.ready(function(){return u.updateARIAAttributes()}),u}return l(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},t.prototype.handleMouseMove=function(n){this.checkMuted();this.player_.volume(this.calculateDistance(n))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted();this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted();this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(){var n=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",n);this.el_.setAttribute("aria-valuetext",n+"%")},t.prototype.volumeAsPercentage_=function(){return Math.round(this.player_.volume()*100)},t.prototype.updateLastVolume_=function(){var n=this,t=this.player_.volume();this.one("sliderinactive",function(){n.player_.volume()===0&&n.player_.lastVolume_(t)})},t}(e["default"]);r.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};r.prototype.playerEvent="volumechange";s["default"].registerComponent("VolumeBar",r);i["default"]=r},{"42":42,"5":5,"60":60}],41:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var o=n(5),u=e(o),s=n(39),h=e(s),c=n(93),f=n(88);n(40);r=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;l(this,t);u.vertical=u.vertical||!1;(typeof u.volumeBar=="undefined"||c.isPlain(u.volumeBar))&&(u.volumeBar=u.volumeBar||{},u.volumeBar.vertical=u.vertical);r=a(this,n.call(this,i,u));h["default"](r,i);r.throttledHandleMouseMove=f.throttle(f.bind(r,r.handleMouseMove),25);r.on("mousedown",r.handleMouseDown);r.on("touchstart",r.handleMouseDown);r.on(r.volumeBar,["focus","slideractive"],function(){r.volumeBar.addClass("vjs-slider-active");r.addClass("vjs-slider-active");r.trigger("slideractive")});r.on(r.volumeBar,["blur","sliderinactive"],function(){r.volumeBar.removeClass("vjs-slider-active");r.removeClass("vjs-slider-active");r.trigger("sliderinactive")});return r}return v(t,n),t.prototype.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},t.prototype.handleMouseDown=function(){var n=this.el_.ownerDocument;this.on(n,"mousemove",this.throttledHandleMouseMove);this.on(n,"touchmove",this.throttledHandleMouseMove);this.on(n,"mouseup",this.handleMouseUp);this.on(n,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(){var n=this.el_.ownerDocument;this.off(n,"mousemove",this.throttledHandleMouseMove);this.off(n,"touchmove",this.throttledHandleMouseMove);this.off(n,"mouseup",this.handleMouseUp);this.off(n,"touchend",this.handleMouseUp)},t.prototype.handleMouseMove=function(n){this.volumeBar.handleMouseMove(n)},t}(u["default"]);r.prototype.options_={children:["volumeBar"]};u["default"].registerComponent("VolumeControl",r);i["default"]=r},{"39":39,"40":40,"5":5,"88":88,"93":93}],42:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"><\/span>'})},t}(r["default"]);r["default"].registerComponent("VolumeLevel",u);i["default"]=u},{"5":5}],43:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(5),u=f(e),o=n(39),s=f(o),h=n(93);n(41);n(11);r=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;c(this,t);u.inline=typeof u.inline!="undefined"?u.inline:!0;(typeof u.volumeControl=="undefined"||h.isPlain(u.volumeControl))&&(u.volumeControl=u.volumeControl||{},u.volumeControl.vertical=!u.inline);r=l(this,n.call(this,i,u));s["default"](r,i);r.on(r.volumeControl,["slideractive"],r.sliderActive_);r.on(r.muteToggle,"focus",r.sliderActive_);r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_);r.on(r.muteToggle,"blur",r.sliderInactive_);return r}return a(t,n),t.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},t.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},t.prototype.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),n.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},t}(u["default"]);r.prototype.options_={children:["muteToggle","volumeControl"]};u["default"].registerComponent("VolumePanel",r);i["default"]=r},{"11":11,"39":39,"41":41,"5":5,"93":93}],44:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var e=n(5),o=u(e),s=n(55),f=u(s),h=n(92),c=u(h);r=function(n){function t(i,r){l(this,t);var u=a(this,n.call(this,i,r));u.on(i,"error",u.open);return u}return v(t,n),t.prototype.buildCSSClass=function(){return"vjs-error-display "+n.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var n=this.player().error();return n?this.localize(n.message):""},t}(f["default"]);r.prototype.options_=c["default"](f["default"].prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0});o["default"].registerComponent("ErrorDisplay",r);i["default"]=r},{"5":5,"55":55,"92":92}],45:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}var f,u,r;i.__esModule=!0;f=n(86);u=e(f);r=function(){};r.prototype.allowedEvents_={};r.prototype.on=function(n,t){var i=this.addEventListener;this.addEventListener=function(){};u.on(this,n,t);this.addEventListener=i};r.prototype.addEventListener=r.prototype.on;r.prototype.off=function(n,t){u.off(this,n,t)};r.prototype.removeEventListener=r.prototype.off;r.prototype.one=function(n,t){var i=this.addEventListener;this.addEventListener=function(){};u.one(this,n,t);this.addEventListener=i};r.prototype.trigger=function(n){var t=n.type||n;typeof n=="string"&&(n={type:t});n=u.fixEvent(n);this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](n);u.trigger(this,n)};r.prototype.dispatchEvent=r.prototype.trigger;i["default"]=r},{"86":86}],46:[function(n,t,i){"use strict";i.__esModule=!0;var r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u=function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+(typeof t=="undefined"?"undefined":r(t)));n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(n.super_=t)},f=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=function(){n.apply(this,arguments)},f={},e;(typeof t=="undefined"?"undefined":r(t))==="object"?(t.constructor!==Object.prototype.constructor&&(i=t.constructor),f=t):typeof t=="function"&&(i=t);u(i,n);for(e in f)f.hasOwnProperty(e)&&(i.prototype[e]=f[e]);return i};i["default"]=f},{}],47:[function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}var o,s,r,u;i.__esModule=!0;o=n(99);s=c(o);var h={},f=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],l=f[0],e=void 0;for(r=0;r<f.length;r++)if(f[r][1]in s["default"]){e=f[r];break}if(e)for(u=0;u<e.length;u++)h[l[u]]=e[u];i["default"]=h},{"99":99}],48:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(r["default"]);r["default"].registerComponent("LoadingSpinner",u);i["default"]=u},{"5":5}],49:[function(n,t,i){"use strict";function r(n){if(n instanceof r)return n;typeof n=="number"?this.code=n:typeof n=="string"?this.message=n:f.isObject(n)&&(typeof n.code=="number"&&(this.code=n.code),f.assign(this,n));this.message||(this.message=r.defaultMessages[this.code]||"")}var f,u;for(i.__esModule=!0,f=n(93),r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."},u=0;u<r.errorTypes.length;u++)r[r.errorTypes[u]]=u,r.prototype[r.errorTypes[u]]=u;i["default"]=r},{"93":93}],50:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function tt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function it(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function rt(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var o;i.__esModule=!0;var a=n(2),u=r(a),v=n(5),s=r(v),y=n(52),p=r(y),w=n(85),h=e(w),b=n(88),f=e(b),k=n(86),c=e(k),d=n(96),g=r(d),nt=n(99),l=r(nt);o=function(n){function t(i){var f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r,e;tt(this,t);r=it(this,n.call(this,i,f));r.menuButton_=new u["default"](i,f);r.menuButton_.controlText(r.controlText_);r.menuButton_.el_.setAttribute("aria-haspopup","true");e=u["default"].prototype.buildCSSClass();r.menuButton_.el_.className=r.buildCSSClass()+" "+e;r.menuButton_.removeClass("vjs-control");r.addChild(r.menuButton_);r.update();r.enabled_=!0;r.on(r.menuButton_,"tap",r.handleClick);r.on(r.menuButton_,"click",r.handleClick);r.on(r.menuButton_,"focus",r.handleFocus);r.on(r.menuButton_,"blur",r.handleBlur);r.on("keydown",r.handleSubmenuKeyPress);return r}return rt(t,n),t.prototype.update=function(){var n=this.createMenu();this.menu&&this.removeChild(this.menu);this.menu=n;this.addChild(n);this.buttonPressed_=!1;this.menuButton_.el_.setAttribute("aria-expanded","false");this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var n=new p["default"](this.player_,{menuButton:this}),i,t;if(this.hideThreshold_=0,this.options_.title&&(i=h.createEl("li",{className:"vjs-menu-title",innerHTML:g["default"](this.options_.title),tabIndex:-1}),this.hideThreshold_+=1,n.children_.unshift(i),h.prependTo(i,n.contentEl())),this.items=this.createItems(),this.items)for(t=0;t<this.items.length;t++)n.addItem(this.items[t]);return n},t.prototype.createItems=function(){},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},t.prototype.buildWrapperCSSClass=function(){var t="vjs-menu-button",i;return t+=this.options_.inline===!0?"-inline":"-popup",i=u["default"].prototype.buildCSSClass(),"vjs-menu-button "+t+" "+i+" "+n.prototype.buildCSSClass.call(this)},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},t.prototype.controlText=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(n,t)},t.prototype.handleClick=function(){this.one(this.menu.contentEl(),"mouseleave",f.bind(this,function(){this.unpressButton();this.el_.blur()}));this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.focus=function(){this.menuButton_.focus()},t.prototype.blur=function(){this.menuButton_.blur()},t.prototype.handleFocus=function(){c.on(l["default"],"keydown",f.bind(this,this.handleKeyPress))},t.prototype.handleBlur=function(){c.off(l["default"],"keydown",f.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(n){n.which===27||n.which===9?(this.buttonPressed_&&this.unpressButton(),n.which!==9&&(n.preventDefault(),this.menuButton_.el_.focus())):(n.which===38||n.which===40)&&(this.buttonPressed_||(this.pressButton(),n.preventDefault()))},t.prototype.handleSubmenuKeyPress=function(n){(n.which===27||n.which===9)&&(this.buttonPressed_&&this.unpressButton(),n.which!==9&&(n.preventDefault(),this.menuButton_.el_.focus()))},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},t.prototype.disable=function(){this.unpressButton();this.enabled_=!1;this.addClass("vjs-disabled");this.menuButton_.disable()},t.prototype.enable=function(){this.enabled_=!0;this.removeClass("vjs-disabled");this.menuButton_.enable()},t}(s["default"]);s["default"].registerComponent("MenuButton",o);i["default"]=o},{"2":2,"5":5,"52":52,"85":85,"86":86,"88":88,"96":96,"99":99}],51:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var f=n(3),e=u(f),o=n(5),s=u(o),h=n(93);r=function(n){function t(i,r){c(this,t);var u=l(this,n.call(this,i,r));return u.selectable=r.selectable,u.selected(r.selected),u.selectable?u.el_.setAttribute("role","menuitemcheckbox"):u.el_.setAttribute("role","menuitem"),u}return a(t,n),t.prototype.createEl=function(t,i,r){return this.nonIconControl=!0,n.prototype.createEl.call(this,"li",h.assign({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"<\/span>",tabIndex:-1},i),r)},t.prototype.handleClick=function(){this.selected(!0)},t.prototype.selected=function(n){this.selectable&&(n?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(e["default"]);s["default"].registerComponent("MenuItem",r);i["default"]=r},{"3":3,"5":5,"93":93}],52:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function v(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function w(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var e=n(5),f=v(e),o=n(85),s=r(o),h=n(88),c=r(h),l=n(86),a=r(l);u=function(n){function t(i,r){y(this,t);var u=p(this,n.call(this,i,r));r&&(u.menuButton_=r.menuButton);u.focusedChild_=-1;u.on("keydown",u.handleKeyPress);return u}return w(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",c.bind(this,function(){this.menuButton_&&(this.menuButton_.unpressButton(),n.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus())}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;this.contentEl_=s.createEl(i,{className:"vjs-menu-content"});this.contentEl_.setAttribute("role","menu");t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});t.appendChild(this.contentEl_);a.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()});return t},t.prototype.handleKeyPress=function(n){n.which===37||n.which===40?(n.preventDefault(),this.stepForward()):(n.which===38||n.which===39)&&(n.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var n=0;this.focusedChild_!==undefined&&(n=this.focusedChild_+1);this.focus(n)},t.prototype.stepBack=function(){var n=0;this.focusedChild_!==undefined&&(n=this.focusedChild_-1);this.focus(n)},t.prototype.focus=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,n=this.children().slice(),i=n.length&&n[0].className&&/vjs-menu-title/.test(n[0].className);i&&n.shift();n.length>0&&(t<0?t=0:t>=n.length&&(t=n.length-1),this.focusedChild_=t,n[t].el_.focus())},t}(f["default"]);f["default"].registerComponent("Menu",u);i["default"]=u},{"5":5,"85":85,"86":86,"88":88}],53:[function(n,t,i){"use strict";function nt(n){return n&&n.__esModule?n:{"default":n}}function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function it(n){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},t=i.eventBusKey;if(t){if(!n[t].nodeName)throw new Error('The eventBusKey "'+t+'" does not refer to an element.');n.eventBusEl_=n[t]}else n.eventBusEl_=y.createEl("span",{className:"vjs-event-bus"});k.assign(n,tt);n.on("dispose",function(){return n.off()});return n}i.__esModule=!0;i.isEvented=undefined;var v=n(85),y=f(v),p=n(86),r=f(p),w=n(88),s=f(w),b=n(93),k=f(b),d=n(45),g=nt(d);var e=function(n){return n instanceof g["default"]||!!n.eventBusEl_&&["on","one","off","trigger"].every(function(t){return typeof n[t]=="function"})},h=function(n){return typeof n=="string"&&/\S/.test(n)||Array.isArray(n)&&!!n.length},o=function(n){if(!n.nodeName&&!e(n))throw new Error("Invalid target; must be a DOM node or evented object.");},c=function(n){if(!h(n))throw new Error("Invalid event type; must be a non-empty string or array.");},l=function(n){if(typeof n!="function")throw new Error("Invalid listener; must be a function.");},a=function(n,t){var f=t.length<3||t[0]===n||t[0]===n.eventBusEl_,r=void 0,u=void 0,i=void 0;return f?(r=n.eventBusEl_,t.length>=3&&t.shift(),u=t[0],i=t[1]):(r=t[0],u=t[1],i=t[2]),o(r),c(u),l(i),i=s.bind(n,i),{isTargetingSelf:f,target:r,type:u,listener:i}},u=function(n,t,i,u){o(n);n.nodeName?r[t](n,i,u):n[t](i,u)},tt={on:function(){for(var o=this,r,e,s=arguments.length,h=Array(s),n=0;n<s;n++)h[n]=arguments[n];var t=a(this,h),l=t.isTargetingSelf,f=t.target,c=t.type,i=t.listener;u(f,"on",c,i);l||(r=function(){return o.off(f,c,i)},r.guid=i.guid,e=function(){return o.off("dispose",r)},e.guid=i.guid,u(this,"on","dispose",r),u(f,"on","dispose",e))},one:function(){for(var h=this,i,o=arguments.length,s=Array(o),n=0;n<o;n++)s[n]=arguments[n];var t=a(this,s),c=t.isTargetingSelf,r=t.target,f=t.type,e=t.listener;c?u(r,"one",f,e):(i=function i(){for(var t=arguments.length,u=Array(t),n=0;n<t;n++)u[n]=arguments[n];h.off(r,f,i);e.apply(null,u)},i.guid=e.guid,u(r,"one",f,i))},off:function(n,t,i){if(!n||h(n))r.off(this.eventBusEl_,n,t);else{var u=n,f=t;o(u);c(f);l(i);i=s.bind(this,i);this.off("dispose",i);u.nodeName?(r.off(u,f,i),r.off(u,"dispose",i)):e(u)&&(u.off(f,i),u.off("dispose",i))}},trigger:function(n,t){return r.trigger(this.eventBusEl_,n,t)}};i["default"]=it;i.isEvented=e},{"45":45,"85":85,"86":86,"88":88,"93":93}],54:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n,t){if(r.assign(n,f),n.state=r.assign({},n.state,t),typeof n.handleStateChanged=="function"&&u.isEvented(n))n.on("statechanged",n.handleStateChanged);return n}var f;i.__esModule=!0;var u=n(53),e=n(93),r=o(e);f={state:{},setState:function(n){var i=this,t;return typeof n=="function"&&(n=n()),t=void 0,r.each(n,function(n,r){i.state[r]!==n&&(t=t||{},t[r]={from:i.state[r],to:n});i.state[r]=n}),t&&u.isEvented(this)&&this.trigger({changes:t,type:"statechanged"}),t}};i["default"]=s},{"53":53,"93":93}],55:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function d(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var a=n(85),u=l(a),v=n(88),h=l(v),y=n(5),c=e(y),p=n(100),r=e(p),w=n(99),f=e(w);var o="vjs-modal-dialog",g=27,s=function(n){function t(i,r){b(this,t);var f=k(this,n.call(this,i,r));return f.opened_=f.hasBeenOpened_=f.hasBeenFilled_=!1,f.closeable(!f.options_.uncloseable),f.content(f.options_.content),f.contentEl_=u.createEl("div",{className:o+"-content"},{role:"document"}),f.descEl_=u.createEl("p",{className:o+"-description vjs-control-text",id:f.el().getAttribute("aria-describedby")}),u.textContent(f.descEl_,f.description()),f.el_.appendChild(f.descEl_),f.el_.appendChild(f.contentEl_),f}return d(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return o+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(n){n.which===g&&this.closeable()&&this.close()},t.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},t.prototype.description=function(){var n=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(n+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),n},t.prototype.open=function(){if(!this.opened_){var n=this.player();if(this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!n.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&n.pause(),this.closeable())this.on(this.el_.ownerDocument,"keydown",h.bind(this,this.handleKeyPress));n.controls(!1);this.show();this.conditionalFocus_();this.el().setAttribute("aria-hidden","false");this.trigger("modalopen");this.hasBeenOpened_=!0}},t.prototype.opened=function(n){return typeof n=="boolean"&&this[n?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var n=this.player();this.trigger("beforemodalclose");this.opened_=!1;this.wasPlaying_&&this.options_.pauseOnOpen&&n.play();this.closeable()&&this.off(this.el_.ownerDocument,"keydown",h.bind(this,this.handleKeyPress));n.controls(!0);this.hide();this.el().setAttribute("aria-hidden","true");this.trigger("modalclose");this.conditionalBlur_();this.options_.temporary&&this.dispose()}},t.prototype.closeable=function(n){var i,t,r;if(typeof n=="boolean"){if(i=this.closeable_=!!n,t=this.getChild("closeButton"),i&&!t){r=this.contentEl_;this.contentEl_=this.el_;t=this.addChild("closeButton",{controlText:"Close Modal Dialog"});this.contentEl_=r;this.on(t,"close",this.close)}!i&&t&&(this.off(t,"close",this.close),this.removeChild(t),t.dispose())}return this.closeable_},t.prototype.fill=function(){this.fillWith(this.content())},t.prototype.fillWith=function(n){var t=this.contentEl(),i=t.parentNode,f=t.nextSibling,r;this.trigger("beforemodalfill");this.hasBeenFilled_=!0;i.removeChild(t);this.empty();u.insertContent(t,n);this.trigger("modalfill");f?i.insertBefore(t,f):i.appendChild(t);r=this.getChild("closeButton");r&&i.appendChild(r.el_)},t.prototype.empty=function(){this.trigger("beforemodalempty");u.emptyEl(this.contentEl());this.trigger("modalempty")},t.prototype.content=function(n){return typeof n!="undefined"&&(this.content_=n),this.content_},t.prototype.conditionalFocus_=function(){var n=f["default"].activeElement,t=this.player_.el_;if(this.previouslyActiveEl_=null,t.contains(n)||t===n){this.previouslyActiveEl_=n;this.focus();this.on(f["default"],"keydown",this.handleKeyDown)}},t.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null);this.off(f["default"],"keydown",this.handleKeyDown)},t.prototype.handleKeyDown=function(n){var i;if(n.which===9){var t=this.focusableEls_(),u=this.el_.querySelector(":focus"),r=void 0;for(i=0;i<t.length;i++)if(u===t[i]){r=i;break}f["default"].activeElement===this.el_&&(r=0);n.shiftKey&&r===0?(t[t.length-1].focus(),n.preventDefault()):n.shiftKey||r!==t.length-1||(t[0].focus(),n.preventDefault())}},t.prototype.focusableEls_=function(){var n=this.el_.querySelectorAll("*");return Array.prototype.filter.call(n,function(n){return(n instanceof r["default"].HTMLAnchorElement||n instanceof r["default"].HTMLAreaElement)&&n.hasAttribute("href")||(n instanceof r["default"].HTMLInputElement||n instanceof r["default"].HTMLSelectElement||n instanceof r["default"].HTMLTextAreaElement||n instanceof r["default"].HTMLButtonElement)&&!n.hasAttribute("disabled")||n instanceof r["default"].HTMLIFrameElement||n instanceof r["default"].HTMLObjectElement||n instanceof r["default"].HTMLEmbedElement||n.hasAttribute("tabindex")&&n.getAttribute("tabindex")!==-1||n.hasAttribute("contenteditable")})},t}(c["default"]);s.prototype.options_={pauseOnOpen:!0,temporary:!0};c["default"].registerComponent("ModalDialog",s);i["default"]=s},{"100":100,"5":5,"85":85,"88":88,"99":99}],56:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function pi(n,t){return n.raw=t,n}function wi(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function bi(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function ki(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var g,o,a;i.__esModule=!0;var et=pi(["\n        Using the tech directly can be dangerous. I hope you know what you're doing.\n        See https://github.com/videojs/video.js/issues/2617 for more info.\n      "],["\n        Using the tech directly can be dangerous. I hope you know what you're doing.\n        See https://github.com/videojs/video.js/issues/2617 for more info.\n      "]),ot=n(5),b=r(ot),st=n(99),f=r(st),ht=n(100),k=r(ht),ct=n(103),lt=r(ct),at=n(53),vt=r(at),yt=n(86),y=s(yt),pt=n(85),u=s(pt),wt=n(88),p=s(wt),bt=n(90),kt=s(bt),dt=n(81),gt=s(dt),ni=n(91),e=r(ni),nt=n(96),d=r(nt),tt=n(95),ti=n(82),ii=n(94),it=s(ii),ri=n(47),rt=r(ri),ui=n(49),ut=r(ui),fi=n(102),ei=r(fi),h=n(93),oi=n(92),w=r(oi),si=n(71),ft=r(si),hi=n(55),ci=r(hi),li=n(64),v=r(li),ai=n(63),c=s(ai),l=n(77),vi=n(87),yi=r(vi);n(62);n(58);n(70);n(48);n(1);n(4);n(8);n(44);n(73);n(61);g=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","resize","volumechange","texttrackchange"];o=function(n){function t(i,r,f){var s,o,e,c,a,l,v;if(wi(this,t),i.id=i.id||"vjs_video_"+kt.newGUID(),r=h.assign(t.getTagSettings(i),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if(typeof i.closest=="function")s=i.closest("[lang]"),s&&(r.language=s.getAttribute("lang"));else for(o=i;o&&o.nodeType===1;){if(u.getAttributes(o).hasOwnProperty("lang")){r.language=o.getAttribute("lang");break}o=o.parentNode}if(e=bi(this,n.call(this,null,r,f)),e.isReady_=!1,!e.options_||!e.options_.techOrder||!e.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");e.tag=i;e.tagAttributes=i&&u.getAttributes(i);e.language(e.options_.language);r.languages?(c={},Object.getOwnPropertyNames(r.languages).forEach(function(n){c[n.toLowerCase()]=r.languages[n]}),e.languages_=c):e.languages_=t.prototype.options_.languages;e.cache_={};e.poster_=r.poster||"";e.controls_=!!r.controls;e.cache_.lastVolume=1;i.controls=!1;e.scrubbing_=!1;e.el_=e.createEl();vt["default"](e,{eventBusKey:"el_"});a=w["default"](e.options_);r.plugins&&(l=r.plugins,Object.keys(l).forEach(function(n){if(typeof this[n]=="function")this[n](l[n]);else throw new Error('plugin "'+n+'" does not exist');},e));e.options_.playerOptions=a;e.middleware_=[];e.initChildren();e.isAudio(i.nodeName.toLowerCase()==="audio");e.controls()?e.addClass("vjs-controls-enabled"):e.addClass("vjs-controls-disabled");e.el_.setAttribute("role","region");e.isAudio()?e.el_.setAttribute("aria-label",e.localize("Audio Player")):e.el_.setAttribute("aria-label",e.localize("Video Player"));e.isAudio()&&e.addClass("vjs-audio");e.flexNotSupported_()&&e.addClass("vjs-no-flex");gt.IS_IOS||e.addClass("vjs-workinghover");t.players[e.id_]=e;v="6.1.0".split(".")[0];e.addClass("vjs-v"+v);e.userActive(!0);e.reportUserActivity();e.listenForUserActivity_();e.on("fullscreenchange",e.handleFullscreenChange_);e.on("stageclick",e.handleStageClick_);return e.changingSrc_=!1,e}return ki(t,n),t.prototype.dispose=function(){this.trigger("dispose");this.off("dispose");this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_);t.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();n.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,i=void 0,c=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),r,e,o,s,f,h;for(i=c?this.el_=t.parentNode:this.el_=n.prototype.createEl.call(this,"div"),t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height"),r=u.getAttributes(t),Object.getOwnPropertyNames(r).forEach(function(n){n==="class"?i.className+=" "+r[n]:i.setAttribute(n,r[n])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=i.player=this,this.addClass("vjs-paused"),k["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0&&(this.styleEl_=it.createStyleElement("vjs-styles-dimensions"),e=u.$(".vjs-styles-defaults"),o=u.$("head"),o.insertBefore(this.styleEl_,e?e.nextSibling:o.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),s=t.getElementsByTagName("a"),f=0;f<s.length;f++)h=s.item(f),u.addClass(h,"vjs-hidden"),h.setAttribute("hidden","hidden");return t.initNetworkState_=t.networkState,t.parentNode&&!c&&t.parentNode.insertBefore(i,t),u.prependTo(t,i),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_=i,i},t.prototype.width=function(n){return this.dimension("width",n)},t.prototype.height=function(n){return this.dimension("height",n)},t.prototype.dimension=function(n,t){var i=n+"_",r;if(t===undefined)return this[i]||0;if(t==="")this[i]=undefined;else{if(r=parseFloat(t),isNaN(r)){e["default"].error('Improper value "'+t+'" supplied for for '+n);return}this[i]=r}this.updateStyleEl_()},t.prototype.fluid=function(n){if(n===undefined)return!!this.fluid_;this.fluid_=!!n;n?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid");this.updateStyleEl_()},t.prototype.aspectRatio=function(n){if(n===undefined)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(n))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=n;this.fluid(!0);this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){var u,t;if(k["default"].VIDEOJS_NO_DYNAMIC_STYLE===!0){var f=typeof this.width_=="number"?this.width_:this.options_.width,e=typeof this.height_=="number"?this.height_:this.options_.height,i=this.tech_&&this.tech_.el();i&&(f>=0&&(i.width=f),e>=0&&(i.height=e));return}var r=void 0,o=void 0,s=void 0,n=void 0;s=this.aspectRatio_!==undefined&&this.aspectRatio_!=="auto"?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";u=s.split(":");t=u[1]/u[0];r=this.width_!==undefined?this.width_:this.height_!==undefined?this.height_/t:this.videoWidth()||300;o=this.height_!==undefined?this.height_:r*t;n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(n);it.setTextContent(this.styleEl_,"\n      ."+n+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+n+".vjs-fluid {\n        padding-top: "+t*100+"%;\n      }\n    ")},t.prototype.loadTech_=function(n,t){var f=this,i,o,r,e;if(this.tech_&&this.unloadTech_(),i=d["default"](n),o=n.charAt(0).toLowerCase()+n.slice(1),i!=="Html5"&&this.tag&&(v["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=i,this.isReady_=!1,r={source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",autoplay:this.options_.autoplay,playsinline:this.options_.playsinline,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"]},l.ALL.names.forEach(function(n){var t=l.ALL[n];r[t.getterName]=f[t.privateName]}),h.assign(r,this.options_[i]),h.assign(r,this.options_[o]),h.assign(r,this.options_[n.toLowerCase()]),this.tag&&(r.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(r.startTime=this.cache_.currentTime),e=v["default"].getTech(n),!e)throw new Error("No Tech named '"+i+"' exists! '"+i+"' should be registered using videojs.registerTech()'");this.tech_=new e(r);this.tech_.ready(p.bind(this,this.handleTechReady_),!0);ft["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);g.forEach(function(n){f.on(f.tech_,n,f["handleTech"+d["default"](n)+"_"])});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()||i==="Html5"&&this.tag||u.prependTo(this.tech_.el(),this.el());this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){var n=this;l.ALL.names.forEach(function(t){var i=l.ALL[t];n[i.privateName]=n[i.getterName]()});this.textTracksJson_=ft["default"].textTracksToJson(this.tech_);this.isReady_=!1;this.tech_.dispose();this.tech_=!1},t.prototype.tech=function(n){return n===undefined&&e["default"].warn(lt["default"](et)),this.tech_},t.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_)},t.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_)},t.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(n){e["default"]("deleting tag.poster throws in some browsers",n)}this.play()}},t.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"))},t.prototype.hasStarted=function(n){if(n!==undefined){this.hasStarted_!==n&&(this.hasStarted_=n,n?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"));return}return!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.hasStarted(!0);this.trigger("play")},t.prototype.handleTechWaiting_=function(){var n=this;this.addClass("vjs-waiting");this.trigger("waiting");this.one("timeupdate",function(){return n.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting");this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting");this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting");this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking");this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking");this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(e["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")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended");this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause();this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(n){n.button===0&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(n){n.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(n,t){t&&this.isFullscreen(t.isFullscreen);this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var n=this.tech_.error();this.error(n)},t.prototype.handleTechTextData_=function(){var n=null;arguments.length>1&&(n=arguments[1]);this.trigger("textdata",n)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(n,t){this.ready(function(){if(n in c.allowedSetters)return c.set(this.middleware_,this.tech_,n,t);try{this.tech_&&this.tech_[n](t)}catch(i){e["default"](i);throw i;}},!0)},t.prototype.techGet_=function(n){if(this.tech_&&this.tech_.isReady_){if(n in c.allowedGetters)return c.get(this.middleware_,this.tech_,n);try{return this.tech_[n]()}catch(t){this.tech_[n]===undefined?e["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):t.name==="TypeError"?(e["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):e["default"](t);throw t;}}return},t.prototype.play=function(){if(this.changingSrc_)this.ready(function(){var n=this.techGet_("play");n!==undefined&&typeof n.then=="function"&&n.then(null,function(){})});else{if(this.isReady_&&(this.src()||this.currentSrc()))return this.techGet_("play");this.ready(function(){this.tech_.one("loadstart",function(){var n=this.play();n!==undefined&&typeof n.then=="function"&&n.then(null,function(){})})})}},t.prototype.pause=function(){this.techCall_("pause")},t.prototype.paused=function(){return this.techGet_("paused")===!1?!1:!0},t.prototype.played=function(){return this.techGet_("played")||tt.createTimeRange(0,0)},t.prototype.scrubbing=function(n){if(typeof n=="undefined")return this.scrubbing_;this.scrubbing_=!!n;n?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},t.prototype.currentTime=function(n){if(typeof n!="undefined"){this.techCall_("setCurrentTime",n);return}return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime},t.prototype.duration=function(n){if(n===undefined)return this.cache_.duration||0;n=parseFloat(n)||0;n<0&&(n=Infinity);n!==this.cache_.duration&&(this.cache_.duration=n,n===Infinity?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function(){var n=this.techGet_("buffered");return n&&n.length||(n=tt.createTimeRange(0,0)),n},t.prototype.bufferedPercent=function(){return ti.bufferedPercent(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var t=this.buffered(),i=this.duration(),n=t.end(t.length-1);return n>i&&(n=i),n},t.prototype.volume=function(n){var t=void 0;if(n!==undefined){t=Math.max(0,Math.min(1,parseFloat(n)));this.cache_.volume=t;this.techCall_("setVolume",t);t>0&&this.lastVolume_(t);return}return t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t},t.prototype.muted=function(n){if(n!==undefined){this.techCall_("setMuted",n);return}return this.techGet_("muted")||!1},t.prototype.defaultMuted=function(n){return n!==undefined?this.techCall_("setDefaultMuted",n):this.techGet_("defaultMuted")||!1},t.prototype.lastVolume_=function(n){if(n!==undefined&&n!==0){this.cache_.lastVolume=n;return}return this.cache_.lastVolume},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(n){if(n!==undefined){this.isFullscreen_=!!n;return}return!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var n=rt["default"];if(this.isFullscreen(!0),n.requestFullscreen){y.on(f["default"],n.fullscreenchange,p.bind(this,function t(){this.isFullscreen(f["default"][n.fullscreenElement]);this.isFullscreen()===!1&&y.off(f["default"],n.fullscreenchange,t);this.trigger("fullscreenchange")}));this.el_[n.requestFullscreen]()}else this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},t.prototype.exitFullscreen=function(){var n=rt["default"];this.isFullscreen(!1);n.requestFullscreen?f["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=f["default"].documentElement.style.overflow;y.on(f["default"],"keydown",p.bind(this,this.fullWindowOnEscKey));f["default"].documentElement.style.overflow="hidden";u.addClass(f["default"].body,"vjs-full-window");this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(n){n.keyCode===27&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1;y.off(f["default"],"keydown",this.fullWindowOnEscKey);f["default"].documentElement.style.overflow=this.docOrigOverflow;u.removeClass(f["default"].body,"vjs-full-window");this.trigger("exitFullWindow")},t.prototype.canPlayType=function(n){for(var u=void 0,r,t,i=0,f=this.options_.techOrder;i<f.length;i++){if(r=f[i],t=v["default"].getTech(r),t||(t=b["default"].getComponent(r)),!t){e["default"].error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.');continue}if(t.isSupported()&&(u=t.canPlayType(n),u))return u}return""},t.prototype.selectSource=function(n){var f=this,t=this.options_.techOrder.map(function(n){return[n,v["default"].getTech(n)]}).filter(function(n){var i=n[0],t=n[1];return t?t.isSupported():(e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(n,t,i){var r=void 0;return n.some(function(n){return t.some(function(t){return r=i(n,t),r?!0:void 0})}),r},r=void 0,o=function(n){return function(t,i){return n(i,t)}},u=function(n,t){var i=n[0],r=n[1];if(r.canPlaySource(t,f.options_[i.toLowerCase()]))return{source:t,tech:i}};return r=this.options_.sourceOrder?i(n,t,o(u)):i(t,n,u),r||!1},t.prototype.src=function(n){var t=this,i;if(typeof n=="undefined")return this.cache_.src;if(i=yi["default"](n),!i.length){this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0);return}this.cache_.sources=i;this.changingSrc_=!0;this.cache_.source=i[0];c.setSource(this,i[0],function(n,r){t.middleware_=r;var u=t.src_(n);if(u){if(i.length>1)return t.src(i.slice(1));t.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0);t.triggerReady();return}t.changingSrc_=!1;t.cache_.src=n.src;c.setTech(r,t.tech_)})},t.prototype.src_=function(n){var t=this.selectSource([n]);return t?nt.titleCaseEquals(t.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",n):this.techCall_("src",n.src);this.options_.preload==="auto"&&this.load();this.options_.autoplay&&this.play()},!0),!1):(this.changingSrc_=!0,this.loadTech_(t.tech,t.source),!1):!0},t.prototype.load=function(){this.techCall_("load")},t.prototype.reset=function(){this.loadTech_(this.options_.techOrder[0],null);this.techCall_("reset")},t.prototype.currentSources=function(){var n=this.currentSource(),t=[];return Object.keys(n).length!==0&&t.push(n),this.cache_.sources||t},t.prototype.currentSource=function(){return this.cache_.source||{}},t.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},t.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},t.prototype.preload=function(n){if(n!==undefined){this.techCall_("setPreload",n);this.options_.preload=n;return}return this.techGet_("preload")},t.prototype.autoplay=function(n){if(n!==undefined){this.techCall_("setAutoplay",n);this.options_.autoplay=n;return}return this.techGet_("autoplay",n)},t.prototype.playsinline=function(n){return n!==undefined?(this.techCall_("setPlaysinline",n),this.options_.playsinline=n,this):this.techGet_("playsinline")},t.prototype.loop=function(n){if(n!==undefined){this.techCall_("setLoop",n);this.options_.loop=n;return}return this.techGet_("loop")},t.prototype.poster=function(n){if(n===undefined)return this.poster_;n||(n="");this.poster_=n;this.techCall_("setPoster",n);this.trigger("posterchange")},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(n){if(n!==undefined){n=!!n;this.controls_!==n&&(this.controls_=n,this.usingNativeControls()&&this.techCall_("setControls",n),n?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()));return}return!!this.controls_},t.prototype.usingNativeControls=function(n){if(n!==undefined){n=!!n;this.usingNativeControls_!==n&&(this.usingNativeControls_=n,n?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")));return}return!!this.usingNativeControls_},t.prototype.error=function(n){if(n===undefined)return this.error_||null;if(n===null){this.error_=n;this.removeClass("vjs-error");this.errorDisplay&&this.errorDisplay.close();return}this.error_=new ut["default"](n);this.addClass("vjs-error");e["default"].error("(CODE:"+this.error_.code+" "+ut["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_);this.trigger("error");return},t.prototype.reportUserActivity=function(){this.userActivity_=!0},t.prototype.userActive=function(n){if(n!==undefined){if(n=!!n,n!==this.userActive_)if(this.userActive_=n,n)this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");else{if(this.userActivity_=!1,this.tech_)this.tech_.one("mousemove",function(n){n.stopPropagation();n.preventDefault()});this.removeClass("vjs-user-active");this.addClass("vjs-user-inactive");this.trigger("userinactive")}return}return this.userActive_},t.prototype.listenForUserActivity_=function(){var t=void 0,r=void 0,u=void 0,n=p.bind(this,this.reportUserActivity),f=function(t){(t.screenX!==r||t.screenY!==u)&&(r=t.screenX,u=t.screenY,n())},e=function(){n();this.clearInterval(t);t=this.setInterval(n,250)},o=function(){n();this.clearInterval(t)},i;this.on("mousedown",e);this.on("mousemove",f);this.on("mouseup",o);this.on("keydown",n);this.on("keyup",n);i=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1;this.userActive(!0);this.clearTimeout(i);var n=this.options_.inactivityTimeout;n>0&&(i=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},n))}},250)},t.prototype.playbackRate=function(n){if(n!==undefined){this.techCall_("setPlaybackRate",n);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.defaultPlaybackRate=function(n){return n!==undefined?this.techCall_("setDefaultPlaybackRate",n):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},t.prototype.isAudio=function(n){if(n!==undefined){this.isAudio_=!!n;return}return!!this.isAudio_},t.prototype.addTextTrack=function(n,t,i){if(this.tech_)return this.tech_.addTextTrack(n,t,i)},t.prototype.addRemoteTextTrack=function(n,t){if(this.tech_)return this.tech_.addRemoteTextTrack(n,t)},t.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=t.track,i=n===undefined?arguments[0]:n;if(this.tech_)return this.tech_.removeRemoteTextTrack(i)},t.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(n){if(n===undefined)return this.language_;this.language_=String(n).toLowerCase()},t.prototype.languages=function(){return w["default"](t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var i=w["default"](this.options_),r=i.tracks,n,t;for(i.tracks=[],n=0;n<r.length;n++)t=r[n],t=w["default"](t),t.player=undefined,i.tracks[n]=t;return i},t.prototype.createModal=function(n,t){var r=this,i;t=t||{};t.content=n||"";i=new ci["default"](this,t);this.addChild(i);i.on("dispose",function(){r.removeChild(i)});return i.open(),i},t.getTagSettings=function(n){var t={sources:[],tracks:[]},i=u.getAttributes(n),c=i["data-setup"],o,r,v,f,s;if(u.hasClass(n,"vjs-fluid")&&(i.fluid=!0),c!==null){var l=ei["default"](c||"{}"),a=l[0],y=l[1];a&&e["default"].error(a);h.assign(i,y)}if(h.assign(t,i),n.hasChildNodes())for(o=n.childNodes,r=0,v=o.length;r<v;r++)f=o[r],s=f.nodeName.toLowerCase(),s==="source"?t.sources.push(u.getAttributes(f)):s==="track"&&t.tracks.push(u.getAttributes(f));return t},t.prototype.flexNotSupported_=function(){var n=f["default"].createElement("i");return!("flexBasis"in n.style||"webkitFlexBasis"in n.style||"mozFlexBasis"in n.style||"msFlexBasis"in n.style||"msFlexOrder"in n.style)},t}(b["default"]);l.ALL.names.forEach(function(n){var t=l.ALL[n];o.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}});o.players={};a=k["default"].navigator;o.prototype.options_={techOrder:v["default"].defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:a&&(a.languages&&a.languages[0]||a.userLanguage||a.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."};["ended","seeking","seekable","networkState","readyState"].forEach(function(n){o.prototype[n]=function(){return this.techGet_(n)}});g.forEach(function(n){o.prototype["handleTech"+d["default"](n)+"_"]=function(){return this.trigger(n)}});b["default"].registerComponent("Player",o);i["default"]=o},{"1":1,"100":100,"102":102,"103":103,"4":4,"44":44,"47":47,"48":48,"49":49,"5":5,"53":53,"55":55,"58":58,"61":61,"62":62,"63":63,"64":64,"70":70,"71":71,"73":73,"77":77,"8":8,"81":81,"82":82,"85":85,"86":86,"87":87,"88":88,"90":90,"91":91,"92":92,"93":93,"94":94,"95":95,"96":96,"99":99}],57:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function o(n){return n&&n.__esModule?n:{"default":n}}function et(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w=n(53),b=o(w),k=n(54),d=o(k),g=n(86),nt=v(g),tt=n(88),it=v(tt),rt=n(91),ut=o(rt),ft=n(56),r=o(ft);var s="plugin",u="activePlugins_",f={},h=function(n){return f.hasOwnProperty(n)},c=function(n){return h(n)?f[n]:undefined},y=function(n,t){n[u]=n[u]||{};n[u][t]=!0},l=function(n,t,i){var r=(i?"before":"")+"pluginsetup";n.trigger(r,t);n.trigger(r+":"+t.name,t)},ot=function(n,t){var i=function(){l(this,{name:n,plugin:t,instance:null},!0);var i=t.apply(this,arguments);return y(this,n),l(this,{name:n,plugin:t,instance:i}),i};return Object.keys(t).forEach(function(n){i[n]=t[n]}),i},p=function(n,t){return t.prototype.name=n,function(){var r;l(this,{name:n,plugin:t,instance:null},!0);for(var u=arguments.length,f=Array(u),i=0;i<u;i++)f[i]=arguments[i];return r=new(Function.prototype.bind.apply(t,[null].concat([this].concat(f)))),this[n]=function(){return r},l(this,r.getEventHash()),r}},e=function(){function n(t){if(et(this,n),this.constructor===n)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t;b["default"](this);delete this.trigger;d["default"](this,this.constructor.defaultState);y(t,this.name);this.dispose=it.bind(this,this.dispose);t.on("dispose",this.dispose)}return n.prototype.getEventHash=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return n.name=this.name,n.plugin=this.constructor,n.instance=this,n},n.prototype.trigger=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return nt.trigger(this.eventBusEl_,n,this.getEventHash(t))},n.prototype.handleStateChanged=function(){},n.prototype.dispose=function(){var n=this.name,t=this.player;this.trigger("dispose");this.off();t.off("dispose",this.dispose);t[u][n]=!1;this.player=this.state=null;t[n]=p(n,f[n])},n.isBasic=function(t){var i=typeof t=="string"?c(t):t;return typeof i=="function"&&!n.prototype.isPrototypeOf(i.prototype)},n.registerPlugin=function(t,i){if(typeof t!="string")throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+(typeof t=="undefined"?"undefined":a(t))+".");if(h(t))ut["default"].warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(r["default"].prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if(typeof i!="function")throw new Error('Illegal plugin for "'+t+'", must be a function, was '+(typeof i=="undefined"?"undefined":a(i))+".");return f[t]=i,t!==s&&(r["default"].prototype[t]=n.isBasic(i)?ot(t,i):p(t,i)),i},n.deregisterPlugin=function(n){if(n===s)throw new Error("Cannot de-register base plugin.");h(n)&&(delete f[n],delete r["default"].prototype[n])},n.getPlugins=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:Object.keys(f),n=void 0;return t.forEach(function(t){var i=c(t);i&&(n=n||{},n[t]=i)}),n},n.getPluginVersion=function(n){var t=c(n);return t&&t.VERSION||""},n}();e.getPlugin=c;e.BASE_PLUGIN_NAME=s;e.registerPlugin(s,e);r["default"].prototype.usingPlugin=function(n){return!!this[u]&&this[u][n]===!0};r["default"].prototype.hasPlugin=function(n){return!!h(n)};i["default"]=e},{"53":53,"54":54,"56":56,"86":86,"88":88,"91":91}],58:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var o=n(3),s=e(o),h=n(5),c=e(h),l=n(88),a=r(l),v=n(85),f=r(v),y=n(81),p=r(y);u=function(n){function t(i,r){w(this,t);var u=b(this,n.call(this,i,r));u.update();i.on("posterchange",a.bind(u,u.update));return u}return k(t,n),t.prototype.dispose=function(){this.player().off("posterchange",this.update);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=f.createEl("div",{className:"vjs-poster",tabIndex:-1});return p.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=f.createEl("img"),n.appendChild(this.fallbackImg_)),n},t.prototype.update=function(){var n=this.player().poster();this.setSrc(n);n?this.show():this.hide()},t.prototype.setSrc=function(n){if(this.fallbackImg_)this.fallbackImg_.src=n;else{var t="";n&&(t='url("'+n+'")');this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(s["default"]);c["default"].registerComponent("PosterImage",u);i["default"]=u},{"3":3,"5":5,"81":81,"85":85,"88":88}],59:[function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n,t){t&&(c=t);o["default"].setTimeout(l,n)}var a;i.__esModule=!0;i.hasLoaded=i.autoSetupTimeout=i.autoSetup=undefined;var v=n(85),e=h(v),y=n(86),p=h(y),w=n(99),u=s(w),b=n(100),o=s(b);var r=!1,c=void 0,l=function(){var s,a,h,v,l,y,t,p;if(e.isReal()){var i=u["default"].getElementsByTagName("video"),o=u["default"].getElementsByTagName("audio"),n=[];if(i&&i.length>0)for(s=0,a=i.length;s<a;s++)n.push(i[s]);if(o&&o.length>0)for(h=0,v=o.length;h<v;h++)n.push(o[h]);if(n&&n.length>0)for(l=0,y=n.length;l<y;l++)if(t=n[l],t&&t.getAttribute)t.player===undefined&&(p=t.getAttribute("data-setup"),p!==null&&c(t));else{f(1);break}else r||f(1)}};if(e.isReal()&&u["default"].readyState==="complete")r=!0;else p.one(o["default"],"load",function(){r=!0});a=function(){return r};i.autoSetup=l;i.autoSetupTimeout=f;i.hasLoaded=a},{"100":100,"85":85,"86":86,"99":99}],60:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var o=n(5),f=c(o),s=n(85),r=h(s),e=n(93);u=function(n){function t(i,r){l(this,t);var u=a(this,n.call(this,i,r));u.bar=u.getChild(u.options_.barName);u.vertical(!!u.options_.vertical);u.on("mousedown",u.handleMouseDown);u.on("touchstart",u.handleMouseDown);u.on("focus",u.handleFocus);u.on("blur",u.handleBlur);u.on("click",u.handleClick);u.on(i,"controlsvisible",u.update);if(u.playerEvent)u.on(i,u.playerEvent,u.update);return u}return v(t,n),t.prototype.createEl=function(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return i.className=i.className+" vjs-slider",i=e.assign({tabIndex:0},i),r=e.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),n.prototype.createEl.call(this,t,i,r)},t.prototype.handleMouseDown=function(n){var t=this.bar.el_.ownerDocument;n.preventDefault();r.blockTextSelection();this.addClass("vjs-sliding");this.trigger("slideractive");this.on(t,"mousemove",this.handleMouseMove);this.on(t,"mouseup",this.handleMouseUp);this.on(t,"touchmove",this.handleMouseMove);this.on(t,"touchend",this.handleMouseUp);this.handleMouseMove(n)},t.prototype.handleMouseMove=function(){},t.prototype.handleMouseUp=function(){var n=this.bar.el_.ownerDocument;r.unblockTextSelection();this.removeClass("vjs-sliding");this.trigger("sliderinactive");this.off(n,"mousemove",this.handleMouseMove);this.off(n,"mouseup",this.handleMouseUp);this.off(n,"touchmove",this.handleMouseMove);this.off(n,"touchend",this.handleMouseUp);this.update()},t.prototype.update=function(){var n,t,i,r;if(this.el_)return(n=this.getPercent(),t=this.bar,!t)?void 0:((typeof n!="number"||n!==n||n<0||n===Infinity)&&(n=0),i=(n*100).toFixed(2)+"%",r=t.el().style,this.vertical()?r.height=i:r.width=i,n)},t.prototype.calculateDistance=function(n){var t=r.getPointerPosition(this.el_,n);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(n){n.which===37||n.which===40?(n.preventDefault(),this.stepBack()):(n.which===38||n.which===39)&&(n.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(n){n.stopImmediatePropagation();n.preventDefault()},t.prototype.vertical=function(n){if(n===undefined)return this.vertical_||!1;this.vertical_=!!n;this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(f["default"]);f["default"].registerComponent("Slider",u);i["default"]=u},{"5":5,"85":85,"93":93}],61:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function ct(n,t){return n.raw=t,n}function lt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function at(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function vt(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,o;i.__esModule=!0;var w=ct(["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."]),b=n(64),c=e(b),k=n(85),s=l(k),d=n(97),v=l(d),g=n(91),y=e(g),nt=n(103),tt=e(nt),it=n(81),u=l(it),rt=n(99),h=e(rt),ut=n(100),f=e(ut),ft=n(93),et=n(92),ot=e(et),st=n(96),ht=e(st),p=n(77);r=function(n){function t(i,r){var e,p,o;lt(this,t);var f=at(this,n.call(this,i,r)),s=i.source,h=!1;if(s&&(f.el_.currentSrc!==s.src||i.tag&&i.tag.initNetworkState_===3)?f.setSource(s):f.handleLateInit_(f.el_),f.el_.hasChildNodes()){for(var l=f.el_.childNodes,a=l.length,c=[];a--;)e=l[a],p=e.nodeName.toLowerCase(),p==="track"&&(f.featuresNativeTextTracks?(f.remoteTextTrackEls().addTrackElement_(e),f.remoteTextTracks().addTrack(e.track),f.textTracks().addTrack(e.track),h||f.el_.hasAttribute("crossorigin")||!v.isCrossOrigin(e.src)||(h=!0)):c.push(e));for(o=0;o<c.length;o++)f.el_.removeChild(c[o])}return f.proxyNativeTracks_(),f.featuresNativeTextTracks&&h&&y["default"].warn(tt["default"](w)),(u.TOUCH_ENABLED||u.IS_IPHONE||u.IS_NATIVE_ANDROID)&&i.nativeControlsForTouch===!0&&f.setControls(!0),f.proxyWebkitFullscreen_(),f.triggerReady(),f}return vt(t,n),t.prototype.dispose=function(){t.disposeMediaElement(this.el_);n.prototype.dispose.call(this)},t.prototype.proxyNativeTracks_=function(){var n=this;p.NORMAL.names.forEach(function(t){var u=p.NORMAL[t],r=n.el()[u.getterName],i=n[u.getterName](),f,e;if(n["featuresNative"+u.capitalName+"Tracks"]&&r&&r.addEventListener){f={change:function(){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},addtrack:function(n){i.addTrack(n.track)},removetrack:function(n){i.removeTrack(n.track)}};e=function(){for(var u=[],f,t,n=0;n<i.length;n++){for(f=!1,t=0;t<r.length;t++)if(r[t]===i[n]){f=!0;break}f||u.push(i[n])}while(u.length)i.removeTrack(u.shift())};Object.keys(f).forEach(function(t){var i=f[t];r.addEventListener(t,i);n.on("dispose",function(){return r.removeEventListener(t,i)})});n.on("loadstart",e);n.on("dispose",function(){return n.off("loadstart",e)})}})},t.prototype.createEl=function(){var n=this.options_.tag,f,l,e,o,i,r,c;for(n&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(n?(f=n.cloneNode(!0),n.parentNode&&n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=h["default"].createElement("video"),l=this.options_.tag&&s.getAttributes(this.options_.tag),e=ot["default"]({},l),u.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,s.setAttributes(n,ft.assign(e,{id:this.options_.techId,"class":"vjs-tech"}))),n.playerId=this.options_.playerId),o=["autoplay","preload","loop","muted","playsinline"],i=o.length-1;i>=0;i--)r=o[i],c={},typeof this.options_[r]!="undefined"&&(c[r]=this.options_[r]),s.setAttributes(n,c);return n},t.prototype.handleLateInit_=function(n){var i,r,u,t;if(n.networkState!==0&&n.networkState!==3){if(n.readyState===0){i=!1;r=function(){i=!0};this.on("loadstart",r);u=function(){i||this.trigger("loadstart")};this.on("loadedmetadata",u);this.ready(function(){this.off("loadstart",r);this.off("loadedmetadata",u);i||this.trigger("loadstart")});return}t=["loadstart"];t.push("loadedmetadata");n.readyState>=2&&t.push("loadeddata");n.readyState>=3&&t.push("canplay");n.readyState>=4&&t.push("canplaythrough");this.ready(function(){t.forEach(function(n){this.trigger(n)},this)})}},t.prototype.setCurrentTime=function(n){try{this.el_.currentTime=n}catch(t){y["default"](t,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var n=this,t;if(this.el_.duration===Infinity&&u.IS_ANDROID&&u.IS_CHROME&&this.el_.currentTime===0){t=function t(){n.el_.currentTime>0&&(n.el_.duration===Infinity&&n.trigger("durationchange"),n.off("timeupdate",t))};this.on("timeupdate",t);return NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var i=this,n,t;if("webkitDisplayingFullscreen"in this.el_){n=function(){this.trigger("fullscreenchange",{isFullscreen:!1})};t=function(){this.one("webkitendfullscreen",n);this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",t);this.on("dispose",function(){i.off("webkitbeginfullscreen",t);i.off("webkitendfullscreen",n)})}},t.prototype.supportsFullScreen=function(){if(typeof this.el_.webkitEnterFullScreen=="function"){var n=f["default"].navigator&&f["default"].navigator.userAgent||"";if(/Android/.test(n)||!/Chrome|Mac OS X 10.5/.test(n))return!0}return!1},t.prototype.enterFullScreen=function(){var n=this.el_;n.paused&&n.networkState<=n.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){n.pause();n.webkitEnterFullScreen()},0)):n.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(n){if(n===undefined)return this.el_.src;this.setSrc(n)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(n){this.el_.controls=!!n},t.prototype.addTextTrack=function(t,i,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,i,r):n.prototype.addTextTrack.call(this,t,i,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.createRemoteTextTrack.call(this,t);var i=h["default"].createElement("track");return t.kind&&(i.kind=t.kind),t.label&&(i.label=t.label),(t.language||t.srclang)&&(i.srclang=t.language||t.srclang),t["default"]&&(i["default"]=t["default"]),t.id&&(i.id=t.id),t.src&&(i.src=t.src),i},t.prototype.addRemoteTextTrack=function(t,i){var r=n.prototype.addRemoteTextTrack.call(this,t,i);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(n.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var i=this.$$("track"),r=i.length;r--;)(t===i[r]||t===i[r].track)&&this.el().removeChild(i[r])},t.prototype.playsinline=function(){return this.el_.hasAttribute("playsinline")},t.prototype.setPlaysinline=function(n){n?this.el_.setAttribute("playsinline","playsinline"):this.el_.removeAttribute("playsinline")},t.prototype.getVideoPlaybackQuality=function(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();var n={};return typeof this.el().webkitDroppedFrameCount!="undefined"&&typeof this.el().webkitDecodedFrameCount!="undefined"&&(n.droppedVideoFrames=this.el().webkitDroppedFrameCount,n.totalVideoFrames=this.el().webkitDecodedFrameCount),f["default"].performance&&typeof f["default"].performance.now=="function"?n.creationTime=f["default"].performance.now():f["default"].performance&&f["default"].performance.timing&&typeof f["default"].performance.timing.navigationStart=="number"&&(n.creationTime=f["default"].Date.now()-f["default"].performance.timing.navigationStart),n},t}(c["default"]);s.isReal()&&(r.TEST_VID=h["default"].createElement("video"),o=h["default"].createElement("track"),o.kind="captions",o.srclang="en",o.label="English",r.TEST_VID.appendChild(o));r.isSupported=function(){try{r.TEST_VID.volume=.5}catch(n){return!1}return!!(r.TEST_VID&&r.TEST_VID.canPlayType)};r.canPlayType=function(n){return r.TEST_VID.canPlayType(n)};r.canPlaySource=function(n){return r.canPlayType(n.type)};r.canControlVolume=function(){try{var n=r.TEST_VID.volume;return r.TEST_VID.volume=n/2+.1,n!==r.TEST_VID.volume}catch(t){return!1}};r.canControlPlaybackRate=function(){if(u.IS_ANDROID&&u.IS_CHROME&&u.CHROME_VERSION<58)return!1;try{var n=r.TEST_VID.playbackRate;return r.TEST_VID.playbackRate=n/2+.1,n!==r.TEST_VID.playbackRate}catch(t){return!1}};r.supportsNativeTextTracks=function(){return u.IS_ANY_SAFARI};r.supportsNativeVideoTracks=function(){return!!(r.TEST_VID&&r.TEST_VID.videoTracks)};r.supportsNativeAudioTracks=function(){return!!(r.TEST_VID&&r.TEST_VID.audioTracks)};r.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"];r.prototype.featuresVolumeControl=r.canControlVolume();r.prototype.featuresPlaybackRate=r.canControlPlaybackRate();r.prototype.movingMediaElementInDOM=!u.IS_IOS;r.prototype.featuresFullscreenResize=!0;r.prototype.featuresProgressEvents=!0;r.prototype.featuresTimeupdateEvents=!0;r.prototype.featuresNativeTextTracks=r.supportsNativeTextTracks();r.prototype.featuresNativeVideoTracks=r.supportsNativeVideoTracks();r.prototype.featuresNativeAudioTracks=r.supportsNativeAudioTracks();var a=r.TEST_VID&&r.TEST_VID.constructor.prototype.canPlayType,yt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,pt=/^video\/mp4/i;r.patchCanPlayType=function(){u.ANDROID_VERSION>=4&&!u.IS_FIREFOX?r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&yt.test(n)?"maybe":a.call(this,n)}:u.IS_OLD_ANDROID&&(r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&pt.test(n)?"maybe":a.call(this,n)})};r.unpatchCanPlayType=function(){var n=r.TEST_VID.constructor.prototype.canPlayType;return r.TEST_VID.constructor.prototype.canPlayType=a,n};r.patchCanPlayType();r.disposeMediaElement=function(n){if(n){for(n.parentNode&&n.parentNode.removeChild(n);n.hasChildNodes();)n.removeChild(n.firstChild);n.removeAttribute("src");typeof n.load=="function"&&function(){try{n.load()}catch(t){}}()}};r.resetMediaElement=function(n){if(n){for(var t=n.querySelectorAll("source"),i=t.length;i--;)n.removeChild(t[i]);n.removeAttribute("src");typeof n.load=="function"&&function(){try{n.load()}catch(t){}}()}};["paused","currentTime","buffered","volume","muted","defaultMuted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]}});["volume","muted","defaultMuted","src","poster","preload","autoplay","loop","playbackRate","defaultPlaybackRate"].forEach(function(n){r.prototype["set"+ht["default"](n)]=function(t){this.el_[n]=t}});["pause","load","play"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]()}});c["default"].withSourceHandlers(r);r.nativeSourceHandler={};r.nativeSourceHandler.canPlayType=function(n){try{return r.TEST_VID.canPlayType(n)}catch(t){return""}};r.nativeSourceHandler.canHandleSource=function(n){if(n.type)return r.nativeSourceHandler.canPlayType(n.type);if(n.src){var t=v.getFileExtension(n.src);return r.nativeSourceHandler.canPlayType("video/"+t)}return""};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);c["default"].registerTech("Html5",r);i["default"]=r},{"100":100,"103":103,"64":64,"77":77,"81":81,"85":85,"91":91,"92":92,"93":93,"96":96,"97":97,"99":99}],62:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var e=n(5),u=r(e),o=n(64),s=r(o),h=n(96),c=r(h),l=n(92),a=r(l);f=function(n){function t(i,r,f){var p,w,o,l,e,h;if(v(this,t),p=a["default"]({createEl:!1},r),w=y(this,n.call(this,i,p,f)),r.playerOptions.sources&&r.playerOptions.sources.length!==0)i.src(r.playerOptions.sources);else for(o=0,l=r.playerOptions.techOrder;o<l.length;o++)if(e=c["default"](l[o]),h=s["default"].getTech(e),e||(h=u["default"].getComponent(e)),h&&h.isSupported()){i.loadTech_(e);break}return w}return p(t,n),t}(u["default"]);u["default"].registerComponent("MediaLoader",f);i["default"]=f},{"5":5,"64":64,"92":92,"96":96}],63:[function(n,t,i){"use strict";function o(n,t){r[n]=r[n]||[];r[n].push(t)}function s(n){return n?r[n]:r}function h(n,t,i){n.setTimeout(function(){return u(t,r[t.type],i,n)},1)}function c(n,t){n.forEach(function(n){return n.setTech&&n.setTech(t)})}function l(n,t,i){return n.reduceRight(e(i),t[i]())}function a(n,t,i,r){return t[i](n.reduce(e(i),r))}function e(n){return function(t,i){return i[n]?i[n](t):t}}function u(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},l=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[],i=arguments[2],e=arguments[3],t=arguments.length>4&&arguments[4]!==undefined?arguments[4]:[],o=arguments.length>5&&arguments[5]!==undefined?arguments[5]:!1,s=l[0],h=l.slice(1),c;typeof s=="string"?u(n,r[s],i,e,t,o):s?(c=s(e),c.setSource(f.assign({},n),function(f,s){if(f)return u(n,h,i,e,t,o);t.push(c);u(s,n.type===s.type?h:r[s.type],i,e,t,o)})):h.length?u(n,h,i,e,t,o):o?i(n,t):u(n,r["*"],i,e,t,!0)}var f,r,v,y;i.__esModule=!0;i.allowedSetters=i.allowedGetters=undefined;i.use=o;i.getMiddleware=s;i.setSource=h;i.setTech=c;i.get=l;i.set=a;f=n(93);r={};v=i.allowedGetters={buffered:1,currentTime:1,duration:1,seekable:1,played:1};y=i.allowedSetters={setCurrentTime:1}},{"93":93}],64:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function et(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function ot(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function st(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function ht(n,t,i,r){var f=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{},o=n.textTracks(),e;return f.kind=t,i&&(f.label=i),r&&(f.language=r),f.tech=n,e=new u.ALL.text.TrackClass(f),o.addTrack(e),e}var r;i.__esModule=!0;var v=n(5),h=f(v),y=n(92),p=f(y),w=n(88),b=a(w),k=n(91),o=f(k),s=n(95),d=n(82),g=n(49),nt=f(g),tt=n(100),e=f(tt),it=n(99),c=f(it),rt=n(93),ut=n(77),u=a(ut),ft=n(96),l=f(ft);r=function(t){function i(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(){},n;et(this,i);r.reportTouchActivity=!1;n=ot(this,t.call(this,null,r,f));n.hasStarted_=!1;n.on("playing",function(){this.hasStarted_=!0});n.on("loadstart",function(){this.hasStarted_=!1});return u.ALL.names.forEach(function(t){var i=u.ALL[t];r&&r[i.getterName]&&(n[i.privateName]=r[i.getterName])}),n.featuresProgressEvents||n.manualProgressOn(),n.featuresTimeupdateEvents||n.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){r["native"+t+"Tracks"]===!1&&(n["featuresNative"+t+"Tracks"]=!1)}),r.nativeCaptions===!1||r.nativeTextTracks===!1?n.featuresNativeTextTracks=!1:(r.nativeCaptions===!0||r.nativeTextTracks===!0)&&(n.featuresNativeTextTracks=!0),n.featuresNativeTextTracks||n.emulateTextTracks(),n.autoRemoteTextTracks_=new u.ALL.text.ListClass,n.initTrackListeners(),r.nativeControlsForTouch||n.emitTapEvents(),n.constructor&&(n.name_=n.constructor.name||"Unknown Tech"),n}return st(i,t),i.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);this.manualProgress=!0;this.one("ready",this.trackProgress)},i.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)},i.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(b.bind(this,function(){var n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress");this.bufferedPercent_=n;n===1&&this.stopTrackingProgress()}),500)},i.prototype.onDurationChange=function(){this.duration_=this.duration()},i.prototype.buffered=function(){return s.createTimeRange(0,0)},i.prototype.bufferedPercent=function(){return d.bufferedPercent(this.buffered(),this.duration_)},i.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},i.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime)},i.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)},i.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},i.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},i.prototype.dispose=function(){this.clearTracks(u.NORMAL.names);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();t.prototype.dispose.call(this)},i.prototype.clearTracks=function(n){var t=this;n=[].concat(n);n.forEach(function(n){for(var i=t[n+"Tracks"]()||[],u=i.length,r;u--;)r=i[u],n==="text"&&t.removeRemoteTextTrack(r),i.removeTrack(r)})},i.prototype.cleanupAutoTextTracks=function(){for(var n=this.autoRemoteTextTracks_||[],t=n.length,i;t--;)i=n[t],this.removeRemoteTextTrack(i)},i.prototype.reset=function(){},i.prototype.error=function(n){return n!==undefined&&(this.error_=new nt["default"](n),this.trigger("error")),this.error_},i.prototype.played=function(){return this.hasStarted_?s.createTimeRange(0,0):s.createTimeRange()},i.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},i.prototype.initTrackListeners=function(){var n=this;u.NORMAL.names.forEach(function(t){var f=u.NORMAL[t],i=function(){n.trigger(t+"trackchange")},r=n[f.getterName]();r.addEventListener("removetrack",i);r.addEventListener("addtrack",i);n.on("dispose",function(){r.removeEventListener("removetrack",i);r.removeEventListener("addtrack",i)})})},i.prototype.addWebVttScript_=function(){var r=this,i,t;if(!e["default"].WebVTT)if(c["default"].body.contains(this.el())){if(i=n(104),!this.options_["vtt.js"]&&rt.isPlain(i)&&Object.keys(i).length>0){this.trigger("vttjsloaded");return}t=c["default"].createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js";t.onload=function(){r.trigger("vttjsloaded")};t.onerror=function(){r.trigger("vttjserror")};this.on("dispose",function(){t.onload=null;t.onerror=null});e["default"].WebVTT=!0;this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},i.prototype.emulateTextTracks=function(){var e=this,n=this.textTracks(),r=this.remoteTextTracks(),u=function(t){return n.addTrack(t.track)},f=function(t){return n.removeTrack(t.track)},i,t;r.on("addtrack",u);r.on("removetrack",f);this.addWebVttScript_();i=function(){return e.trigger("texttrackchange")};t=function(){var t,r;for(i(),t=0;t<n.length;t++)r=n[t],r.removeEventListener("cuechange",i),r.mode==="showing"&&r.addEventListener("cuechange",i)};t();n.addEventListener("change",t);n.addEventListener("addtrack",t);n.addEventListener("removetrack",t);this.on("dispose",function(){var e,o;for(r.off("addtrack",u),r.off("removetrack",f),n.removeEventListener("change",t),n.removeEventListener("addtrack",t),n.removeEventListener("removetrack",t),e=0;e<n.length;e++)o=n[e],o.removeEventListener("cuechange",i)})},i.prototype.addTextTrack=function(n,t,i){if(!n)throw new Error("TextTrack kind is required but was not provided");return ht(this,n,t,i)},i.prototype.createRemoteTextTrack=function(n){var t=p["default"](n,{tech:this});return new u.REMOTE.remoteTextEl.TrackClass(t)},i.prototype.addRemoteTextTrack=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=arguments[1],t=this.createRemoteTextTrack(i);return n!==!0&&n!==!1&&(o["default"].warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack(t.track),n!==!0&&this.autoRemoteTextTracks_.addTrack(t.track),t},i.prototype.removeRemoteTextTrack=function(n){var t=this.remoteTextTrackEls().getTrackElementByTrack_(n);this.remoteTextTrackEls().removeTrackElement_(t);this.remoteTextTracks().removeTrack(n);this.autoRemoteTextTracks_.removeTrack(n)},i.prototype.getVideoPlaybackQuality=function(){return{}},i.prototype.setPoster=function(){},i.prototype.playsinline=function(){},i.prototype.setPlaysinline=function(){},i.prototype.canPlayType=function(){return""},i.canPlayType=function(){return""},i.canPlaySource=function(n){return i.canPlayType(n.type)},i.isTech=function(n){return n.prototype instanceof i||n instanceof i||n===i},i.registerTech=function(n,t){if(i.techs_||(i.techs_={}),!i.isTech(t))throw new Error("Tech "+n+" must be a Tech");if(!i.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!i.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return n=l["default"](n),i.techs_[n]=t,n!=="Tech"&&i.defaultTechOrder_.push(n),t},i.getTech=function(n){if(n)return(n=l["default"](n),i.techs_&&i.techs_[n])?i.techs_[n]:e["default"]&&e["default"].videojs&&e["default"].videojs[n]?(o["default"].warn("The "+n+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),e["default"].videojs[n]):void 0},i}(h["default"]);u.ALL.names.forEach(function(n){var t=u.ALL[n];r.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}});r.prototype.featuresVolumeControl=!0;r.prototype.featuresFullscreenResize=!1;r.prototype.featuresPlaybackRate=!1;r.prototype.featuresProgressEvents=!1;r.prototype.featuresTimeupdateEvents=!1;r.prototype.featuresNativeTextTracks=!1;r.withSourceHandlers=function(n){n.registerSourceHandler=function(t,i){var r=n.sourceHandlers;r||(r=n.sourceHandlers=[]);i===undefined&&(i=r.length);r.splice(i,0,t)};n.canPlayType=function(t){for(var u=n.sourceHandlers||[],r=void 0,i=0;i<u.length;i++)if(r=u[i].canPlayType(t),r)return r;return""};n.selectSourceHandler=function(t,i){for(var u=n.sourceHandlers||[],f=void 0,r=0;r<u.length;r++)if(f=u[r].canHandleSource(t,i),f)return u[r];return null};n.canPlaySource=function(t,i){var r=n.selectSourceHandler(t,i);return r?r.canHandleSource(t,i):""};["seekable","duration"].forEach(function(n){var t=this[n];typeof t=="function"&&(this[n]=function(){return this.sourceHandler_&&this.sourceHandler_[n]?this.sourceHandler_[n].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},n.prototype);n.prototype.setSource=function(t){var i=n.selectSourceHandler(t,this.options_);i||(n.nativeSourceHandler?i=n.nativeSourceHandler:o["default"].error("No source hander found for the current source."));this.disposeSourceHandler();this.off("dispose",this.disposeSourceHandler);i!==n.nativeSourceHandler&&(this.currentSource_=t);this.sourceHandler_=i.handleSource(t,this,this.options_);this.on("dispose",this.disposeSourceHandler)};n.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null);this.cleanupAutoTextTracks();this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}};h["default"].registerComponent("Tech",r);r.registerTech("Tech",r);r.defaultTechOrder_=[];i["default"]=r},{"100":100,"104":104,"49":49,"5":5,"77":77,"82":82,"88":88,"91":91,"92":92,"93":93,"95":95,"96":96,"99":99}],65:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,o;i.__esModule=!0;var s=n(76),u=f(s),h=n(81),c=v(h),l=n(99),a=f(l);r=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].enabled=!1)};o=function(n){function t(){var l,v,f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i,o,s,h;for(y(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].enabled){r(f,f[o]);break}if(c.IS_IE8){i=a["default"].createElement("custom");for(s in u["default"].prototype)s!=="constructor"&&(i[s]=u["default"].prototype[s]);for(h in t.prototype)h!=="constructor"&&(i[h]=t.prototype[h])}return i=(l=e(this,n.call(this,f,i)),l),i.changing_=!1,v=i,e(l,v)}return p(t,n),t.prototype.addTrack=function(t){var i=this;(t.enabled&&r(this,t),n.prototype.addTrack.call(this,t),t.addEventListener)&&t.addEventListener("enabledchange",function(){i.changing_||(i.changing_=!0,r(i,t),i.changing_=!1,i.trigger("change"))})},t}(u["default"]);i["default"]=o},{"76":76,"81":81,"99":99}],66:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var e=n(75),o=n(78),s=r(o),h=n(92),c=r(h),l=n(81),a=v(l);f=function(n){function t(){var f,h,l=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},r;y(this,t);var o=c["default"](l,{kind:e.AudioTrackKind[l.kind]||""}),i=(f=u(this,n.call(this,o)),f),s=!1;if(a.IS_IE8)for(r in t.prototype)r!=="constructor"&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"enabled",{get:function(){return s},set:function(n){typeof n=="boolean"&&n!==s&&(s=n,this.trigger("enabledchange"))}}),o.enabled&&(i.enabled=o.enabled),i.loaded_=!0,h=i,u(f,h)}return p(t,n),t}(s["default"]);i["default"]=f},{"75":75,"78":78,"81":81,"92":92}],67:[function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var u;i.__esModule=!0;var f=n(81),r=h(f),e=n(99),o=s(e);u=function(){function n(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t,i,u,e;if(c(this,n),t=this,r.IS_IE8){t=o["default"].createElement("custom");for(i in n.prototype)i!=="constructor"&&(t[i]=n.prototype[i])}for(t.trackElements_=[],Object.defineProperty(t,"length",{get:function(){return this.trackElements_.length}}),u=0,e=f.length;u<e;u++)t.addTrackElement_(f[u]);if(r.IS_IE8)return t}return n.prototype.addTrackElement_=function(n){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}});this.trackElements_.indexOf(n)===-1&&this.trackElements_.push(n)},n.prototype.getTrackElementByTrack_=function(n){for(var i=void 0,t=0,r=this.trackElements_.length;t<r;t++)if(n===this.trackElements_[t].track){i=this.trackElements_[t];break}return i},n.prototype.removeTrackElement_=function(n){for(var t=0,i=this.trackElements_.length;t<i;t++)if(n===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},n}();i["default"]=u},{"81":81,"99":99}],68:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function w(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(81),f=w(h),c=n(99),l=u(c),a=n(45),v=u(a),y=n(74),p=u(y);var o=0,s=2,r=function(n){function t(){var v=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},u,r,a;b(this,t);var h=e(this,n.call(this)),c=void 0,i=h;if(f.IS_IE8){i=l["default"].createElement("custom");for(u in t.prototype)u!=="constructor"&&(i[u]=t.prototype[u])}return(r=new p["default"](v),i.kind=r.kind,i.src=r.src,i.srclang=r.language,i.label=r.label,i["default"]=r["default"],Object.defineProperty(i,"readyState",{get:function(){return c}}),Object.defineProperty(i,"track",{get:function(){return r}}),c=o,r.addEventListener("loadeddata",function(){c=s;i.trigger({type:"load",target:i})}),f.IS_IE8)?(a=i,e(h,a)):h}return k(t,n),t}(v["default"]);r.prototype.allowedEvents_={load:"load"};r.NONE=o;r.LOADING=1;r.LOADED=s;r.ERROR=3;i["default"]=r},{"45":45,"74":74,"81":81,"99":99}],69:[function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var u;i.__esModule=!0;var f=n(81),r=h(f),e=n(99),o=s(e);u=function(){function n(t){var i,u;if(c(this,n),i=this,r.IS_IE8){i=o["default"].createElement("custom");for(u in n.prototype)u!=="constructor"&&(i[u]=n.prototype[u])}return n.prototype.setCues_.call(i,t),Object.defineProperty(i,"length",{get:function(){return this.length_}}),r.IS_IE8?i:void 0}return n.prototype.setCues_=function(n){var i=this.length||0,t=0,r=n.length,u;if(this.cues_=n,this.length_=n.length,u=function(n){""+n in this||Object.defineProperty(this,""+n,{get:function(){return this.cues_[n]}})},i<r)for(t=i;t<r;t++)u.call(this,t)},n.prototype.getCueById=function(n){for(var r=null,i,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},n}();i["default"]=u},{"81":81,"99":99}],70:[function(n,t,i){"use strict";function p(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n){return n&&n.__esModule?n:{"default":n}}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function e(n,t){return"rgba("+parseInt(n[1]+n[1],16)+","+parseInt(n[2]+n[2],16)+","+parseInt(n[3]+n[3],16)+","+t+")"}function o(n,t,i){try{n.style[t]=i}catch(r){return}}var s;i.__esModule=!0;var a=n(5),h=c(a),v=n(88),f=p(v),y=n(100),u=c(y);var r="#222",l="#ccc",d={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};s=function(n){function t(i,r,u){w(this,t);var e=b(this,n.call(this,i,r,u));i.on("loadstart",f.bind(e,e.toggleDisplay));i.on("texttrackchange",f.bind(e,e.updateDisplay));return i.ready(f.bind(e,function(){var o,t,e,n;if(i.tech_&&i.tech_.featuresNativeTextTracks){this.hide();return}i.on("fullscreenchange",f.bind(this,this.updateDisplay));for(o=this.options_.playerOptions.tracks||[],t=0;t<o.length;t++)this.player_.addRemoteTextTrack(o[t],!0);var h={captions:1,subtitles:1},s=this.player_.textTracks(),r=void 0,u=void 0;for(e=0;e<s.length;e++)n=s[e],n["default"]&&(n.kind!=="descriptions"||r?n.kind in h&&!u&&(u=n):r=n);u?u.mode="showing":r&&(r.mode="showing")})),e}return k(t,n),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){typeof u["default"].WebVTT=="function"&&u["default"].WebVTT.processCues(u["default"],[],this.el_)},t.prototype.updateDisplay=function(){var r=this.player_.textTracks(),n;this.clearDisplay();for(var t=null,i=null,u=r.length;u--;)n=r[u],n.mode==="showing"&&(n.kind==="descriptions"?t=n:i=n);i?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(i)):t&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(t))},t.prototype.updateForTrack=function(n){var t,f,s,h,c,i,a;if(typeof u["default"].WebVTT=="function"&&n.activeCues){for(t=this.player_.textTrackSettings.getValues(),f=[],s=0;s<n.activeCues.length;s++)f.push(n.activeCues[s]);for(u["default"].WebVTT.processCues(u["default"],f,this.el_),h=f.length;h--;)(c=f[h],c)&&(i=c.displayState,t.color&&(i.firstChild.style.color=t.color),t.textOpacity&&o(i.firstChild,"color",e(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&o(i.firstChild,"backgroundColor",e(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?o(i,"backgroundColor",e(t.windowColor,t.windowOpacity)):i.style.backgroundColor=t.windowColor),t.edgeStyle&&(t.edgeStyle==="dropshadow"?i.firstChild.style.textShadow="2px 2px 3px "+r+", 2px 2px 4px "+r+", 2px 2px 5px "+r:t.edgeStyle==="raised"?i.firstChild.style.textShadow="1px 1px "+r+", 2px 2px "+r+", 3px 3px "+r:t.edgeStyle==="depressed"?i.firstChild.style.textShadow="1px 1px "+l+", 0 1px "+l+", -1px -1px "+r+", 0 -1px "+r:t.edgeStyle==="uniform"&&(i.firstChild.style.textShadow="0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r)),t.fontPercent&&t.fontPercent!==1&&(a=u["default"].parseFloat(i.style.fontSize),i.style.fontSize=a*t.fontPercent+"px",i.style.height="auto",i.style.top="auto",i.style.bottom="2px"),t.fontFamily&&t.fontFamily!=="default"&&(t.fontFamily==="small-caps"?i.firstChild.style.fontVariant="small-caps":i.firstChild.style.fontFamily=d[t.fontFamily]))}},t}(h["default"]);h["default"].registerComponent("TextTrackDisplay",s);i["default"]=s},{"100":100,"5":5,"88":88}],71:[function(n,t,i){"use strict";i.__esModule=!0;var r=function(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,i){return n[i]&&(t[i]=n[i]),t},{cues:n.cues&&Array.prototype.map.call(n.cues,function(n){return{startTime:n.startTime,endTime:n.endTime,text:n.text,id:n.id}})})},u=function(n){var t=n.$$("track"),i=Array.prototype.map.call(t,function(n){return n.track}),u=Array.prototype.map.call(t,function(n){var t=r(n.track);return n.src&&(t.src=n.src),t});return u.concat(Array.prototype.filter.call(n.textTracks(),function(n){return i.indexOf(n)===-1}).map(r))},f=function(n,t){return n.forEach(function(n){var i=t.addRemoteTextTrack(n).track;!n.src&&n.cues&&n.cues.forEach(function(n){return i.addCue(n)})}),t.textTracks()};i["default"]={textTracksToJson:u,jsonToTextTracks:f,trackToJson_:r}},{}],72:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function w(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var o;i.__esModule=!0;var s=n(76),r=f(s),h=n(88),c=u(h),l=n(81),a=u(l),v=n(99),y=f(v);o=function(n){function t(){var o,s,h=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i,u,f;if(p(this,t),i=void 0,a.IS_IE8){i=y["default"].createElement("custom");for(u in r["default"].prototype)u!=="constructor"&&(i[u]=r["default"].prototype[u]);for(f in t.prototype)f!=="constructor"&&(i[f]=t.prototype[f])}return i=(o=e(this,n.call(this,h,i)),o),s=i,e(o,s)}return w(t,n),t.prototype.addTrack=function(t){n.prototype.addTrack.call(this,t);t.addEventListener("modechange",c.bind(this,function(){this.trigger("change")}))},t}(r["default"]);i["default"]=o},{"76":76,"81":81,"88":88,"99":99}],73:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function yt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function pt(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function wt(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function it(n,t){return t&&(n=t(n)),n&&n!=="none"?n:void 0}function bt(n,t){var i=n.options[n.options.selectedIndex].value;return it(i,t)}function kt(n,t,i){if(t)for(var r=0;r<n.options.length;r++)if(it(n.options[r].value,i)===t){n.selectedIndex=r;break}}var l;i.__esModule=!0;var rt=n(100),o=f(rt),ut=n(99),ft=f(ut),et=n(5),ot=f(et),st=n(55),ht=f(st),r=n(85),ct=n(88),lt=v(ct),at=n(93),e=v(at),vt=n(91),a=f(vt);var s="vjs-text-track-settings",y=["#000","Black"],p=["#00F","Blue"],w=["#0FF","Cyan"],b=["#0F0","Green"],k=["#F0F","Magenta"],d=["#F00","Red"],g=["#FFF","White"],nt=["#FF0","Yellow"],h=["1","Opaque"],c=["0.5","Semi-Transparent"],tt=["0","Transparent"],u={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[y,g,d,b,p,nt,k,w]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[h,c,tt]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[g,y,d,b,p,nt,k,w]},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(n){return n==="1.00"?null:Number(n)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[h,c]},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:[tt,c,h]}};u.windowColor.options=u.backgroundColor.options;l=function(n){function t(i,f){yt(this,t);f.temporary=!1;var o=pt(this,n.call(this,i,f));o.updateDisplay=lt.bind(o,o.updateDisplay);o.fill();o.hasBeenOpened_=o.hasBeenFilled_=!0;o.endDialog=r.createEl("p",{className:"vjs-control-text",textContent:o.localize("End of dialog window.")});o.el().appendChild(o.endDialog);o.setDefaults();f.persistTextTrackSettings===undefined&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings);o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings();o.close()});o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults();o.updateDisplay()});return e.each(u,function(n){o.on(o.$(n.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return wt(t,n),t.prototype.createElSelect_=function(n){var o=this,f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"",e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"label",i=u[n],t=i.id.replace("%s",this.id_);return[r.createEl(e,{id:t,className:e==="label"?"vjs-label":"",textContent:this.localize(i.label)},{}),r.createEl("select",{},{"aria-labelledby":f+" "+t},i.options.map(function(n){var i=t+"-"+n[1];return r.createEl("option",{id:i,textContent:o.localize(n[1]),value:n[0]},{"aria-labelledby":f+" "+t+" "+i})}))]},t.prototype.createElFgColor_=function(){var n=r.createEl("legend",{id:"captions-text-legend-"+this.id_,textContent:this.localize("Text")}),t=this.createElSelect_("color",n.id),i=r.createEl("span",{className:"vjs-text-opacity vjs-opacity"},undefined,this.createElSelect_("textOpacity",n.id));return r.createEl("fieldset",{className:"vjs-fg-color vjs-track-setting"},undefined,[n].concat(t,i))},t.prototype.createElBgColor_=function(){var n=r.createEl("legend",{id:"captions-background-"+this.id_,textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor",n.id),i=r.createEl("span",{className:"vjs-bg-opacity vjs-opacity"},undefined,this.createElSelect_("backgroundOpacity",n.id));return r.createEl("fieldset",{className:"vjs-bg-color vjs-track-setting"},undefined,[n].concat(t,i))},t.prototype.createElWinColor_=function(){var n=r.createEl("legend",{id:"captions-window-"+this.id_,textContent:this.localize("Window")}),t=this.createElSelect_("windowColor",n.id),i=r.createEl("span",{className:"vjs-window-opacity vjs-opacity"},undefined,this.createElSelect_("windowOpacity",n.id));return r.createEl("fieldset",{className:"vjs-window-color vjs-track-setting"},undefined,[n].concat(t,i))},t.prototype.createElColors_=function(){return r.createEl("div",{className:"vjs-track-settings-colors"},undefined,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var n=r.createEl("fieldset",{className:"vjs-font-percent vjs-track-setting"},undefined,this.createElSelect_("fontPercent","","legend")),t=r.createEl("fieldset",{className:"vjs-edge-style vjs-track-setting"},undefined,this.createElSelect_("edgeStyle","","legend")),i=r.createEl("fieldset",{className:"vjs-font-family vjs-track-setting"},undefined,this.createElSelect_("fontFamily","","legend"));return r.createEl("div",{className:"vjs-track-settings-font"},undefined,[n,t,i])},t.prototype.createElControls_=function(){var n=this.localize("restore all settings to the default values"),t=r.createEl("button",{className:"vjs-default-button",title:n,innerHTML:this.localize("Reset")+"<span class='vjs-control-text'> "+n+"<\/span>"}),i=r.createEl("button",{className:"vjs-done-button",textContent:this.localize("Done")});return r.createEl("div",{className:"vjs-track-settings-controls"},undefined,[t,i])},t.prototype.createEl=function(){return n.prototype.createEl.call(this)},t.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},t.prototype.label=function(){return this.localize("Caption Settings Dialog")},t.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},t.prototype.buildCSSClass=function(){return n.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},t.prototype.getValues=function(){var n=this;return e.reduce(u,function(t,i,r){var u=bt(n.$(i.selector),i.parser);return u!==undefined&&(t[r]=u),t},{})},t.prototype.setValues=function(n){var t=this;e.each(u,function(i,r){kt(t.$(i.selector),n[r],i.parser)})},t.prototype.setDefaults=function(){var n=this;e.each(u,function(t){var i=t.hasOwnProperty("default")?t["default"]:0;n.$(t.selector).selectedIndex=i})},t.prototype.restoreSettings=function(){var n=void 0;try{n=JSON.parse(o["default"].localStorage.getItem(s))}catch(t){a["default"].warn(t)}n&&this.setValues(n)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var n=this.getValues();try{Object.keys(n).length?o["default"].localStorage.setItem(s,JSON.stringify(n)):o["default"].localStorage.removeItem(s)}catch(t){a["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&n.updateDisplay()},t.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null;this.off(ft["default"],"keydown",this.handleKeyDown);var n=this.player_.controlBar,t=n&&n.subsCapsButton,i=n&&n.captionsButton;t?t.focus():i&&i.focus()},t}(ht["default"]);ot["default"].registerComponent("TextTrackSettings",l);i["default"]=l},{"100":100,"5":5,"55":55,"85":85,"88":88,"91":91,"93":93,"99":99}],74:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function ft(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function et(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var v=n(69),o=u(v),y=n(88),s=h(y),f=n(75),p=n(91),e=u(p),w=n(100),r=u(w),b=n(78),k=u(b),d=n(97),g=n(110),nt=u(g),tt=n(92),it=u(tt),rt=n(81),ut=h(rt);var l=function(n,t){var i=new r["default"].WebVTT.Parser(r["default"],r["default"].vttjs,r["default"].WebVTT.StringDecoder()),u=[];i.oncue=function(n){t.addCue(n)};i.onparsingerror=function(n){u.push(n)};i.onflush=function(){t.trigger({type:"loadeddata",target:t})};i.parse(n);u.length>0&&(r["default"].console&&r["default"].console.groupCollapsed&&r["default"].console.groupCollapsed("Text Track parsing errors for "+t.src),u.forEach(function(n){return e["default"].error(n)}),r["default"].console&&r["default"].console.groupEnd&&r["default"].console.groupEnd());i.flush()},ot=function(n,t){var i={uri:n},u=d.isCrossOrigin(n);u&&(i.cors=u);nt["default"](i,s.bind(this,function(n,i,u){if(n)return e["default"].error(n,i);if(t.loaded_=!0,typeof r["default"].WebVTT!="function"){if(t.tech_){var f=function(){return l(u,t)};t.tech_.on("vttjsloaded",f);t.tech_.on("vttjserror",function(){e["default"].error("vttjs failed to load, stopping trying to process "+t.src);t.tech_.off("vttjsloaded",f)})}}else l(u,t)}))},a=function(n){function t(){var a,y,u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i,l;if(ft(this,t),!u.tech)throw new Error("A tech was not provided.");var r=it["default"](u,{kind:f.TextTrackKind[u.kind]||"subtitles",language:u.language||u.srclang||""}),e=f.TextTrackMode[r.mode]||"disabled",w=r["default"];if((r.kind==="metadata"||r.kind==="chapters")&&(e="hidden"),i=(a=c(this,n.call(this,r)),a),i.tech_=r.tech,ut.IS_IE8)for(l in t.prototype)l!=="constructor"&&(i[l]=t.prototype[l]);i.cues_=[];i.activeCues_=[];var b=new o["default"](i.cues_),v=new o["default"](i.activeCues_),h=!1,p=s.bind(i,function(){this.activeCues;h&&(this.trigger("cuechange"),h=!1)});return e!=="disabled"&&i.tech_.ready(function(){i.tech_.on("timeupdate",p)},!0),Object.defineProperty(i,"default",{get:function(){return w},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return e},set:function(n){var t=this;f.TextTrackMode[n]&&(e=n,e==="showing"&&this.tech_.ready(function(){t.tech_.on("timeupdate",p)},!0),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?b:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){var i,t,r,f,n,u;if(!this.loaded_)return null;if(this.cues.length===0)return v;for(i=this.tech_.currentTime(),t=[],r=0,f=this.cues.length;r<f;r++)n=this.cues[r],n.startTime<=i&&n.endTime>=i?t.push(n):n.startTime===n.endTime&&n.startTime<=i&&n.startTime+.5>=i&&t.push(n);if(h=!1,t.length!==this.activeCues_.length)h=!0;else for(u=0;u<t.length;u++)this.activeCues_.indexOf(t[u])===-1&&(h=!0);return this.activeCues_=t,v.setCues_(this.activeCues_),v},set:function(){}}),r.src?(i.src=r.src,ot(r.src,i)):i.loaded_=!0,y=i,c(a,y)}return et(t,n),t.prototype.addCue=function(n){var t=n,u,f,i;if(r["default"].vttjs&&!(n instanceof r["default"].vttjs.VTTCue)){t=new r["default"].vttjs.VTTCue(n.startTime,n.endTime,n.text);for(u in n)u in t||(t[u]=n[u]);t.id=n.id;t.originalCue_=n}for(f=this.tech_.textTracks(),i=0;i<f.length;i++)f[i]!==this&&f[i].removeCue(t);this.cues_.push(t);this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(n){for(var i=this.cues_.length,t;i--;)if(t=this.cues_[i],t===n||t.originalCue_&&t.originalCue_===n){this.cues_.splice(i,1);this.cues.setCues_(this.cues_);break}},t}(k["default"]);a.prototype.allowedEvents_={cuechange:"cuechange"};i["default"]=a},{"100":100,"110":110,"69":69,"75":75,"78":78,"81":81,"88":88,"91":91,"92":92,"97":97}],75:[function(n,t,i){"use strict";i.__esModule=!0;var r=i.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},u=i.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},f=i.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},e=i.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},{}],76:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,e;i.__esModule=!0;var o=n(45),s=u(o),h=n(81),c=v(h),l=n(99),a=u(l);r=function(n){function t(){var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],s,i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null,e,r,u;if(y(this,t),e=f(this,n.call(this)),!i&&(i=e,c.IS_IE8)){i=a["default"].createElement("custom");for(r in t.prototype)r!=="constructor"&&(i[r]=t.prototype[r])}for(i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}}),u=0;u<o.length;u++)i.addTrack(o[u]);return s=i,f(e,s)}return p(t,n),t.prototype.addTrack=function(n){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}});this.tracks_.indexOf(n)===-1&&(this.tracks_.push(n),this.trigger({track:n,type:"addtrack"}))},t.prototype.removeTrack=function(n){for(var i=void 0,t=0,r=this.length;t<r;t++)if(this[t]===n){i=this[t];i.off&&i.off();this.tracks_.splice(t,1);break}i&&this.trigger({track:i,type:"removetrack"})},t.prototype.getTrackById=function(n){for(var r=null,i,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},t}(s["default"]);r.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(e in r.prototype.allowedEvents_)r.prototype["on"+e]=null;i["default"]=r},{"45":45,"81":81,"99":99}],77:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u,f,e;i.__esModule=!0;i.ALL=i.REMOTE=i.NORMAL=undefined;var h=n(65),c=r(h),l=n(79),a=r(l),v=n(72),o=r(v),y=n(67),p=r(y),w=n(74),s=r(w),b=n(66),k=r(b),d=n(80),g=r(d),nt=n(68),tt=r(nt),it=n(92),rt=r(it);u={audio:{ListClass:c["default"],TrackClass:k["default"],capitalName:"Audio"},video:{ListClass:a["default"],TrackClass:g["default"],capitalName:"Video"},text:{ListClass:o["default"],TrackClass:s["default"],capitalName:"Text"}};Object.keys(u).forEach(function(n){u[n].getterName=n+"Tracks";u[n].privateName=n+"Tracks_"});f={remoteText:{ListClass:o["default"],TrackClass:s["default"],capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:p["default"],TrackClass:tt["default"],capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}};e=rt["default"](u,f);f.names=Object.keys(f);u.names=Object.keys(u);e.names=[].concat(f.names).concat(u.names);i.NORMAL=u;i.REMOTE=f;i.ALL=e},{"65":65,"66":66,"67":67,"68":68,"72":72,"74":74,"79":79,"80":80,"92":92}],78:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function w(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var e;i.__esModule=!0;var o=n(81),s=u(o),h=n(99),c=r(h),l=n(90),a=u(l),v=n(45),y=r(v);e=function(n){function t(){var h,r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},e,i,u,o,l,v;if(p(this,t),e=f(this,n.call(this)),i=e,s.IS_IE8){i=c["default"].createElement("custom");for(u in t.prototype)u!=="constructor"&&(i[u]=t.prototype[u])}o={id:r.id||"vjs_track_"+a.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""};l=function(n){Object.defineProperty(i,n,{get:function(){return o[n]},set:function(){}})};for(v in o)l(v);return h=i,f(e,h)}return w(t,n),t}(y["default"]);i["default"]=e},{"45":45,"81":81,"90":90,"99":99}],79:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,o;i.__esModule=!0;var s=n(76),u=f(s),h=n(81),c=v(h),l=n(99),a=f(l);r=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].selected=!1)};o=function(n){function t(){var l,v,f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i,o,s,h;for(y(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].selected){r(f,f[o]);break}if(c.IS_IE8){i=a["default"].createElement("custom");for(s in u["default"].prototype)s!=="constructor"&&(i[s]=u["default"].prototype[s]);for(h in t.prototype)h!=="constructor"&&(i[h]=t.prototype[h])}return i=(l=e(this,n.call(this,f,i)),l),i.changing_=!1,Object.defineProperty(i,"selectedIndex",{get:function(){for(var n=0;n<this.length;n++)if(this[n].selected)return n;return-1},set:function(){}}),v=i,e(l,v)}return p(t,n),t.prototype.addTrack=function(t){var i=this;(t.selected&&r(this,t),n.prototype.addTrack.call(this,t),t.addEventListener)&&t.addEventListener("selectedchange",function(){i.changing_||(i.changing_=!0,r(i,t),i.changing_=!1,i.trigger("change"))})},t}(u["default"]);i["default"]=o},{"76":76,"81":81,"99":99}],80:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var e=n(75),o=n(78),s=r(o),h=n(92),c=r(h),l=n(81),a=v(l);f=function(n){function t(){var f,h,l=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},r;y(this,t);var o=c["default"](l,{kind:e.VideoTrackKind[l.kind]||""}),i=(f=u(this,n.call(this,o)),f),s=!1;if(a.IS_IE8)for(r in t.prototype)r!=="constructor"&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"selected",{get:function(){return s},set:function(n){typeof n=="boolean"&&n!==s&&(s=n,this.trigger("selectedchange"))}}),o.selected&&(i.selected=o.selected),h=i,u(f,h)}return p(t,n),t}(s["default"]);i["default"]=f},{"75":75,"78":78,"81":81,"92":92}],81:[function(n,t,i){"use strict";function v(n){return n&&n.__esModule?n:{"default":n}}function y(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}i.__esModule=!0;i.BACKGROUND_SIZE_SUPPORTED=i.TOUCH_ENABLED=i.IS_ANY_SAFARI=i.IS_SAFARI=i.IE_VERSION=i.IS_IE8=i.CHROME_VERSION=i.IS_CHROME=i.IS_EDGE=i.IS_FIREFOX=i.IS_NATIVE_ANDROID=i.IS_OLD_ANDROID=i.ANDROID_VERSION=i.IS_ANDROID=i.IOS_VERSION=i.IS_IOS=i.IS_IPOD=i.IS_IPHONE=i.IS_IPAD=undefined;var l=n(85),e=y(l),a=n(100),u=v(a);var r=u["default"].navigator&&u["default"].navigator.userAgent||"",o=/AppleWebKit\/([\d.]+)/i.exec(r),p=o?parseFloat(o.pop()):null,s=i.IS_IPAD=/iPad/i.test(r),w=i.IS_IPHONE=/iPhone/i.test(r)&&!s,b=i.IS_IPOD=/iPod/i.test(r),k=i.IS_IOS=w||s||b,nt=i.IOS_VERSION=function(){var n=r.match(/OS (\d+)_/i);return n&&n[1]?n[1]:null}(),f=i.IS_ANDROID=/Android/i.test(r),h=i.ANDROID_VERSION=function(){var n=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),t,i;return n?(t=n[1]&&parseFloat(n[1]),i=n[2]&&parseFloat(n[2]),t&&i)?parseFloat(n[1]+"."+n[2]):t?t:null:null}(),tt=i.IS_OLD_ANDROID=f&&/webkit/i.test(r)&&h<2.3,it=i.IS_NATIVE_ANDROID=f&&h<5&&p<537,rt=i.IS_FIREFOX=/Firefox/i.test(r),c=i.IS_EDGE=/Edge/i.test(r),d=i.IS_CHROME=!c&&/Chrome/i.test(r),ut=i.CHROME_VERSION=function(){var n=r.match(/Chrome\/(\d+)/);return n&&n[1]?parseFloat(n[1]):null}(),ft=i.IS_IE8=/MSIE\s8\.0/.test(r),et=i.IE_VERSION=function(){var t=/MSIE\s(\d+)\.\d/.exec(r),n=t&&parseFloat(t[1]);return!n&&/Trident\/7.0/i.test(r)&&/rv:11.0/.test(r)&&(n=11),n}(),g=i.IS_SAFARI=/Safari/i.test(r)&&!d&&!f&&!c,ot=i.IS_ANY_SAFARI=g||k,st=i.TOUCH_ENABLED=e.isReal()&&("ontouchstart"in u["default"]||u["default"].DocumentTouch&&u["default"].document instanceof u["default"].DocumentTouch),ht=i.BACKGROUND_SIZE_SUPPORTED=e.isReal()&&"backgroundSize"in u["default"].document.createElement("video").style},{"100":100,"85":85}],82:[function(n,t,i){"use strict";function u(n,t){var f=0,e=void 0,u=void 0,i;if(!t)return 0;for(n&&n.length||(n=r.createTimeRange(0,0)),i=0;i<n.length;i++)e=n.start(i),u=n.end(i),u>t&&(u=t),f+=u-e;return f/t}i.__esModule=!0;i.bufferedPercent=u;var r=n(95)},{"95":95}],83:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!n||!t)return"";if(typeof r["default"].getComputedStyle=="function"){var i=r["default"].getComputedStyle(n);return i?i[t]:""}return n.currentStyle[t]||""}i.__esModule=!0;i["default"]=e;var u=n(100),r=f(u)},{"100":100}],84:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n){var t=n[r];return t||(t=n[r]=e.newGUID()),u[t]||(u[t]={}),u[t]}function h(n){var t=n[r];return t?!!Object.getOwnPropertyNames(u[t]).length:!1}function c(n){var t=n[r];if(t){delete u[t];try{delete n[r]}catch(i){n.removeAttribute?n.removeAttribute(r):n[r]=null}}}var f,e,u,r;i.__esModule=!0;i.getData=s;i.hasData=h;i.removeData=c;f=n(90);e=o(f);u={};r="vdata"+(new Date).getTime()},{"90":90}],85:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function st(n,t){return n.raw=t,n}function a(n){return typeof n=="string"&&/\S/.test(n)}function v(n){if(/\s/.test(n))throw new Error("class has illegal whitespace characters");}function ht(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function ct(){return r["default"]===f["default"].document&&typeof r["default"].createElement!="undefined"}function e(n){return c.isObject(n)&&n.nodeType===1}function y(n){return function(t,i){if(!a(t))return r["default"][n](null);a(i)&&(i=r["default"].querySelector(i));var u=e(i)?i:r["default"];return u[n]&&u[n](t)}}function lt(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u=arguments[3],n=r["default"].createElement(f);return Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];i.indexOf("aria-")!==-1||i==="role"||i==="type"?(ut["default"].warn(et["default"](h,i,r)),n.setAttribute(i,r)):i==="textContent"?p(n,r):n[i]=r}),Object.getOwnPropertyNames(i).forEach(function(t){n.setAttribute(t,i[t])}),u&&s(n,u),n}function p(n,t){return typeof n.textContent=="undefined"?n.innerText=t:n.textContent=t,n}function at(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function o(n,t){return(v(t),n.classList)?n.classList.contains(t):ht(t).test(n.className)}function w(n,t){return n.classList?n.classList.add(t):o(n,t)||(n.className=(n.className+" "+t).trim()),n}function b(n,t){return n.classList?n.classList.remove(t):(v(t),n.className=n.className.split(/\s+/).filter(function(n){return n!==t}).join(" ")),n}function vt(n,t,i){var r=o(n,t);if(typeof i=="function"&&(i=i(n,t)),typeof i!="boolean"&&(i=!r),i!==r)return i?w(n,t):b(n,t),n}function yt(n,t){Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];r===null||typeof r=="undefined"||r===!1?n.removeAttribute(i):n.setAttribute(i,r===!0?"":r)})}function pt(n){var f={},i,t,r,u;if(n&&n.attributes&&n.attributes.length>0)for(i=n.attributes,t=i.length-1;t>=0;t--)r=i[t].name,u=i[t].value,(typeof n[r]=="boolean"||",autoplay,controls,loop,muted,default,".indexOf(","+r+",")!==-1)&&(u=u!==null?!0:!1),f[r]=u;return f}function wt(n,t){return n.getAttribute(t)}function bt(n,t,i){n.setAttribute(t,i)}function kt(n,t){n.removeAttribute(t)}function dt(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function gt(){r["default"].onselectstart=function(){return!0}}function ni(n){if(n&&n.getBoundingClientRect&&n.parentNode){var i=n.getBoundingClientRect(),t={};return["bottom","height","left","right","top","width"].forEach(function(n){i[n]!==undefined&&(t[n]=i[n])}),t.height||(t.height=parseFloat(l["default"](n,"height"))),t.width||(t.width=parseFloat(l["default"](n,"width"))),t}}function k(n){var t=void 0;if(n.getBoundingClientRect&&n.parentNode&&(t=n.getBoundingClientRect()),!t)return{left:0,top:0};var u=r["default"].documentElement,i=r["default"].body,e=u.clientLeft||i.clientLeft||0,o=f["default"].pageXOffset||i.scrollLeft,s=t.left+o-e,h=u.clientTop||i.clientTop||0,c=f["default"].pageYOffset||i.scrollTop,l=t.top+c-h;return{left:Math.round(s),top:Math.round(l)}}function ti(n,t){var i={},r=k(n),o=n.offsetWidth,u=n.offsetHeight,s=r.top,h=r.left,f=t.pageY,e=t.pageX;return t.changedTouches&&(e=t.changedTouches[0].pageX,f=t.changedTouches[0].pageY),i.y=Math.max(0,Math.min(1,(s-f+u)/u)),i.x=Math.max(0,Math.min(1,(e-h)/o)),i}function d(n){return c.isObject(n)&&n.nodeType===3}function g(n){while(n.firstChild)n.removeChild(n.firstChild);return n}function nt(n){return typeof n=="function"&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return(typeof n=="function"&&(n=n()),e(n)||d(n))?n:typeof n=="string"&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function s(n,t){return nt(t).forEach(function(t){return n.appendChild(t)}),n}function ii(n,t){return s(g(n),t)}var h,ri,ui;i.__esModule=!0;i.$$=i.$=undefined;h=st(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);i.isReal=ct;i.isEl=e;i.createEl=lt;i.textContent=p;i.prependTo=at;i.hasClass=o;i.addClass=w;i.removeClass=b;i.toggleClass=vt;i.setAttributes=yt;i.getAttributes=pt;i.getAttribute=wt;i.setAttribute=bt;i.removeAttribute=kt;i.blockTextSelection=dt;i.unblockTextSelection=gt;i.getBoundingClientRect=ni;i.findPosition=k;i.getPointerPosition=ti;i.isTextNode=d;i.emptyEl=g;i.normalizeContent=nt;i.appendContent=s;i.insertContent=ii;var tt=n(99),r=u(tt),it=n(100),f=u(it),rt=n(91),ut=u(rt),ft=n(103),et=u(ft),c=n(93),ot=n(83),l=u(ot);ri=i.$=y("querySelector");ui=i.$$=y("querySelectorAll")},{"100":100,"103":103,"83":83,"91":91,"93":93,"99":99}],86:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function a(n,t){var i=r.getData(n);i.handlers[t].length===0&&(delete i.handlers[t],n.removeEventListener?n.removeEventListener(t,i.dispatcher,!1):n.detachEvent&&n.detachEvent("on"+t,i.dispatcher));Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled);Object.getOwnPropertyNames(i).length===0&&r.removeData(n)}function e(n,t,i,r){i.forEach(function(i){n(t,i,r)})}function o(n){function e(){return!0}function o(){return!1}var t,i,r,f;if(!n||!n.isPropagationStopped){t=n||g["default"].event;n={};for(i in t)i!=="layerX"&&i!=="layerY"&&i!=="keyLocation"&&i!=="webkitMovementX"&&i!=="webkitMovementY"&&(i==="returnValue"&&t.preventDefault||(n[i]=t[i]));n.target||(n.target=n.srcElement||u["default"]);n.relatedTarget||(n.relatedTarget=n.fromElement===n.target?n.toElement:n.fromElement);n.preventDefault=function(){t.preventDefault&&t.preventDefault();n.returnValue=!1;t.returnValue=!1;n.defaultPrevented=!0};n.defaultPrevented=!1;n.stopPropagation=function(){t.stopPropagation&&t.stopPropagation();n.cancelBubble=!0;t.cancelBubble=!0;n.isPropagationStopped=e};n.isPropagationStopped=o;n.stopImmediatePropagation=function(){t.stopImmediatePropagation&&t.stopImmediatePropagation();n.isImmediatePropagationStopped=e;n.stopPropagation()};n.isImmediatePropagationStopped=o;n.clientX!==null&&n.clientX!==undefined&&(r=u["default"].documentElement,f=u["default"].body,n.pageX=n.clientX+(r&&r.scrollLeft||f&&f.scrollLeft||0)-(r&&r.clientLeft||f&&f.clientLeft||0),n.pageY=n.clientY+(r&&r.scrollTop||f&&f.scrollTop||0)-(r&&r.clientTop||f&&f.clientTop||0));n.which=n.charCode||n.keyCode;n.button!==null&&n.button!==undefined&&(n.button=n.button&1?0:n.button&4?1:n.button&2?2:0)}return n}function s(n,t,i){if(Array.isArray(t))return e(s,n,t,i);var u=r.getData(n);u.handlers||(u.handlers={});u.handlers[t]||(u.handlers[t]=[]);i.guid||(i.guid=c.newGUID());u.handlers[t].push(i);u.dispatcher||(u.disabled=!1,u.dispatcher=function(t,i){var f,e,r,s;if(!u.disabled&&(t=o(t),f=u.handlers[t.type],f))for(e=f.slice(0),r=0,s=e.length;r<s;r++)if(t.isImmediatePropagationStopped())break;else try{e[r].call(n,t,i)}catch(h){k["default"].error(h)}});u.handlers[t].length===1&&(n.addEventListener?n.addEventListener(t,u.dispatcher,!1):n.attachEvent&&n.attachEvent("on"+t,u.dispatcher))}function h(n,t,i){var u,s,c,f,o;if(r.hasData(n)&&(u=r.getData(n),u.handlers)){if(Array.isArray(t))return e(h,n,t,i);if(s=function(t){u.handlers[t]=[];a(n,t)},!t){for(c in u.handlers)s(c);return}if(f=u.handlers[t],f){if(!i){s(t);return}if(i.guid)for(o=0;o<f.length;o++)f[o].guid===i.guid&&f.splice(o--,1);a(n,t)}}}function v(n,t,i){var e=r.hasData(n)?r.getData(n):{},u=n.parentNode||n.ownerDocument,f;return typeof t=="string"&&(t={type:t,target:n}),t=o(t),e.dispatcher&&e.dispatcher.call(n,t,i),u&&!t.isPropagationStopped()&&t.bubbles===!0?v.call(null,u,t,i):u||t.defaultPrevented||(f=r.getData(t.target),t.target[t.type]&&(f.disabled=!0,typeof t.target[t.type]=="function"&&t.target[t.type](),f.disabled=!1)),!t.defaultPrevented}function y(n,t,i){if(Array.isArray(t))return e(y,n,t,i);var r=function r(){h(n,t,r);i.apply(this,arguments)};r.guid=i.guid=i.guid||c.newGUID();s(n,t,r)}i.__esModule=!0;i.fixEvent=o;i.on=s;i.off=h;i.trigger=v;i.one=y;var p=n(84),r=l(p),w=n(90),c=l(w),b=n(91),k=f(b),d=n(100),g=f(d),nt=n(99),u=f(nt)},{"100":100,"84":84,"90":90,"91":91,"99":99}],87:[function(n,t,i){"use strict";i.__esModule=!0;var r=n(93),u=function u(n){if(Array.isArray(n)){var t=[];n.forEach(function(n){n=u(n);Array.isArray(n)?t=t.concat(n):r.isObject(n)&&t.push(n)});n=t}else n=typeof n=="string"&&n.trim()?[{src:n}]:r.isObject(n)&&typeof n.src=="string"&&n.src&&n.src.trim()?[n]:[];return n};i["default"]=u},{"93":93}],88:[function(n,t,i){"use strict";i.__esModule=!0;i.throttle=i.bind=undefined;var r=n(90),u=i.bind=function(n,t,i){t.guid||(t.guid=r.newGUID());var u=function(){return t.apply(n,arguments)};return u.guid=i?i+"_"+t.guid:t.guid,u},f=i.throttle=function(n,t){var i=Date.now();return function(){var r=Date.now();r-i>=t&&(n.apply(undefined,arguments),i=r)}}},{"90":90}],89:[function(n,t,i){"use strict";function r(n){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:n;n=n<0?0:n;var t=Math.floor(n%60),i=Math.floor(n/60%60),r=Math.floor(n/3600),f=Math.floor(u/60%60),e=Math.floor(u/3600);return(isNaN(n)||n===Infinity)&&(r=i=t="-"),r=r>0||e>0?r+":":"",i=((r||f>=10)&&i<10?"0"+i:i)+":",t=t<10?"0"+t:t,r+i+t}i.__esModule=!0;i["default"]=r},{}],90:[function(n,t,i){"use strict";function u(){return r++}i.__esModule=!0;i.newGUID=u;var r=1},{}],91:[function(n,t,i){"use strict";function l(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.logByType=undefined;var h=n(100),e=l(h),s=n(81),c=n(93);var r=void 0,f="all",u=[],o=i.logByType=function(n,t){var h=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!!s.IE_VERSION&&s.IE_VERSION<11,o=r.levels[f],l=new RegExp("^("+o+")$"),i;(n!=="log"&&t.unshift(n.toUpperCase()+":"),u&&u.push([].concat(t)),t.unshift("VIDEOJS:"),i=e["default"].console&&e["default"].console[n],i&&o&&l.test(n))&&(h&&(t=t.map(function(n){if(c.isObject(n)||Array.isArray(n))try{return JSON.stringify(n)}catch(t){return String(n)}return String(n)}).join(" ")),i.apply?i[Array.isArray(t)?"apply":"call"](e["default"].console,t):i(t))};r=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];o("log",i)};r.levels={all:"log|warn|error",error:"error",off:"",warn:"warn|error",DEFAULT:f};r.level=function(n){if(typeof n=="string"){if(!r.levels.hasOwnProperty(n))throw new Error('"'+n+'" in not a valid log level');f=n}return f};r.history=function(){return u?[].concat(u):[]};r.history.clear=function(){u&&(u.length=0)};r.history.disable=function(){u!==null&&(u.length=0,u=null)};r.history.enable=function(){u===null&&(u=[])};r.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return o("error",i)};r.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return o("warn",i)};i["default"]=r},{"100":100,"81":81,"93":93}],92:[function(n,t,i){"use strict";function u(){for(var n={},i=arguments.length,f=Array(i),t=0;t<i;t++)f[t]=arguments[t];return f.forEach(function(t){t&&r.each(t,function(t,i){if(!r.isPlain(t)){n[i]=t;return}r.isPlain(n[i])||(n[i]={});n[i]=u(n[i],t)})}),n}i.__esModule=!0;i["default"]=u;var r=n(93)},{"93":93}],93:[function(n,t,i){"use strict";function o(n,t){r(n).forEach(function(i){return t(n[i],i)})}function s(n,t){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;return r(n).reduce(function(i,r){return t(i,n[r],r)},i)}function h(n){for(var i=arguments.length,r=Array(i>1?i-1:0),t=1;t<i;t++)r[t-1]=arguments[t];return Object.assign?Object.assign.apply(Object,[n].concat(r)):(r.forEach(function(t){t&&o(t,function(t,i){n[i]=t})}),n)}function u(n){return!!n&&(typeof n=="undefined"?"undefined":f(n))==="object"}function c(n){return u(n)&&e.call(n)==="[object Object]"&&n.constructor===Object}var f,e,r;i.__esModule=!0;f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};i.each=o;i.reduce=s;i.assign=h;i.isObject=u;i.isPlain=c;e=Object.prototype.toString;r=function(n){return u(n)?Object.keys(n):[]}},{}],94:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u,e,o;i.__esModule=!0;i.setTextContent=i.createStyleElement=undefined;r=n(99);u=f(r);e=i.createStyleElement=function(n){var t=u["default"].createElement("style");return t.className=n,t};o=i.setTextContent=function(n,t){n.styleSheet?n.styleSheet.cssText=t:n.textContent=t}},{"99":99}],95:[function(n,t,i){"use strict";function e(n,t,i){if(typeof t!="number"||t<0||t>i)throw new Error("Failed to execute '"+n+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+i+").");}function u(n,t,i,r){return e(n,r,i.length-1),i[r][t]}function r(n){return n===undefined||n.length===0?{length:0,start:function(){throw new Error("This TimeRanges object is empty");},end:function(){throw new Error("This TimeRanges object is empty");}}:{length:n.length,start:u.bind(null,"start",0,n),end:u.bind(null,"end",1,n)}}function f(n,t){return Array.isArray(n)?r(n):n===undefined||t===undefined?r():r([[n,t]])}i.__esModule=!0;i.createTimeRanges=f;i.createTimeRange=f},{}],96:[function(n,t,i){"use strict";function r(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}function u(n,t){return r(n)===r(t)}i.__esModule=!0;i.titleCaseEquals=u;i["default"]=r},{}],97:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.isCrossOrigin=i.getFileExtension=i.getAbsoluteURL=i.parseUrl=undefined;var f=n(99),r=u(f),e=n(100),o=u(e);var s=i.parseUrl=function(n){var e=["protocol","hostname","port","pathname","search","hash","host"],u=r["default"].createElement("a"),o,i,t,f;for(u.href=n,o=u.host===""&&u.protocol!=="file:",i=void 0,o&&(i=r["default"].createElement("div"),i.innerHTML='<a href="'+n+'"><\/a>',u=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),r["default"].body.appendChild(i)),t={},f=0;f<e.length;f++)t[e[f]]=u[e[f]];return t.protocol==="http:"&&(t.host=t.host.replace(/:80$/,"")),t.protocol==="https:"&&(t.host=t.host.replace(/:443$/,"")),o&&r["default"].body.removeChild(i),t},h=i.getAbsoluteURL=function(n){if(!n.match(/^https?:\/\//)){var t=r["default"].createElement("div");t.innerHTML='<a href="'+n+'">x<\/a>';n=t.firstChild.href}return n},c=i.getFileExtension=function(n){if(typeof n=="string"){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(n);if(t)return t.pop().toLowerCase()}return""},l=i.isCrossOrigin=function(n){var t=o["default"].location,i=s(n),r=i.protocol===":"?t.protocol:i.protocol;return r+i.host!==t.protocol+t.host}},{"100":100,"99":99}],98:[function(n,t){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function i(n,t,r){var f=void 0,s,l,h;if(typeof n=="string"){if(s=i.getPlayers(),n.indexOf("#")===0&&(n=n.slice(1)),s[n])return t&&e["default"].warn('Player "'+n+'" is already initialised. Options will not be applied.'),r&&s[n].ready(r),s[n];f=u.$("#"+n)}else f=n;if(!f||!f.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return f.player||o["default"].players[f.playerId]?f.player||o["default"].players[f.playerId]:(t=t||{},i.hooks("beforesetup").forEach(function(n){var i=n(f,a["default"](t));if(!fi.isObject(i)||Array.isArray(i)){e["default"].error("please return an object in beforesetup hooks");return}t=a["default"](t,i)}),l=c["default"].getComponent("Player"),h=new l(f,t,r),i.hooks("setup").forEach(function(n){return n(h)}),h)}var d=n(100),g=r(d),nt=n(99),y=r(nt),tt=n(59),it=f(tt),rt=n(94),b=f(rt),ut=n(5),c=r(ut),ft=n(45),et=r(ft),ot=n(86),l=f(ot),st=n(56),o=r(st),ht=n(57),s=r(ht),ct=n(92),a=r(ct),lt=n(88),at=f(lt),vt=n(74),yt=r(vt),pt=n(66),wt=r(pt),bt=n(80),kt=r(bt),dt=n(95),gt=n(89),ni=r(gt),ti=n(91),e=r(ti),ii=n(85),u=f(ii),ri=n(81),k=f(ri),ui=n(97),p=f(ui),fi=n(93),ei=n(83),oi=r(ei),si=n(46),hi=r(si),ci=n(110),li=r(ci),ai=n(64),w=r(ai),vi=n(63),h,v;typeof HTMLVideoElement=="undefined"&&u.isReal()&&(y["default"].createElement("video"),y["default"].createElement("audio"),y["default"].createElement("track"));i.hooks_={};i.hooks=function(n,t){return i.hooks_[n]=i.hooks_[n]||[],t&&(i.hooks_[n]=i.hooks_[n].concat(t)),i.hooks_[n]};i.hook=function(n,t){i.hooks(n,t)};i.removeHook=function(n,t){var r=i.hooks(n).indexOf(t);return r<=-1?!1:(i.hooks_[n]=i.hooks_[n].slice(),i.hooks_[n].splice(r,1),!0)};g["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0&&u.isReal()&&(h=u.$(".vjs-styles-defaults"),h||(h=b.createStyleElement("vjs-styles-defaults"),v=u.$("head"),v&&v.insertBefore(h,v.firstChild),b.setTextContent(h,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")));it.autoSetupTimeout(1,i);i.VERSION="6.1.0";i.options=o["default"].prototype.options_;i.getPlayers=function(){return o["default"].players};i.players=o["default"].players;i.getComponent=c["default"].getComponent;i.registerComponent=function(n,t){w["default"].isTech(t)&&e["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");c["default"].registerComponent.call(c["default"],n,t)};i.getTech=w["default"].getTech;i.registerTech=w["default"].registerTech;i.use=vi.use;i.browser=k;i.TOUCH_ENABLED=k.TOUCH_ENABLED;i.extend=hi["default"];i.mergeOptions=a["default"];i.bind=at.bind;i.registerPlugin=s["default"].registerPlugin;i.plugin=function(n,t){return e["default"].warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),s["default"].registerPlugin(n,t)};i.getPlugins=s["default"].getPlugins;i.getPlugin=s["default"].getPlugin;i.getPluginVersion=s["default"].getPluginVersion;i.addLanguage=function(n,t){var r;return n=(""+n).toLowerCase(),i.options.languages=a["default"](i.options.languages,(r={},r[n]=t,r)),i.options.languages[n]};i.log=e["default"];i.createTimeRange=i.createTimeRanges=dt.createTimeRanges;i.formatTime=ni["default"];i.parseUrl=p.parseUrl;i.isCrossOrigin=p.isCrossOrigin;i.EventTarget=et["default"];i.on=l.on;i.one=l.one;i.off=l.off;i.trigger=l.trigger;i.xhr=li["default"];i.TextTrack=yt["default"];i.AudioTrack=wt["default"];i.VideoTrack=kt["default"];["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(n){i[n]=function(){return e["default"].warn("videojs."+n+"() is deprecated; use videojs.dom."+n+"() instead"),u[n].apply(null,arguments)}});i.computedStyle=oi["default"];i.dom=u;i.url=p;t.exports=i},{"100":100,"110":110,"45":45,"46":46,"5":5,"56":56,"57":57,"59":59,"63":63,"64":64,"66":66,"74":74,"80":80,"81":81,"83":83,"85":85,"86":86,"88":88,"89":89,"91":91,"92":92,"93":93,"94":94,"95":95,"97":97,"99":99}],99:[function(n,t){(function(i){var u=typeof i!="undefined"?i:typeof window!="undefined"?window:{},f=n(101),r;typeof document!="undefined"?r=document:(r=u["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=u["__GLOBAL_DOCUMENT_CACHE@4"]=f));t.exports=r}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"101":101}],100:[function(n,t){(function(n){var i;i=typeof window!="undefined"?window:typeof n!="undefined"?n:typeof self!="undefined"?self:{};t.exports=i}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],101:[function(){},{}],102:[function(n,t){function i(n,t){var i,r=null;try{i=JSON.parse(n,t)}catch(u){r=u}return[r,i]}t.exports=i},{}],103:[function(n,t){function i(n){return n.replace(/\n\r?\s*/g,"")}t.exports=function(n){for(var r="",t=0;t<arguments.length;t++)r+=i(n[t])+(arguments[t+1]||"");return r}},{}],104:[function(n,t){var i=t.exports={WebVTT:n(105).WebVTT,VTTCue:n(106).VTTCue,VTTRegion:n(108).VTTRegion};window.vttjs=i;window.WebVTT=i.WebVTT;var r=i.VTTCue,u=i.VTTRegion,f=window.VTTCue,e=window.VTTRegion;i.shim=function(){window.VTTCue=r;window.VTTRegion=u};i.restore=function(){window.VTTCue=f;window.VTTRegion=e};window.VTTCue||i.shim()},{"105":105,"106":106,"108":108}],105:[function(){(function(n){function i(n,t){this.name="ParsingError";this.code=n.code;this.message=t||n.message}function h(n){function i(n,t,i,r){return(n|0)*3600+(t|0)*60+(i|0)+(r|0)/1e3}var t=n.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return t?t[3]?i(t[1],t[2],t[3].replace(":",""),t[4]):t[1]>59?i(t[1],t[2],0,t[4]):i(0,t[1],t[2],t[4]):null}function u(){this.values=s(null)}function f(n,t,i,r){var f=r?n.split(r):[n],e,u,o,s;for(e in f)typeof f[e]=="string"&&(u=f[e].split(i),u.length===2)&&(o=u[0],s=u[1],t(o,s))}function v(n,t,r){function s(){var t=h(n);if(t===null)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+o);return n=n.replace(/^[^\sa-zA-Z-]+/,""),t}function c(n,t){var i=new u;f(n,function(n,t){var f,u,e;switch(n){case"region":for(f=r.length-1;f>=0;f--)if(r[f].id===t){i.set(n,r[f].region);break}break;case"vertical":i.alt(n,t,["rl","lr"]);break;case"line":u=t.split(",");e=u[0];i.integer(n,e);i.percent(n,e)?i.set("snapToLines",!1):null;i.alt(n,e,["auto"]);u.length===2&&i.alt("lineAlign",u[1],["start","middle","end"]);break;case"position":u=t.split(",");i.percent(n,u[0]);u.length===2&&i.alt("positionAlign",u[1],["start","middle","end"]);break;case"size":i.percent(n,t);break;case"align":i.alt(n,t,["start","middle","end","left","right"])}},/:/,/\s/);t.region=i.get("region",null);t.vertical=i.get("vertical","");t.line=i.get("line","auto");t.lineAlign=i.get("lineAlign","start");t.snapToLines=i.get("snapToLines",!0);t.size=i.get("size",100);t.align=i.get("align","middle");t.position=i.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align);t.positionAlign=i.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}function e(){n=n.replace(/^\s+/,"")}var o=n;if(e(),t.startTime=s(),e(),n.substr(0,3)!=="-->")throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+o);n=n.substr(3);e();t.endTime=s();e();c(n,t)}function a(n,t){function c(){function i(n){return t=t.substr(n.length),n}if(!t)return null;var n=t.match(/^([^<]*)(<[^>]+>?)?/);return i(n[1]?n[1]:n[2])}function a(n){return y[n]}function v(n){while(i=n.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))n=n.replace(i[0],a);return n}function b(n,t){return!l[t.localName]||l[t.localName]===n.localName}function k(t,i){var u=p[t],r,f;return u?(r=n.document.createElement(u),r.localName=u,f=w[t],f&&i&&(r[f]=i.trim()),r):null}for(var s=n.document.createElement("div"),f=s,r,e=[],o,u,i;(r=c())!==null;){if(r[0]==="<"){if(r[1]==="/"){e.length&&e[e.length-1]===r.substr(2).replace(">","")&&(e.pop(),f=f.parentNode);continue}if(o=h(r.substr(1,r.length-2)),o){u=n.document.createProcessingInstruction("timestamp",o);f.appendChild(u);continue}if(i=r.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/),!i)continue;if(u=k(i[1],i[3]),!u)continue;if(!b(f,u))continue;i[2]&&(u.className=i[2].substr(1).replace("."," "));e.push(i[1]);f.appendChild(u);f=u;continue}f.appendChild(n.document.createTextNode(v(r)))}return s}function b(n){for(var i,t=0;t<c.length;t++)if(i=c[t],n>=i[0]&&n<=i[1])return!0;return!1}function k(n){function e(n,t){for(var i=t.childNodes.length-1;i>=0;i--)n.push(t.childNodes[i])}function r(n){var t,i,u;return!n||!n.length?null:(t=n.pop(),i=t.textContent||t.innerText,i)?(u=i.match(/^.*(\n|\r)/),u)?(n.length=0,u[0]):i:t.tagName==="ruby"?r(n):t.childNodes?(e(n,t),r(n)):void 0}var u=[],i="",f,t;if(!n||!n.childNodes)return"ltr";for(e(u,n);i=r(u);)for(t=0;t<i.length;t++)if(f=i.charCodeAt(t),b(f))return"rtl";return"ltr"}function d(n){var t;if(typeof n.line=="number"&&(n.snapToLines||n.line>=0&&n.line<=100))return n.line;if(!n.track||!n.track.textTrackList||!n.track.textTrackList.mediaElement)return-1;var r=n.track,i=r.textTrackList,u=0;for(t=0;t<i.length&&i[t]!==r;t++)i[t].mode==="showing"&&u++;return++u*-1}function e(){}function o(n,t,i){var f=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",s="rgba(0, 0, 0, 0.8)",r,u;f&&(o="rgb(255, 255, 255)",s="rgb(0, 0, 0)");e.call(this);this.cue=t;this.cueDiv=a(n,t.text);r={color:o,backgroundColor:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};f||(r.writingMode=t.vertical===""?"horizontal-tb":t.vertical==="lr"?"vertical-lr":"vertical-rl",r.unicodeBidi="plaintext");this.applyStyles(r,this.cueDiv);this.div=n.document.createElement("div");r={textAlign:t.align==="middle"?"center":t.align,font:i.font,whiteSpace:"pre-line",position:"absolute"};f||(r.direction=k(this.cueDiv),r.writingMode=t.vertical===""?"horizontal-tb":t.vertical==="lr"?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext");this.applyStyles(r);this.div.appendChild(this.cueDiv);u=0;switch(t.positionAlign){case"start":u=t.position;break;case"middle":u=t.position-t.size/2;break;case"end":u=t.position-t.size}t.vertical===""?this.applyStyles({left:this.formatStyle(u,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(u,"%"),height:this.formatStyle(t.size,"%")});this.move=function(n){this.applyStyles({top:this.formatStyle(n.top,"px"),bottom:this.formatStyle(n.bottom,"px"),left:this.formatStyle(n.left,"px"),right:this.formatStyle(n.right,"px"),height:this.formatStyle(n.height,"px"),width:this.formatStyle(n.width,"px")})}}function t(n){var e=/MSIE\s8\.0/.test(navigator.userAgent),i,r,f,u,t;n.div&&(r=n.div.offsetHeight,f=n.div.offsetWidth,u=n.div.offsetTop,t=(t=n.div.childNodes)&&(t=t[0])&&t.getClientRects&&t.getClientRects(),n=n.div.getBoundingClientRect(),i=t?Math.max(t[0]&&t[0].height||0,n.height/t.length):0);this.left=n.left;this.right=n.right;this.top=n.top||u;this.height=n.height||r;this.bottom=n.bottom||u+(n.height||r);this.width=n.width||f;this.lineHeight=i!==undefined?i:n.lineHeight;e&&!this.lineHeight&&(this.lineHeight=13)}function g(n,i,r,u){function p(n,i){for(var o,s=new t(n),h=1,e,f=0;f<i.length;f++){while(n.overlapsOppositeAxis(r,i[f])||n.within(r)&&n.overlapsAny(u))n.move(i[f]);if(n.within(r))return n;e=n.intersectPercentage(r);h>e&&(o=new t(n),h=e);n=new t(s)}return o||s}var s=new t(i),o=i.cue,e=d(o),f=[],c,a,y;if(o.snapToLines){switch(o.vertical){case"":f=["+y","-y"];c="height";break;case"rl":f=["+x","-x"];c="width";break;case"lr":f=["-x","+x"];c="width"}var l=s.lineHeight,h=l*Math.round(e),v=r[c]+l,w=f[0];Math.abs(h)>v&&(h=(h<0?-1:1)*Math.ceil(v/l)*l);e<0&&(h+=o.vertical===""?r.height:r.width,f=f.reverse());s.move(w,h)}else{a=s.lineHeight/r.height*100;switch(o.lineAlign){case"middle":e-=a/2;break;case"end":e-=a}switch(o.vertical){case"":i.applyStyles({top:i.formatStyle(e,"%")});break;case"rl":i.applyStyles({left:i.formatStyle(e,"%")});break;case"lr":i.applyStyles({right:i.formatStyle(e,"%")})}f=["+y","-x","+x","-y"];s=new t(i)}y=p(s,f);i.move(y.toCSSCompatValues(r))}function r(){}var s=Object.create||function(){function n(){}return function(t){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return n.prototype=t,new n}}(),c;i.prototype=s(Error.prototype);i.prototype.constructor=i;i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};u.prototype={set:function(n,t){this.get(n)||t===""||(this.values[n]=t)},get:function(n,t,i){return i?this.has(n)?this.values[n]:t[i]:this.has(n)?this.values[n]:t},has:function(n){return n in this.values},alt:function(n,t,i){for(var r=0;r<i.length;++r)if(t===i[r]){this.set(n,t);break}},integer:function(n,t){/^-?\d+$/.test(t)&&this.set(n,parseInt(t,10))},percent:function(n,t){var i;return(i=t.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(t=parseFloat(t),t>=0&&t<=100)?(this.set(n,t),!0):!1}};var y={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},p={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},w={v:"title",lang:"lang"},l={rt:"ruby"};c=[[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]];e.prototype.applyStyles=function(n,t){t=t||this.div;for(var i in n)n.hasOwnProperty(i)&&(t.style[i]=n[i])};e.prototype.formatStyle=function(n,t){return n===0?0:n+t};o.prototype=s(e.prototype);o.prototype.constructor=o;t.prototype.move=function(n,t){t=t!==undefined?t:this.lineHeight;switch(n){case"+x":this.left+=t;this.right+=t;break;case"-x":this.left-=t;this.right-=t;break;case"+y":this.top+=t;this.bottom+=t;break;case"-y":this.top-=t;this.bottom-=t}};t.prototype.overlaps=function(n){return this.left<n.right&&this.right>n.left&&this.top<n.bottom&&this.bottom>n.top};t.prototype.overlapsAny=function(n){for(var t=0;t<n.length;t++)if(this.overlaps(n[t]))return!0;return!1};t.prototype.within=function(n){return this.top>=n.top&&this.bottom<=n.bottom&&this.left>=n.left&&this.right<=n.right};t.prototype.overlapsOppositeAxis=function(n,t){switch(t){case"+x":return this.left<n.left;case"-x":return this.right>n.right;case"+y":return this.top<n.top;case"-y":return this.bottom>n.bottom}};t.prototype.intersectPercentage=function(n){var t=Math.max(0,Math.min(this.right,n.right)-Math.max(this.left,n.left)),i=Math.max(0,Math.min(this.bottom,n.bottom)-Math.max(this.top,n.top)),r=t*i;return r/(this.height*this.width)};t.prototype.toCSSCompatValues=function(n){return{top:this.top-n.top,bottom:n.bottom-this.bottom,left:this.left-n.left,right:n.right-this.right,height:this.height,width:this.width}};t.getSimpleBoxPosition=function(n){var t=n.div?n.div.offsetHeight:n.tagName?n.offsetHeight:0,r=n.div?n.div.offsetWidth:n.tagName?n.offsetWidth:0,i=n.div?n.div.offsetTop:n.tagName?n.offsetTop:0;return n=n.div?n.div.getBoundingClientRect():n.tagName?n.getBoundingClientRect():n,{left:n.left,right:n.right,top:n.top||i,height:n.height||t,bottom:n.bottom||i+(n.height||t),width:n.width||r}};r.StringDecoder=function(){return{decode:function(n){if(!n)return"";if(typeof n!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(n))}}};r.convertCueToDOMTree=function(n,t){return!n||!t?null:a(n,t)};var nt=.05,tt="sans-serif",it="1.5%";r.processCues=function(n,i,r){function h(n){for(var t=0;t<n.length;t++)if(n[t].hasBeenReset||!n[t].displayState)return!0;return!1}var u,f;if(!n||!i||!r)return null;while(r.firstChild)r.removeChild(r.firstChild);if(u=n.document.createElement("div"),u.style.position="absolute",u.style.left="0",u.style.right="0",u.style.top="0",u.style.bottom="0",u.style.margin=it,r.appendChild(u),!h(i)){for(f=0;f<i.length;f++)u.appendChild(i[f].displayState);return}var e=[],s=t.getSimpleBoxPosition(u),c=Math.round(s.height*nt*100)/100,l={font:c+"px "+tt};(function(){for(var r,h,f=0;f<i.length;f++)h=i[f],r=new o(n,h,l),u.appendChild(r.div),g(n,r,s,e),h.displayState=r.div,e.push(t.getSimpleBoxPosition(r))})()};r.Parser=function(n,t,i){i||(i=t,t={});t||(t={});this.window=n;this.vttjs=t;this.state="INITIAL";this.buffer="";this.decoder=i||new TextDecoder("utf8");this.regionList=[]};r.Parser.prototype={reportOrThrowError:function(n){if(n instanceof i)this.onparsingerror&&this.onparsingerror(n);else throw n;},parse:function(n){function s(){for(var i=t.buffer,n=0,r;n<i.length&&i[n]!=="\r"&&i[n]!=="\n";)++n;return r=i.substr(0,n),i[n]==="\r"&&++n,i[n]==="\n"&&++n,t.buffer=i.substr(n),r}function a(n){var i=new u,r;f(n,function(n,t){var f,r;switch(n){case"id":i.set(n,t);break;case"width":i.percent(n,t);break;case"lines":i.integer(n,t);break;case"regionanchor":case"viewportanchor":if(f=t.split(","),f.length!==2)break;if(r=new u,r.percent("x",f[0]),r.percent("y",f[1]),!r.has("x")||!r.has("y"))break;i.set(n+"X",r.get("x"));i.set(n+"Y",r.get("y"));break;case"scroll":i.alt(n,t,["up"])}},/=/,/\s/);i.has("id")&&(r=new(t.vttjs.VTTRegion||t.window.VTTRegion),r.width=i.get("width",100),r.lines=i.get("lines",3),r.regionAnchorX=i.get("regionanchorX",0),r.regionAnchorY=i.get("regionanchorY",100),r.viewportAnchorX=i.get("viewportanchorX",0),r.viewportAnchorY=i.get("viewportanchorY",100),r.scroll=i.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:i.get("id"),region:r}))}function y(n){var i=new u;f(n,function(n,t){switch(n){case"MPEGT":i.integer(n+"S",t);break;case"LOCA":i.set(n+"L",h(t))}},/[^\d]:/,/,/);t.ontimestampmap&&t.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")})}function p(n){n.match(/X-TIMESTAMP-MAP/)?f(n,function(n,t){switch(n){case"X-TIMESTAMP-MAP":y(t)}},/=/):f(n,function(n,t){switch(n){case"Region":a(t)}},/:/)}var t=this,r,o,e,l;n&&(t.buffer+=t.decoder.decode(n,{stream:!0}));try{if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;if(r=s(),o=r.match(/^WEBVTT([ \t].*)?$/),!o||!o[0])throw new i(i.Errors.BadSignature);t.state="HEADER"}for(e=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;e?e=!1:r=s();switch(t.state){case"HEADER":/:/.test(r)?p(r):r||(t.state="ID");continue;case"NOTE":r||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){t.state="NOTE";break}if(!r)continue;if(t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,""),t.state="CUE",r.indexOf("-->")===-1){t.cue.id=r;continue}case"CUE":try{v(r,t.cue,t.regionList)}catch(c){t.reportOrThrowError(c);t.cue=null;t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":if(l=r.indexOf("-->")!==-1,!r||l&&(e=!0)){t.oncue&&t.oncue(t.cue);t.cue=null;t.state="ID";continue}t.cue.text&&(t.cue.text+="\n");t.cue.text+=r;continue;case"BADCUE":r||(t.state="ID");continue}}}catch(c){if(t.reportOrThrowError(c),t.state==="CUETEXT"&&t.cue&&t.oncue)t.oncue(t.cue);t.cue=null;t.state=t.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var n=this;try{if(n.buffer+=n.decoder.decode(),(n.cue||n.state==="HEADER")&&(n.buffer+="\n\n",n.parse()),n.state==="INITIAL")throw new i(i.Errors.BadSignature);}catch(t){n.reportOrThrowError(t)}return n.onflush&&n.onflush(),this}};n.WebVTT=r})(this,this.vttjs||{})},{}],106:[function(n,t){typeof t!="undefined"&&t.exports&&(this.VTTCue=this.VTTCue||n(107).VTTCue),function(n){n.VTTCue.prototype.toJSON=function(){var n={},t=this;return Object.keys(this).forEach(function(i){i!=="getCueAsHTML"&&i!=="hasBeenReset"&&i!=="displayState"&&(n[i]=t[i])}),n};n.VTTCue.create=function(t){var i,r;if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");i=new n.VTTCue(t.startTime,t.endTime,t.text);for(r in t)i.hasOwnProperty(r)&&(i[r]=t[r]);return i};n.VTTCue.fromJSON=function(n){return this.create(JSON.parse(n))}}(this)},{"107":107}],107:[function(){(function(n,t){function s(n){if(typeof n!="string")return!1;var t=e[n.toLowerCase()];return t?n.toLowerCase():!1}function r(n){if(typeof n!="string")return!1;var t=o[n.toLowerCase()];return t?n.toLowerCase():!1}function i(n){for(var t=1,i,r;t<arguments.length;t++){i=arguments[t];for(r in i)n[r]=i[r]}return n}function u(n,t,u){var e=this,h=/MSIE\s8\.0/.test(navigator.userAgent),o={};h?e=document.createElement("custom"):o.enumerable=!0;e.hasBeenReset=!1;var c="",l=!1,a=n,v=t,y=u,p=null,w="",b=!0,k="auto",d="start",g=50,nt="middle",tt=50,it="middle";return Object.defineProperty(e,"id",i({},o,{get:function(){return c},set:function(n){c=""+n}})),Object.defineProperty(e,"pauseOnExit",i({},o,{get:function(){return l},set:function(n){l=!!n}})),Object.defineProperty(e,"startTime",i({},o,{get:function(){return a},set:function(n){if(typeof n!="number")throw new TypeError("Start time must be set to a number.");a=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"endTime",i({},o,{get:function(){return v},set:function(n){if(typeof n!="number")throw new TypeError("End time must be set to a number.");v=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"text",i({},o,{get:function(){return y},set:function(n){y=""+n;this.hasBeenReset=!0}})),Object.defineProperty(e,"region",i({},o,{get:function(){return p},set:function(n){p=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"vertical",i({},o,{get:function(){return w},set:function(n){var t=s(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");w=t;this.hasBeenReset=!0}})),Object.defineProperty(e,"snapToLines",i({},o,{get:function(){return b},set:function(n){b=!!n;this.hasBeenReset=!0}})),Object.defineProperty(e,"line",i({},o,{get:function(){return k},set:function(n){if(typeof n!="number"&&n!==f)throw new SyntaxError("An invalid number or illegal string was specified.");k=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"lineAlign",i({},o,{get:function(){return d},set:function(n){var t=r(n);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");d=t;this.hasBeenReset=!0}})),Object.defineProperty(e,"position",i({},o,{get:function(){return g},set:function(n){if(n<0||n>100)throw new Error("Position must be between 0 and 100.");g=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"positionAlign",i({},o,{get:function(){return nt},set:function(n){var t=r(n);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");nt=t;this.hasBeenReset=!0}})),Object.defineProperty(e,"size",i({},o,{get:function(){return tt},set:function(n){if(n<0||n>100)throw new Error("Size must be between 0 and 100.");tt=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"align",i({},o,{get:function(){return it},set:function(n){var t=r(n);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");it=t;this.hasBeenReset=!0}})),e.displayState=undefined,h?e:void 0}var f="auto",e={"":!0,lr:!0,rl:!0},o={start:!0,middle:!0,end:!0,left:!0,right:!0};u.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};n.VTTCue=n.VTTCue||u;t.VTTCue=u})(this,this.vttjs||{})},{}],108:[function(n,t){typeof t!="undefined"&&t.exports&&(this.VTTRegion=n(109).VTTRegion),function(n){n.VTTRegion.create=function(t){var r=new n.VTTRegion,i;for(i in t)r.hasOwnProperty(i)&&(r[i]=t[i]);return r};n.VTTRegion.fromJSON=function(n){return this.create(JSON.parse(n))}}(this)},{"109":109}],109:[function(){(function(n,t){function f(n){if(typeof n!="string")return!1;var t=u[n.toLowerCase()];return t?n.toLowerCase():!1}function i(n){return typeof n=="number"&&n>=0&&n<=100}function r(){var n=100,t=3,r=0,u=100,e=0,o=100,s="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return n},set:function(t){if(!i(t))throw new Error("Width must be between 0 and 100.");n=t}},lines:{enumerable:!0,get:function(){return t},set:function(n){if(typeof n!="number")throw new TypeError("Lines must be set to a number.");t=n}},regionAnchorY:{enumerable:!0,get:function(){return u},set:function(n){if(!i(n))throw new Error("RegionAnchorX must be between 0 and 100.");u=n}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(n){if(!i(n))throw new Error("RegionAnchorY must be between 0 and 100.");r=n}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(n){if(!i(n))throw new Error("ViewportAnchorY must be between 0 and 100.");o=n}},viewportAnchorX:{enumerable:!0,get:function(){return e},set:function(n){if(!i(n))throw new Error("ViewportAnchorX must be between 0 and 100.");e=n}},scroll:{enumerable:!0,get:function(){return s},set:function(n){var t=f(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");s=t}}})}var u={"":!0,up:!0};n.VTTRegion=n.VTTRegion||r;t.VTTRegion=r})(this,this.vttjs||{})},{}],110:[function(n,t){"use strict";function h(n,t){for(var i=0;i<n.length;i++)t(n[i])}function c(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function u(n,t,i){var r=n;return e(t)?(i=t,typeof n=="string"&&(r={uri:n})):r=s(t,{uri:n}),r.callback=i,r}function i(n,t,i){return t=u(n,t,i),f(t)}function f(n){function g(){t.readyState===4&&setTimeout(b,0)}function nt(){var n=undefined;if(n=t.response?t.response:t.responseText||l(t),k)try{n=JSON.parse(n)}catch(i){}return n}function a(n){return clearTimeout(w),n instanceof Error||(n=new Error(""+(n||"Unknown XMLHttpRequest Error"))),n.statusCode=0,h(n,d)}function b(){var r,i,f;if(!e)return clearTimeout(w),r=n.useXDR&&t.status===undefined?200:t.status===1223?204:t.status,i=d,f=null,r!==0?(i={body:nt(),statusCode:r,method:u,headers:{},url:v,rawRequest:t},t.getAllResponseHeaders&&(i.headers=o(t.getAllResponseHeaders()))):f=new Error("Internal XMLHttpRequest Error"),h(f,i,i.body)}var s,h,t;if(typeof n.callback=="undefined")throw new Error("callback argument missing");s=!1;h=function(t,i,r){s||(s=!0,n.callback(t,i,r))};t=n.xhr||null;t||(t=n.cors||n.useXDR?new i.XDomainRequest:new i.XMLHttpRequest);var f,e,v=t.url=n.uri||n.url,u=t.method=n.method||"GET",y=n.body||n.data,r=t.headers=n.headers||{},p=!!n.sync,k=!1,w,d={body:undefined,headers:{},statusCode:0,method:u,url:v,rawRequest:t};if("json"in n&&n.json!==!1&&(k=!0,r.accept||r.Accept||(r.Accept="application/json"),u!=="GET"&&u!=="HEAD"&&(r["content-type"]||r["Content-Type"]||(r["Content-Type"]="application/json"),y=JSON.stringify(n.json===!0?y:n.json))),t.onreadystatechange=g,t.onload=b,t.onerror=a,t.onprogress=function(){},t.onabort=function(){e=!0},t.ontimeout=a,t.open(u,v,!p,n.username,n.password),p||(t.withCredentials=!!n.withCredentials),!p&&n.timeout>0&&(w=setTimeout(function(){if(!e){e=!0;t.abort("timeout");var n=new Error("XMLHttpRequest timeout");n.code="ETIMEDOUT";a(n)}},n.timeout)),t.setRequestHeader)for(f in r)r.hasOwnProperty(f)&&t.setRequestHeader(f,r[f]);else if(n.headers&&!c(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(t.responseType=n.responseType),"beforeSend"in n&&typeof n.beforeSend=="function"&&n.beforeSend(t),t.send(y||null),t}function l(n){if(n.responseType==="document")return n.responseXML;var t=n.responseXML&&n.responseXML.documentElement.nodeName==="parsererror";return n.responseType===""&&!t?n.responseXML:null}function a(){}var r=n(100),e=n(111),o=n(114),s=n(115);t.exports=i;i.XMLHttpRequest=r.XMLHttpRequest||a;i.XDomainRequest="withCredentials"in new i.XMLHttpRequest?i.XMLHttpRequest:r.XDomainRequest;h(["get","put","post","patch","head","delete"],function(n){i[n==="delete"?"del":n]=function(t,i,r){return i=u(t,i,r),i.method=n.toUpperCase(),f(i)}})},{"100":100,"111":111,"114":114,"115":115}],111:[function(n,t){function r(n){var t=i.call(n);return t==="[object Function]"||typeof n=="function"&&t!=="[object RegExp]"||typeof window!="undefined"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}t.exports=r;var i=Object.prototype.toString},{}],112:[function(n,t){function f(n,t,i){if(!u(t))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);r.call(n)==="[object Array]"?e(n,t,i):typeof n=="string"?o(n,t,i):s(n,t,i)}function e(n,t,r){for(var u=0,f=n.length;u<f;u++)i.call(n,u)&&t.call(r,n[u],u,n)}function o(n,t,i){for(var r=0,u=n.length;r<u;r++)t.call(i,n.charAt(r),r,n)}function s(n,t,r){for(var u in n)i.call(n,u)&&t.call(r,n[u],u,n)}var u=n(111),r,i;t.exports=f;r=Object.prototype.toString;i=Object.prototype.hasOwnProperty},{"111":111}],113:[function(n,t,i){function r(n){return n.replace(/^\s*|\s*$/g,"")}i=t.exports=r;i.left=function(n){return n.replace(/^\s*/,"")};i.right=function(n){return n.replace(/\s*$/,"")}},{}],114:[function(n,t){var i=n(113),r=n(112),u=function(n){return Object.prototype.toString.call(n)==="[object Array]"};t.exports=function(n){if(!n)return{};var t={};return r(i(n).split("\n"),function(n){var e=n.indexOf(":"),r=i(n.slice(0,e)).toLowerCase(),f=i(n.slice(e+1));typeof t[r]=="undefined"?t[r]=f:u(t[r])?t[r].push(f):t[r]=[t[r],f]}),t}},{"112":112,"113":113}],115:[function(n,t){function r(){for(var u={},t,r,n=0;n<arguments.length;n++){t=arguments[n];for(r in t)i.call(t,r)&&(u[r]=t[r])}return u}t.exports=r;var i=Object.prototype.hasOwnProperty},{}]},{},[98])(98)});!function(){!function(n){var t=n&&n.videojs;t&&(t.CDN_VERSION="6.1.0")}(window),function(n,t,i,r,u,f,e){t&&t.HELP_IMPROVE_VIDEOJS!==!1&&(u.random()>.01||(f=t.location,e=t.videojs||{},n.src="//www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=UA-16505296-3&utmn=1&utmhn="+r(f.hostname)+"&utmsr="+t.screen.availWidth+"x"+t.screen.availHeight+"&utmul="+(i.language||i.userLanguage||"").toLowerCase()+"&utmr="+r(f.href)+"&utmp="+r(f.hostname+f.pathname)+"&utmcc=__utma%3D1."+u.floor(1e10*u.random())+".1.1.1.1%3B&utme=8(vjsv*cdnv)9("+e.VERSION+"*"+e.CDN_VERSION+")"))}(new Image,window,navigator,encodeURIComponent,Math)}(),function(n,t,i,r){"use strict";var p=i("html"),o=i(n),e=i(t),u=i.fancybox=function(){u.open.apply(this,arguments)},y=navigator.userAgent.match(/msie/i),v=null,s=t.createTouch!==r,a=function(n){return n&&n.hasOwnProperty&&n instanceof i},c=function(n){return n&&i.type(n)==="string"},l=function(n){return c(n)&&n.indexOf("%")>0},w=function(n){return n&&!(n.style.overflow&&n.style.overflow==="hidden")&&(n.clientWidth&&n.scrollWidth>n.clientWidth||n.clientHeight&&n.scrollHeight>n.clientHeight)},f=function(n,t){var i=parseInt(n,10)||0;return t&&l(n)&&(i=u.getViewport()[t]/100*i),Math.ceil(i)},h=function(n,t){return f(n,t)+"px"};i.extend(u,{version:"2.1.7",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"><\/div><\/div><\/div><\/div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(y?' allowtransparency="true"':"")+"><\/iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.<\/p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"><\/a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span><\/span><\/a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span><\/span><\/a>',loading:'<div id="fancybox-loading"><div><\/div><\/div>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(n,t){if(n)return(i.isPlainObject(t)||(t={}),!1===u.close(!0))?void 0:(i.isArray(n)||(n=a(n)?i(n).get():[n]),i.each(n,function(f,e){var h={},s,p,l,o,v,y,w;i.type(e)==="object"&&(e.nodeType&&(e=i(e)),a(e)?(h={href:e.data("fancybox-href")||e.attr("href"),title:i("<div/>").text(e.data("fancybox-title")||e.attr("title")||"").html(),isDom:!0,element:e},i.metadata&&i.extend(!0,h,e.metadata())):h=e);s=t.href||h.href||(c(e)?e:null);p=t.title!==r?t.title:h.title||"";l=t.content||h.content;o=l?"html":t.type||h.type;!o&&h.isDom&&(o=e.data("fancybox-type"),o||(v=e.prop("class").match(/fancybox\.(\w+)/),o=v?v[1]:null));c(s)&&(o||(u.isImage(s)?o="image":u.isSWF(s)?o="swf":s.charAt(0)==="#"?o="inline":c(e)&&(o="html",l=e)),o==="ajax"&&(y=s.split(/\s+/,2),s=y.shift(),w=y.shift()));l||(o==="inline"?s?l=i(c(s)?s.replace(/.*(?=#[^\s]+$)/,""):s):h.isDom&&(l=e):o==="html"?l=s:o||s||!h.isDom||(o="inline",l=e));i.extend(h,{href:s,type:o,content:l,title:p,selector:w});n[f]=h}),u.opts=i.extend(!0,{},u.defaults,t),t.keys!==r&&(u.opts.keys=t.keys?i.extend({},u.defaults.keys,t.keys):!1),u.group=n,u._start(u.opts.index))},cancel:function(){var n=u.coming;n&&!1===u.trigger("onCancel")||(u.hideLoading(),n)&&(u.ajaxLoad&&u.ajaxLoad.abort(),u.ajaxLoad=null,u.imgPreload&&(u.imgPreload.onload=u.imgPreload.onerror=null),n.wrap&&n.wrap.stop(!0,!0).trigger("onReset").remove(),u.coming=null,u.current||u._afterZoomOut(n))},close:function(n){(u.cancel(),!1!==u.trigger("beforeClose"))&&(u.unbindEvents(),u.isActive)&&(u.isOpen&&n!==!0?(u.isOpen=u.isOpened=!1,u.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),u.wrap.stop(!0,!0).removeClass("fancybox-opened"),u.transitions[u.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),u._afterZoomOut()))},play:function(n){var t=function(){clearTimeout(u.player.timer)},i=function(){t();u.current&&u.player.isActive&&(u.player.timer=setTimeout(u.next,u.current.playSpeed))},r=function(){t();e.unbind(".player");u.player.isActive=!1;u.trigger("onPlayEnd")},f=function(){u.current&&(u.current.loop||u.current.index<u.group.length-1)&&(u.player.isActive=!0,e.bind({"onCancel.player beforeClose.player":r,"onUpdate.player":i,"beforeLoad.player":t}),i(),u.trigger("onPlayStart"))};n!==!0&&(u.player.isActive||n===!1)?r():f()},next:function(n){var t=u.current;t&&(c(n)||(n=t.direction.next),u.jumpto(t.index+1,n,"next"))},prev:function(n){var t=u.current;t&&(c(n)||(n=t.direction.prev),u.jumpto(t.index-1,n,"prev"))},jumpto:function(n,t,i){var e=u.current;e&&(n=f(n),u.direction=t||e.direction[n>=e.index?"next":"prev"],u.router=i||"jumpto",e.loop&&(n<0&&(n=e.group.length+n%e.group.length),n=n%e.group.length),e.group[n]!==r&&(u.cancel(),u._start(n)))},reposition:function(n,t){var f=u.current,e=f?f.wrap:null,r;e&&(r=u._getPosition(t),n&&n.type==="scroll"?(delete r.position,e.stop(!0,!0).animate(r,200)):(e.css(r),f.pos=i.extend({},f.dim,r)))},update:function(n){var t=n&&n.originalEvent&&n.originalEvent.type,i=!t||t==="orientationchange";(i&&(clearTimeout(v),v=null),u.isOpen&&!v)&&(v=setTimeout(function(){var r=u.current;r&&!u.isClosing&&(u.wrap.removeClass("fancybox-tmp"),(i||t==="load"||t==="resize"&&r.autoResize)&&u._setDimension(),t==="scroll"&&r.canShrink||u.reposition(n),u.trigger("onUpdate"),v=null)},i&&!s?0:300))},toggle:function(n){u.isOpen&&(u.current.fitToView=i.type(n)==="boolean"?n:!u.current.fitToView,s&&(u.wrap.removeAttr("style").addClass("fancybox-tmp"),u.trigger("onUpdate")),u.update())},hideLoading:function(){e.unbind(".loading");i("#fancybox-loading").remove()},showLoading:function(){var t,n;u.hideLoading();t=i(u.opts.tpl.loading).click(u.cancel).appendTo("body");e.bind("keydown.loading",function(n){(n.which||n.keyCode)===27&&(n.preventDefault(),u.cancel())});u.defaults.fixed||(n=u.getViewport(),t.css({position:"absolute",top:n.h*.5+n.y,left:n.w*.5+n.x}));u.trigger("onLoading")},getViewport:function(){var i=u.current&&u.current.locked||!1,t={x:o.scrollLeft(),y:o.scrollTop()};return i&&i.length?(t.w=i[0].clientWidth,t.h=i[0].clientHeight):(t.w=s&&n.innerWidth?n.innerWidth:o.width(),t.h=s&&n.innerHeight?n.innerHeight:o.height()),t},unbindEvents:function(){u.wrap&&a(u.wrap)&&u.wrap.unbind(".fb");e.unbind(".fb");o.unbind(".fb")},bindEvents:function(){var n=u.current,t;n&&(o.bind("orientationchange.fb"+(s?"":" resize.fb")+(n.autoCenter&&!n.locked?" scroll.fb":""),u.update),t=n.keys,t&&e.bind("keydown.fb",function(f){var e=f.which||f.keyCode,o=f.target||f.srcElement;if(e===27&&u.coming)return!1;f.ctrlKey||f.altKey||f.shiftKey||f.metaKey||o&&(o.type||i(o).is("[contenteditable]"))||i.each(t,function(t,o){return n.group.length>1&&o[e]!==r?(u[t](o[e]),f.preventDefault(),!1):i.inArray(e,o)>-1?(u[t](),f.preventDefault(),!1):void 0})}),i.fn.mousewheel&&n.mouseWheel&&u.wrap.bind("mousewheel.fb",function(t,r,f,e){for(var h=t.target||null,o=i(h),s=!1;o.length;){if(s||o.is(".fancybox-skin")||o.is(".fancybox-wrap"))break;s=w(o[0]);o=i(o).parent()}r===0||s||u.group.length>1&&!n.canShrink&&(e>0||f>0?u.prev(e>0?"down":"left"):(e<0||f<0)&&u.next(e<0?"up":"right"),t.preventDefault())}))},trigger:function(n,t){var f,r=t||u.coming||u.current;if(r){if(i.isFunction(r[n])&&(f=r[n].apply(r,Array.prototype.slice.call(arguments,1))),f===!1)return!1;r.helpers&&i.each(r.helpers,function(t,f){f&&u.helpers[t]&&i.isFunction(u.helpers[t][n])&&u.helpers[t][n](i.extend(!0,{},u.helpers[t].defaults,f),r)})}e.trigger(n)},isImage:function(n){return c(n)&&n.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(n){return c(n)&&n.match(/\.(swf)((\?|#).*)?$/i)},_start:function(n){var t={},c,l,r,e,o;if(n=f(n),c=u.group[n]||null,!c)return!1;if(t=i.extend(!0,{},u.opts,c),e=t.margin,o=t.padding,i.type(e)==="number"&&(t.margin=[e,e,e,e]),i.type(o)==="number"&&(t.padding=[o,o,o,o]),t.modal&&i.extend(!0,t,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),t.autoSize&&(t.autoWidth=t.autoHeight=!0),t.width==="auto"&&(t.autoWidth=!0),t.height==="auto"&&(t.autoHeight=!0),t.group=u.group,t.index=n,u.coming=t,!1===u.trigger("beforeLoad")){u.coming=null;return}if(r=t.type,l=t.href,!r)return(u.coming=null,u.current&&u.router&&u.router!=="jumpto")?(u.current.index=n,u[u.router](u.direction)):!1;if(u.isActive=!0,(r==="image"||r==="swf")&&(t.autoHeight=t.autoWidth=!1,t.scrolling="visible"),r==="image"&&(t.aspectRatio=!0),r==="iframe"&&s&&(t.scrolling="scroll"),t.wrap=i(t.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+r+" fancybox-tmp "+t.wrapCSS).appendTo(t.parent||"body"),i.extend(t,{skin:i(".fancybox-skin",t.wrap),outer:i(".fancybox-outer",t.wrap),inner:i(".fancybox-inner",t.wrap)}),i.each(["Top","Right","Bottom","Left"],function(n,i){t.skin.css("padding"+i,h(t.padding[n]))}),u.trigger("onReady"),r==="inline"||r==="html"){if(!t.content||!t.content.length)return u._error("content")}else if(!l)return u._error("href");r==="image"?u._loadImage():r==="ajax"?u._loadAjax():r==="iframe"?u._loadIframe():u._afterLoad()},_error:function(n){i.extend(u.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:n,content:u.coming.tpl.error});u._afterLoad()},_loadImage:function(){var n=u.imgPreload=new Image;n.onload=function(){this.onload=this.onerror=null;u.coming.width=this.width/u.opts.pixelRatio;u.coming.height=this.height/u.opts.pixelRatio;u._afterLoad()};n.onerror=function(){this.onload=this.onerror=null;u._error("image")};n.src=u.coming.href;n.complete!==!0&&u.showLoading()},_loadAjax:function(){var n=u.coming;u.showLoading();u.ajaxLoad=i.ajax(i.extend({},n.ajax,{url:n.href,error:function(n,t){u.coming&&t!=="abort"?u._error("ajax",n):u.hideLoading()},success:function(t,i){i==="success"&&(n.content=t,u._afterLoad())}}))},_loadIframe:function(){var n=u.coming,t=i(n.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":n.iframe.scrolling).attr("src",n.href);if(i(n.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(n){}}),n.iframe.preload){u.showLoading();t.one("load",function(){i(this).data("ready",1);s||i(this).bind("load.fb",u.update);i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();u._afterLoad()})}n.content=t.appendTo(n.inner);n.iframe.preload||u._afterLoad()},_preloadImages:function(){for(var r=u.group,i=u.current,f=r.length,e=i.preload?Math.min(i.preload,f-1):0,n,t=1;t<=e;t+=1)n=r[(i.index+t)%f],n.type==="image"&&n.href&&((new Image).src=n.href)},_afterLoad:function(){var r=u.coming,f=u.current,e="fancybox-placeholder",t,n,c,o,s,h;if(u.hideLoading(),r&&u.isActive!==!1){if(!1===u.trigger("afterLoad",r,f)){r.wrap.stop(!0).trigger("onReset").remove();u.coming=null;return}f&&(u.trigger("beforeChange",f),f.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());u.unbindEvents();t=r;n=r.content;c=r.type;o=r.scrolling;i.extend(u,{wrap:t.wrap,skin:t.skin,outer:t.outer,inner:t.inner,current:t,previous:f});s=t.href;switch(c){case"inline":case"ajax":case"html":t.selector?n=i("<div>").html(n).find(t.selector):a(n)&&(n.data(e)||n.data(e,i('<div class="'+e+'"><\/div>').insertAfter(n).hide()),n=n.show().detach(),t.wrap.bind("onReset",function(){i(this).find(n).length&&n.hide().replaceAll(n.data(e)).data(e,!1)}));break;case"image":n=t.tpl.image.replace(/\{href\}/g,s);break;case"swf":n='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+s+'"><\/param>';h="";i.each(t.swf,function(t,i){n+='<param name="'+t+'" value="'+i+'"><\/param>';h+=" "+t+'="'+i+'"'});n+='<embed src="'+s+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"><\/embed><\/object>"}a(n)&&n.parent().is(t.inner)||t.inner.append(n);u.trigger("beforeShow");t.inner.css("overflow",o==="yes"?"scroll":o==="no"?"hidden":o);u._setDimension();u.reposition();u.isOpen=!1;u.coming=null;u.bindEvents();u.isOpened?f.prevMethod&&u.transitions[f.prevMethod]():i(".fancybox-wrap").not(t.wrap).stop(!0).trigger("onReset").remove();u.transitions[u.isOpened?t.nextMethod:t.openMethod]();u._preloadImages()}},_setDimension:function(){var nt=u.getViewport(),wt=0,vt=!1,st=!1,v=u.wrap,k=u.skin,e=u.inner,r=u.current,n=r.width,t=r.height,o=r.minWidth,s=r.minHeight,c=r.maxWidth,a=r.maxHeight,bt=r.scrolling,ft=r.scrollOutside?r.scrollbarWidth:0,et=r.margin,yt=f(et[1]+et[3]),pt=f(et[0]+et[2]),d,ht,it,rt,p,y,ct,lt,w,g,b,ut,ot,tt,at;if(v.add(k).add(e).width("auto").height("auto").removeClass("fancybox-tmp"),d=f(k.outerWidth(!0)-k.width()),ht=f(k.outerHeight(!0)-k.height()),it=yt+d,rt=pt+ht,p=l(n)?(nt.w-it)*f(n)/100:n,y=l(t)?(nt.h-rt)*f(t)/100:t,r.type==="iframe"){if(tt=r.content,r.autoHeight&&tt&&tt.data("ready")===1)try{tt[0].contentWindow.document.location&&(e.width(p).height(9999),at=tt.contents().find("body"),ft&&at.css("overflow-x","hidden"),y=at.outerHeight(!0))}catch(kt){}}else(r.autoWidth||r.autoHeight)&&(e.addClass("fancybox-tmp"),r.autoWidth||e.width(p),r.autoHeight||e.height(y),r.autoWidth&&(p=e.width()),r.autoHeight&&(y=e.height()),e.removeClass("fancybox-tmp"));if(n=f(p),t=f(y),w=p/y,o=f(l(o)?f(o,"w")-it:o),c=f(l(c)?f(c,"w")-it:c),s=f(l(s)?f(s,"h")-rt:s),a=f(l(a)?f(a,"h")-rt:a),ct=c,lt=a,r.fitToView&&(c=Math.min(nt.w-it,c),a=Math.min(nt.h-rt,a)),ut=nt.w-yt,ot=nt.h-pt,r.aspectRatio?(n>c&&(n=c,t=f(n/w)),t>a&&(t=a,n=f(t*w)),n<o&&(n=o,t=f(n/w)),t<s&&(t=s,n=f(t*w))):(n=Math.max(o,Math.min(n,c)),r.autoHeight&&r.type!=="iframe"&&(e.width(n),t=e.height()),t=Math.max(s,Math.min(t,a))),r.fitToView)if(e.width(n).height(t),v.width(n+d),g=v.width(),b=v.height(),r.aspectRatio)while((g>ut||b>ot)&&n>o&&t>s){if(wt++>19)break;t=Math.max(s,Math.min(a,t-10));n=f(t*w);n<o&&(n=o,t=f(n/w));n>c&&(n=c,t=f(n/w));e.width(n).height(t);v.width(n+d);g=v.width();b=v.height()}else n=Math.max(o,Math.min(n,n-(g-ut))),t=Math.max(s,Math.min(t,t-(b-ot)));ft&&bt==="auto"&&t<y&&n+d+ft<ut&&(n+=ft);e.width(n).height(t);v.width(n+d);g=v.width();b=v.height();vt=(g>ut||b>ot)&&n>o&&t>s;st=r.aspectRatio?n<ct&&t<lt&&n<p&&t<y:(n<ct||t<lt)&&(n<p||t<y);i.extend(r,{dim:{width:h(g),height:h(b)},origWidth:p,origHeight:y,canShrink:vt,canExpand:st,wPadding:d,hPadding:ht,wrapSpace:b-k.outerHeight(!0),skinSpace:k.height()-t});!tt&&r.autoHeight&&t>s&&t<a&&!st&&e.height("auto")},_getPosition:function(n){var i=u.current,r=u.getViewport(),f=i.margin,e=u.wrap.width()+f[1]+f[3],o=u.wrap.height()+f[0]+f[2],t={position:"absolute",top:f[0],left:f[3]};return i.autoCenter&&i.fixed&&!n&&o<=r.h&&e<=r.w?t.position="fixed":i.locked||(t.top+=r.y,t.left+=r.x),t.top=h(Math.max(t.top,t.top+(r.h-o)*i.topRatio)),t.left=h(Math.max(t.left,t.left+(r.w-e)*i.leftRatio)),t},_afterZoomIn:function(){var n=u.current;n&&(u.isOpen=u.isOpened=!0,u.wrap.css("overflow","visible").addClass("fancybox-opened").hide().show(0),u.update(),(n.closeClick||n.nextClick&&u.group.length>1)&&u.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||(t.preventDefault(),u[n.closeClick?"close":"next"]())}),n.closeBtn&&i(n.tpl.closeBtn).appendTo(u.skin).bind("click.fb",function(n){n.preventDefault();u.close()}),n.arrows&&u.group.length>1&&((n.loop||n.index>0)&&i(n.tpl.prev).appendTo(u.outer).bind("click.fb",u.prev),(n.loop||n.index<u.group.length-1)&&i(n.tpl.next).appendTo(u.outer).bind("click.fb",u.next)),u.trigger("afterShow"),n.loop||n.index!==n.group.length-1?u.opts.autoPlay&&!u.player.isActive&&(u.opts.autoPlay=!1,u.play(!0)):u.play(!1))},_afterZoomOut:function(n){n=n||u.current;i(".fancybox-wrap").trigger("onReset").remove();i.extend(u,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});u.trigger("afterClose",n)}});u.transitions={getOrigPosition:function(){var n=u.current,f=n.element,t=n.orig,i={},e=50,o=50,s=n.hPadding,c=n.wPadding,r=u.getViewport();return!t&&n.isDom&&f.is(":visible")&&(t=f.find("img:first"),t.length||(t=f)),a(t)?(i=t.offset(),t.is("img")&&(e=t.outerWidth(),o=t.outerHeight())):(i.top=r.y+(r.h-o)*n.topRatio,i.left=r.x+(r.w-e)*n.leftRatio),(u.wrap.css("position")==="fixed"||n.locked)&&(i.top-=r.y,i.left-=r.x),{top:h(i.top-s*n.topRatio),left:h(i.left-c*n.leftRatio),width:h(e+c),height:h(o+s)}},step:function(n,t){var r,s,e,i=t.prop,o=u.current,h=o.wrapSpace,c=o.skinSpace;(i==="width"||i==="height")&&(r=t.end===t.start?1:(n-t.start)/(t.end-t.start),u.isClosing&&(r=1-r),s=i==="width"?o.wPadding:o.hPadding,e=n-s,u.skin[i](f(i==="width"?e:e-h*r)),u.inner[i](f(i==="width"?e:e-h*r-c*r)))},zoomIn:function(){var n=u.current,t=n.pos,r=n.openEffect,f=r==="elastic",e=i.extend({opacity:1},t);delete e.position;f?(t=this.getOrigPosition(),n.openOpacity&&(t.opacity=.1)):r==="fade"&&(t.opacity=.1);u.wrap.css(t).animate(e,{duration:r==="none"?0:n.openSpeed,easing:n.openEasing,step:f?this.step:null,complete:u._afterZoomIn})},zoomOut:function(){var n=u.current,i=n.closeEffect,r=i==="elastic",t={opacity:.1};r&&(t=this.getOrigPosition(),n.closeOpacity&&(t.opacity=.1));u.wrap.animate(t,{duration:i==="none"?0:n.closeSpeed,easing:n.closeEasing,step:r?this.step:null,complete:u._afterZoomOut})},changeIn:function(){var i=u.current,s=i.nextEffect,t=i.pos,o={opacity:1},r=u.direction,e=200,n;t.opacity=.1;s==="elastic"&&(n=r==="down"||r==="up"?"top":"left",r==="down"||r==="right"?(t[n]=h(f(t[n])-e),o[n]="+="+e+"px"):(t[n]=h(f(t[n])+e),o[n]="-="+e+"px"));s==="none"?u._afterZoomIn():u.wrap.css(t).animate(o,{duration:i.nextSpeed,easing:i.nextEasing,complete:u._afterZoomIn})},changeOut:function(){var n=u.previous,r=n.prevEffect,f={opacity:.1},t=u.direction;r==="elastic"&&(f[t==="down"||t==="up"?"top":"left"]=(t==="up"||t==="left"?"-":"+")+"=200px");n.wrap.animate(f,{duration:r==="none"?0:n.prevSpeed,easing:n.prevEasing,complete:function(){i(this).trigger("onReset").remove()}})}};u.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,el:i("html"),create:function(n){var t;n=i.extend({},this.defaults,n);this.overlay&&this.close();t=u.coming?u.coming.parent:n.parent;this.overlay=i('<div class="fancybox-overlay"><\/div>').appendTo(t&&t.length?t:"body");this.fixed=!1;n.fixed&&u.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(n){var t=this;n=i.extend({},this.defaults,n);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(n);this.fixed||(o.bind("resize.overlay",i.proxy(this.update,this)),this.update());n.closeClick&&this.overlay.bind("click.overlay",function(n){if(i(n.target).hasClass("fancybox-overlay"))return u.isActive?u.close():t.close(),!1});this.overlay.css(n.css).show()},close:function(){o.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(i(".fancybox-margin").removeClass("fancybox-margin"),this.el.removeClass("fancybox-lock"),o.scrollTop(this.scrollV).scrollLeft(this.scrollH));i(".fancybox-overlay").remove().hide();i.extend(this,{overlay:null,fixed:!1})},update:function(){var n="100%",i;this.overlay.width(n).height("100%");y?(i=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),e.width()>i&&(n=e.width())):e.width()>o.width()&&(n=e.width());this.overlay.width(n).height(e.height())},onReady:function(n,t){var r=this.overlay;i(".fancybox-overlay").stop(!0,!0);r||this.create(n);n.locked&&this.fixed&&t.fixed&&(t.locked=this.overlay.append(t.wrap),t.fixed=!1);n.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(n,t){t.locked&&!this.el.hasClass("fancybox-lock")&&(this.fixPosition!==!1&&i("*:not(object)").filter(function(){return i(this).css("position")==="fixed"&&!i(this).hasClass("fancybox-overlay")&&!i(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin"),this.scrollV=o.scrollTop(),this.scrollH=o.scrollLeft(),this.el.addClass("fancybox-lock"),o.scrollTop(this.scrollV).scrollLeft(this.scrollH));this.open(n)},onUpdate:function(){this.fixed||this.update()},afterClose:function(n){this.overlay&&!u.coming&&this.overlay.fadeOut(n.speedOut,i.proxy(this.close,this))}};u.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(n){var o=u.current,r=o.title,s=n.type,t,e;if(i.isFunction(r)&&(r=r.call(o.element,o)),c(r)&&i.trim(r)!==""){t=i('<div class="fancybox-title fancybox-title-'+s+'-wrap">'+r+"<\/div>");switch(s){case"inside":e=u.skin;break;case"outside":e=u.wrap;break;case"over":e=u.inner;break;default:e=u.skin;t.appendTo("body");y&&t.width(t.width());t.wrapInner('<span class="child"><\/span>');u.current.margin[2]+=Math.abs(f(t.css("margin-bottom")))}t[n.position==="top"?"prependTo":"appendTo"](e)}}};i.fn.fancybox=function(n){var r,f=i(this),t=this.selector||"",o=function(e){var o=i(this).blur(),c=r,h,s;e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||o.is(".fancybox-wrap")||(h=n.groupAttr||"data-fancybox-group",s=o.attr(h),s||(h="rel",s=o.get(0)[h]),s&&s!==""&&s!=="nofollow"&&(o=t.length?i(t):f,o=o.filter("["+h+'="'+s+'"]'),c=o.index(this)),n.index=c,u.open(o,n)!==!1&&e.preventDefault())};return n=n||{},r=n.index||0,t&&n.live!==!1?e.undelegate(t,"click.fb-start").delegate(t+":not('.fancybox-item, .fancybox-nav')","click.fb-start",o):f.unbind("click.fb-start").bind("click.fb-start",o),this.filter("[data-fancybox-start=1]").trigger("click"),this};e.ready(function(){var t,f;i.scrollbarWidth===r&&(i.scrollbarWidth=function(){var n=i('<div style="width:50px;height:50px;overflow:auto"><div/><\/div>').appendTo("body"),t=n.children(),r=t.innerWidth()-t.height(99).innerWidth();return n.remove(),r});i.support.fixedPosition===r&&(i.support.fixedPosition=function(){var n=i('<div style="position:fixed;top:20px;"><\/div>').appendTo("body"),t=n[0].offsetTop===20||n[0].offsetTop===15;return n.remove(),t}());i.extend(u.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")});t=i(n).width();p.addClass("fancybox-lock-test");f=i(n).width();p.removeClass("fancybox-lock-test");i("<style type='text/css'>.fancybox-margin{margin-right:"+(f-t)+"px;}<\/style>").appendTo("head")})}(window,document,jQuery);$(document).ready(function(){var n=new Waypoint.Sticky({element:$(".sticky-header")[0]});$(".menu-button").click(function(n){n.preventDefault();$("nav").fadeToggle("fast");$(".menu-button").toggleClass("is-active");$("body").toggleClass("menu-active")});$(".scroll-icon").click(function(n){n.preventDefault();var t=$(".intro-section").offset().top-100;$("html, body").animate({scrollTop:t},1e3)});$(".image-carousel").slick({dots:!1,autoplay:!0,autoplaySpeed:3e3});$(".brand-carousel").slick({infinite:!0,slidesToShow:3,slidesToScroll:3,dots:!1,autoplay:!0,autoplaySpeed:2e3,responsive:[{breakpoint:769,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]});$(".fancybox").fancybox({maxWidth:800,maxHeight:600,fitToView:!1,width:"90%",height:"90%",autoSize:!0,closeClick:!0,openEffect:"none",closeEffect:"none"});$(document).on("submit","#contactus",function(n){n.preventDefault();var t=$(this);t.find(".button").addClass("hide");t.find(".js-loading").removeClass("hide");$.ajax({type:"POST",url:"/umbraco/surface/contactus/postform",data:t.serialize(),success:function(n){n.success?t.parent().html(n.html):n.message?t.parent().html(n.message):t.parent().html(n.html);t.find(".js-loading").addClass("hide");t.find(".button").removeClass("hide")}}).always(function(){})});$(document).on("change","#FormQueryType",function(){$("#FormQueryTypeHidden").val($("#FormQueryType option:selected").text())})})