/**videojs player library**/ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(J){var X=0;return function(){return X=Object.getOwnPropertyNames(b.handlers).length&&(delete b.handlers, delete b.dispatcher,delete b.disabled);0===Object.getOwnPropertyNames(b).length&&Af(k)}function xd(k,g,b,e){b.forEach(function(b){k(g,b,e)})}function Dc(k){function g(){return!0}function b(){return!1}if(!k||!k.isPropagationStopped){var e=k||q.event;k={};for(var l in e)"layerX"!==l&&"layerY"!==l&&"keyLocation"!==l&&"webkitMovementX"!==l&&"webkitMovementY"!==l&&("returnValue"===l&&e.preventDefault||(k[l]=e[l]));k.target||(k.target=k.srcElement||x);k.relatedTarget||(k.relatedTarget=k.fromElement===k.target? k.toElement:k.fromElement);k.preventDefault=function(){e.preventDefault&&e.preventDefault();k.returnValue=!1;e.returnValue=!1;k.defaultPrevented=!0};k.defaultPrevented=!1;k.stopPropagation=function(){e.stopPropagation&&e.stopPropagation();k.cancelBubble=!0;e.cancelBubble=!0;k.isPropagationStopped=g};k.isPropagationStopped=b;k.stopImmediatePropagation=function(){e.stopImmediatePropagation&&e.stopImmediatePropagation();k.isImmediatePropagationStopped=g;k.stopPropagation()};k.isImmediatePropagationStopped= b;if(null!==k.clientX&&void 0!==k.clientX){l=x.documentElement;var d=x.body;k.pageX=k.clientX+(l&&l.scrollLeft||d&&d.scrollLeft||0)-(l&&l.clientLeft||d&&d.clientLeft||0);k.pageY=k.clientY+(l&&l.scrollTop||d&&d.scrollTop||0)-(l&&l.clientTop||d&&d.clientTop||0)}k.which=k.charCode||k.keyCode;null!==k.button&&void 0!==k.button&&(k.button=k.button&1?0:k.button&4?1:k.button&2?2:0)}return k}function ua(k,g,b){if(Array.isArray(g))return xd(ua,k,g,b);var e=Rb(k);e.handlers||(e.handlers={});e.handlers[g]|| (e.handlers[g]=[]);b.guid||(b.guid=gb++);e.handlers[g].push(b);e.dispatcher||(e.disabled=!1,e.dispatcher=function(b,d){if(!e.disabled){b=Dc(b);var c=e.handlers[b.type];if(c){c=c.slice(0);for(var l=0,a=c.length;le||e>l)throw Error("Failed to execute '"+k+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+l+").");return b[e][g]}function Bd(k){return void 0===k||0===k.length?{length:0, start:function(){throw Error("This TimeRanges object is empty");},end:function(){throw Error("This TimeRanges object is empty");}}:{length:k.length,start:Ef.bind(null,"start",0,k),end:Ef.bind(null,"end",1,k)}}function hb(k,g){return Array.isArray(k)?Bd(k):void 0===k||void 0===g?Bd():Bd([[k,g]])}function Ff(k,g){var b=0;if(!g)return 0;k&&k.length||(k=hb(0,0));for(var e=0;eg&&(d=g);b+=d-l}return b/g}function na(k){if(k instanceof na)return k;"number"=== typeof k?this.code=k:"string"===typeof k?this.message=k:Ua(k)&&("number"===typeof k.code&&(this.code=k.code),Y(this,k));this.message||(this.message=na.defaultMessages[this.code]||"")}function Gf(k){return void 0!==k&&null!==k&&"function"===typeof k.then}function Ub(k){Gf(k)&&k.then(null,function(g){})}function mj(k){for(var g in k)if(k.hasOwnProperty(g))return!1;return!0}function Hf(k,g,b){var e=k;If(g)?(b=g,"string"===typeof k&&(e={uri:k})):e=nj(g,{uri:k});e.callback=b;return e}function Na(k,g,b){g= Hf(k,g,b);return Jf(g)}function Jf(k){function g(b){clearTimeout(u);b instanceof Error||(b=Error(""+(b||"Unknown XMLHttpRequest Error")));b.statusCode=0;var d=t;e||(e=!0,k.callback(b,d,void 0))}function b(){if(!c){clearTimeout(u);var b=k.useXDR&&void 0===l.status?200:1223===l.status?204:l.status;var d=t,h=null;if(0!==b){l.response?d=l.response:(d=l.responseText)||("document"===l.responseType?d=l.responseXML:(d=l.responseXML&&"parsererror"===l.responseXML.documentElement.nodeName,d=""!==l.responseType|| d?null:l.responseXML));if(p)try{d=JSON.parse(d)}catch(Xm){}d={body:d,statusCode:b,method:a,headers:{},url:f,rawRequest:l};l.getAllResponseHeaders&&(d.headers=oj(l.getAllResponseHeaders()))}else h=Error("Internal XMLHttpRequest Error");b=d.body;e||(e=!0,k.callback(h,d,b))}}if("undefined"===typeof k.callback)throw Error("callback argument missing");var e=!1,l=k.xhr||null;l||(l=k.cors||k.useXDR?new Na.XDomainRequest:new Na.XMLHttpRequest);var d,c,f=l.url=k.uri||k.url,a=l.method=k.method||"GET",h=k.body|| k.data,m=l.headers=k.headers||{},n=!!k.sync,p=!1,u,t={body:void 0,headers:{},statusCode:0,method:a,url:f,rawRequest:l};"json"in k&&!1!==k.json&&(p=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==a&&"HEAD"!==a&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),h=JSON.stringify(!0===k.json?h:k.json)));l.onreadystatechange=function(){4===l.readyState&&setTimeout(b,0)};l.onload=b;l.onerror=g;l.onprogress=function(){};l.onabort=function(){c=!0};l.ontimeout=g;l.open(a, f,!n,k.username,k.password);n||(l.withCredentials=!!k.withCredentials);!n&&0]*>?)?/);e=e[1]?e[1]:e[2];g=g.substr(e.length);return e}function e(e){return rj[e]}function l(b){for(;n=b.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)b=b.replace(n[0],e);return b}function d(e,b){var d=sj[e];if(!d)return null;var a=k.document.createElement(d);a.localName=d;(d=tj[e])&&b&&(a[d]=b.trim());return a}for(var c=k.document.createElement("div"),f=c,a,h=[];null!==(a=b());)if("<"===a[0])if("/"===a[1])h.length&&h[h.length-1]===a.substr(2).replace(">","")&&(h.pop(),f=f.parentNode); else{var m=Cd(a.substr(1,a.length-2));if(m)a=k.document.createProcessingInstruction("timestamp",m),f.appendChild(a);else{var n=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);n&&(!(a=d(n[1],n[3]))||Lf[a.localName]&&Lf[a.localName]!==f.localName||(n[2]&&(a.className=n[2].substr(1).replace(/\./g," ")),h.push(n[1]),f.appendChild(a),f=a))}}else f.appendChild(k.document.createTextNode(l(a)));return c}function uj(k){for(var g=0;g=b[0]&&k<=b[1])return!0}return!1} function vj(k){function g(e,b){for(var d=b.childNodes.length-1;0<=d;d--)e.push(b.childNodes[d])}function b(e){if(!e||!e.length)return null;var d=e.pop(),a=d.textContent||d.innerText;if(a)return(d=a.match(/^.*(\n|\r)/))?(e.length=0,d[0]):a;if("ruby"===d.tagName)return b(e);if(d.childNodes)return g(e,d),b(e)}var e=[],l="";if(!k||!k.childNodes)return"ltr";for(g(e,k);l=b(e);)for(var d=0;de||100e||100=k}function yj(k,g,b,e){var l=4=g&&(k.apply(void 0,arguments),b=e)}},Gj=function(k, g,b){var e=3g.length||g[0]===k||g[0]===k.eventBusEl_;if(b){var e=k.eventBusEl_;3<=g.length&&g.shift();var l=g[0];var d=g[1]}else e=g[0],l=g[1],d=g[2];Od(e);bg(l);cg(d);d=F(k,d);return{isTargetingSelf:b,target:e,type:l,listener:d}},ac=function(k,g,b,e){Od(k);if(k.nodeName)Fj[g](k,b,e);else k[g](b, e)},jj={on:function(){for(var k=this,g=arguments.length,b=Array(g),e=0;e(new Date).getTime()-g&&(d.preventDefault(),this.trigger("tap"))})};k.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var g=F(this.player(),this.player().reportUserActivity),b=void 0;this.on("touchstart", function(){g();this.clearInterval(b);b=this.setInterval(g,250)});var e=function(e){g();this.clearInterval(b)};this.on("touchmove",g);this.on("touchend",e);this.on("touchcancel",e)}};k.prototype.setTimeout=function(g,b){var e=this;g=F(this,g);var l=q.setTimeout(function(){e.off("dispose",d);g()},b);var d=function(){return e.clearTimeout(l)};d.guid="vjs-timeout-"+l;this.on("dispose",d);return l};k.prototype.clearTimeout=function(g){q.clearTimeout(g);var b=function(){};b.guid="vjs-timeout-"+g;this.off("dispose", b);return g};k.prototype.setInterval=function(g,b){var e=this;g=F(this,g);var l=q.setInterval(g,b),d=function(){return e.clearInterval(l)};d.guid="vjs-interval-"+l;this.on("dispose",d);return l};k.prototype.clearInterval=function(g){q.clearInterval(g);var b=function(){};b.guid="vjs-interval-"+g;this.off("dispose",b);return g};k.prototype.requestAnimationFrame=function(g){var b=this;if(this.supportsRaf_){g=F(this,g);var e=q.requestAnimationFrame(function(){b.off("dispose",l);g()});var l=function(){return b.cancelAnimationFrame(e)}; l.guid="vjs-raf-"+e;this.on("dispose",l);return e}return this.setTimeout(g,1E3/60)};k.prototype.cancelAnimationFrame=function(g){if(this.supportsRaf_){q.cancelAnimationFrame(g);var b=function(){};b.guid="vjs-raf-"+g;this.off("dispose",b);return g}return this.clearTimeout(g)};k.registerComponent=function(g,b){if("string"!==typeof g||!g)throw Error('Illegal component name, "'+g+'"; must be a non-empty string.');var e=k.getComponent("Tech");e=e&&e.isTech(b);var l=k===b||k.prototype.isPrototypeOf(b.prototype); if(e||!l)throw Error('Illegal component, "'+g+'"; '+(e?"techs must be registered using Tech.registerTech()":"must be a Component subclass")+".");g=U(g);k.components_||(k.components_={});e=k.getComponent("Player");if("Player"===g&&e&&e.players){var d=e.players;e=Object.keys(d);if(d&&0Rd&&537>Hj,hg=/Firefox/i.test(ca),Sd=/Edge/i.test(ca),Xa=!Sd&&(/Chrome/i.test(ca)||/CriOS/i.test(ca)),ig=function(){var k=ca.match(/(Chrome|CriOS)\/(\d+)/);return k&&k[2]?parseFloat(k[2]):null}(),jg=function(){var k=/MSIE\s(\d+)\.\d/.exec(ca);k=k&&parseFloat(k[1]);!k&&/Trident\/7.0/i.test(ca)&&/rv:11.0/.test(ca)&&(k=11); return k}(),kg=/Safari/i.test(ca)&&!Xa&&!kb&&!Sd,lg=(kg||Oa)&&!Xa,Kc=qb()&&("ontouchstart"in q||q.navigator.maxTouchPoints||q.DocumentTouch&&q.document instanceof q.DocumentTouch),Jj=Object.freeze({IS_IPAD:Pd,IS_IPHONE:Qd,IS_IPOD:fg,IS_IOS:Oa,IOS_VERSION:Ij,IS_ANDROID:kb,ANDROID_VERSION:Rd,IS_NATIVE_ANDROID:gg,IS_FIREFOX:hg,IS_EDGE:Sd,IS_CHROME:Xa,CHROME_VERSION:ig,IE_VERSION:jg,IS_SAFARI:kg,IS_ANY_SAFARI:lg,TOUCH_ENABLED:Kc}),Sa={},Lc=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "), "webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")], Kj=Lc[0],Mc=void 0,Nc=0;for(;Nc',b=l.firstChild,l.setAttribute("style","display:none; position:absolute;"),x.body.appendChild(l));k={};for(var d=0;dx';k=g.firstChild.href}return k},Yd=function(k){return"string"===typeof k&&(k=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(k))?k.pop().toLowerCase():""},Pc=function(k){var g=q.location;k=Xd(k);return(":"=== k.protocol?g.protocol:k.protocol)+k.host!==g.protocol+g.host},Sj=Object.freeze({parseUrl:Xd,getAbsoluteURL:qg,getFileExtension:Yd,isCrossOrigin:Pc}),Zd=function(k){var g=Tj.call(k);return"[object Function]"===g||"function"===typeof k&&"[object RegExp]"!==g||"undefined"!==typeof window&&(k===window.setTimeout||k===window.alert||k===window.confirm||k===window.prompt)},Tj=Object.prototype.toString,rg=Object.freeze({"default":Zd,__moduleExports:Zd}),bc=J(function(k,g){g=k.exports=function(b){return b.replace(/^\s*|\s*$/g, "")};g.left=function(b){return b.replace(/^\s*/,"")};g.right=function(b){return b.replace(/\s*$/,"")}}),sg=Object.freeze({"default":bc,__moduleExports:bc,left:bc.left,right:bc.right}),If=rg&&Zd||rg,$d=function(k,g,b){if(!If(g))throw new TypeError("iterator must be a function");3>arguments.length&&(b=this);if("[object Array]"===Uj.call(k))for(var e=b,l=0,d=k.length;l=e?b.push(l):l.startTime===l.endTime&& l.startTime<=e&&l.startTime+.5>=e&&b.push(l)}a=!1;if(b.length!==this.activeCues_.length)a=!0;else for(e=0;e=g)?(this.set(k,g),!0):!1}};var rj={"&":"&","<":"<",">":">","‎":"\u200e","‏":"\u200f"," ":"\u00a0"},sj={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},tj={v:"title",lang:"lang"},Lf={rt:"ruby"},Mf=[[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]];Ed.prototype.applyStyles=function(k,g){g=g||this.div;for(var b in k)k.hasOwnProperty(b)&&(g.style[b]=k[b])};Ed.prototype.formatStyle=function(k,g){return 0===k?0:k+g};Fc.prototype= Dd(Ed.prototype);Fc.prototype.constructor=Fc;fa.prototype.move=function(k,g){g=void 0!==g?g:this.lineHeight;switch(k){case "+x":this.left+=g;this.right+=g;break;case "-x":this.left-=g;this.right-=g;break;case "+y":this.top+=g;this.bottom+=g;break;case "-y":this.top-=g,this.bottom-=g}};fa.prototype.overlaps=function(k){return this.leftk.left&&this.topk.top};fa.prototype.overlapsAny=function(k){for(var g=0;g=k.top&&this.bottom<=k.bottom&&this.left>=k.left&&this.right<=k.right};fa.prototype.overlapsOppositeAxis=function(k,g){switch(g){case "+x":return this.leftk.right;case "+y":return this.topk.bottom}};fa.prototype.intersectPercentage=function(k){return Math.max(0,Math.min(this.right,k.right)-Math.max(this.left,k.left))*Math.max(0,Math.min(this.bottom,k.bottom)-Math.max(this.top,k.top))/ (this.height*this.width)};fa.prototype.toCSSCompatValues=function(k){return{top:this.top-k.top,bottom:k.bottom-this.bottom,left:this.left-k.left,right:k.right-this.right,height:this.height,width:this.width}};fa.getSimpleBoxPosition=function(k){var g=k.div?k.div.offsetHeight:k.tagName?k.offsetHeight:0,b=k.div?k.div.offsetWidth:k.tagName?k.offsetWidth:0,e=k.div?k.div.offsetTop:k.tagName?k.offsetTop:0;k=k.div?k.div.getBoundingClientRect():k.tagName?k.getBoundingClientRect():k;return{left:k.left,right:k.right, top:k.top||e,height:k.height||g,bottom:k.bottom||e+(k.height||g),width:k.width||b}};Va.StringDecoder=function(){return{decode:function(k){if(!k)return"";if("string"!==typeof k)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(k))}}};Va.convertCueToDOMTree=function(k,g){return k&&g?Kf(k,g):null};Va.processCues=function(k,g,b){if(!k||!g||!b)return null;for(;b.firstChild;)b.removeChild(b.firstChild);var e=k.document.createElement("div");e.style.position="absolute"; e.style.left="0";e.style.right="0";e.style.top="0";e.style.bottom="0";e.style.margin="1.5%";b.appendChild(e);if(function(e){for(var b=0;b=A.line))var r=A.line;else if(A.track&&A.track.textTrackList&&A.track.textTrackList.mediaElement){r=A.track;for(var q=r.textTrackList,B=0,z=0;zn&&(z=(0>z?-1:1)*Math.ceil(n/B)*B);0>r&&(z+=""===A.vertical?u.height: u.width,q=q.reverse());N.move(V,z)}else{N=N.lineHeight/u.height*100;switch(A.lineAlign){case "middle":r-=N/2;break;case "end":r-=N}switch(A.vertical){case "":p.applyStyles({top:p.formatStyle(r,"%")});break;case "rl":p.applyStyles({left:p.formatStyle(r,"%")});break;case "lr":p.applyStyles({right:p.formatStyle(r,"%")})}q=["+y","-x","+x","-y"];N=new fa(p)}a:{A=N;N=q;n=new fa(A);r=1;for(q=0;qB&&(m=new fa(A),r=B);A=new fa(n)}m=m||n}p.move(m.toCSSCompatValues(u));a.displayState=b.div;l.push(fa.getSimpleBoxPosition(b))}})()}else for(b=0;b