text: /*!
   * MediaElement.js
   * http://www.mediaelementjs.com/
   *
   * Wrapper that mimics native HTML5 MediaElement (audio and video)
   * using a variety of technologies (pure JavaScript, Flash, iframe)
   *
   * Copyright 2010-2017, John Dyer (http://j.hn/)
   * License: MIT
   *
   */
  !function e(t,i,s){function l(n,o){if(!i[n]){if(!t[n]){var r="function"==typeof require&&require;if(!o&&r)return r(n,!0);if(a)return a(n,!0);var u=new Error("Cannot find module '"+n+"'");throw u.code="MODULE_NOT_FOUND",u}var c=i[n]={exports:{}};t[n][0].call(c.exports,function(e){var i=t[n][1][e];return l(i||e)},c,c.exports,e,t,i,s)}return i[n].exports}for(var a="function"==typeof require&&require,n=0;n<s.length;n++)l(s[n]);return l}({1:[function(e,t,i){"use strict";mejs.i18n.en["mejs.quality-chooser"]="Quality Chooser",Object.assign(mejs.MepDefaults,{defaultQuality:"auto",qualityText:null}),Object.assign(MediaElementPlayer.prototype,{buildquality:function(e,t,i,s){for(var l=this,a=[],n=l.mediaFiles?l.mediaFiles:l.node.children,o=0,r=n.length;o<r;o++){var u=n[o];l.mediaFiles?a.push(u):"SOURCE"===u.nodeName&&a.push(u)}if(!(a.length<=1)){l.cleanquality(e);var c=mejs.Utils.isString(l.options.qualityText)?l.options.qualityText:mejs.i18n.t("mejs.quality-quality"),f=function(e){var t=void 0;if("auto"===e){var i=a[0];t=i instanceof HTMLElement?i.getAttribute("data-quality"):i["data-quality"]}else t=e;return t},d=f(l.options.defaultQuality);e.qualitiesButton=document.createElement("div"),e.qualitiesButton.className=l.options.classPrefix+"button "+l.options.classPrefix+"qualities-button",e.qualitiesButton.innerHTML='<button type="button" aria-controls="'+l.id+'" title="'+c+'" aria-label="'+c+'" tabindex="0">'+d+'</button><div class="'+l.options.classPrefix+"qualities-selector "+l.options.classPrefix+'offscreen"><ul class="'+l.options.classPrefix+'qualities-selector-list"></ul></div>',l.addControlElement(e.qualitiesButton,"qualities");for(var q=0,p=a.length;q<p;q++){var v=a[q],m=v instanceof HTMLElement?v.getAttribute("data-quality"):v["data-quality"],y=l.id+"-qualities-"+m;e.qualitiesButton.querySelector("ul").innerHTML+='<li class="'+l.options.classPrefix+'qualities-selector-list-item"><input class="'+l.options.classPrefix+'qualities-selector-input" type="radio" name="'+l.id+'_qualities"disabled="disabled" value="'+m+'" id="'+y+'"  '+(m===d?' checked="checked"':"")+'/><label for="'+y+'" class="'+l.options.classPrefix+"qualities-selector-label"+(m===d?" "+l.options.classPrefix+"qualities-selected":"")+'">'+(v.title||m)+"</label></li>"}for(var h=["mouseenter","focusin"],x=["mouseleave","focusout"],g=e.qualitiesButton.querySelectorAll('input[type="radio"]'),b=e.qualitiesButton.querySelectorAll("."+l.options.classPrefix+"qualities-selector-label"),E=e.qualitiesButton.querySelector("."+l.options.classPrefix+"qualities-selector"),P=0,j=h.length;P<j;P++)e.qualitiesButton.addEventListener(h[P],function(){mejs.Utils.removeClass(E,l.options.classPrefix+"offscreen"),E.style.height=E.querySelector("ul").offsetHeight+"px",E.style.top=-1*parseFloat(E.offsetHeight)+"px"});for(var B=0,L=x.length;B<L;B++)e.qualitiesButton.addEventListener(x[B],function(){mejs.Utils.addClass(E,l.options.classPrefix+"offscreen")});for(var U=0,T=g.length;U<T;U++){var C=g[U];C.disabled=!1,C.addEventListener("click",function(){for(var t=this,i=t.value,n=e.qualitiesButton.querySelectorAll("."+l.options.classPrefix+"qualities-selected"),o=0,r=n.length;o<r;o++)mejs.Utils.removeClass(n[o],l.options.classPrefix+"qualities-selected");t.checked=!0;for(var u=mejs.Utils.siblings(t,function(e){return mejs.Utils.hasClass(e,l.options.classPrefix+"qualities-selector-label")}),c=0,d=u.length;c<d;c++)mejs.Utils.addClass(u[c],l.options.classPrefix+"qualities-selected");for(var q=s.currentTime,p=s.paused,v=function e(){p||(s.setCurrentTime(q),s.play()),s.removeEventListener("canplay",e)},m=0,y=a.length;m<y;m++){var h=a[m];(h instanceof HTMLElement?h.getAttribute("data-quality"):h["data-quality"])===i&&(e.qualitiesButton.querySelector("button").innerHTML=h.title||f(i),s.pause(),s.setSrc(h.src),s.load(),s.dispatchEvent(mejs.Utils.createEvent("seeking",s)),s.addEventListener("canplay",v))}})}for(var S=0,M=b.length;S<M;S++)b[S].addEventListener("click",function(){var e=mejs.Utils.siblings(this,function(e){return"INPUT"===e.tagName})[0],t=mejs.Utils.createEvent("click",e);e.dispatchEvent(t)});E.addEventListener("keydown",function(e){e.stopPropagation()})}},cleanquality:function(e){e&&e.qualitiesButton&&e.qualitiesButton.remove()}})},{}]},{},[1]);