webpackJsonp([0],{"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(t,e,n){var i=n("lOnJ");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"+tPU":function(t,e,n){n("xGkn");for(var i=n("7KvD"),r=n("hJx8"),s=n("/bQp"),a=n("dSzd")("toStringTag"),o="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}(s.path||""),h=e&&e.path||"/",d=l.path?B(l.path,h,n||s.append):h,f=function(t,e,n){void 0===e&&(e={});var i,r=n||A;try{i=r(t||"")}catch(t){i={}}for(var s in e){var a=e[s];i[s]=Array.isArray(a)?a.map(c):c(a)}return i}(l.query,s.query,i&&i.options.parseQuery),p=s.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:d,query:f,hash:p}}var V,z=[String,Object],$=[String,Array],W=function(){},G={name:"RouterLink",props:{to:{type:z,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:$,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,s=n.resolve(this.to,i,this.append),a=s.location,o=s.route,u=s.href,l={},c=n.options.linkActiveClass,A=n.options.linkExactActiveClass,h=null==c?"router-link-active":c,p=null==A?"router-link-exact-active":A,g=null==this.activeClass?h:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,y=o.redirectedFrom?f(null,j(o.redirectedFrom),null,n):o;l[m]=v(i,y,this.exactPath),l[g]=this.exact||this.exactPath?l[m]:function(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,y);var b=l[m]?this.ariaCurrentValue:null,_=function(t){X(t)&&(e.replace?n.replace(a,W):n.push(a,W))},w={click:X};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=_}):w[this.event]=_;var B={class:l},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:o,navigate:_,isActive:l[g],isExactActive:l[m]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)B.on=w,B.attrs={href:u,"aria-current":b};else{var T=function t(e){if(e)for(var n,i=0;i-1&&(o.params[h]=n.params[h]);return o.path=K(c.path,o.params),u(c,o,a)}if(o.path){o.params={};for(var d=0;d=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function wt(t,e){return Ct(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Tt.forEach(function(n){n in t&&(e[n]=t[n])}),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Bt(t,e){return Ct(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ct(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var Tt=["params","query","hash"];function Et(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function St(t,e){return Et(t)&&t._isRouter&&(null==e||t.type===e)}function kt(t){return function(e,n,i){var r=!1,s=0,a=null;xt(t,function(t,e,n,o){if("function"==typeof t&&void 0===t.cid){r=!0,s++;var u,l=Ft(function(e){var r;((r=e).__esModule||It&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:V.extend(e),n.components[o]=e,--s<=0&&i()}),c=Ft(function(t){var e="Failed to resolve async component "+o+": "+t;a||(a=Et(t)?t:new Error(e),i(a))});try{u=t(l,c)}catch(t){c(t)}if(u)if("function"==typeof u.then)u.then(l,c);else{var A=u.component;A&&"function"==typeof A.then&&A.then(l,c)}}}),r||i()}}function xt(t,e){return Ut(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Ut(t){return Array.prototype.concat.apply([],t)}var It="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Ft(t){var e=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var Ot=function(t,e){this.router=t,this.base=function(t){if(!t)if(Y){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Qt(t,e,n,i){var r=xt(t,function(t,i,r,s){var a=function(t,e){"function"!=typeof t&&(t=V.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,i,r,s)}):n(a,i,r,s)});return Ut(i?r.reverse():r)}function Nt(t,e){if(e)return function(){return t.apply(e,arguments)}}Ot.prototype.listen=function(t){this.cb=t},Ot.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ot.prototype.onError=function(t){this.errorCbs.push(t)},Ot.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(e){e(t)}),t}var s=this.current;this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach(function(t){t&&t(i,s)}),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(St(t,_t.redirected)&&s===g||(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)})))})},Ot.prototype.confirmTransition=function(t,e,n){var r=this,s=this.current;this.pending=t;var a,o,u=function(t){!St(t)&&Et(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):(i(),console.error(t))),n&&n(t)},l=t.matched.length-1,c=s.matched.length-1;if(v(t,s)&&l===c&&t.matched[l]===s.matched[c])return this.ensureURL(),u(((o=Ct(a=s,t,_t.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",o));var A=function(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,i=mt&&n;i&&this.listeners.push(ot());var r=function(){var n=t.current,r=Dt(t.base);t.current===g&&r===t._startLocation||t.transitionTo(r,function(t){i&&ut(e,t,n,!0)})};window.addEventListener("popstate",r),this.listeners.push(function(){window.removeEventListener("popstate",r)})}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){vt(C(i.base+t.fullPath)),ut(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){yt(C(i.base+t.fullPath)),ut(i.router,t,r,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Dt(this.base)!==this.current.fullPath){var e=C(this.base+this.current.fullPath);t?vt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Dt(this.base)},e}(Ot);function Dt(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Pt=function(t){function e(e,n,i){t.call(this,e,n),i&&function(t){var e=Dt(t);if(!/^\/#/.test(e))return window.location.replace(C(t+"/#"+e)),!0}(this.base)||Rt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=mt&&e;n&&this.listeners.push(ot());var i=function(){var e=t.current;Rt()&&t.transitionTo(Ht(),function(i){n&&ut(t.router,i,e,!0),mt||jt(i.fullPath)})},r=mt?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push(function(){window.removeEventListener(r,i)})}},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){Kt(t.fullPath),ut(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){jt(t.fullPath),ut(i.router,t,r,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ht()!==e&&(t?Kt(e):jt(e))},e.prototype.getCurrentLocation=function(){return Ht()},e}(Ot);function Rt(){var t=Ht();return"/"===t.charAt(0)||(jt("/"+t),!1)}function Ht(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Mt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Kt(t){mt?vt(Mt(t)):window.location.hash=t}function jt(t){mt?yt(Mt(t)):window.location.replace(Mt(t))}var Vt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach(function(e){e&&e(i,t)})},function(t){St(t,_t.duplicated)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ot),zt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!mt&&!1!==t.fallback,this.fallback&&(e="hash"),Y||(e="abstract"),this.mode=e,e){case"history":this.history=new Lt(this,t.base);break;case"hash":this.history=new Pt(this,t.base,this.fallback);break;case"abstract":this.history=new Vt(this,t.base);break;default:0}},$t={currentRoute:{configurable:!0}};function Wt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}zt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},$t.currentRoute.get=function(){return this.history&&this.history.current},zt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof Lt||n instanceof Pt){var i=function(t){n.setupListeners(),function(t){var i=n.current,r=e.options.scrollBehavior;mt&&r&&"fullPath"in t&&ut(e,t,i,!1)}(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},zt.prototype.beforeEach=function(t){return Wt(this.beforeHooks,t)},zt.prototype.beforeResolve=function(t){return Wt(this.resolveHooks,t)},zt.prototype.afterEach=function(t){return Wt(this.afterHooks,t)},zt.prototype.onReady=function(t,e){this.history.onReady(t,e)},zt.prototype.onError=function(t){this.history.onError(t)},zt.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.push(t,e,n)});this.history.push(t,e,n)},zt.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.replace(t,e,n)});this.history.replace(t,e,n)},zt.prototype.go=function(t){this.history.go(t)},zt.prototype.back=function(){this.go(-1)},zt.prototype.forward=function(){this.go(1)},zt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},zt.prototype.resolve=function(t,e,n){var i=j(t,e=e||this.history.current,n,this),r=this.match(i,e),s=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(t,e,n){var i="hash"===n?"#"+e:e;return t?C(t+"/"+i):i}(this.history.base,s,this.mode),normalizedTo:i,resolved:r}},zt.prototype.getRoutes=function(){return this.matcher.getRoutes()},zt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},zt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(zt.prototype,$t),zt.install=q,zt.version="3.5.1",zt.isNavigationFailure=St,zt.NavigationFailureType=_t,zt.START_LOCATION=g,Y&&window.Vue&&window.Vue.use(zt),e.a=zt},"21It":function(t,e,n){"use strict";var i=n("FtD3");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"2IcF":function(t,e){e.entityMap={lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},"2KxR":function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},"3Eo+":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"3X7g":function(t,e,n){"use strict";(function(t){e.c=u,e.b=function(t){u(function(){u(t)})},e.a=function(t){o.call(s,t)};var i=n("o69Z"),r=Date.now();var s=i.j?t:window,a=s.requestAnimationFrame||function(t){var e=Date.now(),n=Math.max(0,16-(e-r)),i=setTimeout(t,n);return r=e+n,i},o=s.cancelAnimationFrame||s.clearTimeout;function u(t){return a.call(s,t)}}).call(e,n("DuR2"))},"3fs2":function(t,e,n){var i=n("RY/4"),r=n("dSzd")("iterator"),s=n("/bQp");t.exports=n("FeBl").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||s[i(t)]}},"4PMK":function(t,e,n){"use strict";e.a=function(t){if(!Object(r.e)(t))return;return t=String(t),Object(s.b)(t)?t+"px":t},e.b=function(t){if("number"==typeof t)return t;if(r.d){if(-1!==t.indexOf("rem"))return function(t){return+(t=t.replace(/rem/g,""))*function(){if(!i){var t=document.documentElement,e=t.style.fontSize||window.getComputedStyle(t).fontSize;i=parseFloat(e)}return i}()}(t);if(-1!==t.indexOf("vw"))return function(t){return+(t=t.replace(/vw/g,""))*window.innerWidth/100}(t);if(-1!==t.indexOf("vh"))return function(t){return+(t=t.replace(/vh/g,""))*window.innerHeight/100}(t)}return parseFloat(t)};var i,r=n("o69Z"),s=n("mRXp")},"4mcu":function(t,e){t.exports=function(){}},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"5VQ+":function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e){i.forEach(t,function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])})}},"63pp":function(t,e,n){"use strict";var i,r,s,a=n("awF4"),o=n.n(a),u=n("dwO+"),l=n.n(u),c=n("lt8z"),A=n.n(c),h=n("M1I4"),d=n.n(h),f=n("86MP"),p=n.n(f),g=n("I/+Z"),m=n.n(g),v=n("ljAp"),y=n.n(v),b=n("OWA6"),_=n.n(b),w=n("ciWi"),B=n.n(w),C=n("kx0S"),T=n.n(C),E=n("j/rp"),S=n.n(E),k=n("fx5k"),x=n.n(k),U=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o.a.location&&o.a.location.href||"");var n="function"==typeof o.a.URL,i=/^\/\//.test(t),r=!o.a.location&&!/\/\//i.test(t);if(n?t=new o.a.URL(t,o.a.location||"http://example.com"):/\/\//i.test(t)||(t=x.a.buildAbsoluteURL(o.a.location&&o.a.location.href||"",t)),n){var s=new URL(e,t);return r?s.href.slice("http://example.com".length):i?s.href.slice(s.protocol.length):s.href}return x.a.buildAbsoluteURL(t,e)},I=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var n=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(n,1),n>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var n=e.length,i=0;i-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(I),Q=String.fromCharCode(9),N=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),n={};return e[1]&&(n.length=parseInt(e[1],10)),e[2]&&(n.offset=parseInt(e[2],10)),n},L=function(t){for(var e,n=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),i={},r=n.length;r--;)""!==n[r]&&((e=/([^=]*)=(.*)/.exec(n[r]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),i[e[0]]=e[1]);return i},D=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}p()(e,t);var n=e.prototype;return n.push=function(t){var e,n,i=this;0!==(t=t.trim()).length&&("#"===t[0]?this.tagMappers.reduce(function(e,n){var i=n(t);return i===t?e:e.concat([i])},[t]).forEach(function(t){for(var r=0;r0&&(a.duration=t.duration),0===t.duration&&(a.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=s},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:Object(F.a)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),i={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(i.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else i=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,l=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){n={},t.uri&&(n.uri=t.uri),t.byterange&&(n.byterange=t.byterange),i&&(n.key=i)},"stream-inf":function(){this.manifest.playlists=s,this.manifest.mediaGroups=this.manifest.mediaGroups||u,t.attributes?(a.attributes||(a.attributes={}),A()(a.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||u,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var n=this.manifest.mediaGroups[t.attributes.TYPE];n[t.attributes["GROUP-ID"]]=n[t.attributes["GROUP-ID"]]||{},e=n[t.attributes["GROUP-ID"]],(d={default:/yes/i.test(t.attributes.DEFAULT)}).default?d.autoselect=!0:d.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(d.language=t.attributes.LANGUAGE),t.attributes.URI&&(d.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(d.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(d.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(d.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=d}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){l+=1,a.discontinuity=!0,this.manifest.discontinuityStarts.push(s.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),a.dateTimeString=t.dateTimeString,a.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,R.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){a.cueOut=t.data},"cue-out-cont":function(){a.cueOutCont=t.data},"cue-in":function(){a.cueIn=t.data},skip:function(){this.manifest.skip=P(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;o=!0;var n=this.manifest.segments.length,i=P(t.attributes);a.parts=a.parts||[],a.parts.push(i),i.byterange&&(i.byterange.hasOwnProperty("offset")||(i.byterange.offset=h),h=i.byterange.offset+i.byterange.length);var r=a.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+r+" for segment #"+n,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(function(t,n){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+n+" lacks required attribute(s): LAST-PART"})})},"server-control":function(){var e=this.manifest.serverControl=P(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),R.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,n=P(t.attributes),i=n.type&&"PART"===n.type;a.preloadHints=a.preloadHints||[],a.preloadHints.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=i?h:0,i&&(h=n.byterange.offset+n.byterange.length)));var r=a.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+r+" for segment #"+e,t.attributes,["TYPE","URI"]),n.type)for(var s=0;s=0&&(f.minimumUpdatePeriod=1e3*l),e&&(f.locations=e),"dynamic"===o&&(f.suggestedPresentationDelay=u);var p=0===f.playlists.length;return A.length&&(f.mediaGroups.AUDIO.audio=function(t,e,n){var i;void 0===e&&(e={}),void 0===n&&(n=!1);var r=t.reduce(function(t,r){var s=r.attributes.role&&r.attributes.role.value||"",a=r.attributes.lang||"",o=r.attributes.label||"main";if(a&&!r.attributes.label){var u=s?" ("+s+")":"";o=""+r.attributes.lang+u}t[o]||(t[o]={language:a,autoselect:!0,default:"main"===s,playlists:[],uri:""});var l=vt(function(t,e){var n,i=t.attributes,r=t.segments,s=t.sidx,a={attributes:(n={NAME:i.id,BANDWIDTH:i.bandwidth,CODECS:i.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===(i.type||"static"),timeline:i.periodIndex,resolvedUri:"",targetDuration:i.duration,segments:r,mediaSequence:r.length?r[0].number:1};return i.contentProtection&&(a.contentProtection=i.contentProtection),s&&(a.sidx=s),e&&(a.attributes.AUDIO="audio",a.attributes.SUBTITLES="subs"),a}(r,n),e);return t[o].playlists.push(l),void 0===i&&"main"===s&&((i=r).default=!0),t},{});i||(r[Object.keys(r)[0]].default=!0);return r}(A,n,p)),h.length&&(f.mediaGroups.SUBTITLES.subs=function(t,e){return void 0===e&&(e={}),t.reduce(function(t,n){var i=n.attributes.lang||"text";return t[i]||(t[i]={language:i,default:!1,autoselect:!1,playlists:[],uri:""}),t[i].playlists.push(vt(function(t){var e,n=t.attributes,i=t.segments;void 0===i&&(i=[{uri:n.baseUrl,timeline:n.periodIndex,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var r=((e={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,e);return n.codecs&&(r.CODECS=n.codecs),{attributes:r,uri:"",endList:"static"===(n.type||"static"),timeline:n.periodIndex,resolvedUri:n.baseUrl||"",targetDuration:n.duration,segments:i,mediaSequence:i.length?i[0].number:1}}(n),e)),t},{})}(h,n)),d.length&&(f.mediaGroups["CLOSED-CAPTIONS"].cc=d.reduce(function(t,e){return e?(e.forEach(function(e){var n=e.channel,i=e.language;t[i]={autoselect:!1,default:!1,instreamId:n,language:i},e.hasOwnProperty("aspectRatio")&&(t[i].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[i].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[i]["3D"]=e["3D"])}),t):t},{})),f},Ct=function(t,e,n){var i=t.NOW,r=t.clientOffset,s=t.availabilityStartTime,a=t.timescale,o=void 0===a?1:a,u=t.start,l=void 0===u?0:u,c=t.minimumUpdatePeriod,A=(i+r)/1e3+(void 0===c?0:c)-(s+l);return Math.ceil((A*o-e)/n)},Tt=function(t,e){for(var n=t.type,i=void 0===n?"static":n,r=t.minimumUpdatePeriod,s=void 0===r?0:r,a=t.media,o=void 0===a?"":a,u=t.sourceDuration,l=t.timescale,c=void 0===l?1:l,A=t.startNumber,h=void 0===A?1:A,d=t.periodIndex,f=[],p=-1,g=0;gp&&(p=b);var _=void 0;if(y<0){var w=g+1;_=w===e.length?"dynamic"===i&&s>0&&o.indexOf("$Number$")>0?Ct(t,p,v):(u*c-p)/v:(e[w].t-p)/v}else _=y+1;for(var B=h+f.length+_,C=h+f.length;C=r?s:""+new Array(r-s.length+1).join("0")+s)}}(e))},kt=function(t,e){var n={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,r=void 0===i?{sourceURL:"",range:""}:i,s=ct({baseUrl:t.baseUrl,source:St(r.sourceURL,n),range:r.range});return function(t,e){return t.duration||e?t.duration?dt(t):Tt(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodIndex}]}(t,e).map(function(e){n.Number=e.number,n.Time=e.time;var i=St(t.media||"",n),r={uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:U(t.baseUrl||"",i),map:s,number:e.number};return t.presentationTimeOffset&&(r.presentationTimeOffset=t.presentationTimeOffset),r})},xt=function(t,e){var n=t.duration,i=t.segmentUrls,r=void 0===i?[]:i;if(!n&&!e||n&&e)throw new Error(ut);var s,a=r.map(function(e){return function(t,e){var n=t.baseUrl,i=t.initialization,r=void 0===i?{}:i,s=ct({baseUrl:n,source:r.sourceURL,range:r.range}),a=ct({baseUrl:n,source:e.media,range:e.mediaRange});return a.map=s,a}(t,e)});return n&&(s=dt(t)),e&&(s=Tt(t,e)),s.map(function(t,e){if(a[e]){var n=a[e];return n.timeline=t.timeline,n.duration=t.duration,n.number=t.number,n}}).filter(function(t){return t})},Ut=function(t){var e,n,i=t.attributes,r=t.segmentInfo;r.template?(n=kt,e=et(i,r.template),r.template.presentationTimeOffset&&(e.presentationTimeOffset=r.template.presentationTimeOffset/r.template.timescale)):r.base?(n=ft,e=et(i,r.base)):r.list&&(n=xt,e=et(i,r.list));var s={attributes:i};if(!n)return s;var a=n(e,r.timeline);if(e.duration){var o=e,u=o.duration,l=o.timescale,c=void 0===l?1:l;e.duration=u/c}else a.length?e.duration=a.reduce(function(t,e){return Math.max(t,Math.ceil(e.duration))},0):e.duration=0;return s.attributes=e,s.segments=a,r.base&&e.indexRange&&(s.sidx=a[0],s.segments=[]),s},It=function(t,e){return it(t.childNodes).filter(function(t){return t.tagName===e})},Ft=function(t){return t.textContent.trim()},Ot=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var n=e.slice(1),i=n[0],r=n[1],s=n[2],a=n[3],o=n[4],u=n[5];return 31536e3*parseFloat(i||0)+2592e3*parseFloat(r||0)+86400*parseFloat(s||0)+3600*parseFloat(a||0)+60*parseFloat(o||0)+parseFloat(u||0)},Qt={mediaPresentationDuration:function(t){return Ot(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return Ot(t)},suggestedPresentationDelay:function(t){return Ot(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return Ot(t)},start:function(t){return Ot(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?Ot(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},Nt=function(t){return t&&t.attributes?it(t.attributes).reduce(function(t,e){var n=Qt[e.name]||Qt.DEFAULT;return t[e.name]=n(e.value),t},{}):{}},Lt={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},Dt=function(t,e){return e.length?nt(t.map(function(t){return e.map(function(e){return U(t,Ft(e))})})):t},Pt=function(t){var e=It(t,"SegmentTemplate")[0],n=It(t,"SegmentList")[0],i=n&&It(n,"SegmentURL").map(function(t){return et({tag:"SegmentURL"},Nt(t))}),r=It(t,"SegmentBase")[0],s=n||e,a=s&&It(s,"SegmentTimeline")[0],o=n||r||e,u=o&&It(o,"Initialization")[0],l=e&&Nt(e);l&&u?l.initialization=u&&Nt(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});var c={template:l,timeline:a&&It(a,"S").map(function(t){return Nt(t)}),list:n&&et(Nt(n),{segmentUrls:i,initialization:Nt(u)}),base:r&&et(Nt(r),{initialization:Nt(u)})};return Object.keys(c).forEach(function(t){c[t]||delete c[t]}),c},Rt=function(t,e,n){return function(i){var r,s=Nt(i),a=Dt(e,It(i,"BaseURL")),o=It(i,"Role")[0],u={role:Nt(o)},l=et(t,s,u),c=It(i,"Accessibility")[0],A="urn:scte:dash:cc:cea-608:2015"===(r=Nt(c)).schemeIdUri?r.value.split(";").map(function(t){var e,n;if(n=t,/^CC\d=/.test(t)){var i=t.split("=");e=i[0],n=i[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:n}}):"urn:scte:dash:cc:cea-708:2015"===r.schemeIdUri?r.value.split(";").map(function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var n=t.split("="),i=n[0],r=n[1],s=void 0===r?"":r;e.channel=i,e.language=t,s.split(",").forEach(function(t){var n=t.split(":"),i=n[0],r=n[1];"lang"===i?e.language=r:"er"===i?e.easyReader=Number(r):"war"===i?e.aspectRatio=Number(r):"3D"===i&&(e["3D"]=Number(r))})}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e}):void 0;A&&(l=et(l,{captionServices:A}));var h=It(i,"Label")[0];if(h&&h.childNodes.length){var d=h.childNodes[0].nodeValue.trim();l=et(l,{label:d})}var f=It(i,"ContentProtection").reduce(function(t,e){var n=Nt(e),i=Lt[n.schemeIdUri];if(i){t[i]={attributes:n};var r=It(e,"cenc:pssh")[0];if(r){var s=Ft(r),a=s&&Object(F.a)(s);t[i].pssh=a}}return t},{});Object.keys(f).length&&(l=et(l,{contentProtection:f}));var p=Pt(i),g=It(i,"Representation"),m=et(n,p);return nt(g.map(function(t,e,n){return function(i){var r=It(i,"BaseURL"),s=Dt(e,r),a=et(t,Nt(i)),o=Pt(i);return s.map(function(t){return{segmentInfo:et(n,o),attributes:et(a,{baseUrl:t})}})}}(l,a,m)))}},Ht=function(t,e){void 0===e&&(e={});var n=e,i=n.manifestUri,r=void 0===i?"":i,s=n.NOW,a=void 0===s?Date.now():s,u=n.clientOffset,l=void 0===u?0:u,c=It(t,"Period");if(!c.length)throw new Error(rt);var A=It(t,"Location"),h=Nt(t),d=Dt([r],It(t,"BaseURL"));return h.sourceDuration=h.mediaPresentationDuration||0,h.NOW=a,h.clientOffset=l,A.length&&(h.locations=A.map(Ft)),{locations:h.locations,representationInfo:nt(c.map(function(t,e){return function(n,i){var r=Dt(e,It(n,"BaseURL")),s=Nt(n),a=parseInt(s.id,10),u=o.a.isNaN(a)?i:a,l=et(t,{periodIndex:u}),c=It(n,"AdaptationSet"),A=Pt(n);return nt(c.map(Rt(l,r,A)))}}(h,d)))}},Mt=function(t){if(""===t)throw new Error(st);var e,n,i=new Z.DOMParser;try{n=(e=i.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(t){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(at);return n},Kt=function(t,e){void 0===e&&(e={});var n=Ht(Mt(t),e),i=n.representationInfo.map(Ut);return Bt(i,n.locations,e.sidxMapping)},jt=function(t){return function(t){var e=It(t,"UTCTiming")[0];if(!e)return null;var n=Nt(e);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(lt)}return n}(Mt(t))},Vt=n("GlnR"),zt=n.n(Vt),$t=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||(e=t,ArrayBuffer.isView(e))||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0));var e},Wt=o.a.BigInt||Number,Gt=[Wt("0x1"),Wt("0x100"),Wt("0x10000"),Wt("0x1000000"),Wt("0x100000000"),Wt("0x10000000000"),Wt("0x1000000000000"),Wt("0x100000000000000"),Wt("0x10000000000000000")],Xt=(i=new Uint16Array([65484]),255===(r=new Uint8Array(i.buffer,i.byteOffset,i.byteLength))[0]||r[0],function(t,e){var n=void 0===e?{}:e,i=n.signed,r=void 0!==i&&i,s=n.le,a=void 0!==s&&s;t=$t(t);var o=a?"reduce":"reduceRight",u=(t[o]?t[o]:Array.prototype[o]).call(t,function(e,n,i){var r=a?i:Math.abs(i+1-t.length);return e+Wt(n)*Gt[r]},Wt(0));if(r){var l=Gt[t.length]/Wt(2)-Wt(1);(u=Wt(u))>l&&(u-=l,u-=l,u-=Wt(2))}return Number(u)}),qt=function(t,e){var n=(void 0===e?{}:e).le,i=void 0!==n&&n;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0),t=Wt(t);for(var r,s=(r=t,Math.ceil(function(t){return t.toString(2).length}(r)/8)),a=new Uint8Array(new ArrayBuffer(s)),o=0;o=e.length&&u.call(e,function(e,n){return e===(o[n]?o[n]&t[s+n]:t[s+n])})},te=$t([73,68,51]),ee=function t(e,n){return void 0===n&&(n=0),(e=$t(e)).length-n<10||!Zt(e,te,{offset:n})?n:(n+=function(t,e){void 0===e&&(e=0);var n=(t=$t(t))[e+5],i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&n)>>4?i+20:i+10}(e,n),t(e,n))},ne=(new Uint8Array([79,112,117,115,72,101,97,100]),function(t){return"string"==typeof t?Jt(t):t}),ie=function(t){t=$t(t);for(var e=[],n=0;t.length>n;){var i=t[n],r=0,a=0,o=t[++a];for(a++;128&o;)r=(127&o)<<7,o=t[a],a++;r+=127&o;for(var u=0;u>>0,o=e.subarray(s+4,s+8);if(0===a)break;var u=s+a;if(u>e.length){if(i)break;u=e.length}var l=e.subarray(s+8,u);Zt(o,n[0])&&(1===n.length?r.push(l):r.push.apply(r,t(l,n.slice(1),i))),s=u}return r},se={EBML:$t([26,69,223,163]),DocType:$t([66,130]),Segment:$t([24,83,128,103]),SegmentInfo:$t([21,73,169,102]),Tracks:$t([22,84,174,107]),Track:$t([174]),TrackNumber:$t([215]),DefaultDuration:$t([35,227,131]),TrackEntry:$t([174]),TrackType:$t([131]),FlagDefault:$t([136]),CodecID:$t([134]),CodecPrivate:$t([99,162]),VideoTrack:$t([224]),AudioTrack:$t([225]),Cluster:$t([31,67,182,117]),Timestamp:$t([231]),TimestampScale:$t([42,215,177]),BlockGroup:$t([160]),BlockDuration:$t([155]),Block:$t([161]),SimpleBlock:$t([163])},ae=[128,64,32,16,8,4,2,1],oe=function(t,e,n,i){void 0===n&&(n=!0),void 0===i&&(i=!1);var r=function(t){for(var e=1,n=0;n=n.length)return n.length;var r=oe(n,i,!1);if(Zt(e.bytes,r.bytes))return i;var s=oe(n,i+r.length);return t(e,n,i+s.length+s.value+r.length)},ce=function t(e,n){n=function(t){return Array.isArray(t)?t.map(function(t){return ue(t)}):[ue(t)]}(n),e=$t(e);var i=[];if(!n.length)return i;for(var r=0;re.length?e.length:o+a.value,l=e.subarray(o,u);Zt(n[0],s.bytes)&&(1===n.length?i.push(l):i=i.concat(t(l,n.slice(1)))),r+=s.length+a.length+l.length}return i},Ae=$t([0,0,0,1]),he=$t([0,0,1]),de=$t([0,0,3]),fe=function(t){for(var e=[],n=1;n>1&63),-1!==n.indexOf(u)&&(r=s+o),s+=o+("h264"===e?1:2)}else s++}return t.subarray(0,0)},ge={webm:$t([119,101,98,109]),matroska:$t([109,97,116,114,111,115,107,97]),flac:$t([102,76,97,67]),ogg:$t([79,103,103,83]),ac3:$t([11,119]),riff:$t([82,73,70,70]),avi:$t([65,86,73]),wav:$t([87,65,86,69]),"3gp":$t([102,116,121,112,51,103]),mp4:$t([102,116,121,112]),fmp4:$t([115,116,121,112]),mov:$t([102,116,121,112,113,116]),moov:$t([109,111,111,118]),moof:$t([109,111,111,102])},me={aac:function(t){var e=ee(t);return Zt(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=ee(t);return Zt(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=ce(t,[se.EBML,se.DocType])[0];return Zt(e,ge.webm)},mkv:function(t){var e=ce(t,[se.EBML,se.DocType])[0];return Zt(e,ge.matroska)},mp4:function(t){return!me["3gp"](t)&&!me.mov(t)&&(!(!Zt(t,ge.mp4,{offset:4})&&!Zt(t,ge.fmp4,{offset:4}))||(!(!Zt(t,ge.moof,{offset:4})&&!Zt(t,ge.moov,{offset:4}))||void 0))},mov:function(t){return Zt(t,ge.mov,{offset:4})},"3gp":function(t){return Zt(t,ge["3gp"],{offset:4})},ac3:function(t){var e=ee(t);return Zt(t,ge.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880?u:0)}if(o.a.console){var l=o.a.console[n];l||"debug"!==n||(l=o.a.console.info||o.a.console.log),l&&s&&a.test(n)&&l[Array.isArray(r)?"apply":"call"](o.a.console,r)}}};var Ie=function t(e){var n,i="info",r=function(){for(var t=arguments.length,e=new Array(t),r=0;r1?e-1:0),i=1;i=0)throw new Error("class has illegal whitespace characters")}function dn(){return l.a===o.a.document}function fn(t){return De(t)&&1===t.nodeType}function pn(){try{return o.a.parent!==o.a.self}catch(t){return!0}}function gn(t){return function(e,n){if(!An(e))return l.a[t](null);An(n)&&(n=l.a.querySelector(n));var i=fn(n)?n:l.a;return i[t]&&i[t](e)}}function mn(t,e,n,i){void 0===t&&(t="div"),void 0===e&&(e={}),void 0===n&&(n={});var r=l.a.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(Ie.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+t+" to "+n+"."),r.setAttribute(t,n)):"textContent"===t?vn(r,n):r[t]===n&&"tabIndex"!==t||(r[t]=n)}),Object.getOwnPropertyNames(n).forEach(function(t){r.setAttribute(t,n[t])}),i&&Dn(r,i),r}function vn(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function yn(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function bn(t,e){return hn(e),t.classList?t.classList.contains(e):(n=e,new RegExp("(^|\\s)"+n+"($|\\s)")).test(t.className);var n}function _n(t,e){return t.classList?t.classList.add(e):bn(t,e)||(t.className=(t.className+" "+e).trim()),t}function wn(t,e){return t?(t.classList?t.classList.remove(e):(hn(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t):(Ie.warn("removeClass was called with an element that doesn't exist"),null)}function Bn(t,e,n){var i=bn(t,e);if("function"==typeof n&&(n=n(t,e)),"boolean"!=typeof n&&(n=!i),n!==i)return n?_n(t,e):wn(t,e),t}function Cn(t,e){Object.getOwnPropertyNames(e).forEach(function(n){var i=e[n];null===i||void 0===i||!1===i?t.removeAttribute(n):t.setAttribute(n,!0===i?"":i)})}function Tn(t){var e={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var i=t.attributes,r=i.length-1;r>=0;r--){var s=i[r].name,a=i[r].value;"boolean"!=typeof t[s]&&-1===n.indexOf(","+s+",")||(a=null!==a),e[s]=a}return e}function En(t,e){return t.getAttribute(e)}function Sn(t,e,n){t.setAttribute(e,n)}function kn(t,e){t.removeAttribute(e)}function xn(){l.a.body.focus(),l.a.onselectstart=function(){return!1}}function Un(){l.a.onselectstart=function(){return!0}}function In(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),n.height||(n.height=parseFloat(Re(t,"height"))),n.width||(n.width=parseFloat(Re(t,"width"))),n}}function Fn(t){if(!t||t&&!t.offsetParent)return{left:0,top:0,width:0,height:0};for(var e=t.offsetWidth,n=t.offsetHeight,i=0,r=0;t.offsetParent&&t!==l.a[Ce.fullscreenElement];)i+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{left:i,top:r,width:e,height:n}}function On(t,e){var n={x:0,y:0};if(un)for(var i=t;i&&"html"!==i.nodeName.toLowerCase();){var r=Re(i,"transform");if(/^matrix/.test(r)){var s=r.slice(7,-1).split(/,\s/).map(Number);n.x+=s[4],n.y+=s[5]}else if(/^matrix3d/.test(r)){var a=r.slice(9,-1).split(/,\s/).map(Number);n.x+=a[12],n.y+=a[13]}i=i.parentNode}var o={},u=Fn(e.target),l=Fn(t),c=l.width,A=l.height,h=e.offsetY-(l.top-u.top),d=e.offsetX-(l.left-u.left);return e.changedTouches&&(d=e.changedTouches[0].pageX-l.left,h=e.changedTouches[0].pageY+l.top,un&&(d-=n.x,h-=n.y)),o.y=1-Math.max(0,Math.min(1,h/A)),o.x=Math.max(0,Math.min(1,d/c)),o}function Qn(t){return De(t)&&3===t.nodeType}function Nn(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function Ln(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),fn(t)||Qn(t)?t:"string"==typeof t&&/\S/.test(t)?l.a.createTextNode(t):void 0}).filter(function(t){return t})}function Dn(t,e){return Ln(e).forEach(function(e){return t.appendChild(e)}),t}function Pn(t,e){return Dn(Nn(t),e)}function Rn(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||("mouseup"===t.type&&0===t.button&&0===t.buttons||0===t.button&&1===t.buttons))}var Hn,Mn=gn("querySelector"),Kn=gn("querySelectorAll"),jn=Object.freeze({__proto__:null,isReal:dn,isEl:fn,isInFrame:pn,createEl:mn,textContent:vn,prependTo:yn,hasClass:bn,addClass:_n,removeClass:wn,toggleClass:Bn,setAttributes:Cn,getAttributes:Tn,getAttribute:En,setAttribute:Sn,removeAttribute:kn,blockTextSelection:xn,unblockTextSelection:Un,getBoundingClientRect:In,findPosition:Fn,getPointerPosition:On,isTextNode:Qn,emptyEl:Nn,normalizeContent:Ln,appendContent:Dn,insertContent:Pn,isSingleLeftClick:Rn,$:Mn,$$:Kn}),Vn=!1,zn=function(){if(!1!==Hn.options.autoSetup){var t=Array.prototype.slice.call(l.a.getElementsByTagName("video")),e=Array.prototype.slice.call(l.a.getElementsByTagName("audio")),n=Array.prototype.slice.call(l.a.getElementsByTagName("video-js")),i=t.concat(e,n);if(i&&i.length>0)for(var r=0,s=i.length;r-1&&(r={passive:!0}),t.addEventListener(e,i.dispatcher,r)}else t.attachEvent&&t.attachEvent("on"+e,i.dispatcher)}function oi(t,e,n){if(ti.has(t)){var i=ti.get(t);if(i.handlers){if(Array.isArray(e))return ni(oi,t,e,n);var r=function(t,e){i.handlers[e]=[],ei(t,e)};if(void 0!==e){var s=i.handlers[e];if(s)if(n){if(n.guid)for(var a=0;a=e&&(t.apply(void 0,arguments),n=i)}},gi=function(t,e,n,i){var r;void 0===i&&(i=o.a);var s=function(){var s=this,a=arguments,o=function(){r=null,o=null,n||t.apply(s,a)};!r&&n&&t.apply(s,a),i.clearTimeout(r),r=i.setTimeout(o,e)};return s.cancel=function(){i.clearTimeout(r),r=null},s},mi=function(){};mi.prototype.allowedEvents_={},mi.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},ai(this,t,e),this.addEventListener=n},mi.prototype.addEventListener=mi.prototype.on,mi.prototype.off=function(t,e){oi(this,t,e)},mi.prototype.removeEventListener=mi.prototype.off,mi.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},li(this,t,e),this.addEventListener=n},mi.prototype.any=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},ci(this,t,e),this.addEventListener=n},mi.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=ii(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),ui(this,t)},mi.prototype.dispatchEvent=mi.prototype.trigger,mi.prototype.queueTrigger=function(t){var e=this;Ai||(Ai=new Map);var n=t.type||t,i=Ai.get(this);i||(i=new Map,Ai.set(this,i));var r=i.get(n);i.delete(n),o.a.clearTimeout(r);var s=o.a.setTimeout(function(){0===i.size&&(i=null,Ai.delete(e)),e.trigger(t)},0);i.set(n,s)};var vi=function(t){return"function"==typeof t.name?t.name():"string"==typeof t.name?t.name:t.name_?t.name_:t.constructor&&t.constructor.name?t.constructor.name:typeof t},yi=function(t){return t instanceof mi||!!t.eventBusEl_&&["on","one","off","trigger"].every(function(e){return"function"==typeof t[e]})},bi=function(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},_i=function(t,e,n){if(!t||!t.nodeName&&!yi(t))throw new Error("Invalid target for "+vi(e)+"#"+n+"; must be a DOM node or evented object.")},wi=function(t,e,n){if(!bi(t))throw new Error("Invalid event type for "+vi(e)+"#"+n+"; must be a non-empty string or array.")},Bi=function(t,e,n){if("function"!=typeof t)throw new Error("Invalid listener for "+vi(e)+"#"+n+"; must be a function.")},Ci=function(t,e,n){var i,r,s,a=e.length<3||e[0]===t||e[0]===t.eventBusEl_;return a?(i=t.eventBusEl_,e.length>=3&&e.shift(),r=e[0],s=e[1]):(i=e[0],r=e[1],s=e[2]),_i(i,t,n),wi(r,t,n),Bi(s,t,n),{isTargetingSelf:a,target:i,type:r,listener:s=fi(t,s)}},Ti=function(t,e,n,i){_i(t,t,e),t.nodeName?hi[e](t,n,i):t[e](n,i)},Ei={on:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),ti.has(this.el_)&&ti.delete(this.el_),this.el_=null),this.player_=null}},e.isDisposed=function(){return Boolean(this.isDisposed_)},e.player=function(){return this.player_},e.options=function(t){return t?(this.options_=Fi(this.options_,t),this.options_):this.options_},e.el=function(){return this.el_},e.createEl=function(t,e,n){return mn(t,e,n)},e.localize=function(t,e,n){void 0===n&&(n=t);var i=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),s=r&&r[i],a=i&&i.split("-")[0],o=r&&r[a],u=n;return s&&s[t]?u=s[t]:o&&o[t]&&(u=o[t]),e&&(u=u.replace(/\{(\d+)\}/g,function(t,n){var i=e[n-1],r=i;return void 0===i&&(r=t),r})),u},e.handleLanguagechange=function(){},e.contentEl=function(){return this.contentEl_||this.el_},e.id=function(){return this.id_},e.name=function(){return this.name_},e.children=function(){return this.children_},e.getChildById=function(t){return this.childIndex_[t]},e.getChild=function(t){if(t)return this.childNameIndex_[t]},e.getDescendant=function(){for(var t=arguments.length,e=new Array(t),n=0;n=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){t.parentComponent_=null,this.childIndex_[t.id()]=null,this.childNameIndex_[Ii(t.name())]=null,this.childNameIndex_[Ui(t.name())]=null;var i=t.el();i&&i.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},e.initChildren=function(){var e=this,n=this.options_.children;if(n){var i,r=this.options_,s=t.getComponent("Tech");(i=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter(function(t){return!i.some(function(e){return"string"==typeof e?t===e:t===e.name})})).map(function(t){var i,r;return"string"==typeof t?r=n[i=t]||e.options_[i]||{}:(i=t.name,r=t),{name:i,opts:r}}).filter(function(e){var n=t.getComponent(e.opts.componentClass||Ii(e.name));return n&&!s.isTech(n)}).forEach(function(t){var n=t.name,i=t.opts;if(void 0!==r[n]&&(i=r[n]),!1!==i){!0===i&&(i={}),i.playerOptions=e.options_.playerOptions;var s=e.addChild(n,i);s&&(e[n]=s)}})}},e.buildCSSClass=function(){return""},e.ready=function(t,e){if(void 0===e&&(e=!1),t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},e.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},e.$=function(t,e){return Mn(t,e||this.contentEl())},e.$$=function(t,e){return Kn(t,e||this.contentEl())},e.hasClass=function(t){return bn(this.el_,t)},e.addClass=function(t){_n(this.el_,t)},e.removeClass=function(t){wn(this.el_,t)},e.toggleClass=function(t,e){Bn(this.el_,t,e)},e.show=function(){this.removeClass("vjs-hidden")},e.hide=function(){this.addClass("vjs-hidden")},e.lockShowing=function(){this.addClass("vjs-lock-showing")},e.unlockShowing=function(){this.removeClass("vjs-lock-showing")},e.getAttribute=function(t){return En(this.el_,t)},e.setAttribute=function(t,e){Sn(this.el_,t,e)},e.removeAttribute=function(t){kn(this.el_,t)},e.width=function(t,e){return this.dimension("width",t,e)},e.height=function(t,e){return this.dimension("height",t,e)},e.dimensions=function(t,e){this.width(t,!0),this.height(e)},e.dimension=function(t,e,n){if(void 0!==e)return null!==e&&e==e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var i=this.el_.style[t],r=i.indexOf("px");return-1!==r?parseInt(i.slice(0,r),10):parseInt(this.el_["offset"+Ii(t)],10)},e.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if(e=Re(this.el_,t),0===(e=parseFloat(e))||isNaN(e)){var n="offset"+Ii(t);e=this.el_[n]}return e},e.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.currentWidth=function(){return this.currentDimension("width")},e.currentHeight=function(){return this.currentDimension("height")},e.focus=function(){this.el_.focus()},e.blur=function(){this.el_.blur()},e.handleKeyDown=function(t){this.player_&&(t.stopPropagation(),this.player_.handleKeyDown(t))},e.handleKeyPress=function(t){this.handleKeyDown(t)},e.emitTapEvents=function(){var t,e=0,n=null;this.on("touchstart",function(i){1===i.touches.length&&(n={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY},e=o.a.performance.now(),t=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)t=!1;else if(n){var i=e.touches[0].pageX-n.pageX,r=e.touches[0].pageY-n.pageY;Math.sqrt(i*i+r*r)>10&&(t=!1)}});var i=function(){t=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(i){(n=null,!0===t)&&(o.a.performance.now()-e<200&&(i.preventDefault(),this.trigger("tap")))})},e.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t,e=fi(this.player(),this.player().reportUserActivity);this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}},e.setTimeout=function(t,e){var n,i=this;return t=fi(this,t),this.clearTimersOnDispose_(),n=o.a.setTimeout(function(){i.setTimeoutIds_.has(n)&&i.setTimeoutIds_.delete(n),t()},e),this.setTimeoutIds_.add(n),n},e.clearTimeout=function(t){return this.setTimeoutIds_.has(t)&&(this.setTimeoutIds_.delete(t),o.a.clearTimeout(t)),t},e.setInterval=function(t,e){t=fi(this,t),this.clearTimersOnDispose_();var n=o.a.setInterval(t,e);return this.setIntervalIds_.add(n),n},e.clearInterval=function(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),o.a.clearInterval(t)),t},e.requestAnimationFrame=function(t){var e,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),t=fi(this,t),e=o.a.requestAnimationFrame(function(){n.rafIds_.has(e)&&n.rafIds_.delete(e),t()}),this.rafIds_.add(e),e):this.setTimeout(t,1e3/60)},e.requestNamedAnimationFrame=function(t,e){var n=this;if(!this.namedRafs_.has(t)){this.clearTimersOnDispose_(),e=fi(this,e);var i=this.requestAnimationFrame(function(){e(),n.namedRafs_.has(t)&&n.namedRafs_.delete(t)});return this.namedRafs_.set(t,i),t}},e.cancelNamedAnimationFrame=function(t){this.namedRafs_.has(t)&&(this.cancelAnimationFrame(this.namedRafs_.get(t)),this.namedRafs_.delete(t))},e.cancelAnimationFrame=function(t){return this.supportsRaf_?(this.rafIds_.has(t)&&(this.rafIds_.delete(t),o.a.cancelAnimationFrame(t)),t):this.clearTimeout(t)},e.clearTimersOnDispose_=function(){var t=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(function(e){var n=e[0],i=e[1];t[n].forEach(function(e,n){return t[i](n)})}),t.clearingTimersOnDispose_=!1}))},t.registerComponent=function(e,n){if("string"!=typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var i,r=t.getComponent("Tech"),s=r&&r.isTech(n),a=t===n||t.prototype.isPrototypeOf(n.prototype);if(s||!a)throw i=s?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+i+".");e=Ii(e),t.components_||(t.components_={});var o=t.getComponent("Player");if("Player"===e&&o&&o.players){var u=o.players,l=Object.keys(u);if(u&&l.length>0&&l.map(function(t){return u[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=n,t.components_[Ui(e)]=n,n},t.getComponent=function(e){if(e&&t.components_)return t.components_[e]},t}();function Pi(t,e,n,i){return function(t,e,n){if("number"!=typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}(t,i,n.length-1),n[i][e]}function Ri(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:Pi.bind(null,"start",0,t),end:Pi.bind(null,"end",1,t)}}function Hi(t,e){return Array.isArray(t)?Ri(t):void 0===t||void 0===e?Ri():Ri([[t,e]])}function Mi(t,e){var n,i,r=0;if(!e)return 0;t&&t.length||(t=Hi(0,0));for(var s=0;se&&(i=e),r+=i-n;return r/e}function Ki(t){if(t instanceof Ki)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:De(t)&&("number"==typeof t.code&&(this.code=t.code),Le(this,t)),this.message||(this.message=Ki.defaultMessages[this.code]||"")}Di.prototype.supportsRaf_="function"==typeof o.a.requestAnimationFrame&&"function"==typeof o.a.cancelAnimationFrame,Di.registerComponent("Component",Di),Ki.prototype.code=0,Ki.prototype.message="",Ki.prototype.status=null,Ki.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Ki.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var ji=0;ji=0;i--)if(e[i].enabled){Zi(e,e[i]);break}return(n=t.call(this,e)||this).changing_=!1,n}p()(e,t);var n=e.prototype;return n.addTrack=function(e){var n=this;e.enabled&&Zi(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&(e.enabledChange_=function(){n.changing_||(n.changing_=!0,Zi(n,e),n.changing_=!1,n.trigger("change"))},e.addEventListener("enabledchange",e.enabledChange_))},n.removeTrack=function(e){t.prototype.removeTrack.call(this,e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)},e}(Yi),er=function(t,e){for(var n=0;n=0;i--)if(e[i].selected){er(e,e[i]);break}return(n=t.call(this,e)||this).changing_=!1,Object.defineProperty(d()(n),"selectedIndex",{get:function(){for(var t=0;t0&&(o.a.console&&o.a.console.groupCollapsed&&o.a.console.groupCollapsed("Text Track parsing errors for "+e.src),i.forEach(function(t){return Ie.error(t)}),o.a.console&&o.a.console.groupEnd&&o.a.console.groupEnd()),n.flush()},mr=function(t,e){var n={uri:t},i=fr(t);i&&(n.cors=i);var r="use-credentials"===e.tech_.crossOrigin();r&&(n.withCredentials=r),_()(n,fi(this,function(t,n,i){if(t)return Ie.error(t,n);e.loaded_=!0,"function"!=typeof o.a.WebVTT?e.tech_&&e.tech_.any(["vttjsloaded","vttjserror"],function(t){if("vttjserror"!==t.type)return gr(i,e);Ie.error("vttjs failed to load, stopping trying to process "+e.src)}):gr(i,e)}))},vr=function(t){function e(e){var n;if(void 0===e&&(e={}),!e.tech)throw new Error("A tech was not provided.");var i=Fi(e,{kind:ur[e.kind]||"subtitles",language:e.language||e.srclang||""}),r=lr[i.mode]||"disabled",s=i.default;"metadata"!==i.kind&&"chapters"!==i.kind||(r="hidden"),(n=t.call(this,i)||this).tech_=i.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var a=new sr(n.cues_),o=new sr(n.activeCues_),u=!1,l=fi(d()(n),function(){this.tech_.isReady_&&!this.tech_.isDisposed()&&(this.activeCues=this.activeCues,u&&(this.trigger("cuechange"),u=!1))});return n.tech_.one("dispose",function(){n.tech_.off("timeupdate",l)}),"disabled"!==r&&n.tech_.on("timeupdate",l),Object.defineProperties(d()(n),{default:{get:function(){return s},set:function(){}},mode:{get:function(){return r},set:function(t){lr[t]&&r!==t&&(r=t,this.preload_||"disabled"===r||0!==this.cues.length||mr(this.src,this),this.tech_.off("timeupdate",l),"disabled"!==r&&this.tech_.on("timeupdate",l),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?a:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return o;for(var t=this.tech_.currentTime(),e=[],n=0,i=this.cues.length;n=t?e.push(r):r.startTime===r.endTime&&r.startTime<=t&&r.startTime+.5>=t&&e.push(r)}if(u=!1,e.length!==this.activeCues_.length)u=!0;else for(var s=0;s0)return void this.trigger("vttjsloaded");var e=l.a.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},this.on("dispose",function(){e.onload=null,e.onerror=null}),o.a.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var t=this,e=this.textTracks(),n=this.remoteTextTracks(),i=function(t){return e.addTrack(t.track)},r=function(t){return e.removeTrack(t.track)};n.on("addtrack",i),n.on("removetrack",r),this.addWebVttScript_();var s=function(){return t.trigger("texttrackchange")},a=function(){s();for(var t=0;t=0;r--){var s=t[r];s[e]&&s[e](i,n)}}(t,n,o,a),o}var Or={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Qr={setCurrentTime:1,setMuted:1,setVolume:1},Nr={play:1,pause:1};function Lr(t){return function(e,n){return e===Ur?Ur:n[t]?n[t](e):e}}var Dr={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},Pr=function(t){void 0===t&&(t="");var e=dr(t);return Dr[e.toLowerCase()]||""};function Rr(t){if(!t.type){var e=Pr(t.src);e&&(t.type=e)}return t}var Hr=function(t){function e(e,n,i){var r,s=Fi({createEl:!1},n);if(r=t.call(this,e,s,i)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)e.src(n.playerOptions.sources);else for(var a=0,o=n.playerOptions.techOrder;a