function ObjectIron(n){var t;for(t=[],i=0,len=n.length;i<len;i+=1)t.push(n[i].isRoot?"root":n[i].name);var e=function(n,t){var i;if(null!==n&&null!==t)for(i in n)n.hasOwnProperty(i)&&(t.hasOwnProperty(i)||(t[i]=n[i]))},u=function(n,t,i){var o,s,r,u,f;if(null!==n&&0!==n.length)for(o=0,s=n.length;s>o;o+=1)r=n[o],t.hasOwnProperty(r.name)&&(i.hasOwnProperty(r.name)?r.merge&&(u=t[r.name],f=i[r.name],"object"==typeof u&&"object"==typeof f?e(u,f):i[r.name]=null!=r.mergeFunction?r.mergeFunction(u,f):u+f):i[r.name]=t[r.name])},r=function(n,t){var o,c,s,l,h,i,f,e=n;if(null!==e.children&&0!==e.children.length)for(o=0,c=e.children.length;c>o;o+=1)if(i=e.children[o],t.hasOwnProperty(i.name))if(i.isArray)for(h=t[i.name+"_asArray"],s=0,l=h.length;l>s;s+=1)f=h[s],u(e.properties,t,f),r(i,f);else f=t[i.name],u(e.properties,t,f),r(i,f)},f=function(i){var u,h,c,e,o,s,l;if(null===i||"object"!=typeof i)return i;for(u=0,h=t.length;h>u;u+=1)"root"===t[u]&&(o=n[u],s=i,r(o,s));for(e in i)if(i.hasOwnProperty(e)){if(c=t.indexOf(e),-1!==c)if(o=n[c],o.isArray)for(l=i[e+"_asArray"],u=0,h=l.length;h>u;u+=1)s=l[u],r(o,s);else s=i[e],r(o,s);f(i[e])}return i};return{run:f}}function X2JS(n,t,i){function h(n){var t=n.localName;return null==t&&(t=n.baseName),(null==t||""==t)&&(t=n.nodeName),t}function p(n){return n.prefix}function c(n){return"string"==typeof n?n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;"):n}function w(n){return n.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&#x2F;/g,"/")}function f(r){var a,it,o,nt,y,c,s,rt,b,k,l,d,g;if(r.nodeType==u.DOCUMENT_NODE){for(c=r.firstChild,a=0,it=r.childNodes.length;it>a;a+=1)if(r.childNodes[a].nodeType!==u.COMMENT_NODE){c=r.childNodes[a];break}return i?o=f(c):(o={},s=h(c),o[s]=f(c)),o}if(r.nodeType==u.ELEMENT_NODE){for(o={},o.__cnt=0,nt=r.childNodes,y=0;y<nt.length;y++)if(c=nt.item(y),s=h(c),o.__cnt++,null==o[s])o[s]=f(c),o[s+"_asArray"]=new Array(1),o[s+"_asArray"][0]=o[s];else{for(null==o[s]||o[s]instanceof Array||(rt=o[s],o[s]=[],o[s][0]=rt,o[s+"_asArray"]=o[s]),b=0;null!=o[s][b];)b++;o[s][b]=f(c)}for(k=0;k<r.attributes.length;k++){l=r.attributes.item(k);o.__cnt++;for(var v=l.value,tt=0,ut=n.length;ut>tt;tt++)d=n[tt],d.test.call(this,l.value)&&(v=d.converter.call(this,l.value),o[t+l.name+d.suffix()]=v,v=null);v&&(o[t+l.name]=v)}return g=p(r),null!=g&&""!=g&&(o.__cnt++,o.__prefix=g),1==o.__cnt&&null!=o["#text"]&&(o=o["#text"]),null!=o["#text"]&&(o.__text=o["#text"],e&&(o.__text=w(o.__text)),delete o["#text"],delete o["#text_asArray"]),null!=o["#cdata-section"]&&(o.__cdata=o["#cdata-section"],delete o["#cdata-section"],delete o["#cdata-section_asArray"]),(null!=o.__text||null!=o.__cdata)&&(o.toString=function(){return(null!=this.__text?this.__text:"")+(null!=this.__cdata?this.__cdata:"")}),o}return r.nodeType==u.TEXT_NODE||r.nodeType==u.CDATA_SECTION_NODE?r.nodeValue:r.nodeType==u.COMMENT_NODE?null:void 0}function r(n,t,i,r){var e="<"+(null!=n&&null!=n.__prefix?n.__prefix+":":"")+t,u,f,o;if(null!=i)for(u=0;u<i.length;u++)f=i[u],o=n[f],e+=" "+f.substr(1)+"='"+o+"'";return e+(r?"/>":">")}function o(n,t){return"<\/"+(null!=n.__prefix?n.__prefix+":":"")+t+">"}function b(n,t){return-1!==n.indexOf(t,n.length-t.length)}function l(n,t){return b(t.toString(),"_asArray")||0==t.toString().indexOf("_")||n[t]instanceof Function?!0:!1}function a(n){var t=0,i;if(n instanceof Object)for(i in n)l(n,i)||t++;return t}function v(n){var i=[],t;if(n instanceof Object)for(t in n)-1==t.toString().indexOf("__")&&0==t.toString().indexOf("_")&&i.push(t);return i}function k(n){var t="";return null!=n.__cdata&&(t+="<![CDATA["+n.__cdata+"]\]>"),null!=n.__text&&(t+=e?c(n.__text):n.__text),t}function y(n){var t="";return n instanceof Object?t+=k(n):null!=n&&(t+=e?c(n):n),t}function d(n,t,i){var f="",u;if(0==n.length)f+=r(n,t,i,!0);else for(u=0;u<n.length;u++)f+=r(n[u],t,v(n[u]),!1),f+=s(n[u]),f+=o(n[u],t);return f}function s(n){var i="",h=a(n),u,t,f,e;if(h>0)for(u in n)l(n,u)||(t=n[u],f=v(t),null==t||void 0==t?i+=r(t,u,f,!0):t instanceof Object?t instanceof Array?i+=d(t,u,f):(e=a(t),e>0||null!=t.__text||null!=t.__cdata?(i+=r(t,u,f,!1),i+=s(t),i+=o(t,u)):i+=r(t,u,f,!0)):(i+=r(t,u,f,!1),i+=y(t),i+=o(t,u)));return i+y(n)}(null===t||void 0===t)&&(t="_");(null===i||void 0===i)&&(i=!1);var g="1.0.11",e=!1,u={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};this.parseXmlString=function(n){var t,i;return window.DOMParser?(i=new window.DOMParser,t=i.parseFromString(n,"text/xml")):(0==n.indexOf("<?")&&(n=n.substr(n.indexOf("?>")+2)),t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)),t};this.xml2json=function(n){return f(n)};this.xml_str2json=function(n){var t=this.parseXmlString(n);return this.xml2json(t)};this.json2xml_str=function(n){return s(n)};this.json2xml=function(n){var t=this.json2xml_str(n);return this.parseXmlString(t)};this.getVersion=function(){return g};this.escapeMode=function(n){e=n}}var EventHub,Uint8ArrayUtil,AzureHtml5JS,AzureHtml5JSTech,silverlightSSLoaded,onSilverlightError,UrlRewriter,__extends,AMP,swfobject;!function(n,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){function ii(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return"function"===r||i.isWindow(n)?!1:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n}function ri(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(bf.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return lt.call(t,n)>-1!==r})}function hr(n,t){while((n=n[t])&&1!==n.nodeType);return n}function kf(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function yt(){u.removeEventListener("DOMContentLoaded",yt);n.removeEventListener("load",yt);i.ready()}function et(){this.expando=i.expando+et.uid++}function lr(n,t,r){var u;if(void 0===r&&1===n.nodeType)if(u="data-"+t.replace(cr,"-$&").toLowerCase(),r=n.getAttribute(u),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:df.test(r)?i.parseJSON(r):r}catch(f){}e.set(n,t,r)}else r=void 0;return r}function vr(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||"px"!==o&&+s)&&ot.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f/=e,i.style(n,t,f+o);while(e!==(e=c()/s)&&1!==e&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h)),h}function o(n,t){var r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):[];return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function ui(n,t){for(var i=0,u=n.length;u>i;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function kr(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;b>l;l++)if(e=n[l],e||0===e)if("object"===i.type(e))i.merge(y,e.nodeType?[e]:e);else if(br.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(pr.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];)if(u&&i.inArray(e,u)>-1)f&&f.push(e);else if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&ui(s),r)for(v=0;e=s[v++];)wr.test(e.type||"")&&r.push(e);return h}function pt(){return!0}function nt(){return!1}function gr(){try{return u.activeElement}catch(n){}}function fi(n,t,r,u,f,e){var o,s;if("object"==typeof t){"string"!=typeof r&&(u=u||r,r=void 0);for(s in t)fi(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),f===!1)f=nt;else if(!f)return n;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function nu(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function ee(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function oe(n){var t=ue.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function tu(n,t){var u,c,f,s,h,l,a,o;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),o=s.events)){delete h.handle;h.events={};for(f in o)for(u=0,c=o[f].length;c>u;u++)i.event.add(t,f,o[f][u])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function se(n,t){var i=t.nodeName.toLowerCase();"input"===i&&yr.test(n.type)?t.checked=n.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=n.defaultValue)}function b(n,t,u,e){t=gi.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,d=v-1,y=t[0],k=i.isFunction(y);if(k||v>1&&"string"==typeof y&&!f.checkClone&&re.test(y))return n.each(function(i){var r=n.eq(i);k&&(t[0]=y.call(this,i,r.html()));b(r,t,u,e)});if(v&&(l=kr(t,n[0].ownerDocument,!1,n,e),p=l.firstChild,1===l.childNodes.length&&(l=p),p||e)){for(c=i.map(o(l,"script"),ee),a=c.length;v>h;h++)s=l,h!==d&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,oe),h=0;a>h;h++)s=c[h],wr.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):i.globalEval(s.textContent.replace(fe,"")))}return n}function iu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&ui(o(u,"script")),u.parentNode.removeChild(u));return n}function ru(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.detach(),u}function oi(n){var r=u,t=ei[n];return t||(t=ru(n,r),"none"!==t&&t||(wt=(wt||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=wt[0].contentDocument,r.write(),r.close(),t=ru(n,r),wt.detach()),ei[n]=t),t}function tt(n,t,r){var o,s,h,u,e=n.style;return r=r||bt(n),u=r?r.getPropertyValue(t)||r[t]:void 0,""!==u&&void 0!==u||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),r&&!f.pixelMarginRight()&&si.test(u)&&uu.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h),void 0!==u?u+"":u}function ci(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function su(n){if(n in ou)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=eu.length;t--;)if(n=eu[t]+i,n in ou)return n}function hu(n,t,i){var r=ot.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function cu(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+w[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+w[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+w[e]+"Width",!0,f))):(o+=i.css(n,"padding"+w[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+w[e]+"Width",!0,f)));return o}function lu(n,t,r){var o=!0,u="width"===t?n.offsetWidth:n.offsetHeight,e=bt(n),s="border-box"===i.css(n,"boxSizing",!1,e);if(0>=u||null==u){if(u=tt(n,t,e),(0>u||null==u)&&(u=n.style[t]),si.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+cu(n,t,r||(s?"border":"content"),o,e)+"px"}function au(n,t){for(var e,u,s,o=[],f=0,h=n.length;h>f;f++)u=n[f],u.style&&(o[f]=r.get(u,"olddisplay"),e=u.style.display,t?(o[f]||"none"!==e||(u.style.display=""),""===u.style.display&&st(u)&&(o[f]=r.access(u,"olddisplay",oi(u.nodeName)))):(s=st(u),"none"===e&&s||r.set(u,"olddisplay",s?e:i.css(u,"display"))));for(f=0;h>f;f++)u=n[f],u.style&&(t&&"none"!==u.style.display&&""!==u.style.display||(u.style.display=t?o[f]||"":"none"));return n}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function pu(){return n.setTimeout(function(){it=void 0}),it=i.now()}function dt(n,t){var r,u=0,i={height:n};for(t=t?1:0;4>u;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function wu(n,t,i){for(var u,f=(l.tweeners[t]||[]).concat(l.tweeners["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function le(n,t,u){var f,a,p,v,o,w,h,b,l=this,y={},s=n.style,c=n.nodeType&&st(n),e=r.get(n,"fxshow");u.queue||(o=i._queueHooks(n,"fx"),null==o.unqueued&&(o.unqueued=0,w=o.empty.fire,o.empty.fire=function(){o.unqueued||w()}),o.unqueued++,l.always(function(){l.always(function(){o.unqueued--;i.queue(n,"fx").length||o.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],h=i.css(n,"display"),b="none"===h?r.get(n,"olddisplay")||oi(n.nodeName):h,"inline"===b&&"none"===i.css(n,"float")&&(s.display="inline-block"));u.overflow&&(s.overflow="hidden",l.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],vu.exec(a)){if(delete t[f],p=p||"toggle"===a,a===(c?"hide":"show")){if("show"!==a||!e||void 0===e[f])continue;c=!0}y[f]=e&&e[f]||i.style(n,f)}else h=void 0;if(i.isEmptyObject(y))"inline"===("none"===h?oi(n.nodeName):h)&&(s.display=h);else{e?"hidden"in e&&(c=e.hidden):e=r.access(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;r.remove(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=wu(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start="width"===f||"height"===f?1:0))}}function ae(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function l(n,t,r){var e,o,s=0,a=l.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=it||pu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;e>r;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),1>i&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:it||pu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;r>i;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(ae(h,u.opts.specialEasing);a>s;s++)if(e=l.prefilters[s].call(u,n,h,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,wu,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function k(n){return n.getAttribute&&n.getAttribute("class")||""}function ff(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function ef(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===yi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function wi(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function be(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return(f!==r[0]&&r.unshift(f),i[f])}function ke(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function bi(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||ge.test(n)?u(n,i):bi(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)bi(n+"["+f+"]",t[f],r,u)}function hf(n){return i.isWindow(n)?n:9===n.nodeType&&n.defaultView}var y=[],u=n.document,v=y.slice,gi=y.concat,ti=y.push,lt=y.indexOf,at={},af=at.toString,ft=at.hasOwnProperty,f={},nr="2.2.4",i=function(n,t){return new i.fn.init(n,t)},vf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,yf=/^-ms-/,pf=/-([\da-z])/gi,wf=function(n,t){return t.toUpperCase()},p,ur,fr,er,or,sr,h,vt,a,g,br,wt,ei,it,kt,vu,yu,bu,rt,ku,du,gt,gu,nf,li,sf,ut,ki,ni,di,cf,lf;i.fn=i.prototype={jquery:nr,constructor:i,selector:"",length:0,toArray:function(){return v.call(this)},get:function(n){return null!=n?0>n?this[n+this.length]:this[n]:v.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(v.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ti,sort:y.sort,splice:y.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);c>u;u++)if(null!=(e=arguments[u]))for(f in e)r=n[f],t=e[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(o=i.isArray(t)))?(o?(o=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(nr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray,isWindow:function(n){return null!=n&&n===n.window},isNumeric:function(n){var t=n&&n.toString();return!i.isArray(n)&&t-parseFloat(t)+1>=0},isPlainObject:function(n){var t;if("object"!==i.type(n)||n.nodeType||i.isWindow(n)||n.constructor&&!ft.call(n,"constructor")&&!ft.call(n.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in n);return void 0===t||ft.call(n,t)},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?at[af.call(n)]||"object":typeof n},globalEval:function(n){var t,r=eval;n=i.trim(n);n&&(1===n.indexOf("use strict")?(t=u.createElement("script"),t.text=n,u.head.appendChild(t).parentNode.removeChild(t)):r(n))},camelCase:function(n){return n.replace(yf,"ms-").replace(pf,wf)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ii(n)){for(r=n.length;r>i;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return null==n?"":(n+"").replace(vf,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ii(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ti.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:lt.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;u>i;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;e>r;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ii(n))for(e=n.length;e>r;r++)u=t(n[r],r,i),null!=u&&f.push(u);else for(r in n)u=t(n[r],r,i),null!=u&&f.push(u);return gi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return"string"==typeof t&&(u=n[t],t=n,n=u),i.isFunction(n)?(f=v.call(arguments,2),r=function(){return n.apply(t||this,f.concat(v.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r):void 0},now:Date.now,support:f});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=y[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){at["[object "+t+"]"]=t.toLowerCase()});p=function(n){function u(n,t,r,u){var l,w,a,s,nt,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(11!==v&&(d=sr.exec(n)))if(l=d[1]){if(9===v){if(!(a=t.getElementById(l)))return r;if(a.id===l)return r.push(a),r}else if(p&&(a=p.getElementById(l))&&et(t,a)&&a.id===l)return r.push(a),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((l=d[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(l)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(1!==v)p=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(hr,"\\$&"):t.setAttribute("id",s=e),y=ft(n),w=y.length,nt=yi.test(s)?"#"+s:"[id='"+s+"']";w--;)y[w]=nt+" "+yt(y[w]);g=y.join(",");p=gt.test(n)&&ii(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(tt){}finally{s===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ni(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("div");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ti(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function cr(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ii(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function bi(){}function yt(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function ri(n,t,i){var r=t.dir,u=i&&"parentNode"===r,f=ki++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,o){var s,h,c,l=[v,f];if(o){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,o))return!0}else while(t=t[r])if(1===t.nodeType||u){if(c=t[e]||(t[e]={}),h=c[t.uniqueID]||(c[t.uniqueID]={}),(s=h[r])&&s[0]===v&&s[1]===f)return l[2]=s[2];if(h[r]=l,l[2]=n(t,i,o))return!0}}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function ar(n,t,i){for(var r=0,f=t.length;f>r;r++)u(n,t[r],i);return i}function pt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;s>f;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function fi(n,t,i,r,u,f){return r&&!r[e]&&(r=fi(r)),u&&!u[e]&&(u=fi(u,f)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||ar(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?b:pt(b,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=pt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=pt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=ri(function(n){return n===o},c,!0),a=ri(function(n){return nt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];s>i;i++)if(u=t.relative[n[i].type])f=[ri(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;s>r;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(f),i>1&&yt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(at,"$1"),u,r>i&&ei(n.slice(i,r)),s>r&&ei(n=n.slice(r)),s>r&&yt(n))}f.push(u)}return ui(f)}function vr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&null!=(y=rt[p]);p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=gi.call(l));w=pt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,f,t,st,oi,ft,wt,si,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,v=0,ki=0,hi=ni(),ci=ni(),lt=ni(),bt=function(n,t){return n===t&&(ut=!0),0},li=-2147483648,di={}.hasOwnProperty,g=[],gi=g.pop,nr=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1},kt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",dt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",tr=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ir=new RegExp("^"+r+"*,"+r+"*"),rr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),ur=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),fr=new RegExp(dt),yi=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+kt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},er=/^(?:input|select|textarea|button)$/i,or=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,sr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,hr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},pi=function(){b()};try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(yr){k={apply:g.length?function(n,t){nr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l!==i&&9===l.nodeType&&l.documentElement?(i=l,s=i.documentElement,h=!oi(i),(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=f.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+kt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"div");ct.call(n,"[s!='']:x");d.push("!=",dt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},bt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,1&r||!f.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return wi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0},i):i};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(ur,"='$1']"),f.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(e){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&di.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):void 0;return void 0!==u?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(bt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f.replace(tr," ")+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;b=k="only"===n&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(1===c.nodeType&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((f?c.nodeName.toLowerCase()===nt:1===c.nodeType)&&++l&&(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=wt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return yi.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return or.test(n.nodeName)},input:function(n){return er.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[0>i?i+t:i]}),even:it(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=0>i?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=cr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=lr(rt);return bi.prototype=t.filters=t.pseudos,t.setFilters=new bi,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=ir.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=rr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},wt=u.compile=function(n,t){var r,u=[],f=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[e]?u.push(i):f.push(i);i=lt(n,vr(f,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var s,e,o,a,v,l="function"==typeof n&&n,c=!u&&ft(n=l.selector||n);if(r=r||[],1===c.length){if(e=c[0]=c[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&f.getById&&9===i.nodeType&&h&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],!i)return r;l&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=vt.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(u=v(o.matches[0].replace(y,p),gt.test(e[0].type)&&ii(i.parentNode)||i))){if(e.splice(s,1),n=u.length&&yt(e),!n)return k.apply(r,u),r;break}}}return(l||wt(n,c))(u,i,!h,r,!i||gt.test(n)&&ii(i.parentNode)||i),r},f.sortStable=e.split("").sort(bt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("div"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ti("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ti("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ti(kt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=p;i.expr=p.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=p.uniqueSort;i.text=p.getText;i.isXMLDoc=p.isXML;i.contains=p.contains;var d=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},tr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},ir=i.expr.match.needsContext,rr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,bf=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,u=this.length,r=[],f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;u>t;t++)if(i.contains(f[t],this))return!0}));for(t=0;u>t;t++)i.find(n,f[t],r);return r=this.pushStack(u>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(ri(this,n||[],!1))},not:function(n){return this.pushStack(ri(this,n||[],!0))},is:function(n){return!!ri(this,"string"==typeof n&&ir.test(n)?i(n):n||[],!1).length}});fr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;er=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||ur,"string"==typeof n){if(f="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:fr.exec(n),!f||!f[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),rr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&e.parentNode&&(this.length=1,this[0]=e),this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?void 0!==r.ready?r.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};er.prototype=i.fn;ur=i(u);or=/^(?:parents|prev(?:Until|All))/;sr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;r>n;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=ir.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?lt.call(i(n),this[0]):lt.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return d(n,"parentNode")},parentsUntil:function(n,t,i){return d(n,"parentNode",i)},next:function(n){return hr(n,"nextSibling")},prev:function(n){return hr(n,"previousSibling")},nextAll:function(n){return d(n,"nextSibling")},prevAll:function(n){return d(n,"previousSibling")},nextUntil:function(n,t,i){return d(n,"nextSibling",i)},prevUntil:function(n,t,i){return d(n,"previousSibling",i)},siblings:function(n){return tr((n.parentNode||{}).firstChild,n)},children:function(n){return tr(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(sr[n]||i.uniqueSort(f),or.test(n)&&f.reverse()),this.pushStack(f)}});h=/\S+/g;i.Callbacks=function(n){n="string"==typeof n?kf(n):i.extend({},n);var o,r,h,f,t=[],e=[],u=-1,c=function(){for(f=n.once,h=o=!0;e.length;u=-1)for(r=e.shift();++u<t.length;)t[u].apply(r[0],r[1])===!1&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},s={add:function(){return t&&(r&&!o&&(u=t.length-1,e.push(r)),function f(r){i.each(r,function(r,u){i.isFunction(u)?n.unique&&s.has(u)||t.push(u):u&&u.length&&"string"!==i.type(u)&&f(u)})}(arguments),r&&!o&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var f;(f=i.inArray(r,t,f))>-1;)t.splice(f,1),u>=f&&u--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=e=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=e=[],r||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],e.push(t),o||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(f.notify).done(f.resolve).fail(f.reject):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[1^n][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=v.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?v.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);r>t;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().progress(h(t,c,o)).done(h(t,s,u)).fail(f.reject):--e;return e||f.resolveWith(s,u),f.promise()}});i.fn.ready=function(n){return i.ready.promise().done(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0||(vt.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))))}});i.ready.promise=function(t){return vt||(vt=i.Deferred(),"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?n.setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",yt),n.addEventListener("load",yt))),vt.promise(t)};i.ready.promise();a=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)a(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;c>s;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};g=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};et.uid=1;et.prototype={register:function(n,t){var i=t||{};return n.nodeType?n[this.expando]=i:Object.defineProperty(n,this.expando,{value:i,writable:!0,configurable:!0}),n[this.expando]},cache:function(n){if(!g(n))return{};var t=n[this.expando];return t||(t={},g(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[t]=i;else for(r in t)u[r]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][t]},access:function(n,t,r){var u;return void 0===t||t&&"string"==typeof t&&void 0===r?(u=this.get(n,t),void 0!==u?u:this.get(n,i.camelCase(t))):(this.set(n,t,r),void 0!==r?r:t)},remove:function(n,t){var f,r,e,u=n[this.expando];if(void 0!==u){if(void 0===t)this.register(n);else for(i.isArray(t)?r=t.concat(t.map(i.camelCase)):(e=i.camelCase(t),(t in u)?r=[t,e]:(r=e,r=(r in u)?[r]:r.match(h)||[])),f=r.length;f--;)delete u[r[f]];(void 0===t||i.isEmptyObject(u))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new et,e=new et,df=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,cr=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(void 0===n){if(this.length&&(s=e.get(u),1===u.nodeType&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),lr(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return"object"==typeof n?this.each(function(){e.set(this,n)}):a(this,function(t){var r,f;if(u&&void 0===t){if((r=e.get(u,n)||e.get(u,n.replace(cr,"-$&").toLowerCase()),void 0!==r)||(f=i.camelCase(n),r=e.get(u,f),void 0!==r)||(r=lr(u,f,void 0),void 0!==r))return r}else f=i.camelCase(n),this.each(function(){var i=e.get(this,f);e.set(this,f,t);n.indexOf("-")>-1&&void 0!==i&&e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return(t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[])},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var ar=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+ar+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],st=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)};var yr=/^(?:checkbox|radio)$/i,pr=/<([\w:-]+)/,wr=/^$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;br=/<|&#?\w+;/;!function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var gf=/^key/,ne=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,dr=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){if("undefined"!=typeof i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),t=(t||"").match(h)||[""],b=t.length;b--;)w=dr.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;)if(c=dr.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),o){for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){n=i.event.fix(n);var o,s,e,u,t,h=[],c=v.call(arguments),l=(r.get(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,l),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(t=u.handlers[s++])&&!n.isImmediatePropagationStopped();)n.rnamespace&&!n.rnamespace.test(t.namespace)||(n.handleObj=t,n.data=t.data,e=((i.event.special[t.origType]||{}).handle||t.handler).apply(u.elem,c),void 0!==e&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,t){var e,u,f,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&("click"!==n.type||isNaN(n.button)||n.button<1))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&(r.disabled!==!0||"click"!==n.type)){for(u=[],e=0;s>e;e++)o=t[e],f=o.selector+" ",void 0===u[f]&&(u[f]=o.needsContext?i(f,this).index(r)>-1:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var e,i,r,f=t.button;return null==n.pageX&&null!=t.clientX&&(e=n.target.ownerDocument||u,i=e.documentElement,r=e.body,n.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),n.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),n.which||void 0===f||(n.which=1&f?1:2&f?3:4&f?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,o,r=n.type,s=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=ne.test(r)?this.mouseHooks:gf.test(r)?this.keyHooks:{}),o=t.props?this.props.concat(t.props):this.props,n=new i.Event(s),f=o.length;f--;)e=o[f],n[e]=s[e];return n.target||(n.target=u),3===n.target.nodeType&&(n.target=n.target.parentNode),t.filter?t.filter(n,s):n},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==gr()&&this.focus)return(this.focus(),!1)},delegateType:"focusin"},blur:{trigger:function(){if(this===gr()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i.nodeName(this,"input"))return(this.click(),!1)},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&n.returnValue===!1?pt:nt):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={constructor:i.Event,isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=pt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=pt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=pt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return fi(this,n,t,i,r)},one:function(n,t,i,r){return fi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return t!==!1&&"function"!=typeof t||(r=t,t=void 0),r===!1&&(r=nt),this.each(function(){i.event.remove(this,n,r,t)})}});var te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ie=/<script|<style|<link/i,re=/checked\s*(?:[^=]|=\s*.checked.)/i,ue=/^true\/(.*)/,fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(te,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!(f.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=o(h),s=o(n),u=0,c=s.length;c>u;u++)se(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;c>u;u++)tu(s[u],e[u]);else tu(n,h);return e=o(h,"script"),e.length>0&&ui(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;void 0!==(t=n[o]);o++)if(g(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[e.expando]&&(t[e.expando]=void 0)}}});i.fn.extend({domManip:b,detach:function(n){return iu(this,n,!0)},remove:function(n){return iu(this,n)},text:function(n){return a(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return b(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=nu(this,n);t.appendChild(n)}})},prepend:function(){return b(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=nu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return b(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return b(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return a(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!ie.test(n)&&!c[(pr.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;u>r;r++)t=this[r]||{},1===t.nodeType&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return b(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ti.apply(f,u.get());return this.pushStack(f)}});ei={HTML:"block",BODY:"block"};var uu=/^margin/,si=new RegExp("^("+ar+")(?!px)[a-z%]+$","i"),bt=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},hi=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f},ht=u.documentElement;!function(){var s,e,h,c,r=u.createElement("div"),t=u.createElement("div");if(t.style){t.style.backgroundClip="content-box";t.cloneNode(!0).style.backgroundClip="";f.clearCloneStyle="content-box"===t.style.backgroundClip;r.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute";r.appendChild(t);function o(){t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";ht.appendChild(r);var i=n.getComputedStyle(t);s="1%"!==i.top;c="2px"===i.marginLeft;e="4px"===i.width;t.style.marginRight="50%";h="4px"===i.marginRight;ht.removeChild(r)}i.extend(f,{pixelPosition:function(){return o(),s},boxSizingReliable:function(){return null==e&&o(),e},pixelMarginRight:function(){return null==e&&o(),h},reliableMarginLeft:function(){return null==e&&o(),c},reliableMarginRight:function(){var f,i=t.appendChild(u.createElement("div"));return i.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",t.style.width="1px",ht.appendChild(r),f=!parseFloat(n.getComputedStyle(i).marginRight),ht.removeChild(r),t.removeChild(i),f}})}}();var he=/^(none|table(?!-c[ea]).+)/,ce={position:"absolute",visibility:"hidden",display:"block"},fu={letterSpacing:"0",fontWeight:"400"},eu=["Webkit","O","Moz","ms"],ou=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=tt(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;return t=i.cssProps[s]||(i.cssProps[s]=su(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===r?o&&"get"in o&&void 0!==(e=o.get(n,!1,u))?e:c[t]:(h=typeof r,"string"===h&&(e=ot.exec(r))&&e[1]&&(r=vr(n,t,e),h="number"),null!=r&&r===r&&("number"===h&&(r+=e&&e[3]||(i.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(c[t]=r)),void 0)}},css:function(n,t,r,u){var f,s,o,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=su(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=tt(n,t,u)),"normal"===f&&t in fu&&(f=fu[t]),""===r||r?(s=parseFloat(f),r===!0||isFinite(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return he.test(i.css(n,"display"))&&0===n.offsetWidth?hi(n,ce,function(){return lu(n,t,u)}):lu(n,t,u)},set:function(n,r,u){var f,e=u&&bt(n),o=u&&cu(n,t,u,"border-box"===i.css(n,"boxSizing",!1,e),e);return o&&(f=ot.exec(r))&&"px"!==(f[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),hu(n,r,o)}}});i.cssHooks.marginLeft=ci(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(tt(n,"marginLeft"))||n.getBoundingClientRect().left-hi(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.cssHooks.marginRight=ci(f.reliableMarginRight,function(n,t){if(t)return hi(n,{display:"inline-block"},tt,[n,"marginRight"])});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};uu.test(n)||(i.cssHooks[n+t].set=hu)});i.fn.extend({css:function(n,t){return a(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=bt(n),e=t.length;e>u;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return au(this,!0)},hide:function(){return au(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){st(this)?i(this).show():i(this).hide()})}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||null==n.elem.style[i.cssProps[n.prop]]&&!i.cssHooks[n.prop]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=s.prototype.init;i.fx.step={};vu=/^(?:toggle|show|hide)$/;yu=/queueHooks$/;i.Animation=i.extend(l,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return vr(i.elem,n,ot.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;f>u;u++)r=n[u],l.tweeners[r]=l.tweeners[r]||[],l.tweeners[r].unshift(t)},prefilters:[le],prefilter:function(n,t){t?l.prefilters.unshift(n):l.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,null!=u.queue&&u.queue!==!0||(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(st).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=l(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&yu.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));!s&&u||i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;s>t;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(dt(t,!0),n,i,u)}});i.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(it=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();it=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){kt||(kt=n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.clearInterval(kt);kt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=""!==n.value;f.optSelected=i.selected;t.disabled=!0;f.optDisabled=!i.disabled;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue="t"===n.value}();rt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return a(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(t=t.toLowerCase(),f=i.attrHooks[t]||(i.expr.match.bool.test(t)?bu:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):f&&"set"in f&&void 0!==(u=f.set(n,r,t))?u:(n.setAttribute(t,r+""),r):f&&"get"in f&&null!==(u=f.get(n,t))?u:(u=i.find.attr(n,t),null==u?void 0:u))},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(h);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)&&(n[u]=!1),n.removeAttribute(r)}});bu={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=rt[t]||i.find.attr;rt[t]=function(n,t,i){var u,f;return i||(f=rt[t],rt[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,rt[t]=f),u}});ku=/^(?:input|select|textarea|button)$/i;du=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return a(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):ku.test(n.nodeName)||du.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});gt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,k(this)))});if("string"==typeof n&&n)for(o=n.match(h)||[];t=this[c++];)if(u=k(t),r=1===t.nodeType&&(" "+u+" ").replace(gt," ")){for(s=0;f=o[s++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");e=i.trim(r);u!==e&&t.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,k(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(o=n.match(h)||[];r=this[c++];)if(u=k(r),t=1===r.nodeType&&(" "+u+" ").replace(gt," ")){for(s=0;f=o[s++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return"boolean"==typeof t&&"string"===u?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,k(this),t),t)}):this.each(function(){var t,e,f,o;if("string"===u)for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else void 0!==n&&"boolean"!==u||(t=k(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+k(t)+" ").replace(gt," ").indexOf(i)>-1)return!0;return!1}});gu=/\r/g;nf=/[\x20\t\r\n\f]+/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;1===this.nodeType&&(u=f?n.call(this,r,i(this).val()):n,null==u?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(u,"value"))?r:(r=u.value,"string"==typeof r?r.replace(gu,""):null==r?"":r)):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:i.trim(i.text(n)).replace(nf," ")}},select:{get:function(n){for(var o,t,s=n.options,r=n.selectedIndex,u="select-one"===n.type||0>r,h=u?null:[],c=u?r+1:s.length,e=0>r?c:u?r:0;c>e;e++)if(t=s[e],(t.selected||e===r)&&(f.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),u)return o;h.push(o)}return h},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});li=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=ft.call(t,"type")?t.type:t,y=ft.call(t,"namespace")?t.namespace.split("."):[];if(s=c=e=e||u,3!==e.nodeType&&8!==e.nodeType&&!li.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,li.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&g(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||l._default&&l._default.apply(p.pop(),f)!==!1||!g(e)||a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=void 0,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ct=n.location,ai=i.now(),vi=/\?/;i.parseJSON=function(n){return JSON.parse(n+"")};i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var ve=/#.*$/,tf=/([?&])_=[^&]*/,ye=/^(.*?):[ \t]*([^\r\n]*)$/gm,pe=/^(?:GET|HEAD)$/,we=/^\/\//,rf={},yi={},uf="*/".concat("*"),pi=u.createElement("a");pi.href=ct.href;i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":uf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?wi(wi(n,i.ajaxSettings),t):wi(i.ajaxSettings,n)},ajaxPrefilter:ff(rf),ajaxTransport:ff(yi),ajax:function(t,r){function b(t,r,u,h){var a,rt,it,p,b,l=r;2!==s&&(s=2,d&&n.clearTimeout(d),v=void 0,k=h||"",e.readyState=t>0?4:0,a=t>=200&&300>t||304===t,u&&(p=be(f,e,u)),p=ke(f,p,e,a),a?(f.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),204===t||"HEAD"===f.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,it=p.error,a=!it)):(it=l,!t&&l||(l="error",0>t&&(t=0))),e.status=t,e.statusText=(r||l)+"",a?nt.resolveWith(c,[rt,l,e]):nt.rejectWith(c,[e,l,it]),e.statusCode(w),w=void 0,y&&g.trigger(a?"ajaxSuccess":"ajaxError",[e,f,a?rt:it]),tt.fireWith(c,[e,l]),y&&(g.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var v,o,k,p,d,l,y,a,f=i.ajaxSetup({},r),c=f.context||f,g=f.context&&(c.nodeType||c.jquery)?i(c):i.event,nt=i.Deferred(),tt=i.Callbacks("once memory"),w=f.statusCode||{},it={},rt={},s=0,ut="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(2===s){if(!p)for(p={};t=ye.exec(k);)p[t[1].toLowerCase()]=t[2];t=p[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===s?k:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return s||(n=rt[i]=rt[i]||n,it[n]=t),this},overrideMimeType:function(n){return s||(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>s)for(t in n)w[t]=[w[t],n[t]];else e.always(n[e.status]);return this},abort:function(n){var t=n||ut;return v&&v.abort(t),b(0,t),this}};if(nt.promise(e).complete=tt.add,e.success=e.done,e.error=e.fail,f.url=((t||f.url||ct.href)+"").replace(ve,"").replace(we,ct.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=i.trim(f.dataType||"*").toLowerCase().match(h)||[""],null==f.crossDomain){l=u.createElement("a");try{l.href=f.url;l.href=l.href;f.crossDomain=pi.protocol+"//"+pi.host!=l.protocol+"//"+l.host}catch(ft){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=i.param(f.data,f.traditional)),ef(rf,f,r,e),2===s)return e;y=i.event&&f.global;y&&0==i.active++&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!pe.test(f.type);o=f.url;f.hasContent||(f.data&&(o=f.url+=(vi.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=tf.test(o)?o.replace(tf,"$1_="+ai++):o+(vi.test(o)?"&":"?")+"_="+ai++));f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&f.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+uf+"; q=0.01":""):f.accepts["*"]);for(a in f.headers)e.setRequestHeader(a,f.headers[a]);if(f.beforeSend&&(f.beforeSend.call(c,e,f)===!1||2===s))return e.abort();ut="abort";for(a in{success:1,error:1,complete:1})e[a](f[a]);if(v=ef(yi,f,r,e)){if(e.readyState=1,y&&g.trigger("ajaxSend",[e,f]),2===s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=1;v.send(it,b)}catch(ft){if(!(2>s))throw ft;b(-1,ft)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}});i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}});i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})};i.fn.extend({wrapAll:function(n){var t;return i.isFunction(n)?this.each(function(t){i(this).wrapAll(n.call(this,t))}):(this[0]&&(t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this)},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});i.expr.filters.hidden=function(n){return!i.expr.filters.visible(n)};i.expr.filters.visible=function(n){return n.offsetWidth>0||n.offsetHeight>0||n.getClientRects().length>0};var de=/%20/g,ge=/\[\]$/,of=/\r?\n/g,no=/^(?:submit|button|image|reset|file)$/i,to=/^(?:input|select|textarea|keygen)/i;return i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():null==t?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(void 0===t&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)bi(r,n[r],t,f);return u.join("&").replace(de,"+")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&to.test(this.nodeName)&&!no.test(n)&&(this.checked||!yr.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(of,"\r\n")}}):{name:t.name,value:r.replace(of,"\r\n")}}).get()}}),i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},sf={0:200,1223:204},ut=i.ajaxSettings.xhr(),f.cors=!!ut&&"withCredentials"in ut,f.ajax=ut=!!ut,i.ajaxTransport(function(t){var i,r;if(f.cors||ut&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(sf[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),ki=[],ni=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=ki.pop()||i.expando+"_"+ai++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ni.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return(f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ni,"$1"+f):t.jsonp!==!1&&(t.url+=(vi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){void 0===e?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,ki.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=void 0}),"script")}),i.parseHTML=function(n,t,r){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(r=t,t=!1);t=t||u;var f=rr.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=kr([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},di=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&di)return di.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var t,f,r=this[0],u={top:0,left:0},e=r&&r.ownerDocument;if(e)return t=e.documentElement,i.contains(t,r)?(u=r.getBoundingClientRect(),f=hf(e),{top:u.top+f.pageYOffset-t.clientTop,left:u.left+f.pageXOffset-t.clientLeft}):u},position:function(){if(this[0]){var n,r,u=this[0],t={top:0,left:0};return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||ht})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return a(this,function(n,i,u){var f=hf(n);return void 0===u?f?f[t]:n[i]:void(f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u)},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=ci(f.pixelPosition,function(n,r){if(r)return(r=tt(n,t),si.test(r)?i(n).position()[t]+"px":r)})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var e=arguments.length&&(r||"boolean"!=typeof u),o=r||(u===!0||f===!0?"margin":"border");return a(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:9===t.nodeType?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):void 0===u?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:void 0,e,null)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)},size:function(){return this.length}}),i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),cf=n.jQuery,lf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=lf),t&&n.jQuery===i&&(n.jQuery=cf),i},t||(n.jQuery=n.$=i),i}),function(n){function i(n,t){for(var i=window,r=(n||"").split(".");i&&r.length;)i=i[r.shift()];return typeof i=="function"?i:(t.push(n),Function.constructor.apply(null,t))}function u(n){return n==="GET"||n==="POST"}function o(n,t){u(t)||n.setRequestHeader("X-HTTP-Method-Override",t)}function s(t,i,r){var u;r.indexOf("application/x-javascript")===-1&&(u=(t.getAttribute("data-ajax-mode")||"").toUpperCase(),n(t.getAttribute("data-ajax-update")).each(function(t,r){var f;switch(u){case"BEFORE":f=r.firstChild;n("<div />").html(i).contents().each(function(){r.insertBefore(this,f)});break;case"AFTER":n("<div />").html(i).contents().each(function(){r.appendChild(this)});break;case"REPLACE-WITH":n(r).replaceWith(i);break;default:n(r).html(i)}}))}function f(t,r){var e,h,f,c;(e=t.getAttribute("data-ajax-confirm"),!e||window.confirm(e))&&(h=n(t.getAttribute("data-ajax-loading")),c=parseInt(t.getAttribute("data-ajax-loading-duration"),10)||0,n.extend(r,{type:t.getAttribute("data-ajax-method")||undefined,url:t.getAttribute("data-ajax-url")||undefined,cache:!!t.getAttribute("data-ajax-cache"),beforeSend:function(n){var r;return o(n,f),r=i(t.getAttribute("data-ajax-begin"),["xhr"]).apply(t,arguments),r!==!1&&h.show(c),r},complete:function(){h.hide(c);i(t.getAttribute("data-ajax-complete"),["xhr","status"]).apply(t,arguments)},success:function(n,r,u){s(t,n,u.getResponseHeader("Content-Type")||"text/html");i(t.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(t,arguments)},error:function(){i(t.getAttribute("data-ajax-failure"),["xhr","status","error"]).apply(t,arguments)}}),r.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),f=r.type.toUpperCase(),u(f)||(r.type="POST",r.data.push({name:"X-HTTP-Method-Override",value:f})),n.ajax(r))}function h(t){var i=n(t).data(e);return!i||!i.validate||i.validate()}var t="unobtrusiveAjaxClick",r="unobtrusiveAjaxClickTarget",e="unobtrusiveValidation";n(document).on("click","a[data-ajax=true]",function(n){n.preventDefault();f(this,{url:this.href,type:"GET",data:[]})});n(document).on("click","form[data-ajax=true] input[type=image]",function(i){var r=i.target.name,u=n(i.target),f=n(u.parents("form")[0]),e=u.offset();f.data(t,[{name:r+".x",value:Math.round(i.pageX-e.left)},{name:r+".y",value:Math.round(i.pageY-e.top)}]);setTimeout(function(){f.removeData(t)},0)});n(document).on("click","form[data-ajax=true] :submit",function(i){var f=i.currentTarget.name,e=n(i.target),u=n(e.parents("form")[0]);u.data(t,f?[{name:f,value:i.currentTarget.value}]:[]);u.data(r,e);setTimeout(function(){u.removeData(t);u.removeData(r)},0)});n(document).on("submit","form[data-ajax=true]",function(i){var e=n(this).data(t)||[],u=n(this).data(r),o=u&&u.hasClass("cancel");(i.preventDefault(),o||h(this))&&f(this,{url:this.action,type:this.method||"GET",data:e.concat(n(this).serializeArray())})})}(jQuery),function(){var n=!1,t=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(i){function u(){!n&&this.init&&this.init.apply(this,arguments)}var e=this.prototype,f,r;n=!0;f=new this;n=!1;for(r in i)f[r]=typeof i[r]=="function"&&typeof e[r]=="function"&&t.test(i[r])?function(n,t){return function(){var r=this._super,i;return this._super=e[n],i=t.apply(this,arguments),this._super=r,i}}(r,i[r]):i[r];return u.prototype=f,u.prototype.constructor=u,u.extend=arguments.callee,u}}();var MAX_VALUE=30,PlayerEvents={NEXT:0,RELATED_LOADED:1,PLAYER_READY:2,PREROLL_BEGIN:3,PREROLL_END:4},CedPlayer=Class.extend({hasStartedPreroll:!1,hasStartedvideo:!1,playControlTO:0,controlPlayInterval:15e3,init:function(n,t,i,r,u,f,e,o,s){var c;wt_init_media("caltagironeeditore01.wt-eu02.net","927615140575951");FDC_Player_static.getDeviceType()==FDC_Player_static.deviceType.IOS_IPHONE&&(e.autoplay=!1);this.transform_styles=["-webkit-transform","-ms-transform","transform"];this.value=MAX_VALUE;this.isPlayerLoaded=!1;this.isExternalLoaded=!1;this.isAdvEnabled=o;this.dataPlayer;this.startTimeout=800;this.startTick=100;this.countdownTick=1e3;this.statsPayload2=f;this.statsHub2=u;this.playerOptions=e;this.myPlayer={};this.platformId=r;this.isRelatedEnabled=s;var h=new Date,l=h.getFullYear(),a=h.getMonth()+1>9?h.getMonth()+1:"0"+(h.getMonth()+1),v=h.getDate()>9?h.getDate():"0"+h.getDate(),y=h.getHours()>9?h.getHours():"0"+h.getHours(),p=h.getMinutes()>9?h.getMinutes():"0"+h.getMinutes(),w=h.getSeconds()>9?h.getSeconds():"0"+h.getSeconds();this.dateForNielsen=l+""+a+""+v+" "+y+":"+p+":"+w;this.guid=i;this.urlDetail=n;this.urlRelated=t;window.addEventListener?window.addEventListener("message",function(n){c.externalMessageReceived(n)},!1):window.attachEvent&&window.attachEvent("onmessage",function(n){c.externalMessageReceived(n)});c=this;this.startInterval=setInterval(function(){c.starter()},this.startTick);this.playerOptions.isStringPostMessage=!1;this.playerOptions.stats=!0;this.playerOptions.stats_function=function(n){c.sendStats(n)};this.playerOptions.stats_interval=30;this.playerOptions.hint=!1;myPlayer=new FDCPlayer(this.playerOptions);this.myPlayer=myPlayer;myPlayer.onstartbuffer=function(){var n=Math.round(myPlayer.getTimeForThumb());n>1&&nSdkInstance.ggPM("stop",n)};myPlayer.onendbuffer=function(){nSdkInstance.ggPM("loadMetadata",contentMetadataObject)}},start:function(){var n=this;$.ajax({url:this.urlDetail,type:"POST",data:{guid:this.guid,platformId:this.platformId},success:function(t){n.dataPlayer=$.parseJSON(t);n.statsPayload2.ObjectID=n.dataPlayer.id;n.isPlayerLoaded=!0;wt_sendinfo_media(n.webtrekk_title(),"init","0",n.dataPlayer.duration,n.webtrekk_mg())}})},webtrekk_title:function(){return this.dataPlayer.id+" - "+this.playerOptions.head+" - "+this.dataPlayer.category},webtrekk_mg:function(){return"mg1="+this.dataPlayer.category+";mg2="+this.dataPlayer.author+";mg3="+this.dataPlayer.id+";mg4="+this.dataPlayer.title+";mg5="+this.playerOptions.head+";mg6="+this.dataPlayer.client},sendStats:function(n){var t=this.statsPayload2,i,r,u;t.Event=n.event;t.DeviceID=n.device;t.ProgressivePlay=n.progressivePlay;t.DurationSeconds=n.duration===null||isNaN(n.duration)?0:n.duration;t.CategoriesIDS="";t.DisplayedSecondsList=n.uniqueSecondsArray.toString();t.ProgressiveDetail=n.progressArray;t.DisplayedSeconds=n.uniqueSeconds;t.RelativeTime=n.currentTime;t.AbsoluteTime=0;t.Bitrate=n.bitrate;t.ErrorType=n.errorType;t.TotalItems=0;t.ViewvedItem=0;t.Autoplay=n.isAutoplay;switch(n.event){case FDC_Player_static.playerEvents.PLAY:case FDC_Player_static.playerEvents.START:case FDC_Player_static.playerEvents.PAUSE:case FDC_Player_static.playerEvents.FULLSCREENIN:case FDC_Player_static.playerEvents.FULLSCREENOUT:case FDC_Player_static.playerEvents.ENDVIDEO:case FDC_Player_static.playerEvents.COMPLETE:case FDC_Player_static.playerEvents.ERROR:case FDC_Player_static.playerEvents.PRE_START:case FDC_Player_static.playerEvents.PRE_END:case FDC_Player_static.playerEvents.PRE_SKIP:r=n.stringEvent;n.event==FDC_Player_static.playerEvents.COMPLETE&&(r="ENDVIDEO");n.event==FDC_Player_static.playerEvents.START&&(r="PLAY");this.myPlayer.stringMessageToParentFrame(r)}u="";this.dataPlayer.pubdate!=null&&this.dataPlayer.pubdate.replace(/-/gi,"").replace("T"," ").substring(0,17);contentMetadataObject={type:"content",assetid:""+this.dataPlayer.guid,program:(platformName+"-"+this.dataPlayer.category).toUpperCase(),title:""+this.webtrekk_title().toUpperCase(),length:this.dataPlayer.duration+"",airdate:u,isfullepisode:"y",adloadtype:"2"};prerollMetadataObject={assetid:"AD-1",type:"preroll"};switch(n.event){case FDC_Player_static.playerEvents.COMPLETE:i="eof";nSdkInstance.ggPM("end",Math.round(this.myPlayer.getDuration()));this.callGtag("Video_End");try{window.clearInterval(statsITx)}catch(f){}break;case FDC_Player_static.playerEvents.PRE_START:if(!this.hasStartedPreroll){i="preroll_start";this.hasStartedPreroll=!0;nSdkInstance.ggPM("loadMetadata",contentMetadataObject);nSdkInstance.ggPM("loadMetadata",prerollMetadataObject);this.callGtag("Preroll_Start");try{window.clearInterval(advITx)}catch(f){}this.callPlayheadADV()}break;case FDC_Player_static.playerEvents.PRE_END:i="preroll_stop";try{window.clearInterval(advITx)}catch(f){}nSdkInstance.ggPM("stop",sp);this.callGtag("Preroll_End");break;case FDC_Player_static.playerEvents.POSITION:parseInt(n.currentTime)>29&&(i="pos");break;case FDC_Player_static.playerEvents.PRE_SKIP:i="preroll_skip";try{window.clearInterval(advITx)}catch(f){}nSdkInstance.ggPM("stop",sp);this.callGtag("Preroll_Skip");break;case FDC_Player_static.playerEvents.START:nSdkInstance.ggPM("loadMetadata",contentMetadataObject);try{window.clearInterval(advITx)}catch(f){}this.callPlayheadStats();this.callGtag("Player_Start");case FDC_Player_static.playerEvents.PLAY:this.hasStartedvideo&&nSdkInstance.ggPM("loadMetadata",contentMetadataObject);i="play";this.hasStartedvideo=!0;this.callGtag("Video_Play");break;case FDC_Player_static.playerEvents.PAUSE:nSdkInstance.ggPM("stop",Math.round(this.myPlayer.getTimeForThumb()));i="pause";this.callGtag("Video_Pause");break;case FDC_Player_static.playerEvents.SEEK:i="seek";this.callGtag("Video_Seek")}i!==undefined&&i.length>0&&wt_sendinfo_media(this.webtrekk_title(),i,parseInt(n.currentTime),this.dataPlayer.duration,this.webtrekk_mg());n.stringEvent=="ADV_REQUESTADS"||n.stringEvent=="ADV_ERROR"||n.stringEvent=="ERROR";switch(n.event){case FDC_Player_static.playerEvents.IMPRESSION:case FDC_Player_static.playerEvents.START:case FDC_Player_static.playerEvents.FIRSTQUARTILE:case FDC_Player_static.playerEvents.MIDPOINT:case FDC_Player_static.playerEvents.THIRDQUARTILE:case FDC_Player_static.playerEvents.COMPLETE:case FDC_Player_static.playerEvents.POSITION:case FDC_Player_static.playerEvents.ERROR:case FDC_Player_static.playerEvents.ADV_ERROR:case FDC_Player_static.playerEvents.ADV_REQUESTADS:this.statsHub2.sendEventToHub(t)}},findKeyByValue:function(n,t){for(var i in n)if(n.hasOwnProperty(i)&&n[i]===t)return i;return undefined},sendMessage:function(n,t){var i={id:this.myPlayer.getPlayerName(),type:n,value:t,other:{guid:this.guid}};testio=i;window.parent.postMessage(i,"*")},play:function(){this.isAdvEnabled&&this.dataPlayer.showAdvDefault||(this.dataPlayer.advurl="");var n=this;this.myPlayer.onend=function(){n.onEnd()};this.myPlayer.load(this.dataPlayer);this.callGtag("Player_Init");this.dataPlayer.allowFullscreen===undefined||this.dataPlayer.allowFullscreen||$("#fsContainer").css("display","none");this.startInterval!==null&&clearInterval(this.startInterval);this.currentTimeInterval!==null&&clearInterval(this.currentTimeInterval);this.currentTimeInterval=setInterval(function(){n.currentTime()},n.countdownTick);this.sendMessage("PLAYER_READY",0)},externalMessageReceived:function(n){this.isExternalLoaded=!0;var t=(typeof n.data).toLowerCase();t==="object"&&(n.data.isAdvEnabled!==undefined&&(this.isAdvEnabled=n.data.isAdvEnabled,this.isAdvEnabled||wt_sendinfo_media(this.webtrekk_title(),"preroll_abort","0","0",this.webtrekk_mg())),n.data.isRelatedEnabled!==undefined&&(this.isRelatedEnabled=n.data.isRelatedEnabled))},starter:function(){this.startTimeout-=this.startTick;this.isPlayerLoaded&&(this.isExternalLoaded?this.play():this.startTimeout<=0&&this.play())},next:function(n){this.currentTimeInterval!==null&&clearInterval(this.currentTimeInterval);this.sendMessage("NEXT",n)},currentTime:function(){if(this.myPlayer!=={}){var n=this.myPlayer.getTimeForThumb(),t=this.myPlayer.getDuration(),i=100*n/t,r=this;i>50&&$(".inset").length===0&&this.isRelatedEnabled&&(clearInterval(this.currentTimeInterval),$.ajax({url:this.urlRelated,type:"POST",data:{guid:this.guid,platformId:this.platformId},success:function(n){r.onRelatedLoaded(n)}}))}},onRelatedLoaded:function(n){var t=this;$(".related").html(n);$(".replay").on("click",function(){t.replay()});$(".inset").on("click",function(){t.next($($(".block").first()).attr("data-guid"))});$(".block").on("click",function(){t.next($(this).attr("data-guid"))});this.sendMessage("RELATED_LOADED",0)},replay:function(){for(i in this.transform_styles)$(".mask, .fill").css("transition",this.transform_styles[i]+" 0s linear"),$(".circle .fill, .circle .mask.full").css(this.transform_styles[i],"rotate(0deg)"),$(".circle .fill.fix").css(this.transform_styles[i],"rotate(0deg)");$(".related").css("display","none");this.value=MAX_VALUE;this.myPlayer.play();var n=this;this.countDownInterval!==null&&clearInterval(this.countDownInterval)},countdown:function(){this.value>0&&($(".dial").val(MAX_VALUE-this.value).trigger("change"),this.value!==1?$(".seconds").html(this.value+" secondi"):(clearInterval(this.countDownInterval),$(".seconds").html("1 secondo"),this.next($($(".block").first()).attr("data-guid"))));this.value--},onEnd:function(){if(this.isRelatedEnabled&&!$(".related").is(":visible")){myPlayer.outFS();$(".related").css("display","block");$(".seconds").html(MAX_VALUE+" secondi");var n=this;setTimeout(function(){n.anim()},this.startTick);this.countDownInterval=setInterval(function(){n.countdown()},this.countdownTick)}},anim:function(){var n=Math.floor(180),t=n,r=n*2;for(i in this.transform_styles)$(".mask, .fill").css("transition",this.transform_styles[i]+" 30s linear"),$(".circle .fill, .circle .mask.full").css(this.transform_styles[i],"rotate("+t+"deg)"),$(".circle .fill.fix").css(this.transform_styles[i],"rotate("+r+"deg)")},callPlayheadStats:function(){var n=this;nSdkInstance.ggPM("setPlayheadPosition",0);statsITx=window.setInterval(function(){n.myPlayer.isPaused()||n.myPlayer.player.readyState!=4||nSdkInstance.ggPM("setPlayheadPosition",Math.round(n.myPlayer.getTimeForThumb()))},1e3)},callPlayheadADV:function(){sp=0;nSdkInstance.ggPM("setPlayheadPosition",sp);advITx=window.setInterval(function(){sp++;nSdkInstance.ggPM("setPlayheadPosition",sp)},1e3)},callGtag:function(n){var t=this;console.log("callGtag "+n);gtag("event",n,{event_category:"video",event_label:n,autoplay:""+t.playerOptions.autoplay,id:t.dataPlayer.id,title:t.dataPlayer.title,platform:t.playerOptions.head,actual_second:t.myPlayer.getTimeForThumb(),duration:t.myPlayer.getDuration(),category:t.dataPlayer.category,client:t.dataPlayer.client,author:t.dataPlayer.author})}}),CryptoJS=CryptoJS||function(n,t){var r={},u=r.lib={},f=u.Base=function(){function n(){}return{extend:function(t){n.prototype=this;var i=new n;return t&&i.mixIn(t),i.$super=this,i},create:function(){var n=this.extend();return n.init.apply(n,arguments),n},init:function(){},mixIn:function(n){for(var t in n)n.hasOwnProperty(t)&&(this[t]=n[t]);n.hasOwnProperty("toString")&&(this.toString=n.toString)},clone:function(){return this.$super.extend(this)}}}(),i=u.WordArray=f.extend({init:function(n,i){n=this.words=n||[];this.sigBytes=i!=t?i:4*n.length},toString:function(n){return(n||c).stringify(this)},concat:function(n){var i=this.words,r=n.words,u=this.sigBytes,n=n.sigBytes,t;if(this.clamp(),u%4)for(t=0;t<n;t++)i[u+t>>>2]|=(r[t>>>2]>>>24-8*(t%4)&255)<<24-8*((u+t)%4);else if(65535<r.length)for(t=0;t<n;t+=4)i[u+t>>>2]=r[t>>>2];else i.push.apply(i,r);return this.sigBytes+=n,this},clamp:function(){var i=this.words,t=this.sigBytes;i[t>>>2]&=4294967295<<32-8*(t%4);i.length=n.ceil(t/4)},clone:function(){var n=f.clone.call(this);return n.words=this.words.slice(0),n},random:function(t){for(var r=[],u=0;u<t;u+=4)r.push(4294967296*n.random()|0);return i.create(r,t)}}),e=r.enc={},c=e.Hex={stringify:function(n){for(var r,u=n.words,n=n.sigBytes,i=[],t=0;t<n;t++)r=u[t>>>2]>>>24-8*(t%4)&255,i.push((r>>>4).toString(16)),i.push((r&15).toString(16));return i.join("")},parse:function(n){for(var r=n.length,u=[],t=0;t<r;t+=2)u[t>>>3]|=parseInt(n.substr(t,2),16)<<24-4*(t%8);return i.create(u,r/2)}},s=e.Latin1={stringify:function(n){for(var r=n.words,n=n.sigBytes,i=[],t=0;t<n;t++)i.push(String.fromCharCode(r[t>>>2]>>>24-8*(t%4)&255));return i.join("")},parse:function(n){for(var r=n.length,u=[],t=0;t<r;t++)u[t>>>2]|=(n.charCodeAt(t)&255)<<24-8*(t%4);return i.create(u,r)}},l=e.Utf8={stringify:function(n){try{return decodeURIComponent(escape(s.stringify(n)))}catch(t){throw Error("Malformed UTF-8 data");}},parse:function(n){return s.parse(unescape(encodeURIComponent(n)))}},o=u.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=i.create();this._nDataBytes=0},_append:function(n){"string"==typeof n&&(n=l.parse(n));this._data.concat(n);this._nDataBytes+=n.sigBytes},_process:function(t){var f=this._data,s=f.words,u=f.sigBytes,e=this.blockSize,o=u/(4*e),o=t?n.ceil(o):n.max((o|0)-this._minBufferSize,0),t=o*e,u=n.min(4*t,u),r;if(t){for(r=0;r<t;r+=e)this._doProcessBlock(s,r);r=s.splice(0,t);f.sigBytes-=u}return i.create(r,u)},clone:function(){var n=f.clone.call(this);return n._data=this._data.clone(),n},_minBufferSize:0}),h;return u.Hasher=o.extend({init:function(){this.reset()},reset:function(){o.reset.call(this);this._doReset()},update:function(n){return this._append(n),this._process(),this},finalize:function(n){return n&&this._append(n),this._doFinalize(),this._hash},clone:function(){var n=o.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:16,_createHelper:function(n){return function(t,i){return n.create(i).finalize(t)}},_createHmacHelper:function(n){return function(t,i){return h.HMAC.create(n,i).finalize(t)}}}),h=r.algo={},r}(Math);(function(n){var r=CryptoJS,i=r.lib,o=i.WordArray,i=i.Hasher,u=r.algo,f=[],e=[],t;(function(){function u(t){for(var r=n.sqrt(t),i=2;i<=r;i++)if(!(t%i))return!1;return!0}function r(n){return 4294967296*(n-(n|0))|0}for(var i=2,t=0;64>t;)u(i)&&(8>t&&(f[t]=r(n.pow(i,.5))),e[t]=r(n.pow(i,1/3)),t++),i++})();t=[];u=u.SHA256=i.extend({_doReset:function(){this._hash=o.create(f.slice(0))},_doProcessBlock:function(n,i){for(var s,h,r=this._hash.words,f=r[0],c=r[1],l=r[2],y=r[3],o=r[4],a=r[5],v=r[6],p=r[7],u=0;64>u;u++)16>u?t[u]=n[i+u]|0:(s=t[u-15],h=t[u-2],t[u]=((s<<25|s>>>7)^(s<<14|s>>>18)^s>>>3)+t[u-7]+((h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10)+t[u-16]),s=p+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&a^~o&v)+e[u]+t[u],h=((f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22))+(f&c^f&l^c&l),p=v,v=a,a=o,o=y+s|0,y=l,l=c,c=f,f=s+h|0;r[0]=r[0]+f|0;r[1]=r[1]+c|0;r[2]=r[2]+l|0;r[3]=r[3]+y|0;r[4]=r[4]+o|0;r[5]=r[5]+a|0;r[6]=r[6]+v|0;r[7]=r[7]+p|0},_doFinalize:function(){var n=this._data,t=n.words,r=8*this._nDataBytes,i=8*n.sigBytes;t[i>>>5]|=128<<24-i%32;t[(i+64>>>9<<4)+15]=r;n.sigBytes=4*t.length;this._process()}});r.SHA256=i._createHelper(u);r.HmacSHA256=i._createHmacHelper(u)})(Math),function(){var n=CryptoJS,t=n.enc.Utf8;n.algo.HMAC=n.lib.Base.extend({init:function(n,i){var u,f;n=this._hasher=n.create();"string"==typeof i&&(i=t.parse(i));u=n.blockSize;f=4*u;i.sigBytes>f&&(i=n.finalize(i));for(var e=this._oKey=i.clone(),o=this._iKey=i.clone(),s=e.words,h=o.words,r=0;r<u;r++)s[r]^=1549556828,h[r]^=909522486;e.sigBytes=o.sigBytes=f;this.reset()},reset:function(){var n=this._hasher;n.reset();n.update(this._iKey)},update:function(n){return this._hasher.update(n),this},finalize:function(n){var t=this._hasher,n=t.finalize(n);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}(),function(){var n=CryptoJS,t=n.lib.WordArray;n.enc.Base64={stringify:function(n){var i=n.words,u=n.sigBytes,f=this._map,n,t,e,r;for(n.clamp(),n=[],t=0;t<u;t+=3)for(e=(i[t>>>2]>>>24-8*(t%4)&255)<<16|(i[t+1>>>2]>>>24-8*((t+1)%4)&255)<<8|i[t+2>>>2]>>>24-8*((t+2)%4)&255,r=0;4>r&&t+.75*r<u;r++)n.push(f.charAt(e>>>6*(3-r)&63));if(i=f.charAt(64))for(;n.length%4;)n.push(i);return n.join("")},parse:function(n){var n=n.replace(/\s/g,""),e=n.length,f=this._map,i=f.charAt(64),o,s;i&&(i=n.indexOf(i),-1!=i&&(e=i));for(var i=[],u=0,r=0;r<e;r++)r%4&&(o=f.indexOf(n.charAt(r-1))<<2*(r%4),s=f.indexOf(n.charAt(r))>>>6-2*(r%4),i[u>>>2]|=(o|s)<<24-8*(u%4),u++);return t.create(i,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}();EventHub=Class.extend({init:function(n,t,i,r){this.namespace=n;this.hubName=t;this.keyName=i;this.keyValue=r},sendEventToHub:function(n){var t="https://"+this.namespace+".servicebus.windows.net/"+this.hubName+"/messages";$.ajax({type:"POST",url:t,data:JSON.stringify(n),headers:{Authorization:this.getToken(),"Content-Type":"application/atom + xml; digitare = entry; charset = utf-8"},success:function(){},dataType:"application/json"})},getToken:function(){var i="http://"+this.namespace+".servicebus.windows.net/"+this.hubName,n=encodeURIComponent(i),r=new Date(1970,1,1,0,0,0,0),u=new Date,t=2682e3+(u.getTime()-r.getTime())/1e3|0,f=this.utf8Encode(n+"\n"+t),e=CryptoJS.HmacSHA256(f,this.keyValue),o=CryptoJS.enc.Base64.stringify(e);return"SharedAccessSignature sr="+n+"&sig="+encodeURIComponent(o)+"&se="+t+"&skn="+this.keyName},utf8Encode:function(n){for(var t,r=-1,u=(n=n.split("")).length,i=String.fromCharCode;++r<u;n=(t=n[0])>=127?i(192|t>>>6)+i(128|t&63):n);return n.join("")}}),function(n,t){var i=function(){var i=this;this.mediaStVersion=410;this.trackId=this.trackDomain="";this.pixelSampling=0;this.eid=this.deactivatePixel=!1;this.instance=null;this.initialized=!1;this.mediaSessions={};this.maxMediaRequests=3e3;this.ignoreDuplicatedRequest=!0;this.ignoreDuplicatedRequestTimeout=3e3;this.getPixelInstance=function(){var t,u,n,r;if("undefined"!=typeof webtrekkUnloadObjects)for(t=0,u=webtrekkUnloadObjects.length;t<u;t++)if(n=webtrekkUnloadObjects[t],r=i.trackId,n.trackId&&(n.trackId==r||-1!==n.trackId.indexOf(r)))return n;return"undefined"!=typeof webtrekk&&webtrekk.trackId&&webtrekk.trackDomain?(webtrekk.eid="undefined"!=typeof wt_cookie_eid?wt_cookie_eid:!1,webtrekk.deactivatePixel="undefined"!=typeof wt_deactivatePixel?wt_deactivatePixel:!1,webtrekk):null};this.escape=function(n){try{return encodeURIComponent(n)}catch(t){return escape(n)}};this.getMediaCategory=function(n,t){var u="",r;for(var f in t)(r=f+"",n||-1===r.indexOf("mg"))&&(u+="&"+r+"="+i.escape(t[r]));return u};this.getEid=function(){return i.instance&&null!==i.instance?i.instance.eid:!1};this.init=function(n,t,r){i.trackDomain=n;i.trackId=t;i.pixelSampling=r?r:0;i.instance=i.getPixelInstance();i.eid=i.getEid();null===i.instance?Math&&Math.random&&0!==parseInt(Math.random()*parseInt(i.pixelSampling))&&(i.deactivatePixel=!0):i.deactivatePixel=i.instance.deactivatePixel;i.trackDomain&&i.trackId&&(i.initialized=!0)};this.getPositionInterval=function(n){var t="undefined"!=typeof wt_mediaInterval?parseInt(wt_mediaInterval):60;return"0"===n?6e4:10<=parseInt(n)/t?1e3*(parseInt(n)/t):1e4};this.checkPositionTime=function(n){if(n=i.mediaSessions[n],null===n.posTime)return n.posTime=(new Date).getTime(),!0;var t=(new Date).getTime();return t-n.posTime<n.posInterval?!1:(n.posTime=t,!0)};this.checkMediaRequest=function(n,t,r){if(!i.ignoreDuplicatedRequest)return!0;if(n=i.mediaSessions[n],t=t+"_"+r,"undefined"==typeof n.sendMediaRequest[t])n.sendMediaRequest[t]=(new Date).getTime();else{if(r=(new Date).getTime(),r-n.sendMediaRequest[t]<=i.ignoreDuplicatedRequestTimeout)return n.sendMediaRequest[t]=r,!1;n.sendMediaRequest[t]=r}return!0};this.initializeMediaSession=function(n,t,r){"init"===r&&"undefined"!=typeof i.mediaSessions[n]&&delete i.mediaSessions[n];"undefined"==typeof i.mediaSessions[n]&&(i.mediaSessions[n]={posInterval:i.getPositionInterval(t),posTime:null,maxMediaRequests:"undefined"!=typeof wt_maxMediaRequests?wt_maxMediaRequests:i.maxMediaRequests,sendMediaRequest:{}},i.ignoreDuplicatedRequest="undefined"!=typeof wt_ignoreDuplicatedRequest?wt_ignoreDuplicatedRequest:!0,i.ignoreDuplicatedRequestTimeout="undefined"!=typeof wt_ignoreDuplicatedRequestTimeout?parseInt(wt_ignoreDuplicatedRequestTimeout):3e3)};this.sendinfo_media=function(n,r,u,f,e,o,s,h){if(!i.initialized&&"string"!=typeof i.trackId&&"object"==typeof webtrekk&&webtrekk.trackDomain&&webtrekk.trackId&&i.init(webtrekk.trackDomain,webtrekk.trackId),i.initialized){(!f||isNaN(parseInt(f)))&&(f="0");var l="init"===r||"play"===r,c="";if(o="&bw="+(o?o:"")+("&vol="+(s?s:"")),o+="&mut="+(h?h:""),o+="&pu="+i.escape(t.location.href.split("#")[0]),e)if("string"==typeof e){for(e=e.split(";"),h={},c=0;c<e.length;c++)s=e[c].split("="),2<=s.length&&(h[s[0]]=s[1]);c=i.getMediaCategory(l,h)}else"object"==typeof e&&(c=i.getMediaCategory(l,e));i.initializeMediaSession(n,f,r);i.deactivatePixel||"pos"===r&&!i.checkPositionTime(n)||"pos"!==r&&!i.checkMediaRequest(n,r,u)||0>=i.mediaSessions[n].maxMediaRequests&&"eof"!==r&&"stop"!==r||(i.mediaSessions[n].maxMediaRequests--,i.eid&&(o+="&eid="+i.eid),"eof"!==r&&"stop"!==r||delete i.mediaSessions[n],i.quicksend("st,1,"+i.baseparams()+"&mi="+i.escape(n)+"&mk="+i.escape(r)+"&mt1="+u+"&mt2="+f+c+o))}};this.quicksend=function(r){var e="https:"==location.protocol?"https:":"http:",e=e+("//"+i.trackDomain+"/"+i.trackId+"/wt"),e=e+("?p="+i.mediaStVersion+","+r),u,f;r={};r.Image="function"!=typeof n.Image?function(){return t.createElement("img")}:n.Image;"undefined"==typeof u&&(u=[]);f=u.length;u[f]=new r.Image;u[f].onload=function(){return!1};u[f].src=e};this.getBrowserHeight=function(){var i=0;try{i=n.innerHeight}catch(r){}if(!i)try{i=t.documentElement.clientHeight}catch(u){}if(!i)try{i=t.body.clientHeight}catch(f){}return"undefined"==typeof i&&(i=-1),i};this.getBrowserWidth=function(){var i=0;try{i=n.innerWidth}catch(r){}if(!i)try{i=t.documentElement.clientWidth}catch(u){}if(!i)try{i=t.body.clientWidth}catch(f){}return"undefined"==typeof i&&(i=-1),i};this.baseparams=function(){var n=screen.width+"x"+screen.height+",",n=n+(("Netscape"!=navigator.appName?screen.colorDepth:screen.pixelDepth)+","),n=n+(navigator.cookieEnabled?"1,":navigator.cookieEnabled?-1!=t.cookie.indexOf("=")?"1,":"0,":"0,"),n=n+((new Date).getTime()+","),n=n+"1",r=i.getBrowserHeight(),u=i.getBrowserWidth();return r&&r>screen.height&&(r=screen.height),u&&u>screen.width&&(u=screen.width),n+(","+u+"x"+r)+(","+(navigator.javaEnabled()?"1":"0"))};n.wt_init_media=i.init;n.wt_sendinfo_media=i.sendinfo_media};"undefined"==typeof n.webtrekkMediaTracking&&n.webtrekkMediaTracking instanceof i||(n.webtrekkMediaTracking=new i)}(window,document);!function(n){!function(n){"use strict";function l(n,t){i(n,3,t)}function a(n,t){i(n,2,t)}function v(n,t){i(n,1,t)}function y(n){u=n}function p(n){void 0===n||null===n?t.forEach(function(n,t,i){i[t]=!0}):t[n]=!0}function w(n){void 0===n||null===n?t.forEach(function(n,t,i){i[t]=!1}):t[n]=!1}function b(n){"undefined"==typeof n&&(n=!0);h=n}function k(n){"undefined"==typeof n&&(n=!0);var t=f;return n&&(f=""),t}function d(n,t){e=n;c=t}function i(n,i,s){var l,a;if(e&&u>=i)return void e(c,i,r[n]+": "+s);l=new Date(Date.now());u>=i&&t[n]&&(a="["+l.getHours()+":"+l.getMinutes()+":"+(l.getSeconds()+l.getMilliseconds()/1e3).toFixed(3)+"] "+o[i]+": "+r[n]+": "+s,h&&(f+="\n"+a))}var o,r;!function(n){n[n.none=0]="none";n[n.error=1]="error";n[n.warning=2]="warning";n[n.verbose=3]="verbose"}(n.Level||(n.Level={}));o=n.Level;!function(n){n[n.workflowSequencer=0]="workflowSequencer";n[n.workflowCoordinator=1]="workflowCoordinator";n[n.htmlAdapter=2]="htmlAdapter";n[n.videoElementAdapter=3]="videoElementAdapter";n[n.manifestParser=4]="manifestParser";n[n.httpDataRetriever=5]="httpDataRetriever";n[n.dashUrlFormatter=6]="dashUrlFormatter";n[n.azureHTML5=7]="azureHTML5";n[n.heuristics=8]="heuristics";n[n.segmentLocator=9]="segmentLocator";n[n.mediaParser=10]="mediaParser";n[n.mp4Parser=11]="mp4Parser";n[n.encrypted=12]="encrypted";n[n.common=13]="common";n[n.functionalTest=14]="functionalTest";n[n.ad=15]="ad";n[n.max=16]="max"}(n.Area||(n.Area={}));r=n.Area;n.verbose=l;n.warning=a;n.error=v;n.setConsoleOutputByLevel=y;n.enableConsoleOutputByArea=p;n.disableConsoleOutputByArea=w;n.enableMemoryLog=b;n.getMemoryLog=k;n.setLoggerFunction=d;for(var u=0,t=[],s=0;16>s;s++)t.push(!1);var h=!1,f="",e=void 0,c=null;n.enableConsoleOutputByArea();n.setConsoleOutputByLevel(1)}(n.Log||(n.Log={}));n.Log}(AzureHtml5JS||(AzureHtml5JS={}));Dash=function(){"use strict";return{modules:{},dependencies:{},vo:{},di:{}}}();Dash.dependencies.DashParser=function(){"use strict";var f=31536e3,e=2592e3,o=86400,s=3600,n=60,h=60,t=1e3,i=/^P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?T?(([\d.]*)H)?(([\d.]*)M)?(([\d.]*)S)?/,r=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+-])([0-9]{2})([0-9]{2}))?/,u=/^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$/,c=[{type:"duration",test:function(n){return i.test(n)},converter:function(t){var r=i.exec(t),u=parseFloat(r[2]||0)*f+parseFloat(r[4]||0)*e+parseFloat(r[6]||0)*o+parseFloat(r[8]||0)*s+parseFloat(r[10]||0)*n+parseFloat(r[12]||0);return parseFloat(u.toFixed(9))},suffix:function(){return""}},{type:"datetime",test:function(n){return r.test(n)},converter:function(i){var f,u=r.exec(i),e;return(f=Date.UTC(parseInt(u[1],10),parseInt(u[2],10)-1,parseInt(u[3],10),parseInt(u[4],10),parseInt(u[5],10),u[6]&&parseInt(u[6],10)||0,u[7]&&parseFloat(u[7])*t||0),u[9]&&u[10])&&(e=parseInt(u[9],10)*h+parseInt(u[10],10),f+=("+"===u[8]?-1:1)*e*n*t),new Date(f)},suffix:function(){return""}},{type:"numeric",test:function(n){return u.test(n)},converter:function(n){return parseFloat(n)},suffix:function(){return""}},{type:"numeric",test:function(n){return u.test(n)},converter:function(n){return n},suffix:function(){return"_str"}}],l=function(){var n,t,i,r;return r=[{name:"profiles",merge:!1},{name:"width",merge:!1},{name:"height",merge:!1},{name:"sar",merge:!1},{name:"frameRate",merge:!1},{name:"audioSamplingRate",merge:!1},{name:"mimeType",merge:!1},{name:"segmentProfiles",merge:!1},{name:"codecs",merge:!1},{name:"maximumSAPPeriod",merge:!1},{name:"startsWithSap",merge:!1},{name:"maxPlayoutRate",merge:!1},{name:"codingDependency",merge:!1},{name:"scanType",merge:!1},{name:"FramePacking",merge:!0},{name:"AudioChannelConfiguration",merge:!0},{name:"ContentProtection",merge:!0}],n={},n.name="AdaptationSet",n.isRoot=!1,n.isArray=!0,n.parent=null,n.children=[],n.properties=r,t={},t.name="Representation",t.isRoot=!1,t.isArray=!0,t.parent=n,t.children=[],t.properties=r,n.children.push(t),i={},i.name="SubRepresentation",i.isRoot=!1,i.isArray=!0,i.parent=t,i.children=[],i.properties=r,t.children.push(i),n},a=function(){var n,t,i,r;return r=[{name:"SegmentBase",merge:!0},{name:"SegmentTemplate",merge:!0},{name:"SegmentList",merge:!0}],n={},n.name="Period",n.isRoot=!1,n.isArray=!0,n.parent=null,n.children=[],n.properties=r,t={},t.name="AdaptationSet",t.isRoot=!1,t.isArray=!0,t.parent=n,t.children=[],t.properties=r,n.children.push(t),i={},i.name="Representation",i.isRoot=!1,i.isArray=!0,i.parent=t,i.children=[],i.properties=r,t.children.push(i),n},v=function(){var i,n,t,r,u;return u=[{name:"BaseURL",merge:!0,mergeFunction:function(n,t){return 0===t.indexOf("http://")?t:n+t}}],i={},i.name="mpd",i.isRoot=!0,i.isArray=!0,i.parent=null,i.children=[],i.properties=u,n={},n.name="Period",n.isRoot=!1,n.isArray=!0,n.parent=null,n.children=[],n.properties=u,i.children.push(n),t={},t.name="AdaptationSet",t.isRoot=!1,t.isArray=!0,t.parent=n,t.children=[],t.properties=u,n.children.push(t),r={},r.name="Representation",r.isRoot=!1,r.isArray=!0,r.parent=t,r.children=[],r.properties=u,t.children.push(r),i},y=function(){var n=[];return n.push(l()),n.push(a()),n.push(v()),n},p=function(n,t){var i,e=new X2JS(c,"",!0),o=new ObjectIron(y()),f=new Date,r=null,u=null;try{i=e.xml_str2json(n);r=new Date;i.hasOwnProperty("BaseURL")?(i.BaseURL=i.BaseURL_asArray[0],0!==i.BaseURL.toString().indexOf("http")&&(i.BaseURL=t+i.BaseURL)):i.BaseURL=t;o.run(i);u=new Date;this.debug.log("Parsing complete: ( xml2json: "+(r.getTime()-f.getTime())+"ms, objectiron: "+(u.getTime()-r.getTime())+"ms, total: "+(u.getTime()-f.getTime())/1e3+"s)")}catch(s){return this.errHandler.manifestError("parsing the manifest failed","parse",n),null}return i};return{debug:void 0,errHandler:void 0,parse:p}};Dash.dependencies.DashParser.prototype={constructor:Dash.dependencies.DashParser},function(){function n(n){function i(n){var r,u;if(this.data="",this.read=0,"string"==typeof n)this.data=n;else if(t.isArrayBuffer(n)||t.isArrayBufferView(n)){r=new Uint8Array(n);try{this.data=String.fromCharCode.apply(null,r)}catch(f){for(u=0;u<r.length;++u)this.putByte(r[u])}}else(n instanceof i||"object"==typeof n&&"string"==typeof n.data&&"number"==typeof n.read)&&(this.data=n.data,this.read=n.read);this._constructedStringLength=0}var t=n.util=n.util||{},r;t.isArray=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)};t.isArrayBuffer=function(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer};t.isArrayBufferView=function(n){return n&&t.isArrayBuffer(n.buffer)&&void 0!==n.byteLength};t.ByteBuffer=i;t.ByteStringBuffer=i;r=4096;t.ByteStringBuffer.prototype._optimizeConstructedString=function(n){this._constructedStringLength+=n;this._constructedStringLength>r&&(this.data.substr(0,1),this._constructedStringLength=0)};t.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read};t.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0};t.ByteStringBuffer.prototype.putByte=function(n){return this.putBytes(String.fromCharCode(n))};t.ByteStringBuffer.prototype.fillWithByte=function(n,t){n=String.fromCharCode(n);for(var i=this.data;t>0;)1&t&&(i+=n),t>>>=1,t>0&&(n+=n);return this.data=i,this._optimizeConstructedString(t),this};t.ByteStringBuffer.prototype.putBytes=function(n){return this.data+=n,this._optimizeConstructedString(n.length),this};t.ByteStringBuffer.prototype.putString=function(n){return this.putBytes(t.encodeUtf8(n))};t.ByteStringBuffer.prototype.putInt16=function(n){return this.putBytes(String.fromCharCode(n>>8&255)+String.fromCharCode(255&n))};t.ByteStringBuffer.prototype.putInt24=function(n){return this.putBytes(String.fromCharCode(n>>16&255)+String.fromCharCode(n>>8&255)+String.fromCharCode(255&n))};t.ByteStringBuffer.prototype.putInt32=function(n){return this.putBytes(String.fromCharCode(n>>24&255)+String.fromCharCode(n>>16&255)+String.fromCharCode(n>>8&255)+String.fromCharCode(255&n))};t.ByteStringBuffer.prototype.putInt16Le=function(n){return this.putBytes(String.fromCharCode(255&n)+String.fromCharCode(n>>8&255))};t.ByteStringBuffer.prototype.putInt24Le=function(n){return this.putBytes(String.fromCharCode(255&n)+String.fromCharCode(n>>8&255)+String.fromCharCode(n>>16&255))};t.ByteStringBuffer.prototype.putInt32Le=function(n){return this.putBytes(String.fromCharCode(255&n)+String.fromCharCode(n>>8&255)+String.fromCharCode(n>>16&255)+String.fromCharCode(n>>24&255))};t.ByteStringBuffer.prototype.putInt=function(n,t){var i="";do t-=8,i+=String.fromCharCode(n>>t&255);while(t>0);return this.putBytes(i)};t.ByteStringBuffer.prototype.putSignedInt=function(n,t){return 0>n&&(n+=2<<t-1),this.putInt(n,t)};t.ByteStringBuffer.prototype.putBuffer=function(n){return this.putBytes(n.getBytes())};t.ByteStringBuffer.prototype.getByte=function(){return this.data.charCodeAt(this.read++)};t.ByteStringBuffer.prototype.getInt16=function(){var n=this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);return this.read+=2,n};t.ByteStringBuffer.prototype.getInt24=function(){var n=this.data.charCodeAt(this.read)<<16^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2);return this.read+=3,n};t.ByteStringBuffer.prototype.getInt32=function(){var n=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);return this.read+=4,n};t.ByteStringBuffer.prototype.getInt16Le=function(){var n=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8;return this.read+=2,n};t.ByteStringBuffer.prototype.getInt24Le=function(){var n=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16;return this.read+=3,n};t.ByteStringBuffer.prototype.getInt32Le=function(){var n=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16^this.data.charCodeAt(this.read+3)<<24;return this.read+=4,n};t.ByteStringBuffer.prototype.getInt=function(n){var t=0;do t=(t<<8)+this.data.charCodeAt(this.read++),n-=8;while(n>0);return t};t.ByteStringBuffer.prototype.getSignedInt=function(n){var t=this.getInt(n),i=2<<n-2;return t>=i&&(t-=i<<1),t};t.ByteStringBuffer.prototype.getBytes=function(n){var t;return n?(n=Math.min(this.length(),n),t=this.data.slice(this.read,this.read+n),this.read+=n):0===n?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t};t.ByteStringBuffer.prototype.bytes=function(n){return"undefined"==typeof n?this.data.slice(this.read):this.data.slice(this.read,this.read+n)};t.ByteStringBuffer.prototype.at=function(n){return this.data.charCodeAt(this.read+n)};t.ByteStringBuffer.prototype.setAt=function(n,t){return this.data=this.data.substr(0,this.read+n)+String.fromCharCode(t)+this.data.substr(this.read+n+1),this};t.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)};t.ByteStringBuffer.prototype.copy=function(){var n=t.createBuffer(this.data);return n.read=this.read,n};t.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this};t.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this};t.ByteStringBuffer.prototype.truncate=function(n){var t=Math.max(0,this.length()-n);return this.data=this.data.substr(this.read,t),this.read=0,this};t.ByteStringBuffer.prototype.toHex=function(){for(var i,n="",t=this.read;t<this.data.length;++t)i=this.data.charCodeAt(t),16>i&&(n+="0"),n+=i.toString(16);return n};t.ByteStringBuffer.prototype.toString=function(){return t.decodeUtf8(this.bytes())};t.createBuffer=function(n,i){return i=i||"raw",void 0!==n&&"utf8"===i&&(n=t.encodeUtf8(n)),new t.ByteBuffer(n)};t.encodeUtf8=function(n){return unescape(encodeURIComponent(n))};t.decodeUtf8=function(n){return decodeURIComponent(escape(n))}}return"undefined"==typeof forge&&(forge={}),n(forge)}(),function(){function n(n){n.cipher=n.cipher||{};n.cipher.algorithms=n.cipher.algorithms||{};n.cipher.createDecipher=function(t,i){var r=t;if("string"==typeof r&&(r=n.cipher.getAlgorithm(r),r&&(r=r())),!r)throw new Error("Unsupported algorithm: "+t);return new n.cipher.BlockCipher({algorithm:r,key:i,decrypt:!0})};n.cipher.registerAlgorithm=function(t,i){t=t.toUpperCase();n.cipher.algorithms[t]=i};n.cipher.getAlgorithm=function(t){return t=t.toUpperCase(),t in n.cipher.algorithms?n.cipher.algorithms[t]:null};var t=n.cipher.BlockCipher=function(n){this.algorithm=n.algorithm;this.mode=this.algorithm.mode;this.blockSize=this.mode.blockSize;this._finish=!1;this._input=null;this.output=null;this._op=n.decrypt?this.mode.decrypt:this.mode.encrypt;this._decrypt=n.decrypt;this.algorithm.initialize(n)};t.prototype.start=function(t){var i,r;t=t||{};i={};for(r in t)i[r]=t[r];i.decrypt=this._decrypt;this._finish=!1;this._input=n.util.createBuffer();this.output=t.output||n.util.createBuffer();this.mode.start(i)};t.prototype.update=function(n){for(n&&this._input.putBuffer(n);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()};t.prototype.finish=function(n){n&&("ECB"===this.mode.name||"CBC"===this.mode.name)&&(this.mode.pad=function(t){return n(this.blockSize,t,!1)},this.mode.unpad=function(t){return n(this.blockSize,t,!0)});var t={};return t.decrypt=this._decrypt,t.overflow=this._input.length()%this.blockSize,this._decrypt||!this.mode.pad||this.mode.pad(this._input,t)?(this._finish=!0,this.update(),this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,t)?!1:this.mode.afterFinish&&!this.mode.afterFinish(this.output,t)?!1:!0):!1}}return"undefined"==typeof forge&&(forge={}),n(forge)}(),function(){function n(n){function i(t){var r,i;if("string"==typeof t&&(t=n.util.createBuffer(t)),n.util.isArray(t)&&t.length>4)for(r=t,t=n.util.createBuffer(),i=0;i<r.length;++i)t.putByte(r[i]);return n.util.isArray(t)||(t=[t.getInt32(),t.getInt32(),t.getInt32(),t.getInt32()]),t}n.cipher=n.cipher||{};var t=n.cipher.modes=n.cipher.modes||{};t.cbc=function(n){n=n||{};this.name="CBC";this.cipher=n.cipher;this.blockSize=n.blockSize||16;this._ints=this.blockSize/4;this._inBlock=new Array(this._ints);this._outBlock=new Array(this._ints)};t.cbc.prototype.start=function(n){if(null===n.iv){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in n))throw new Error("Invalid IV parameter.");this._iv=i(n.iv);this._prev=this._iv.slice(0)}};t.cbc.prototype.encrypt=function(n,t,i){var r;if(n.length()<this.blockSize&&!(i&&n.length()>0))return!0;for(r=0;r<this._ints;++r)this._inBlock[r]=this._prev[r]^n.getInt32();for(this.cipher.encrypt(this._inBlock,this._outBlock),r=0;r<this._ints;++r)t.putInt32(this._outBlock[r]);this._prev=this._outBlock};t.cbc.prototype.decrypt=function(n,t,i){var r;if(n.length()<this.blockSize&&!(i&&n.length()>0))return!0;for(r=0;r<this._ints;++r)this._inBlock[r]=n.getInt32();for(this.cipher.decrypt(this._inBlock,this._outBlock),r=0;r<this._ints;++r)t.putInt32(this._prev[r]^this._outBlock[r]);this._prev=this._inBlock.slice(0)};t.cbc.prototype.pad=function(n){var t=n.length()===this.blockSize?this.blockSize:this.blockSize-n.length();return n.fillWithByte(t,t),!0};t.cbc.prototype.unpad=function(n,t){if(t.overflow>0)return!1;var r=n.length(),i=n.at(r-1);return i>this.blockSize<<2?!1:(n.truncate(i),!0)}}return"undefined"==typeof forge&&(forge={}),n(forge)}(),function(){function n(n){function l(t,i){var r=function(){return new n.aes.Algorithm(t,i)};n.cipher.registerAlgorithm(t,r)}function s(){var u,n,p;for(o=!0,c=[0,1,2,4,8,16,32,64,128,27,54],u=new Array(256),n=0;128>n;++n)u[n]=n<<1,u[n+128]=n+128<<1^283;for(t=new Array(256),e=new Array(256),r=new Array(4),i=new Array(4),n=0;4>n;++n)r[n]=new Array(256),i[n]=new Array(256);for(var l,w,a,f,b,v,y,s=0,h=0,n=0;256>n;++n){for(f=h^h<<1^h<<2^h<<3^h<<4,f=f>>8^255&f^99,t[s]=f,e[f]=s,b=u[f],l=u[s],w=u[l],a=u[w],v=b<<24^f<<16^f<<8^f^b,y=(l^w^a)<<24^(s^a)<<16^(s^w^a)<<8^s^l^a,p=0;4>p;++p)r[p][s]=v,i[p][f]=y,v=v<<24|v>>>8,y=y<<24|y>>>8;0===s?s=h=1:(s=l^u[u[u[l^a]]],h^=u[u[h]])}}function h(n,r){for(var s,y,o,e=n.slice(0),p=1,h=e.length,w=h+6+1,a=u*w,f=h;a>f;++f)o=e[f-1],f%h==0?(o=t[o>>>16&255]<<24^t[o>>>8&255]<<16^t[255&o]<<8^t[o>>>24]^c[p]<<24,p++):h>6&&f%h==4&&(o=t[o>>>24]<<24^t[o>>>16&255]<<16^t[o>>>8&255]<<8^t[255&o]),e[f]=e[f-h]^o;if(r){var v,b=i[0],k=i[1],d=i[2],g=i[3],l=e.slice(0);for(a=e.length,f=0,s=a-u;a>f;f+=u,s-=u)if(0===f||f===a-u)l[f]=e[s],l[f+1]=e[s+3],l[f+2]=e[s+2],l[f+3]=e[s+1];else for(y=0;u>y;++y)v=e[s+y],l[f+(3&-y)]=b[t[v>>>24]]^k[t[v>>>16&255]]^d[t[v>>>8&255]]^g[t[255&v]];e=l}return e}function f(n,u,f,o){var y,p,w,b,s,tt=n.length/4-1,h,c,l,a,d,g,nt,v,k;for(o?(y=i[0],p=i[1],w=i[2],b=i[3],s=e):(y=r[0],p=r[1],w=r[2],b=r[3],s=t),h=u[0]^n[0],c=u[o?3:1]^n[1],l=u[2]^n[2],a=u[o?1:3]^n[3],v=3,k=1;tt>k;++k)d=y[h>>>24]^p[c>>>16&255]^w[l>>>8&255]^b[255&a]^n[++v],g=y[c>>>24]^p[l>>>16&255]^w[a>>>8&255]^b[255&h]^n[++v],nt=y[l>>>24]^p[a>>>16&255]^w[h>>>8&255]^b[255&c]^n[++v],a=y[a>>>24]^p[h>>>16&255]^w[c>>>8&255]^b[255&l]^n[++v],h=d,c=g,l=nt;f[0]=s[h>>>24]<<24^s[c>>>16&255]<<16^s[l>>>8&255]<<8^s[255&a]^n[++v];f[o?3:1]=s[c>>>24]<<24^s[l>>>16&255]<<16^s[a>>>8&255]<<8^s[255&h]^n[++v];f[2]=s[l>>>24]<<24^s[a>>>16&255]<<16^s[h>>>8&255]<<8^s[255&c]^n[++v];f[o?1:3]=s[a>>>24]<<24^s[h>>>16&255]<<16^s[c>>>8&255]<<8^s[255&l]^n[++v]}n.aes=n.aes||{};n.aes.Algorithm=function(n,t){o||s();var i=this;i.name=n;i.mode=new t({blockSize:16,cipher:{encrypt:function(n,t){return f(i._w,n,t,!1)},decrypt:function(n,t){return f(i._w,n,t,!0)}}});i._init=!1};n.aes.Algorithm.prototype.initialize=function(t){var u,i,f,r,e,o;if(!this._init){if(i=t.key,"string"!=typeof i||16!==i.length&&24!==i.length&&32!==i.length){if(n.util.isArray(i)&&(16===i.length||24===i.length||32===i.length))for(u=i,i=n.util.createBuffer(),r=0;r<u.length;++r)i.putByte(u[r])}else i=n.util.createBuffer(i);if(!n.util.isArray(i)&&(u=i,i=[],f=u.length(),16===f||24===f||32===f))for(f>>>=2,r=0;f>r;++r)i.push(u.getInt32());if(!n.util.isArray(i)||4!==i.length&&6!==i.length&&8!==i.length)throw new Error("Invalid key parameter.");e=this.mode.name;o=-1!==["CFB","OFB","CTR","GCM"].indexOf(e);this._w=h(i,t.decrypt&&!o);this._init=!0}};n.aes._expandKey=function(n,t){return o||s(),h(n,t)};n.aes._updateBlock=f;l("AES-CBC",n.cipher.modes.cbc);var t,e,c,r,i,o=!1,u=4}return"undefined"==typeof forge&&(forge={}),n(forge)}();!function(){var n,t,r,i;!function(){var u={},f={};n=function(n,t,i){u[n]={deps:t,callback:i}};i=r=t=function(n){function l(t){var i;if("."!==t.charAt(0))return t;for(var f=t.split("/"),r=n.split("/").slice(0,-1),u=0,e=f.length;e>u;u++)if(i=f[u],".."===i)r.pop();else{if("."===i)continue;r.push(i)}return r.join("/")}var c;if(i._eak_seen=u,f[n])return f[n];if(f[n]={},!u[n])throw new Error("Could not find module "+n);for(var o,s=u[n],e=s.deps,a=s.callback,h=[],r=0,v=e.length;v>r;r++)h.push("exports"===e[r]?o={}:t(l(e[r])));return c=a.apply(this,h),f[n]=o||c}}();n("promise/all",["./utils","exports"],function(n,t){"use strict";function i(n){var t=this;if(!r(n))throw new TypeError("You must pass an array to all.");return new t(function(t,i){function h(n){return function(t){e(n,t)}}function e(n,i){o[n]=i;0==--s&&t(o)}var f,o=[],s=n.length,r;for(0===s&&t([]),r=0;r<n.length;r++)f=n[r],f&&u(f.then)?f.then(h(r),i):e(r,f)})}var r=n.isArray,u=n.isFunction;t.all=i});n("promise/asap",["exports"],function(n){"use strict";function e(){return function(){process.nextTick(i)}}function o(){var n=0,r=new f(i),t=document.createTextNode("");return r.observe(t,{characterData:!0}),function(){t.data=n=++n%2}}function s(){return function(){c.setTimeout(i,1)}}function i(){for(var n=0;n<t.length;n++){var i=t[n],r=i[0],u=i[1];r(u)}t=[]}function h(n,i){var u=t.push([n,i]);1===u&&r()}var r,u="undefined"!=typeof window?window:{},f=u.MutationObserver||u.WebKitMutationObserver,c="undefined"!=typeof global?global:void 0===this?window:this,t=[];r="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?e():f?o():s();n.asap=h});n("promise/config",["exports"],function(n){"use strict";function i(n,i){return 2!==arguments.length?t[n]:void(t[n]=i)}var t={instrument:!1};n.config=t;n.configure=i});n("promise/polyfill",["./promise","./utils","exports"],function(n,t,i){"use strict";function r(){var n,t;n="undefined"!=typeof global?global:"undefined"!=typeof window&&window.document?window:self;t="Promise"in n&&"resolve"in n.Promise&&"reject"in n.Promise&&"all"in n.Promise&&"race"in n.Promise&&function(){var t;return new n.Promise(function(n){t=n}),f(t)}();t||(n.Promise=u)}var u=n.Promise,f=t.isFunction;i.polyfill=r});n("promise/promise",["./config","./utils","./all","./race","./resolve","./reject","./asap","exports"],function(n,t,i,r,u,f,e,o){"use strict";function s(n){if(!v(n))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof s))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._subscribers=[];nt(n,this)}function nt(n,t){function r(n){c(t,n)}function i(n){h(t,n)}try{n(r,i)}catch(u){i(u)}}function w(n,t,i,r){var u,e,f,o,s=v(i);if(s)try{u=i(r);f=!0}catch(l){o=!0;e=l}else u=r,f=!0;k(t,u)||(s&&f?c(t,u):o?h(t,e):n===y?c(t,u):n===p&&h(t,u))}function tt(n,t,i,r){var u=n._subscribers,f=u.length;u[f]=t;u[f+y]=i;u[f+p]=r}function b(n,t){for(var u,f,r=n._subscribers,e=n._detail,i=0;i<r.length;i+=3)u=r[i],f=r[i+t],w(t,u,f,e);n._subscribers=null}function k(n,t){var i,r=null;try{if(n===t)throw new TypeError("A promises callback cannot return that same promise.");if(ut(t)&&(r=t.then,v(r)))return r.call(t,function(r){return i?!0:(i=!0,void(t!==r?c(n,r):a(n,r)))},function(t){return i?!0:(i=!0,void h(n,t))}),!0}catch(u){return i?!0:(h(n,u),!0)}return!1}function c(n,t){n===t?a(n,t):k(n,t)||a(n,t)}function a(n,t){n._state===d&&(n._state=g,n._detail=t,l.async(it,n))}function h(n,t){n._state===d&&(n._state=g,n._detail=t,l.async(rt,n))}function it(n){b(n,n._state=y)}function rt(n){b(n,n._state=p)}var l=n.config,ut=(n.configure,t.objectOrFunction),v=t.isFunction,ft=(t.now,i.all),et=r.race,ot=u.resolve,st=f.reject,ht=e.asap;l.async=ht;var d=void 0,g=0,y=1,p=2;s.prototype={constructor:s,_state:void 0,_detail:void 0,_subscribers:void 0,then:function(n,t){var i=this,r=new this.constructor(function(){}),u;return this._state?(u=arguments,l.async(function(){w(i._state,r,u[i._state-1],i._detail)})):tt(this,r,n,t),r},"catch":function(n){return this.then(null,n)}};s.all=ft;s.race=et;s.resolve=ot;s.reject=st;o.Promise=s});n("promise/race",["./utils","exports"],function(n,t){"use strict";function i(n){var t=this;if(!r(n))throw new TypeError("You must pass an array to race.");return new t(function(t,i){for(var r,u=0;u<n.length;u++)r=n[u],r&&"function"==typeof r.then?r.then(t,i):t(r)})}var r=n.isArray;t.race=i});n("promise/reject",["exports"],function(n){"use strict";function t(n){var t=this;return new t(function(t,i){i(n)})}n.reject=t});n("promise/resolve",["exports"],function(n){"use strict";function t(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=this;return new t(function(t){t(n)})}n.resolve=t});n("promise/utils",["exports"],function(n){"use strict";function i(n){return t(n)||"object"==typeof n&&null!==n}function t(n){return"function"==typeof n}function r(n){return"[object Array]"===Object.prototype.toString.call(n)}var u=Date.now||function(){return(new Date).getTime()};n.objectOrFunction=i;n.isFunction=t;n.isArray=r;n.now=u});t("promise/polyfill").polyfill()}();Uint8ArrayUtil={};!function(){Uint8ArrayUtil.subarray=function(n,t){return this.slice(n,t)};Uint8ArrayUtil.set_=function(n,t){arguments.length<2&&(t=0);for(var i=0,r=n.length;r>i;++i,++t)this[t]=255&n[i]};Uint8ArrayUtil.TypedArray=function(n){var t,i;if("number"==typeof n)for(t=new Array(n),i=0;n>i;++i)t[i]=0;else t=n.slice(0);return t.subarray=Uint8ArrayUtil.subarray,t.buffer=t,t.byteLength=t.length,t.set=Uint8ArrayUtil.set_,"object"==typeof n&&n.buffer&&(t.buffer=n.buffer),t}}();void 0===window.Uint8Array&&(window.Uint8Array=Uint8ArrayUtil.TypedArray);!function(n){"use strict";function r(n,t){return new i(n,t)}var t,i;n.CreateAzureHtml5=r,function(n){n[n.internalErrStart=0]="internalErrStart";n[n.internalErrDisposed=0]="internalErrDisposed";n[n.internalErrSegmentNotFound=1]="internalErrSegmentNotFound";n[n.internalErrEnd=1048575]="internalErrEnd"}(n.ErrorCode||(n.ErrorCode={}));t=(n.ErrorCode,function(){function n(){}return n.exception="exception",n.flushvideo="flushvideo",n}());n.InternalEventName=t;i=function(){function i(t,i){this._sessionContext=new n.Context.Session(this,t,i);this._playerType=null;this._autoplay=!0;this._type="";this._error=null;this._dispose=!1;this._retryAttempt=!1;this._oldPlaybackRateBeforePlay=null;this._passThroughEventNames=[n.EventName.volumechange,n.EventName.ended,n.EventName.timeupdate,n.EventName.pause,n.EventName.play,n.EventName.playing,n.EventName.seeking,n.EventName.seeked,n.EventName.suspend,n.EventName.loadstart,n.EventName.loadeddata,n.EventName.ratechange];this._conditionalEventNames=[n.EventName.waiting,n.EventName.canplaythrough,n.EventName.error];this._registerVideoTagEvents(!0);this._registerInternalEvents(!0)}return i.prototype.setStaleDataTimeLimit=function(n){this._sessionContext.maxBufferBehindCurrentTimeInSec=n},i.prototype.dispose=function(){this._dispose=!0;this._workflowCoordinator&&(this._workflowCoordinator.dispose(),this._workflowCoordinator=null);this._sessionContext&&(this._registerVideoTagEvents(!1),this._registerInternalEvents(!1),this._sessionContext.dispose(),this._sessionContext=null);this._error=null},Object.defineProperty(i.prototype,"currentVideoStreamList",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.videoStreamList:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentAudioStreamList",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.audioStreamList:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"src",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.src:this._sessionContext.videoTag.src},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentTime",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.currentTime:this._sessionContext.videoTag.currentTime},set:function(t){n.Log.verbose(7,"currentTime: "+t+" sec");this._workflowCoordinator?this._workflowCoordinator.currentTime=t:this._sessionContext.videoTag.currentTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentAbsoluteTime",{get:function(){return this._sessionContext.videoTag.currentTime},set:function(t){n.Log.verbose(7,"currentAbsoluteTime: "+t+" sec");this._workflowCoordinator?this._workflowCoordinator.currentPresentationTime=t:this._sessionContext.videoTag.currentTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentMediaTime",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.currentMediaTime:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentDownloadBitrate",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.downloadBitrate:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentPlaybackBitrate",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.playbackBitrate:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoBufferData",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.videoBufferData:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"audioBufferData",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.audioBufferData:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"volume",{get:function(){return this._sessionContext.videoTag.volume},set:function(t){n.Log.verbose(7,"volume: "+t.toString());var i=t;if(NaN!==t&&void 0!==t&&null!==t){0>t?i=0:t>1&&(i=1);try{this._sessionContext.videoTag.volume=i}catch(r){n.Log.warning(7,"set volume() error: "+r)}}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoplay",{get:function(){return this._autoplay},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paused",{get:function(){return this._sessionContext.videoTag.paused},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"seeking",{get:function(){return this._sessionContext.videoTag.seeking},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ended",{get:function(){return this._sessionContext.videoTag.ended},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._sessionContext.videoTag.height},set:function(n){this._sessionContext.videoTag.height=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._sessionContext.videoTag.width},set:function(n){this._sessionContext.videoTag.width=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoHeight",{get:function(){return this._sessionContext.videoTag.videoHeight},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoWidth",{get:function(){return this._sessionContext.videoTag.videoWidth},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isFullScreen",{get:function(){var n=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;return n===this._sessionContext.videoTag?document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled:!1},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isLive",{get:function(){return!!this._sessionContext.commonPresentation&&this._sessionContext.commonPresentation.isLive},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"duration",{get:function(){return this._workflowCoordinator?this._workflowCoordinator.duration:this._sessionContext.videoTag.duration},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"buffered",{get:function(){if(this._workflowCoordinator)return this._workflowCoordinator.buffered;try{return this._sessionContext.videoTag.buffered}catch(t){return n.Log.warning(7,"buffered() error: "+t),new n.Common.TimeRangeSet}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"manifestPlayableWindowLength",{get:function(){if(this._sessionContext&&this._sessionContext.commonPresentation&&this._sessionContext.commonPresentation.isLive)return this._sessionContext.commonPresentation.timeShiftBufferDepth},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentPlayableWindow",{get:function(){if(this._sessionContext&&this._sessionContext.commonPresentation&&this._sessionContext.commonPresentation.isLive)return new n.Common.TimeRange(this._sessionContext.commonPresentation.playableWindow.startInSec,this._sessionContext.commonPresentation.playableWindow.endInSec)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"segmentBoundaries",{get:function(){if(this._sessionContext&&this._sessionContext.commonPresentation)return this._sessionContext.commonPresentation.segmentBoundaries},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"error",{get:function(){return this._workflowCoordinator&&this._workflowCoordinator.error?this._workflowCoordinator.error:this._error},enumerable:!0,configurable:!0}),i.prototype.canPlayType=function(t){return n.PlayerType.getByPresentationType(t,this._sessionContext.videoTag)?"maybe":""},i.prototype.setSrc=function(n,t){this.setSrcInternal(n,t,!1)},i.prototype.setSrcInternal=function(t,r,u){this._playStarted=!1;var f="",e=0;return u?e=i._dtsOffsetToAddForChrome:(this._src=t,this._options=r?r:null,this._retryAttempt=!1),"https:"===window.location.protocol.toLowerCase()&&0===t.toLowerCase().indexOf("http:")?(f="The page was loaded over HTTPS, but the source was set to serve over HTTP. The content must be served over HTTPS. Source URL: "+t+", Page URL: "+window.location.href,n.Log.error(7,f),void this._handleError(new n.Failure.External(1048578,f))):(this._sessionContext.reset(),this._reset(r),this._playerType=n.PlayerType.getByPresentationType(this._type,this._sessionContext.videoTag),this._playerType||(n.Log.verbose(7,"Unable to determine player type by presentation type. Trying the url method..."),this._playerType=n.PlayerType.getByUrl(t,this._sessionContext.videoTag)),n.Log.verbose(7,"src: "+t+" autoplay: "+this._autoplay+" type: "+(this._type&&this._type.length>0?this._type:"unknown")+" player: "+(null===this._playerType?"unknown":n.PlayerDetector.Type[this._playerType])),this._workflowCoordinator&&(this._workflowCoordinator.dispose(),this._workflowCoordinator=null),void(1===this._playerType?(this._sessionContext.videoTag.autoplay=this._autoplay,this._sessionContext.videoTag.src=t):3===this._playerType?(this._workflowCoordinator=n.Workflow.CreateCoordinator(this._sessionContext),this._workflowCoordinator.dtsOffsetToAdd=e,this._sessionContext.videoTag.autoplay=!1,this._workflowCoordinator.autoplay=this._autoplay,this._workflowCoordinator.src=t):(n.Log.error(7,t+" not supported by AzureHtml5 Video Element"),this._handleError(new n.Failure.External(4194307,t)))))},i.prototype.play=function(){n.Log.verbose(7,"play");this._oldPlaybackRateBeforePlay=this.playbackRate();this._workflowCoordinator?this._workflowCoordinator.play():this._sessionContext&&this._sessionContext.videoTag&&n.Common.videoTagPlay(this._sessionContext.videoTag)},i.prototype.pause=function(){n.Log.verbose(7,"pause");this._workflowCoordinator?this._workflowCoordinator.pause():this._sessionContext&&this._sessionContext.videoTag&&this._sessionContext.videoTag.pause()},i.prototype.requestFullscreen=function(){var i,t;n.Log.verbose(7,"requestFullscreen");i=!1;this.isFullScreen||(t=this._sessionContext.videoTag,t.requestFullscreen?(i=!0,t.requestFullscreen()):t.msRequestFullscreen?(i=!0,t.msRequestFullscreen()):t.webkitRequestFullscreen?(i=!0,t.webkitRequestFullscreen()):t.mozRequestFullScreen&&(i=!0,t.mozRequestFullScreen()),i&&this._sessionContext.eventMgr.dispatchEvent(n.EventName.fullscreenchange))},i.prototype.exitFullscreen=function(){n.Log.verbose(7,"exitFullscreen");var t=!1;this.isFullScreen&&(document.exitFullscreen?(t=!0,document.exitFullscreen()):document.webkitExitFullscreen?(t=!0,document.webkitExitFullscreen()):document.mozCancelFullScreen?(t=!0,document.mozCancelFullScreen()):document.msExitFullscreen&&(t=!0,document.msExitFullscreen()),t&&this._sessionContext.eventMgr.dispatchEvent(n.EventName.fullscreenchange))},i.prototype.playbackRate=function(){return this._sessionContext.videoTag.playbackRate},i.prototype.setPlaybackRate=function(n){this._sessionContext.videoTag.playbackRate=n},i.prototype.addEventListener=function(n,t,i){"undefined"==typeof i&&(i=null);this._sessionContext.eventMgr.addHandler(n,t,i)},i.prototype.removeEventListener=function(n,t){this._sessionContext.eventMgr.removeHandler(n,t)},i.prototype.addKeySystem=function(n){return this._sessionContext.emeManager.addKeySystem(n)},i.prototype.setXmlHttpRequestFactory=function(n){this._sessionContext.setXmlHttpRequestFactory(n)},i.prototype.getAdSignalsAndReset=function(){return this._sessionContext.adManager.getAdSignalsAndReset()},i.prototype._reset=function(n){function i(n){t._dispose||t._handleError(n)}var t=this;this._playerType=null;this._autoplay=!0;this._type="";this._error=null;n&&(this._type=n.type,"autoPlay"in n&&(this._autoplay=n.autoPlay),"authenticationTokens"in n&&(this._sessionContext.authenticationTokens=n.authenticationTokens),n.userConfig&&this._sessionContext.setUserConfig(n.userConfig),n.headers&&this._sessionContext.setRequestedDownloadHeaders(n.headers));this._sessionContext.emeManager.setup(i,this._sessionContext.authenticationTokens)},i.prototype._registerVideoTagEvents=function(t){function u(t){i._dispose||i._error||(t.type&&(t.type===n.EventName.play||t.type===n.EventName.playing)&&(i._playStarted=!0,null!==i._oldPlaybackRateBeforePlay&&i._oldPlaybackRateBeforePlay!==i.playbackRate()&&(n.Log.verbose(7,"playback rate changed from: "+i._oldPlaybackRateBeforePlay+" to: "+i.playbackRate()+". Restoring the original playback rate!"),i.setPlaybackRate(i._oldPlaybackRateBeforePlay),i._oldPlaybackRateBeforePlay=null)),t.type===n.EventName.timeupdate&&i._workflowCoordinator&&i._workflowCoordinator.pendingPlay?n.Log.verbose(7,"skip dispatching event: "+t.type+" currentTime: "+i._sessionContext.videoTag.currentTime+" since work flow is in pending play state"):(n.Log.verbose(7,"dispatching event: "+t.type+" currentTime: "+i._sessionContext.videoTag.currentTime),i._sessionContext.eventMgr.dispatchEvent(t.type)))}function f(t){if(!i._dispose&&!i._error)if(n.EventName.error===t.type){if(i._sessionContext.videoTag.readyState===HTMLMediaElement.HAVE_NOTHING)return void n.Log.warning(7,"Ignoring video element error since state is HAVE_NOTHING "+n.Failure.mediaErrorToString(i._sessionContext.videoTag.error));var r=new n.Failure.External;r.translateMediaError(i._sessionContext.videoTag.error);i._handleError(r)}else i._workflowCoordinator||(n.Log.verbose(7,"dispatching event: "+t.type),i._sessionContext.eventMgr.dispatchEvent(t.type))}var r=this,i=this;this._passThroughEventNames.forEach(function(n){t?r._sessionContext.videoTag.addEventListener(n,u):r._sessionContext.videoTag.removeEventListener(n,u)});this._conditionalEventNames.forEach(function(n){t?r._sessionContext.videoTag.addEventListener(n,f):r._sessionContext.videoTag.removeEventListener(n,f)})},i.prototype._registerInternalEvents=function(i){function r(t){function i(){var r,i=t;throw r=i.message&&i.message.message&&i.message.stack?i.message.message+", "+i.message.stack:i.message,n.Log.error(7,"Throwing error "+r),new Error(r);}u._dispose||t.message&&!u._checkErrorAndRetryPlayback()&&n.Util.setTimeout(i,0)}var u=this;i?this._sessionContext.eventMgr.addHandler(t.exception,r,this):this._sessionContext.eventMgr.removeHandler(t.exception,r)},i.prototype._checkErrorAndRetryPlayback=function(){return this._playStarted||!n.Common.isChrome||this._retryAttempt?!1:(n.Log.verbose(7,"Retrying Playback with Adjusted DTS"),this._retryAttempt=!0,this.setSrcInternal(this._src,this._options,!0),!0)},i.prototype._handleError=function(t){if(!(this._checkErrorAndRetryPlayback()||this._workflowCoordinator&&this._workflowCoordinator.error)){if(this._error=t,this._workflowCoordinator){var i=new Error;n.Log.verbose(7,"Disposing WorkflowCoordinator b/c "+t.toString()+", "+i.stack);this._workflowCoordinator.dispose();this._workflowCoordinator=null}n.Log.verbose(7,"dispatching event: "+n.EventName.error);this._sessionContext.eventMgr.dispatchEvent(n.EventName.error)}},i._dtsOffsetToAddForChrome=.1,i}()}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var f=function(){function u(){this._disposed=!1;this._bandwidthTracker=null;this._buffer=null;this._downloadRequested=null;this._downloadCompleted=null;this._downloadDecrypted=null;this._downloadFailed=null;this._downloadTracker=null;this._eventMgr=new n.Events.Manager(null,!1)}return u.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._bandwidthTracker=null,this._buffer=null,this._downloadRequested=null,this._downloadCompleted=null,this._downloadDecrypted=null,this._downloadFailed=null,this._eventMgr&&(this._eventMgr.dispose(),this._eventMgr=null),this._downloadTracker&&(this._downloadTracker.dispose(),this._downloadTracker=null))},Object.defineProperty(u.prototype,"bufferLevel",{get:function(){return this._disposed||!this._buffer?null:this._buffer.getBufferedAheadOfCurrentTimeInSec()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"perceivedBandwidth",{get:function(){return this._disposed||!this._bandwidthTracker?null:this._bandwidthTracker.perceivedBandwidth()},enumerable:!0,configurable:!0}),u.prototype.updateBuffer=function(n){this._buffer=n},u.prototype.updateBandwidthTracker=function(n){this._bandwidthTracker=n;this._downloadTracker&&this._downloadTracker.dispose();this._downloadTracker=new t.DownloadTracker},u.prototype.getPlaybackBitrate=function(n){return this._disposed||!this._downloadTracker?-1:this._downloadTracker.findBitrate(n)},Object.defineProperty(u.prototype,"downloadRequested",{get:function(){return this._downloadRequested},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"downloadCompleted",{get:function(){return this._downloadCompleted},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"downloadDecrypted",{get:function(){return this._downloadDecrypted},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"downloadFailed",{get:function(){return this._downloadFailed},enumerable:!0,configurable:!0}),u.prototype.dispatchDownloadRequested=function(t){this._downloadRequested=t;this._eventMgr.dispatchEvent(n.BufferDataEventName.downloadrequested)},u.prototype.dispatchDownloadCompleted=function(t,r,u){if(this._downloadCompleted=new i(t,r,u),this._eventMgr.dispatchEvent(n.BufferDataEventName.downloadcompleted),this._downloadTracker&&null!=t.mediaTime&&(this._downloadTracker.add(t.mediaTime,t.bitrate),this._buffer.buffered&&this._buffer.buffered.length>0)){var f=this._buffer.buffered.start(0);this._downloadTracker.cleanup(f)}},u.prototype.dispatchDownloadDecrypted=function(t){this._downloadDecrypted=t;this._eventMgr.dispatchEvent(n.BufferDataEventName.downloaddecrypted)},u.prototype.dispatchDownloadFailed=function(t,i,u){"undefined"==typeof u&&(u="");this._downloadFailed=new r(t,i,u);this._eventMgr.dispatchEvent(n.BufferDataEventName.downloadfailed)},u.prototype.addEventListener=function(n,t,i){this._eventMgr.addHandler(n,t,i)},u.prototype.removeEventListener=function(n,t){this._eventMgr.removeHandler(n,t)},u}(),u,i,r;t.BufferData=f;u=function(){function n(n,t,i,r,u,f){this._url=n;this._bitrate=t;this._mediaTime=i;this._data=r;this._presentationTimeOffsetInSec=u;this._timeScale=f}return Object.defineProperty(n.prototype,"url",{get:function(){return this._url},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bitrate",{get:function(){return this._bitrate},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mediaTime",{get:function(){return this._mediaTime},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"data",{get:function(){return this._data},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"presentationTimeOffsetInSec",{get:function(){return this._presentationTimeOffsetInSec},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"timeScale",{get:function(){return this._timeScale},enumerable:!0,configurable:!0}),n}();t.MediaDownload=u;i=function(){function n(n,t,i){this._mediaDownload=n;this._measuredBw=1e3*t.bandwidth;this._bytes=t.responseLengthInBytes;this._downloadTimeMs=t.totalDownloadTimeMs;this._responseHeaders=i}return Object.defineProperty(n.prototype,"mediaDownload",{get:function(){return this._mediaDownload},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"measuredBandwidth",{get:function(){return this._measuredBw},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"totalBytes",{get:function(){return this._bytes},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"totalDownloadMs",{get:function(){return this._downloadTimeMs},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"responseHeaders",{get:function(){return this._responseHeaders},enumerable:!0,configurable:!0}),n}();t.MediaDownloadCompleted=i;r=function(){function n(n,t,i){this._mediaDownload=n;this._code=t;this._message=i}return Object.defineProperty(n.prototype,"code",{get:function(){return this._code},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"message",{get:function(){return this._message},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mediaDownload",{get:function(){return this._mediaDownload},enumerable:!0,configurable:!0}),n}();t.MediaDownloadFailed=r}(n.Context||(n.Context={}));n.Context}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var u,f,e,o,i,r;!function(n){n[n.proceed=0]="proceed";n[n.endOfStream=1]="endOfStream";n[n.retry=2]="retry"}(t.RequestState||(t.RequestState={}));t.RequestState;!function(n){n[n.arraybuffer=0]="arraybuffer";n[n.blob=1]="blob";n[n.document=2]="document";n[n.json=3]="json";n[n.text=4]="text"}(t.ResponseType||(t.ResponseType={}));t.ResponseType;!function(n){n[n.manifest=0]="manifest";n[n.mediaSegment=1]="mediaSegment";n[n.initSegment=2]="initSegment";n[n.initBandwidth=3]="initBandwidth"}(t.RequestType||(t.RequestType={}));u=(t.RequestType,function(){function i(i,r,u){this.maxBufferBehindCurrentTimeInSec=-1;this.azureHtml5=i;this.videoTag=r;this.appConfig=u;this.emeManager=new n.KeySystem.EmeManager(r);this.eventMgr=new n.Events.Manager(i,!1);this.adManager=new n.Ad.Manager(this.eventMgr);this.workflows=null;this.presentationUrl=null;this.presentationQueryStr=null;this.presentationJson=null;this.commonPresentation=null;this.isLiveToVod=!1;this.videoBufferData=new t.BufferData;this.audioBufferData=new t.BufferData;this.startPositionInSec=NaN;this.authenticationTokens={};this.heuristicSettings=new n.Settings.Heuristics;this.httpRetryPolicySettings=new n.Settings.HttpRetryPolicy;this.httpDataRetrieverSettings=new n.Settings.HttpDataRetriever;this.decryptionTracker=new n.Heuristics.DecryptionTracker;this._disposed=!1;this._xmlHttpRequestFactory=null}return i.prototype.dispose=function(){this._disposed||(this._disposed=!0,this.videoTag=null,this.appConfig=null,this.workflows&&this.workflows.forEach(function(n){n.dispose()}),this.workflows=null,this.presentationUrl=null,this.presentationQueryStr=null,this.presentationJson=null,this.authenticationTokens=null,this._xmlHttpRequestFactory=null,this.azureHtml5=null,this.emeManager&&(this.emeManager.dispose(),this.emeManager=null),this.eventMgr&&(this.eventMgr.dispose(),this.eventMgr=null),this.adManager&&(this.adManager=null),this.commonPresentation&&(this.commonPresentation.dispose(),this.commonPresentation=null),this.heuristicSettings=null,this.decryptionTracker=null,this.videoBufferData&&(this.videoBufferData.dispose(),this.videoBufferData=null),this.audioBufferData&&(this.audioBufferData.dispose(),this.audioBufferData=null))},Object.defineProperty(i.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),i.prototype.reset=function(){this.presentationUrl=null;this.presentationQueryStr=null;this.presentationJson=null;this.startPositionInSec=NaN;this.authenticationTokens={};this.commonPresentation&&(this.commonPresentation.dispose(),this.commonPresentation=null);this.emeManager&&this.emeManager.reset();this.heuristicSettings&&this.heuristicSettings.reset();this.videoBufferData&&(this.videoBufferData.dispose(),this.videoBufferData=new t.BufferData);this.audioBufferData&&(this.audioBufferData.dispose(),this.audioBufferData=new t.BufferData);this.adManager&&this.adManager.reset()},i.prototype.setRequestedDownloadHeaders=function(n){this.headers=n},i.prototype.setUserConfig=function(n){void 0!==n.maxBufferInWallClockSec&&(this.heuristicSettings.buffer.maxBufferInWallClockSec=n.maxBufferInWallClockSec);void 0!==n.prerollPercent&&(this.heuristicSettings.buffer.prerollPercent=n.prerollPercent);void 0!==n.livePlaybackOffsetPercent&&(this.heuristicSettings.buffer.livePlaybackOffsetPercent=n.livePlaybackOffsetPercent);void 0!==n.windowSizeHeuristicsEnabled&&(this.heuristicSettings.windowSizeHeuristicsEnabled=n.windowSizeHeuristicsEnabled);void 0!==n.useBrowserWindowForWindowSizeRule&&(this.heuristicSettings.useBrowserWindowForWindowSizeRule=n.useBrowserWindowForWindowSizeRule);void 0!==n.minFragmentsForBandwidthAverage&&(this.heuristicSettings.bandwidth.minBandwidthHistoryCount=n.minFragmentsForBandwidthAverage);void 0!==n.bandwidthTestWithTimeThresholdDuringLive&&(this.heuristicSettings.bandwidth.bandwidthTestWithTimeThresholdDuringLive=n.bandwidthTestWithTimeThresholdDuringLive);void 0!==n.useVariableFragmentSizeMode&&(this.heuristicSettings.bandwidth.useVariableFragmentSizeMode=n.useVariableFragmentSizeMode);void 0===n.decryptionTimeHeuristicsEnabled||n.decryptionTimeHeuristicsEnabled||(this.decryptionTracker=null);void 0!==n.preFetchDataEnabled&&(this.heuristicSettings.preFetchDataEnabled=n.preFetchDataEnabled);void 0!==n.maxRetryPerSegment&&(this.httpRetryPolicySettings.maxRetryPerSegment=n.maxRetryPerSegment);void 0!==n.maxSkipSegments&&(this.httpRetryPolicySettings.maxSkipSegments=n.maxSkipSegments);void 0!==n.maxTotalRetries&&(this.httpRetryPolicySettings.maxTotalRetries=n.maxTotalRetries)},i.prototype.maxBufferInWallClockSec=function(){return this.appConfig&&this.appConfig.maxBufferInWallClockSec&&"0"!=this.appConfig.maxBufferInWallClockSec?parseInt(this.appConfig.maxBufferInWallClockSec):this.heuristicSettings.buffer.maxBufferInWallClockSec},i.prototype.maxBufferInSec=function(){return this.maxBufferInWallClockSec()*this.playbackRate()},i.prototype.prerollBufferInSec=function(){return this.maxBufferInSec()*this.heuristicSettings.buffer.prerollPercent},i.prototype.lowBufferInSec=function(){return this.maxBufferInSec()*this.heuristicSettings.vodDowngradeBufferLevelPercent*this.heuristicSettings.buffer.lowBufferPercent},i.prototype.liveStartBufferInSec=function(){return this.maxBufferInSec()*(this.heuristicSettings.buffer.prerollPercent+this.heuristicSettings.buffer.livePlaybackOffsetPercent)},i.prototype.updatePresentation=function(n){this.commonPresentation?(this.commonPresentation.isLive&&!n.isLive&&(this.isLiveToVod=!0),this.commonPresentation.transferPresentationState(n),this.presentationJson=n.toJson(),n.dispose()):(this.commonPresentation=n,this.presentationJson=n.toJson())},i.prototype.setXmlHttpRequestFactory=function(n){this._xmlHttpRequestFactory=n},i.prototype.createXmlHttpRequest=function(){return this._xmlHttpRequestFactory?this._xmlHttpRequestFactory():new n.HttpRequest.XMLHttpRequestWrapper},i.prototype.playbackRate=function(){return this.azureHtml5.playbackRate()},i}());t.Session=u;f=function(){function n(n,t){this.workflowType=n;this.sessionContext=t;this.state=0;this.retryWaitTimeMSec=0;this.currentModuleId=null;this.requestedStream=null;this.urlsToRetrieve=[];this.selectedTrack=null;this.selectedSegment=null;this.heuristicData=null;this.externalFailure=null;this.failTracker=new r;this._disposed=!1}return n.prototype.dispose=function(){this._disposed||(this._disposed=!0,this.workflowType=null,this.sessionContext=null,this.state=null,this.currentModuleId=null,this.requestedStream=null,this.urlsToRetrieve.forEach(function(n,t,i){i[t].dispose()}),this.urlsToRetrieve=[],this.selectedTrack=null,this.selectedSegment=null,this.heuristicData&&(this.heuristicData.dispose(),this.heuristicData=null),this.externalFailure&&(this.externalFailure.dispose(),this.externalFailure=null),this.failTracker&&(this.failTracker.dispose(),this.failTracker=null))},n.prototype.reset=function(){this.state=0;this.retryWaitTimeMSec=0;this.currentModuleId=null;this.selectedTrack=null;this.selectedSegment=null;1===this.workflowType&&(this.urlsToRetrieve=[]);this.heuristicData&&this.heuristicData.reset();this.externalFailure=null},Object.defineProperty(n.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),n}();t.Request=f;e=function(){function n(n,t,i,r,u,f,e){"undefined"==typeof t&&(t=0);"undefined"==typeof i&&(i=4);"undefined"==typeof r&&(r="");"undefined"==typeof u&&(u=NaN);"undefined"==typeof f&&(f=NaN);"undefined"==typeof e&&(e=NaN);this.url=n;this.httpResponseCode=-1;this.httpResposeContentType="";this.mediaData=null;this.presentationData=null;this.streamId=r;this.bitrate=u;this.presTimeInSec=f;this.durationInSec=e;this.responseType=i;this.requestType=t}return n.prototype.dispose=function(){this.url=null;this.httpResponseCode=null;this.httpResposeContentType="";this.mediaData=null;this.presentationData=null;this.streamId="";this.bitrate=NaN;this.presTimeInSec=NaN;this.durationInSec=NaN;this.responseType=null},n.prototype.clone=function(){var t=new n(this.url,this.requestType,this.responseType,this.streamId,this.bitrate,this.presTimeInSec,this.durationInSec);return t.httpResponseCode=this.httpResponseCode,t.httpResposeContentType=this.httpResposeContentType,t.mediaData=this.mediaData.slice(0),t.presentationData=this.presentationData,t},n}();t.UrlRequest=e;o=function(){function n(n){var t=[];n.tracks.forEach(function(n){n.streamingInfo.selectable&&t.push(new i(n))});this.tracksData=t}return n.prototype.dispose=function(){this.tracksData.forEach(function(n,t,i){i[t].dispose()});this.tracksData=[]},n.prototype.reset=function(){this.tracksData.forEach(function(n,t,i){i[t].reset()})},n}();t.HeuristicData=o;i=function(){function n(n){this.trackInfo=n;this.selectable=!0;this.dataRetrieverEstimationInWallClockSec=null}return n.prototype.dispose=function(){this.trackInfo=null;this.selectable=null;this.dataRetrieverEstimationInWallClockSec=null},n.prototype.reset=function(){this.selectable=!0;this.dataRetrieverEstimationInWallClockSec=null},n}();t.TrackData=i;r=function(){function n(){this.reset()}return n.prototype.dispose=function(){this.lastFailure=null;this.lastTrack=null;this.tracksToTry=[]},n.prototype.reset=function(){this.lastFailure=null;this.lastTrack=null;this.totalRetried=0;this.tracksToTry=[];this.trackToTryIdx=0;this.sameRequestRetried=0;this.segmentsSkipped=0;this.noDataReceivedFailure=!1},n.prototype.resetForSegment=function(){this.sameRequestRetried=0;this.trackToTryIdx=0},n.prototype.log=function(n,t){this.lastFailure=n;this.lastTrack=t},n.prototype.isNone=function(){return null===this.lastFailure},n.prototype.isLastNetworkFail=function(){return this.lastFailure.code>=2097752&&this.lastFailure.code<3145727},n.prototype.isLastNetworkDown=function(){return 2097753===this.lastFailure.code},n.prototype.isLastNotReady=function(){return 2097564===this.lastFailure.code},n.prototype.isLastServerError=function(){return this.lastFailure.code>=2097652&&this.lastFailure.code<=2097751},n.prototype.isLastNotFound=function(){return 2097556===this.lastFailure.code},n}();t.FailTracker=r}(n.Context||(n.Context={}));n.Context}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._downloads=[]}return t.prototype.dispose=function(){this._downloads=[]},t.prototype.add=function(t,i){var u,r;if(0===this._downloads.length)return void this._downloads.push({time:t,bitrate:i});if(u=this._downloads[this._downloads.length-1],t>u.time)return void(i!=u.bitrate&&this._downloads.push({time:t,bitrate:i}));r=n.Common.binarySearchTimeline(t,this._downloads,this._compareTime);(-1===r||t>this._downloads[r].time)&&r++;this._downloads.splice(r,this._downloads.length-r);this._downloads.push({time:t,bitrate:i})},t.prototype.findBitrate=function(t){var i=n.Common.binarySearchTimeline(t,this._downloads,this._compareTime);return-1===i?-1:this._downloads[i].bitrate},t.prototype.cleanup=function(t){if(!(this._downloads.length>0&&t<=this._downloads[0].time)){var i=n.Common.binarySearchTimeline(t,this._downloads,this._compareTime);i>0&&this._downloads.splice(0,i)}},t.prototype._compareTime=function(n,t,i){var r=0;return i?(n<t.time?r=-1:n>=i.time&&(r=1),r):t.time<=n?0:-1},t}();t.DownloadTracker=i}(n.Context||(n.Context={}));n.Context}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function i(i){var r=this,u,f;this._videoElement=i;this._errorHandler=null;this.matchedKeySystem=null;this._audioContentType=null;this._videoContentType=null;this._psshBoxes=[];this._keySystems={};this._laUrls={};this._authenticationTokens={};this._disposed=!1;this._initializedKeySystem=null;u=new t.PlayReady;this.addKeySystem(u);f=new t.Widevine;this.addKeySystem(f);this._needKeyHandlerWrapper=function(n){r._needKeyHandler(n)};this._encryptedHandlerWrapper=function(n){r._encryptedHandler(n)};n.EmeUtil.listenToNeedKey(i,this._needKeyHandlerWrapper);n.EmeUtil.listenToEncrypted(i,this._encryptedHandlerWrapper)}return i.prototype.reset=function(){this.matchedKeySystem&&(this.matchedKeySystem.deactivate(),this.matchedKeySystem=null);this._psshBoxes=[];this._laUrls={};this._errorHandler=null;this._audioContentType=null;this._videoContentType=null;this._authenticationTokens={};this._initializedKeySystem=null},i.prototype.dispose=function(){this._disposed||(this._disposed=!0,this.matchedKeySystem&&(this.matchedKeySystem.deactivate(),this.matchedKeySystem=null),n.EmeUtil.unlistenToNeedKey(this._videoElement,this._needKeyHandlerWrapper),n.EmeUtil.unlistenToEncrypted(this._videoElement,this._encryptedHandlerWrapper),this._needKeyHandlerWrapper=null,this._encryptedHandlerWrapper=null,this._psshBoxes=[],this._keySystems={},this._laUrls={},this._videoElement=null,this._errorHandler=null,this._audioContentType=null,this._videoContentType=null,this._authenticationTokens=null,this._initializedKeySystem=null)},i.prototype.setup=function(n,t){this._errorHandler=n;this._authenticationTokens=t},i.prototype.setContentTypes=function(n,t){this._audioContentType=n;this._videoContentType=t},i.prototype.addKeySystem=function(t){var i=n.Common.uint8ArrayToHexString(t.systemId);return i&&i.length>0?(this._keySystems[i]&&n.Log.warning(12,"Overwriting "+t.name),this._keySystems[i]=t,t):null},i.prototype.addPsshBoxes=function(t){var i=this;t.forEach(function(t){var r=n.Common.uint8ArrayToHexString(t.systemId);n.Log.verbose(12,"Adding pssh box with system ID "+r);i._psshBoxes.push(t)})},i.prototype.addLaUrl=function(t,i){var r=n.Common.uint8ArrayToHexString(t);return this._keySystems[r]?(this._laUrls[r]&&this._laUrls[r]!==i&&n.Log.warning(12,"Overwriting license acquisition URL for "+this._keySystems[r].name),void(this._laUrls[r]=i)):void n.Log.warning(12,"Cannot set license acquisition URL for system ID "+r)},i.prototype._needKeyHandler=function(t){var i=this,r,u;this._disposed||((n.Log.verbose(12,"Got needKey event"),t.initData)&&(r=new DataView(t.initData.buffer),u=n.Mp4Util.GetPsshBoxes(r),this.addPsshBoxes(u)),this._findMatchedKeySystem().then(function(t){var r,u;if(t&&(null==i._initializedKeySystem||i._initializedKeySystem==t.type))for(null==i._initializedKeySystem&&(i._initializedKeySystem=t.type),r=0;r<i._psshBoxes.length;r++)i._psshBoxes[r].systemId.isEqual(t.systemId)&&(u=new Uint8Array(i._psshBoxes[r].serialize()),n.Log.verbose(12,"needKeyHandler: Sending initData to: "+t.name),t.initData(u,i._audioContentType,i._videoContentType));else i._reportKeySystemNotFound()},function(){i._reportKeySystemNotFound()}))},i.prototype._encryptedHandler=function(t){var i=this,r,u;this._disposed||((n.Log.verbose(12,"Got encrypted event"),t.initData)&&(r=new DataView(t.initData),u=n.Mp4Util.GetPsshBoxes(r),this.addPsshBoxes(u)),this._findMatchedKeySystem().then(function(t){var u,r,f;if(t&&(null==i._initializedKeySystem||i._initializedKeySystem==t.type))for(null==i._initializedKeySystem&&(i._initializedKeySystem=t.type),u=n.Common.uint8ArrayToHexString(t.systemId),r=0;r<i._psshBoxes.length;r++)i._psshBoxes[r].systemId.isEqual(t.systemId)&&(f=new Uint8Array(i._psshBoxes[r].serialize()),n.Log.verbose(12,"encryptedHandler: Sending initData to: "+t.name),t.initData(f,i._audioContentType,i._videoContentType,i._laUrls[u]));else i._reportKeySystemNotFound()},function(){i._reportKeySystemNotFound()}))},i.prototype._findMatchedKeySystem=function(){var t=this;return new Promise(function(i,r){function f(){if(u>=t._psshBoxes.length)return void r();var e=n.Common.uint8ArrayToHexString(t._psshBoxes[u].systemId);t._keySystems[e]?t._keySystems[e].isSupported(t._psshBoxes[u].systemId,t._audioContentType,t._videoContentType).then(function(){t.matchedKeySystem=t._keySystems[e];t.matchedKeySystem.activate(t._videoElement,t._errorHandler,t._authenticationTokens[t.matchedKeySystem.type]);n.Log.verbose(12,"Matched key system found: "+t.matchedKeySystem.name);i(t.matchedKeySystem)},function(){++u;f()}):(++u,f())}if(t.matchedKeySystem)return void i(t.matchedKeySystem);var u=0;f()})},i.prototype._reportKeySystemNotFound=function(){var t=new n.Failure.External(5242881,"no matching keySystem found");this._errorHandler(t)},i}();t.EmeManager=i}(n.KeySystem||(n.KeySystem={}));n.KeySystem}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this.name="com.microsoft.playready";this.type="PlayReady";this._videoElement=null;this._errorHandler=null;this._session=null;this._active=!1;this._authenticationToken=""}return Object.defineProperty(t.prototype,"systemId",{get:function(){return t.systemId},enumerable:!0,configurable:!0}),t.prototype.isSupported=function(i,r,u){return i.isEqual(t.systemId)?n.EmeUtil.isTypeSupported(this.name,r,u):new Promise(function(n,t){t()})},t.prototype.activate=function(n,t,i){this._videoElement=n;this._errorHandler=t;this._authenticationToken=i;this._active=!0},t.prototype.deactivate=function(){this._active&&(this._active=!1,this._session&&(n.EmeUtil.unlistenToKeyMessage(this._session,this._keyMessageHandler),n.EmeUtil.unlistenKeyError(this._session,this._keyErrorHandler),this._session.close(),this._session=null),this._videoElement=null,this._errorHandler=null,this._authenticationToken="")},t.prototype.initData=function(t,i,r){function h(n){e._keyMessageHandler(n)}function c(){e._keyErrorHandler()}var e=this,u,o,s,f;if(!this._session){if(u=n.EmeUtil.createMediaKeys(this.name),!u)return n.Log.error(12,this.name+" createMediaKeys failed"),f=new n.Failure.External(5242881,this.name+" createMediaKeys failed"),void this._reportError(f);if(n.EmeUtil.setMediaKeys(this._videoElement,u),o=i.substr(i.indexOf("=")+2),s=r.substr(0,r.length-1)+", "+o,n.Log.verbose(12,"creating media key session for PlayReady"),this._session=u.createSession(s,t),!this._session)return n.Log.error(12,this.name+" createSession failed"),f=new n.Failure.External(5242881,this.name+" createSession failed"),void this._reportError(f);n.EmeUtil.listenToKeyMessage(this._session,h);n.EmeUtil.listenKeyError(this._session,c)}},t.prototype._keyMessageHandler=function(n){var t=this,i=new Uint16Array(n.message.buffer),r=String.fromCharCode.apply(null,i),u=n.destinationURL;this._getPlayReadyLicense(r,u).then(function(n){t._active&&t._session&&t._session.update(n)},function(n){t._active&&t._reportError(n)})},t.prototype._keyErrorHandler=function(){if(this._active&&this._session.error){var t="MSMediaKeyError code: "+this._session.error.code+", systemCode: "+n.Common.toHexString(this._session.error.systemCode),i=new n.Failure.External(5242880,t);this._reportError(i)}},t.prototype._getPlayReadyLicense=function(i,r){var u=this;return new Promise(function(f,e){var v=null,c=[],y=new DOMParser,h=y.parseFromString(i,"application/xml"),l,s,a,o;if(!h.getElementsByTagName("Challenge")[0])return n.Log.error(12,"Playready: Can not find Challenge in keyMessage"),void e(new n.Failure.External(5242886,"No challenge"));if(l=h.getElementsByTagName("Challenge")[0].childNodes[0].nodeValue,l&&(v=atob(l)),s=h.getElementsByTagName("name"),a=h.getElementsByTagName("value"),s.length!=a.length)return n.Log.error(12,"Playready update, invalid header name/value pair in keyMessage"),void e(new n.Failure.External(5242886,"Invalid headers"));for(o=0;o<s.length;o++)c[o]={name:s[o].childNodes[0].nodeValue,value:a[o].childNodes[0].nodeValue};u._authenticationToken&&u._authenticationToken.length>0&&(c[s.length]={name:n.HttpUtil.authorizationHeader,value:u._authenticationToken});t.overrideLicenseAcquisitionUrl&&(n.Log.verbose(12,"overriding license acquisition url: "+r+" with: "+t.overrideLicenseAcquisitionUrl),r=t.overrideLicenseAcquisitionUrl);n.HttpUtil.httpRequest(r,"POST","arraybuffer",c,v).then(function(n){f(new Uint8Array(n))},function(t){var i=new n.Failure.External(5242886,"Http: "+n.Common.toHexString(t));e(i)})})},t.prototype._reportError=function(n){this._errorHandler&&this._errorHandler(n)},t.systemId=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),t}();t.PlayReady=i}(n.KeySystem||(n.KeySystem={}));n.KeySystem}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";var e=function(){function n(){this.windowSizeHeuristicsEnabled=n._windowSizeHeuristicsEnabledDefault;this.useBrowserWindowForWindowSizeRule=n._useBrowserWindowForWindowSizeRuleDefault;this.preFetchDataEnabled=n._preFetchDataEnabledDefault;this.preFetchDataMiddle=n._preFetchDataMiddleDefault;this.vodStableBufferLevelPercent=n._vodStableBufferLevelPercentDefault;this.vodDowngradeBufferLevelPercent=n._vodDowngradeBufferLevelPercentDefault;this.belowDowngradeBufferLevelDownloadTimeFactor=n._belowDowngradeBufferLevelDownloadTimeFactorDefault;this.bandwidth=null;this.stepRule=null;this.buffer=null;this.bandwidth=new t;this.stepRule=new i;this.buffer=new r}return n.prototype.reset=function(){this.windowSizeHeuristicsEnabled=n._windowSizeHeuristicsEnabledDefault;this.useBrowserWindowForWindowSizeRule=n._useBrowserWindowForWindowSizeRuleDefault;this.preFetchDataEnabled=n._preFetchDataEnabledDefault;this.preFetchDataMiddle=n._preFetchDataMiddleDefault;this.vodStableBufferLevelPercent=n._vodStableBufferLevelPercentDefault;this.vodDowngradeBufferLevelPercent=n._vodDowngradeBufferLevelPercentDefault;this.belowDowngradeBufferLevelDownloadTimeFactor=n._belowDowngradeBufferLevelDownloadTimeFactorDefault;this.bandwidth.reset();this.stepRule.reset();this.buffer.reset()},n._windowSizeHeuristicsEnabledDefault=!0,n._useBrowserWindowForWindowSizeRuleDefault=!1,n._preFetchDataEnabledDefault=!0,n._preFetchDataMiddleDefault=!0,n._vodStableBufferLevelPercentDefault=.7,n._vodDowngradeBufferLevelPercentDefault=.15,n._belowDowngradeBufferLevelDownloadTimeFactorDefault=.75,n}(),t,i,r,u,f;n.Heuristics=e;t=function(){function n(){this.bandwidthUsabilityPercent=n._bandwidthUsabilityPercentDefault;this.bandwidthDataSizeThresholdInBytes=n._bandwidthDataSizeThresholdInBytesDefault;this.bandwidthEstimationMaxKbps=n._bandwidthEstimationMaxKbpsDefault;this.bandwidthEstimationMinMsec=n._bandwidthEstimationMinMsecDefault;this.maxBandwidthHistoryCount=n._maxBandwidthHistoryCountDefault;this.minBandwidthHistoryCount=n._minBandwidthHistoryCountDefault;this.bandwidthTestWithTimeThresholdDuringLive=n._bandwidthTestWithTimeThresholdDuringLiveDefault;this.useVariableFragmentSizeMode=n._useVariableFragmentSizeModeDefault}return n.prototype.reset=function(){this.bandwidthUsabilityPercent=n._bandwidthUsabilityPercentDefault;this.bandwidthDataSizeThresholdInBytes=n._bandwidthDataSizeThresholdInBytesDefault;this.bandwidthEstimationMaxKbps=n._bandwidthEstimationMaxKbpsDefault;this.bandwidthEstimationMinMsec=n._bandwidthEstimationMinMsecDefault;this.maxBandwidthHistoryCount=n._maxBandwidthHistoryCountDefault;this.minBandwidthHistoryCount=n._minBandwidthHistoryCountDefault;this.bandwidthTestWithTimeThresholdDuringLive=n._bandwidthTestWithTimeThresholdDuringLiveDefault;this.useVariableFragmentSizeMode=n._useVariableFragmentSizeModeDefault},n._bandwidthUsabilityPercentDefault=.85,n._bandwidthDataSizeThresholdInBytesDefault=1e4,n._bandwidthEstimationMaxKbpsDefault=5e5,n._bandwidthEstimationMinMsecDefault=5,n._maxBandwidthHistoryCountDefault=5,n._minBandwidthHistoryCountDefault=1,n._bandwidthTestWithTimeThresholdDuringLiveDefault=!0,n._useVariableFragmentSizeModeDefault=!1,n}();n.Bandwidth=t;i=function(){function n(){this.minSegmentsBeforeDowngrade=n._minSegmentsBeforeDowngradeDefault;this.minSegmentsBeforeUpgrade=n._minSegmentsBeforeUpgradeDefault;this.maxStepDownInQuality=n._maxStepDownInQualityDefault;this.maxStepUpInQuality=n._maxStepUpInQualityDefault}return n.prototype.reset=function(){this.minSegmentsBeforeDowngrade=n._minSegmentsBeforeDowngradeDefault;this.minSegmentsBeforeUpgrade=n._minSegmentsBeforeUpgradeDefault;this.maxStepDownInQuality=n._maxStepDownInQualityDefault;this.maxStepUpInQuality=n._maxStepUpInQualityDefault},n._minSegmentsBeforeDowngradeDefault=0,n._minSegmentsBeforeUpgradeDefault=1,n._maxStepDownInQualityDefault=10,n._maxStepUpInQualityDefault=3,n}();n.StepRule=i;r=function(){function n(){this.maxBufferInWallClockSec=n._maxBufferInSecDefault;this.prerollPercent=n._prerollPercentDefault;this.livePlaybackOffsetPercent=n._livePlaybackOffsetPercentDefault;this.leftEdgeBackoffInSec=n._leftEdgeBackoffInSecDefault;this.lowBufferPercent=n._lowBufferPercentDefault}return n.prototype.reset=function(){this.maxBufferInWallClockSec=n._maxBufferInSecDefault;this.prerollPercent=n._prerollPercentDefault;this.lowBufferPercent=n._lowBufferPercentDefault;this.livePlaybackOffsetPercent=n._livePlaybackOffsetPercentDefault;this.leftEdgeBackoffInSec=n._leftEdgeBackoffInSecDefault},n._maxBufferInSecDefault=30,n._prerollPercentDefault=.25,n._lowBufferPercentDefault=.25,n._livePlaybackOffsetPercentDefault=.25,n._leftEdgeBackoffInSecDefault=4,n}();n.Buffer=r;u=function(){function n(){this.maxTotalRetries=n._maxTotalRetriesDefault;this.maxRetryPerSegment=n._maxRetryPerSegmentDefault;this.maxRetryPresentation=n._maxRetryPresentationDefault;this.maxSkipSegments=n._maxSkipSegmentsDefault;this.retryLowerBitrateOnly=!1;this.retryMediaInMSec=n._retryMediaInMSecDefault;this.retryMediaServerErrorInMSec=n._retryMediaServerErrorInMSecDefault;this.retryPresentationInMSec=n._retryPresentationInMSecDefault;this.retryDueToNetworkErrorInMSec=n._retryDueToNetworkErrorInMSecDefault}return n._maxTotalRetriesDefault=50,n._maxRetryPerSegmentDefault=10,n._maxRetryPresentationDefault=5,n._maxSkipSegmentsDefault=30,n._retryMediaInMSecDefault=2e3,n._retryMediaServerErrorInMSecDefault=4e3,n._retryPresentationInMSecDefault=500,n._retryDueToNetworkErrorInMSecDefault=1e3,n}();n.HttpRetryPolicy=u;f=function(){function n(){this.initBandwidthTimeoutInMSec=n._initBandwidthTimeout;this.noDataTimeoutInMSec=n._noDataTimeoutDefault;this.timeoutInMSec=n._minTimeoutInMSecDefault;this.liveEdgeAdjustmentInSec=n._liveEdgeAdjustmentDefaultInSec}return Object.defineProperty(n.prototype,"maxTimeoutInMSec",{get:function(){return 6e4},enumerable:!0,configurable:!0}),n._minTimeoutInMSecDefault=1e4,n._initBandwidthTimeout=1e3,n._noDataTimeoutDefault=1e3,n._liveEdgeAdjustmentDefaultInSec=-1,n}();n.HttpDataRetriever=f}(n.Settings||(n.Settings={}));n.Settings}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function i(){return new e}function r(){return window.hasOwnProperty("MediaSource")||window.hasOwnProperty("WebKitMediaSource")?!0:!1}t.CreateAdapter=i;t.supported=r;var u={closed:0,open:1,ended:2},f=function(){function n(n,t,i){this.bufferIndex=n;this.startTime=t;this.endTime=i}return n}(),e=function(){function i(){this._mediaSource=new MediaSource;this._sourceOpenHandler=null;this._adapterSourceBuffers=new o;this._disposed=!1;this._videoTag=null;this._buffered=null}return i.prototype.dispose=function(){if(!this._disposed){if(this._mediaSource){for(var n=this._mediaSource.sourceBuffers.length-1;n>=0;n--)this._mediaSource.removeSourceBuffer(this._mediaSource.sourceBuffers[n]);this._sourceOpenHandler&&(this._mediaSource.removeEventListener("sourceopen",this._sourceOpenHandler),this._sourceOpenHandler=null);this._mediaSource=null}this._adapterSourceBuffers.dispose();this._adapterSourceBuffers=null;this._videoTag&&(this._videoTag.src&&(URL.revokeObjectURL(this._videoTag.src),this._videoTag.src=null),this._videoTag=null);this._disposed=!0}},Object.defineProperty(i.prototype,"readyState",{get:function(){return this._disposed?0:u[this._mediaSource.readyState]},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"durationInSec",{get:function(){return this._disposed?NaN:this._mediaSource.duration},set:function(n){this._disposed||(this._mediaSource.duration=n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"adapterBuffers",{get:function(){return this._disposed?null:this._adapterSourceBuffers.adapterBuffers},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"buffered",{get:function(){return this._buffered},enumerable:!0,configurable:!0}),i.prototype.setVideoElementSrcAsync=function(n){var t=this;return this._videoTag=n,new Promise(function(i,r){return t._disposed?void r("VideoElementAdapter already disposed"):(t._sourceOpenHandler=function(){return t._disposed?void r("VideoElementAdapter already disposed"):(t._mediaSource.removeEventListener("sourceopen",t._sourceOpenHandler),t._sourceOpenHandler=null,void i())},t._mediaSource.addEventListener("sourceopen",t._sourceOpenHandler),void(n.src=URL.createObjectURL(t._mediaSource)))})},i.prototype.setStartTime=function(t){function u(){!r._disposed&&r._videoTag&&0===r._videoTag.currentTime&&(r._videoTag.readyState!==HTMLMediaElement.HAVE_NOTHING?(r._videoTag.currentTime=t,n.Log.verbose(3,"StartTime set: "+t)):(n.Log.verbose(3,"Video tag not ready, will retry to set StartTime to "+t),n.Util.setTimeout(u,i._setCurrentTimeTimeoutInMSec)))}var r=this;u()},i.prototype.addAdapterBuffer=function(i,r,u,f,e){function c(){h._updateBuffered()}function l(n){u.call(h,n)}if(this._disposed)return null;var o,h=this,s=null;try{o=this._mediaSource.addSourceBuffer(i);s=new t.VideoElementAdapterBuffer(f,e,r,o,c,l);this._adapterSourceBuffers.add(s,o);n.Log.verbose(3,"Adapter buffer added: "+i+" Adapter buffer total: "+this._adapterSourceBuffers.length)}catch(a){n.Log.error(3,"Failed to add SourceBuffer to MediaSource: "+a)}return s},i.prototype.removeAdapterBuffer=function(t){if(!this._disposed){var i;i=this._adapterSourceBuffers.find(t);-1!==i?(this._mediaSource.removeSourceBuffer(this._adapterSourceBuffers.sourceBuffers[i]),this._adapterSourceBuffers.remove(i),n.Log.verbose(3,"Adapter buffer removed, remaining: "+this._adapterSourceBuffers.length)):n.Log.error(3,"Failed to remove adapter buffer: instance not found")}},i.prototype.endOfStream=function(t){function u(){if(!r._disposed)try{f?r._mediaSource.endOfStream(f):r._mediaSource.endOfStream();n.Log.verbose(3,"End of stream signaled")}catch(t){if(!(t.code===DOMException.INVALID_STATE_ERR&&e++<10))throw n.Log.error(3,"Failed to set end-of-stream: "+t),t;n.Log.warning(3,"MediaSource not ready, will retry: "+t);n.Util.setTimeout(u,i._retryTimeoutInMSec)}}var r=this,f=t,e=0;u()},i.prototype._updateBuffered=function(){var u,o,i;if(!this._disposed){for(var s=this._adapterSourceBuffers.adapterBuffers,h=new n.Common.TimeRangeSet,r=this._findUniqueStartTimes(),t=0;t<r.length;t++){for(var c=r[t].startTime,f=r[t].endTime,l=!0,e=0;e<s.length;e++)if(u=s[e].buffered,e!==r[t].bufferIndex){for(o=!1,i=0;i<u.length;i++)if(u.start(i)<=c&&c<=u.end(i)){o=!0;u.end(i)<f&&(f=u.end(i));break}if(!o){l=!1;break}}l&&(n.Log.verbose(3,"Intersecting buffer found ("+r[t].startTime+", "+f+")"),h.addRange(new n.Common.TimeRange(r[t].startTime,f)))}this._buffered=h}},i.prototype._findUniqueStartTimes=function(){for(var t,n,i=[],u=this._adapterSourceBuffers.adapterBuffers,r=0;r<u.length;r++)for(t=u[r].buffered,n=0;n<t.length;n++)-1===i.findIndexOf(function(i){return i.startTime===t.start(n)})&&i.push(new f(r,t.start(n),t.end(n)));return i.sort(function(n,t){return n.startTime-t.startTime}),i},i._setCurrentTimeTimeoutInMSec=500,i._retryTimeoutInMSec=100,i}(),o=function(){function n(){this.adapterBuffers=[];this.sourceBuffers=[]}return n.prototype.dispose=function(){for(var n=this.adapterBuffers.length-1;n>=0;n--)this.adapterBuffers[n].dispose(),this.adapterBuffers[n]=null;for(n=this.sourceBuffers.length-1;n>=0;n--)this.sourceBuffers[n]=null},Object.defineProperty(n.prototype,"length",{get:function(){if(this.sourceBuffers.length!==this.adapterBuffers.length)throw new Error("AdapterSourceBuffers in invalid state");return this.sourceBuffers.length},enumerable:!0,configurable:!0}),n.prototype.find=function(n){return this.adapterBuffers.indexOf(n)},n.prototype.add=function(n,t){this.adapterBuffers.push(n);this.sourceBuffers.push(t)},n.prototype.remove=function(n){n>=0&&n<this.sourceBuffers.length&&(this.sourceBuffers.splice(n,1),this.adapterBuffers.splice(n,1))},n}()}(n.VideoElementAdapter||(n.VideoElementAdapter={}));n.VideoElementAdapter}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(t,i,r,u,f,e){function s(){o._notifyBufferUpdated();o._tryInternalRemove();o._tryInternalAppend()}var o=this;this._disposed=!1;this._pendingBufferRanges=new n.Common.TimeRangeSet;this._sourceBuffer=u;this._maxAdapterBufferAheadInWallClockSec=t;this._maxAdapterBufferBehindCurrentTimeInSec=i;this._playbackPosFn=r;this._notifyBufferUpdated=f;this._pendingBuffer=[];this._pendingRemove=[];this._submittedRemove=null;this._appendErrorHandler=e;this._sourceBufferUpdated=function(){n.Log.verbose(3,"SourceBuffer 'update' event completed.");s()};this._sourceBufferError=function(){n.Log.error(3,"SourceBuffer append failed with 'error' event.");s()};this._sourceBuffer.addEventListener("update",this._sourceBufferUpdated);this._sourceBuffer.addEventListener("error",this._sourceBufferError)}return Object.defineProperty(t.prototype,"buffered",{get:function(){var s,e,i=new n.Common.TimeRangeSet,o,r,t,u,f;try{for(i.addRanges(this._sourceBuffer.buffered),e=i.length>0?i.end(i.length-1):NaN,t=0;t<this._pendingBufferRanges.length;t++)o=this._pendingBufferRanges.start(t),r=this._pendingBufferRanges.end(t),0===n.Common.diffTimes(o,e)?i.extendLast(r):(s=new n.Common.TimeRange(o,r),i.addRange(s)),e=r;for(t=0;t<this._pendingRemove.length;t++)u=this._pendingRemove[t].startInSec,f=this._pendingRemove[t].endInSec,i.removeRange(u,f);this._submittedRemove&&(u=this._submittedRemove.startInSec,f=this._submittedRemove.endInSec,i.removeRange(u,f))}catch(h){n.Log.error(3,"buffered() threw exception "+h)}return i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"presentationTimeOffsetInSec",{get:function(){return this._sourceBuffer.timestampOffset},set:function(n){this._sourceBuffer.timestampOffset=n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTracks",{get:function(){return this._sourceBuffer.audioTracks},enumerable:!0,configurable:!0}),t.prototype.getBufferedAheadOfCurrentTimeInSec=function(){var n;if(this._disposed)return 0;var t=this.buffered,i=this._playbackPosFn(),r=0;if(0===t.length)return 0;for(n=0;n<t.length;n++)t.start(n)<=i&&i<t.end(n)?r+=t.end(n)-i:i<t.start(n)&&(r+=t.end(n)-t.start(n));return r},t.prototype.bufferFull=function(n){return this.getBufferedAheadOfCurrentTimeInSec()>this._maxAdapterBufferAheadInWallClockSec*n},t.prototype.contains=function(n){for(var i=this.buffered,t=0;t<i.length;t++)if(i.start(t)<=n&&n<i.end(t))return!0;return!1},t.prototype.dispose=function(){var n;if(!this._disposed){for(this._disposed=!0,this._sourceBuffer.removeEventListener("update",this._sourceBufferUpdated),this._sourceBuffer.removeEventListener("error",this._sourceBufferError),this._notifyBufferUpdated=null,this._playbackPosFn=null,this._appendErrorHandler=null,this._sourceBufferUpdated=null,this._sourceBufferError=null,n=this._pendingBuffer.length-1;n>=0;n--)this._pendingBuffer[n]=null;for(this._sourceBuffer=null,n=this._pendingRemove.length-1;n>=0;n--)this._pendingRemove[n]=null;this._submittedRemove&&(this._submittedRemove=null);this._pendingBufferRanges&&(this._pendingBufferRanges.dispose(),this._pendingBufferRanges=null)}},t.prototype.flushBufferBehindCurrentTime=function(){if(this._maxAdapterBufferBehindCurrentTimeInSec>0)try{var i=this._playbackPosFn()-this._maxAdapterBufferBehindCurrentTimeInSec,t=this.getStartTimeOfCurrentBuffered();t!=NaN&&t>=0&&i>t&&this.flushUntil(i)}catch(r){n.Log.warning(3,"Ignoring Exception in flushBufferBehindCurrentTim")}},t.prototype.append=function(t,i,r){var s,f,e,u,o;for(this.flushBufferBehindCurrentTime(),u=0;u<this._pendingBuffer.length&&!(i<this._pendingBuffer[u].presTimeInSec);u++);if(r){if(u>0&&(f=this._pendingBuffer[u-1],o=n.Common.diffTimes(i,f.presTimeInSec+f.durationInSec),o>0))throw new Error("append ("+i+","+r+") failed, overlaps with ("+f.presTimeInSec+","+f.durationInSec+")");if(u<this._pendingBuffer.length&&(e=this._pendingBuffer[u],o=n.Common.diffTimes(e.presTimeInSec,i+r),o>0))throw new Error("append ("+i+","+r+") failed, overlaps with ("+e.presTimeInSec+","+e.durationInSec+")");}s=new n.Common.SegmentData(t,i,r);this._pendingBuffer.splice(u,0,s);this._updatePendingRanges();n.Log.verbose(3,"Appending segment: "+i+" sec "+t.byteLength+" bytes");this._tryInternalAppend();this._notifyBufferUpdated()},t.prototype.remove=function(t,i){var r;t=Math.max(t,0);r=new n.Common.TimeRange(t,i);this._pendingRemove.push(r);n.Log.verbose(3,"Added to remove pending list ["+t+","+i+")");this._tryInternalRemove()},t.prototype.flushFrom=function(n){var r=this._sourceBuffer.buffered,t,i,u;if(this._sourceBuffer.updating&&this._sourceBuffer.abort(),t=0,i=0,(r.length>0&&(t=r.start(0)),this._pendingBuffer.length>0&&(t=Math.min(t,this._pendingBuffer[0].presTimeInSec)),this._pendingBuffer.length>0)&&(u=this._pendingBuffer[this._pendingBuffer.length-1],i=u.presTimeInSec+u.durationInSec),r.length>0&&(i=Math.max(i,r.end(r.length-1))),void 0!==n&&(t=n),i>t)this.remove(t,i);else if(0!==t||0!==i)throw new Error("flush failed, endTime ("+i+") not greater than startime ("+t+")");},t.prototype.getStartTimeOfCurrentBuffered=function(){var t=this._sourceBuffer.buffered,n=NaN;return t.length>0&&(n=t.start(0)),this._pendingBuffer.length>0&&(n=Math.min(n,this._pendingBuffer[0].presTimeInSec)),n},t.prototype.flushUntil=function(n){var r=this._sourceBuffer.buffered,i=0,t=0,u;if((r.length>0&&(i=r.start(0)),this._pendingBuffer.length>0&&(i=Math.min(i,this._pendingBuffer[0].presTimeInSec)),this._pendingBuffer.length>0)&&(u=this._pendingBuffer[this._pendingBuffer.length-1],t=u.presTimeInSec+u.durationInSec),r.length>0&&(t=Math.max(t,r.end(r.length-1))),t=Math.min(t,n),t>i)this.remove(i,t);else if(0!==i||0!==t)throw new Error("flush failed, endTime ("+t+") not greater than startime ("+i+")");},t.prototype._tryInternalAppend=function(){if(this._pendingBuffer&&this._sourceBuffer&&0!==this._pendingBuffer.length&&!this._sourceBuffer.updating)try{this._sourceBuffer.appendBuffer(this._pendingBuffer[0].data);n.Log.verbose(3,"Appended segment to SourceBuffer: "+this._pendingBuffer[0].presTimeInSec+" sec "+this._pendingBuffer[0].data.byteLength+" bytes");this._pendingBuffer.splice(0,1);this._updatePendingRanges()}catch(t){switch(t.code){case DOMException.INVALID_STATE_ERR:case DOMException.QUOTA_EXCEEDED_ERR:n.Log.error(3,"Failed to append segment to SourceBuffer, will retry: "+t);this._appendErrorHandler&&this._appendErrorHandler(this._sourceBuffer);break;default:throw n.Log.error(3,"Failed to append segment to SourceBuffer: "+t),t;}}},t.prototype._tryInternalRemove=function(){var t,r,f,i,e;if(this._sourceBuffer&&(this._sourceBuffer.updating||(this._submittedRemove=null),this._pendingBuffer&&this._pendingRemove))for(;0!==this._pendingRemove.length&&!this._sourceBuffer.updating;){for(t=this._pendingRemove[0],r=this._pendingBuffer.length-1;r>=0;r--)f=this._pendingBuffer[r],i=f.presTimeInSec,e=f.durationInSec,i>=t.startInSec&&i<t.endInSec&&(i+e<=t.endInSec?(this._pendingBuffer.splice(r,1),this._updatePendingRanges(),this._notifyBufferUpdated(),n.Log.verbose(3,"Segment removed: "+t.startInSec)):n.Log.verbose(3,"Failed to remove range ("+t.startInSec+", "+t.endInSec+") from \r\n                            segment ("+i+", "+(i+e)+") - range ends mid - segment"));try{this._sourceBuffer.remove(t.startInSec,t.endInSec);this._submittedRemove=this._pendingRemove.splice(0,1)[0];n.Log.verbose(3,"Removing range from SourceBuffer: ["+t.startInSec+","+t.endInSec+")")}catch(u){switch(u.code){case DOMException.INVALID_ACCESS_ERR:case DOMException.INVALID_STATE_ERR:n.Log.error(3,"Failed to remove segment from SourceBuffer, will retry: "+u);break;default:throw n.Log.error(3,"Failed to remove segment from SourceBuffer: "+u),u;}}}},t.prototype._updatePendingRanges=function(){var t,i=this,r=NaN;this._pendingBufferRanges&&(this._pendingBufferRanges.dispose(),this._pendingBufferRanges=null);this._pendingBufferRanges=new n.Common.TimeRangeSet;this._pendingBuffer.forEach(function(u){0===n.Common.diffTimes(u.presTimeInSec,r)?i._pendingBufferRanges.extendLast(u.endTimestampInSec):(t=new n.Common.TimeRange(u.presTimeInSec,u.endTimestampInSec),i._pendingBufferRanges.addRange(t));r=u.endTimestampInSec})},t}();t.VideoElementAdapterBuffer=i}(n.VideoElementAdapter||(n.VideoElementAdapter={}));n.VideoElementAdapter}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function i(){this.name="com.widevine.alpha";this.type="Widevine";this._videoElement=null;this._errorHandler=null;this._laUrl="";this._session=null;this._active=!1;this._authenticationToken=""}return Object.defineProperty(i.prototype,"systemId",{get:function(){return i.systemId},enumerable:!0,configurable:!0}),i.prototype.isSupported=function(t,r,u){return t.isEqual(i.systemId)?n.EmeUtil.isTypeSupported(this.name,r,u):new Promise(function(n,t){t()})},i.prototype.activate=function(n,t,i){this._videoElement=n;this._errorHandler=t;this._authenticationToken=i;this._active=!0},i.prototype.deactivate=function(){this._active&&(this._active=!1,this._session&&(n.EmeUtil.unlistenToMessage(this._session,this._messageHandler),this._session.close(),this._session=null),this._videoElement&&(this._videoElement.src="",this._videoElement.setMediaKeys(null),this._videoElement=null),this._errorHandler=null,this._laUrl="",this._authenticationToken="")},i.prototype.initData=function(t,i,r,u){function s(n){return n.createMediaKeys()}function h(i){if(n.Log.verbose(12,"creating media key session for Widevine"),f._session=i.createSession(),!f._session){n.Log.error(12,f.name+" createSession failed");var r=new n.Failure.External(5242881,f.name+" createSession failed");return void f._reportError(r)}n.EmeUtil.listenToMessage(f._session,c);f._session.generateRequest("cenc",t)["catch"](function(){n.Log.error(12,f.name+" generateRequest failed");var t=new n.Failure.External(5242881,f.name+" generateRequest failed");f._reportError(t)});f._videoElement.setMediaKeys(i)["catch"](function(){n.Log.error(12,f.name+" setMediaKeys failed");var t=new n.Failure.External(5242881,f.name+" setMediaKeys failed");f._reportError(t)})}function c(n){f._messageHandler(n)}var f=this,e,o;u&&!this._laUrl&&(this._laUrl=u,e=n.EmeUtil.createSupportedKeySystem(this.name,i,r),e["catch"](function(){n.Log.error(12,f.name+" createSupportedKeySystem failed");var t=new n.Failure.External(5242882,f.name+" createSupportedKeySystem failed");f._reportError(t)}),o=e.then(s),o["catch"](function(){n.Log.error(12,f.name+" createMediaKeys failed");var t=new n.Failure.External(5242882,f.name+" createMediaKeys failed");f._reportError(t)}),o.then(h)["catch"](function(){n.Log.error(12,f.name+" createKeySession failed");var t=new n.Failure.External(5242882,f.name+" createKeySession failed");f._reportError(t)}))},i.prototype._messageHandler=function(n){var t=this;"license-request"===n.messageType&&this._getWidevineLicense(n.message,this._laUrl).then(function(n){t._active&&t._session&&t._session.update(n)},function(n){t._active&&t._reportError(n)})},i.prototype._getWidevineLicense=function(r,u){var f=this;return new Promise(function(e,o){var s=[];f._authenticationToken&&f._authenticationToken.length>0&&s.push({name:t.WidevineCustomAuthorizationHeader||n.HttpUtil.authorizationHeader,value:f._authenticationToken});i.overrideLicenseAcquisitionUrl&&(n.Log.verbose(12,"overriding license acquisition url: "+u+" with: "+i.overrideLicenseAcquisitionUrl),u=i.overrideLicenseAcquisitionUrl);n.HttpUtil.httpRequest(u,"POST","arraybuffer",s,r).then(function(n){e(new Uint8Array(n))},function(t){var i=new n.Failure.External(5242886,"Http: "+n.Common.toHexString(t));o(i)})})},i.prototype._reportError=function(n){this._errorHandler&&this._errorHandler(n)},i.systemId=new Uint8Array([237,239,139,169,121,214,74,206,163,200,39,220,213,29,33,237]),i}();t.Widevine=i;t.WidevineCustomAuthorizationHeader=""}(n.KeySystem||(n.KeySystem={}));n.KeySystem}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function i(n){return new r(n)}t.CreateCoordinator=i;var r=function(){function i(r){var u=this,f;this._sessionContext=r;this._workflowSeq=t.CreateSequencer(this._sessionContext);this._mediaSource=null;this._lastPresentation=new Date(0);this._pendingPresentation=new Date;this._disposed=!1;this._pendingPlay=!0;this._pendingTryMediaRequestCount=0;this._prerollMet=!1;this._error=null;this._playbackPosInSec=null;this._pendingPlaybackPosInSec=null;this._seekingForward=!0;this._lastDuration=0;this._videoStreamList=null;this._audioStreamList=null;this._healthCheckLastTime=0;this._healthCheckPeriodInMSec=i._healthCheckPeriodMinInMSec;this._healthCheckId=n.Util.setTimeout(this._periodicHealthCheck,this._healthCheckPeriodInMSec,this);this._healthCheckRetries=0;this._dtOffsetToAdd=0;this._lastPlaybackBitrate=null;this._lastDownloadBitrate=null;this._manifestRefreshed=!1;this._registerInternalEvents(!0);this.timeBeforeSettingVideoElementSrcInMs=0;this._canPlayThroughEvent=function(){u._disposed||u._pendingPlay&&u._buffersAbovePreroll()&&u._startPlayback()};this._durationChangeEvent=function(){if(!u._disposed){var t=u._sessionContext;t.eventMgr.dispatchEvent(n.EventName.durationchange);t.commonPresentation&&t.commonPresentation.isLive&&n.Util.setTimeout(f,i._durationChangeMinIntervalInMSec)}};f=function(){if(!u._disposed){var t=u._sessionContext;t.commonPresentation&&t.commonPresentation.isLive&&(u._lastDuration!==u.duration?(u._lastDuration=u.duration,t.eventMgr.dispatchEvent(n.EventName.durationchange),n.Util.setTimeout(f,i._durationChangeMinIntervalInMSec)):0===u._lastDuration&&n.Util.setTimeout(f,i._durationChangeMinIntervalInMSec))}};this._resetHealthCheckTimeHandler=function(){u._resetHealthCheckTime()};this._checkPlaybackBitrate=function(){if(!u._disposed){var i=u._sessionContext.videoBufferData,t=i.getPlaybackBitrate(u.currentMediaTime);t!=u._lastPlaybackBitrate&&(u._lastPlaybackBitrate=t,u._sessionContext.eventMgr.dispatchEvent(n.EventName.playbackbitratechanged))}}}return i.prototype.dispose=function(){this._disposed||(this._registerInternalEvents(!1),this._registerVideoTagEvents(!1),this._disposed=!0,this._sessionContext=null,this._lastPresentation=null,this._pendingPresentation=null,this._canPlayThroughEvent=null,this._durationChangeEvent=null,this._resetHealthCheckTimeHandler=null,this._checkPlaybackBitrate=null,this._manifestRefreshed=!1,this._mediaSource&&(this._mediaSource.dispose(),this._mediaSource=null),this._workflowSeq&&(this._workflowSeq.dispose(),this._workflowSeq=null),this._videoStreamList&&(this._videoStreamList.dispose(),this._videoStreamList=null),this._audioStreamList&&(this._audioStreamList.dispose(),this._audioStreamList=null),this.timeBeforeSettingVideoElementSrcInMs=0,n.Util.clearTimeout(this._healthCheckId))},Object.defineProperty(i.prototype,"videoStreamList",{get:function(){return this._videoStreamList},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"audioStreamList",{get:function(){return this._audioStreamList},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoBufferData",{get:function(){return this._sessionContext.videoBufferData},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"audioBufferData",{get:function(){return this._sessionContext.audioBufferData},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"src",{get:function(){return this._sessionContext.presentationUrl},set:function(t){function f(t){function f(){return null!==r._playbackPosInSec&&r._sessionContext.videoTag.seeking?r._playbackPosInSec:r._sessionContext.videoTag.currentTime}function e(t){if(this._mediaSource){for(var u=this._mediaSource.sourceBuffers,f=!1,i=0;i<u.length;i++)if(u[i]===t){f=!0;break}f||r._sessionContext.eventMgr.dispatchEvent(n.InternalEventName.exception,"SourceBuffer has been removed from MediaSource")}}function o(){var s,o;(n.Log.verbose(1,"_setVideoElementSrcResolved"),n.Common.isChrome)&&(s=Date.now(),s-r.timeBeforeSettingVideoElementSrcInMs>i._timeSpentSettingVideoElementSrcThresholdInMs&&(n.Log.verbose(1,"Adjusting playable window because we spent too much time setting video element source."),u.adjustPlayableWindowForChromeSourceDelay(s)));r._disposed||(o=!1,u.periods[0].streams.forEach(function(i){if(!o&&i.streamingInfo.selected){if(i.streamingInfo.sourceBuffer=r._mediaSource.addAdapterBuffer(i.codec,f,e,t.sessionContext.maxBufferInWallClockSec(),t.sessionContext.maxBufferBehindCurrentTimeInSec),!i.streamingInfo.sourceBuffer)return r._error=new n.Failure.External(4194307,"presentationWorkflowResolved: Failed to create source buffer for stream "+n.Presentation.StreamType[i.type]+", codec "+i.codec),t.sessionContext.eventMgr.dispatchEvent(n.EventName.error),void(o=!0);0===i.type?r._sessionContext.videoBufferData.updateBuffer(i.streamingInfo.sourceBuffer):1===i.type&&r._sessionContext.audioBufferData.updateBuffer(i.streamingInfo.sourceBuffer);i.streamingInfo.sourceBuffer.presentationTimeOffsetInSec=i.presentationTimeOffsetInSec+r._dtOffsetToAdd}}),o||(r._updateStartPosition(),r._updateDuration(),r._registerVideoDownloadedEvents(),r._registerVideoTagEvents(!0),r._checkMediaWorkflow(),r._tryTimeUpdateEvent()),t.dispose())}function s(n){throw new Error(n);}if(!r._disposed){var u=null;if(n.Log.verbose(1,"presentationWorkflowResolved"),null===t.sessionContext.commonPresentation)throw new Error("presentationWorkflowResolved: unexpected null values");u=t.sessionContext.commonPresentation;r._videoStreamList=new n.Presentation.VideoStreamList(r._sessionContext,u.periods[0].streams);r._audioStreamList=new n.Presentation.AudioStreamList(r._sessionContext,u.periods[0].streams);r._sessionContext.emeManager.setContentTypes(r._audioStreamList.streams[0].codec,r._videoStreamList.streams[0].codec);r._sessionContext.eventMgr.dispatchEvent(n.EventName.loadedmetadata);r._mediaSource=n.VideoElementAdapter.CreateAdapter();r.timeBeforeSettingVideoElementSrcInMs=Date.now();r._mediaSource.setVideoElementSrcAsync(t.sessionContext.videoTag).then(o,s)["catch"](function(t){r._sessionContext.eventMgr.dispatchEvent(n.InternalEventName.exception,t)})}}function e(t){r._disposed||(n.Log.error(1,"presentationWorkflowRejected:  module: "+t.currentModuleId),t.externalFailure&&n.Failure.isExternalError(t.externalFailure.code)&&(r._error=new n.Failure.External(t.externalFailure.code,t.externalFailure.message),n.Log.error(1,"Dispatching error: "+r.error.toString()),t.sessionContext.eventMgr.dispatchEvent(n.EventName.error)),t.dispose())}n.Log.verbose(1,"src("+t+")");var u,r=this;this._sessionContext.presentationUrl=t;u=t.indexOf("?");-1!==u&&(this._sessionContext.presentationQueryStr=t.slice(u));this._presentationWorkflowAsync(f,e)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"dtsOffsetToAdd",{get:function(){return this._dtOffsetToAdd},set:function(n){this._dtOffsetToAdd=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pendingPlay",{get:function(){return this._pendingPlay},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentPresentationTime",{set:function(t){n.Log.verbose(1,"currentPresentationTime("+t.toFixed(3)+")");this.setCurrentTimeInternal(t,!0)},enumerable:!0,configurable:!0}),i.prototype.setCurrentTimeInternal=function(t,i){var u=this._sessionContext,f=u.commonPresentation.periods[0].streams,c=!1,l=0,e=0,a=this.duration,v,s,o,h,r;if(u.commonPresentation.isLive){var p=u.commonPresentation.timeShiftBufferDepth||1/0,y=u.heuristicSettings.buffer.leftEdgeBackoffInSec,w=p-y;l=u.liveStartBufferInSec();e=w>a?0:y}for(i?(v=this._fromPresentationTime(t),s=Math.max(v,e),s=Math.min(s,a-l),v!==s&&(t=this._toPresentationTime(s))):(n.Log.verbose(1,"timeInSec: "+t+", leftEdgeBackoff: "+e),t=Math.max(t,e),n.Log.verbose(1,"timeInSec: "+t+", duration: "+a+", rightEdgeBackoff: "+l),t=Math.min(t,a-l),e>t&&(n.Log.warning(1,"timeInSec: "+t+"is less than leftEdgeBackoff. Seeking to leftEdgeBackoff"),t=e),n.Log.verbose(1,"timeInSec: "+t),t=this._toPresentationTime(t)),n.Log.verbose(1,"seeking from presentation time "+u.videoTag.currentTime.toFixed(3)+" to "+t.toFixed(3)),o=t,r=0;r<f.length;r++)if(f[r].streamingInfo.selected){if(h=f[r].segments.getByInSegmentTimestamp(t),h)continue;h=f[r].segments.getByInDiscontinuityTimestamp(t);h&&(o=Math.max(o,h.segmentInfo.presTimeInSec))}for(o!==t&&(n.Log.verbose(1,"skipping discontinuity from presentation time "+t+" to "+o),t=o),this._seekingForward=t>u.videoTag.currentTime,this._playbackPosInSec=t,u.videoTag.currentTime=t,this._pendingPlaybackPosInSec=null,n.Common.diffTimes(u.videoTag.currentTime,t)&&(n.Log.verbose(1,"set currentTime failed to update videoTag: requested="+t+", actual="+u.videoTag.currentTime),this._pendingPlaybackPosInSec=t),r=0;r<f.length;r++)f[r].streamingInfo.selected&&f[r].streamingInfo.sourceBuffer&&!1===f[r].streamingInfo.sourceBuffer.contains(t)&&(f[r].streamingInfo.pendingSeekPositionInSec=t,f[r].streamingInfo.abortCurrentRequest=!0,f[r].streamingInfo.sourceBuffer.flushFrom(),c=!0,2===f[r].streamingInfo.workflowState&&(f[r].streamingInfo.workflowState=0));this._checkMediaWorkflow();c||this._buffersAbovePreroll()||this._endOfSelectedStreams()||(c=!0);c&&(u.videoTag.paused||(this._pendingPlay=!0,u.eventMgr.dispatchEvent(n.EventName.waiting),u.videoTag.pause()))},Object.defineProperty(i.prototype,"currentTime",{get:function(){var t=this._sessionContext.videoTag,n=0;return this._sessionContext.commonPresentation&&(n=null!==this._pendingPlaybackPosInSec?this._manifestRefreshed?t.currentTime:this._pendingPlaybackPosInSec:t.currentTime,n=Math.max(this._fromPresentationTime(n),0)),n},set:function(t){n.Log.verbose(1,"currentTime("+t.toFixed(3)+")");this.setCurrentTimeInternal(t,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentMediaTime",{get:function(){var r=this._sessionContext.videoTag,t=0,n,i;return this._sessionContext.commonPresentation&&(n=this._sessionContext.commonPresentation.periods[0].streams,n&&n[0]&&(i=n[0].presentationTimeOffsetInSec,t=null!==this._pendingPlaybackPosInSec?this._pendingPlaybackPosInSec:r.currentTime,t-=i)),t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"downloadBitrate",{get:function(){return this._lastDownloadBitrate},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"playbackBitrate",{get:function(){return this._lastPlaybackBitrate},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoplay",{set:function(t){n.Log.verbose(1,"autoplay("+t+")");this._pendingPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"duration",{get:function(){var t=this._sessionContext,i=t.commonPresentation,r=1/0,n;return i&&(n=i.playableWindow,r=n.endInSec-n.startInSec),Math.min(t.videoTag.duration||0,r)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"buffered",{get:function(){var t=null,i;return this._mediaSource&&(i=this._sessionContext.commonPresentation.playableWindow,t=new n.Common.TimeRangeSet,t.addRanges(this._mediaSource.buffered),t.rebase(i.startInSec)),t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"error",{get:function(){return this._error},enumerable:!0,configurable:!0}),i.prototype.play=function(){var u;n.Log.verbose(1,"play()");var i=this._sessionContext,r=i.heuristicSettings.buffer.leftEdgeBackoffInSec,t=i.videoTag;if(!this._mediaSource)return void(this._pendingPlay=!0);0===this._mediaSource.readyState&&t.load();i.commonPresentation&&i.commonPresentation.isLive&&t.paused&&!t.seeking&&(u=this._fromPresentationTime(t.currentTime))<r&&(n.Log.verbose(1,"play: skipping from "+t.currentTime+"(playable window time: "+u+") to left edge: "+r+", playable window start: "+i.commonPresentation.playableWindow.startInSec),this.currentTime=0);t.paused&&n.Common.diffTimes(t.currentTime,t.duration)<=0&&(this.currentTime=0);this._buffersAbovePreroll()||this._endOfSelectedStreams()?this._startPlayback():(this._pendingPlay=!0,i.eventMgr.dispatchEvent(n.EventName.waiting));this._resetHealthCheckTime()},i.prototype.pause=function(){var t=this._sessionContext;n.Log.verbose(1,"pause()");this._pendingPlay&&(this._pendingPlay=!1);t.videoTag.pause();this._tryTimeUpdateEvent()},i.prototype._presentationWorkflowAsync=function(t,r){function f(){u._disposed||(!u._sessionContext.commonPresentation||u._sessionContext.commonPresentation.isLive)&&u._workflowSeq.presentationRequestAsync().then(s,h)["catch"](function(t){u._sessionContext.eventMgr.dispatchEvent(n.InternalEventName.exception,t)})}function s(e){var o,s,h;if(u._disposed)return void(r&&r(e));if(n.Log.verbose(1,"presentationRequestResolved"),o=e.sessionContext.commonPresentation,null===o)throw new Error("presentationRequestResolved: unexpected null values");u._updateDuration();s=new Date;o.isLive&&o.minimumUpdatePeriodInSec>0&&u._pendingPresentation<=s&&(h=Math.max(i._minPresentationUpdatePeriodInMSec,1e3*o.minimumUpdatePeriodInSec),u._pendingPresentation.setTime(s.getTime()+h),n.Util.setTimeout(f,h));u._lastPresentation=s;u._manifestRefreshed=!0;t&&(t(e),t=null)}function h(t){u._disposed||n.Log.error(1,"presentationRequestRejected:  module: "+t.currentModuleId);r&&r(t)}var u=this,e=0,o=Date.now()-u._lastPresentation.getTime();o<i._minPresentationUpdatePeriodInMSec&&(e=i._minPresentationUpdatePeriodInMSec-o);n.Util.setTimeout(f,e)},i.prototype._checkMediaWorkflow=function(){function u(){var h,s,o;if(!t._disposed){for(n.Log.verbose(1,"_doCheckMediaWorkflow"),t._pendingTryMediaRequestCount--,r.videoTag.paused||t._endOfSelectedStreams()||!t._buffersNearEmpty()?t._buffersAbovePreroll()&&(t._dispatchCanPlayThroughEvent(),t._pendingPlay&&(n.Log.verbose(1,"_doCheckMediaWorkflow: we have a pending play. Starting the playback."),t._startPlayback())):(n.Log.verbose(1,"_doCheckMediaWorkflow: pausing play because the buffer is close to empty"),t._pendingPlay=!0,r.videoTag.pause(),r.eventMgr.dispatchEvent(n.EventName.waiting)),h=!1,s=0;s<r.commonPresentation.periods[0].streams.length;s++)if(o=r.commonPresentation.periods[0].streams[s],o.streamingInfo.selected&&0===o.streamingInfo.workflowState){var c=o.streamingInfo.sourceBuffer,l=t._isBufferAheadOtherStreams(o),a=c&&o.streamingInfo.sourceBuffer.bufferFull(t._sessionContext.playbackRate()),v=t._buffersAtLiveEdge(o);!c||l||a||v?(n.Log.verbose(1,"_doCheckMediaWorkflow: need to retry. Stream type: "+n.Presentation.StreamType[o.type]+", sourcebuffer:"+c+", buffer is ahead of other streams: "+l+", buffer is full: "+a+", buffer is at live edge: "+v),h=!0):(n.Log.verbose(1,"starting media workflow "+n.Presentation.StreamType[o.type]),o.streamingInfo.workflowState=1,t._workflowSeq.mediaRequestAsync(o).then(f,e)["catch"](function(t){r.eventMgr.dispatchEvent(n.InternalEventName.exception,t)}))}else n.Log.verbose(1,"_doCheckMediaWorkflow: Stream skipped. Stream type: "+n.Presentation.StreamType[o.type]+", selected: "+o.streamingInfo.selected+", workflowState: "+o.streamingInfo.workflowState);h&&0===t._pendingTryMediaRequestCount&&(t._pendingTryMediaRequestCount++,n.Log.verbose(1,"_doCheckMediaWorkflow: schedule try again. Pending try count = "+t._pendingTryMediaRequestCount),n.Util.setTimeout(u,i._mediaSegmentTimeoutInMSec))}}function f(i){var f,u,o;if(!t._disposed){for(t._manifestRefreshed=!1,f=i.requestedStream,f.streamingInfo.workflowState=0,1===i.state&&null===f.streamingInfo.pendingSeekPositionInSec&&(n.Log.verbose(1,"mediaRequestResolved: "+n.Presentation.StreamType[f.type]+" end of stream"),f.streamingInfo.workflowState=2,t._endOfSelectedStreams()&&(n.Log.verbose(1,"End of selected streams"),t._mediaSource.endOfStream(),t._dispatchCanPlayThroughEvent(),t._pendingPlay&&t._startPlayback())),u=0;u<i.urlsToRetrieve.length;u++){if(null===i.urlsToRetrieve[u].mediaData)throw new Error("mediaRequestResolved: data is null url: "+i.urlsToRetrieve[u].url);if(f.streamingInfo){if(!f.streamingInfo.selected||null!==f.streamingInfo.pendingSeekPositionInSec){n.Log.verbose(1,"mediaRequestResolved discarding,"+(f.streamingInfo.selected?"seek in progress":"stream no longer selected ")+"url: "+i.urlsToRetrieve[u].url+"("+i.urlsToRetrieve[u].httpResposeContentType+", "+i.urlsToRetrieve[u].mediaData.byteLength+")");break}o=i.urlsToRetrieve[u].presTimeInSec+i.urlsToRetrieve[u].durationInSec;n.Log.verbose(1,"mediaRequestResolved appending url: "+i.urlsToRetrieve[u].url+"("+i.urlsToRetrieve[u].httpResposeContentType+", "+i.urlsToRetrieve[u].mediaData.byteLength+" bytes, "+o+" secs)");f.streamingInfo.sourceBuffer.append(i.urlsToRetrieve[u].mediaData,i.urlsToRetrieve[u].presTimeInSec,i.urlsToRetrieve[u].durationInSec)}}if(null!==t._pendingPlaybackPosInSec){for(var e=r.videoTag.buffered,s=!1,u=0;u<e.length;u++)if(e.start(u)<=t._pendingPlaybackPosInSec&&t._pendingPlaybackPosInSec<e.end(u)){s=!0;break}s&&(r.videoTag.currentTime=t._pendingPlaybackPosInSec,n.Common.diffTimes(r.videoTag.currentTime,t._pendingPlaybackPosInSec)&&(t._pendingPlaybackPosInSec>r.videoTag.currentTime&&t._seekingForward||t._pendingPlaybackPosInSec<r.videoTag.currentTime&&!t._seekingForward)?n.Log.verbose(1,"mediaRequestResolved failed to update videoTag currentTime: pending="+t._pendingPlaybackPosInSec+", actual="+r.videoTag.currentTime+", _seekingForward="+t._seekingForward):t._pendingPlaybackPosInSec=null)}t._checkMediaWorkflow();i.dispose()}}function e(i){function u(i){if(!t._disposed){if(n.Log.verbose(1,"refreshPresentationWorkflowResolved"),null===i.sessionContext.commonPresentation)throw new Error("refreshPresentationWorkflowResolved: unexpected null values");e.streamingInfo.workflowState=0;t._checkMediaWorkflow();i.dispose()}}function f(i){t._disposed||(n.Log.error(1,"refreshPresentationWorkflowRejected:  module: "+i.currentModuleId),i.externalFailure&&n.Failure.isExternalError(i.externalFailure.code)&&(t._error=new n.Failure.External(i.externalFailure.code,i.externalFailure.message),n.Log.error(1,"Dispatching error: "+t.error.toString()),i.sessionContext.eventMgr.dispatchEvent(n.EventName.error)),i.dispose())}if(!t._disposed){t._manifestRefreshed=!1;var e=i.requestedStream;if(n.Log.error(1,"mediaRequestRejected: "+n.Presentation.StreamType[i.requestedStream.type]+" module: "+i.currentModuleId),i.externalFailure){if((2097556===i.externalFailure.code||1===i.externalFailure.code)&&i.sessionContext.commonPresentation.isLive&&0===i.sessionContext.commonPresentation.minimumUpdatePeriodInSec&&i.failTracker.isNone())return void t._presentationWorkflowAsync(u,f);n.Failure.isExternalError(i.externalFailure.code)&&(t._error=new n.Failure.External(i.externalFailure.code,i.externalFailure.message),n.Log.error(1,"Dispatching error: "+t.error.toString()),r.eventMgr.dispatchEvent(n.EventName.error))}i.dispose()}}var t=this,r=t._sessionContext;this._pendingTryMediaRequestCount++;n.Util.setTimeout(u,0)},i.prototype._updateStartPosition=function(){var t=this._sessionContext,n=t.commonPresentation,r=t.liveStartBufferInSec(),i=1/0;n&&isNaN(t.startPositionInSec)&&(i=n.isLive?Math.max(n.playableWindow.startInSec,n.playableWindow.endInSec-r):n.playableWindow.startInSec,0!==i&&(this._mediaSource.setStartTime(i),t.startPositionInSec=i))},i.prototype._updateDuration=function(){var t,i=this._sessionContext.commonPresentation,r;if(i&&this._mediaSource&&(i.isLive?t=1/0:this._sessionContext.isLiveToVod?(t=i.playableWindow.endInSec,n.Common.isChrome)&&(r=Math.floor(1e6*t)/1e6,t=parseFloat(r.toFixed(6)),n.Log.verbose(1,"newDuration: "+t)):t=i.durationInSec,this._mediaSource.durationInSec!==t))try{this._mediaSource.durationInSec=t}catch(u){n.Log.warning(1,"ignoring set durationInSec error: "+u)}},i.prototype._toPresentationTime=function(n){var t=this._sessionContext.commonPresentation.playableWindow.startInSec;return n+t},i.prototype._fromPresentationTime=function(n){var t=this._sessionContext.commonPresentation.playableWindow.startInSec;return n-t},i.prototype._endOfSelectedStreams=function(){if(!this._sessionContext.commonPresentation)return!1;for(var t=this._sessionContext.commonPresentation.periods[0].streams,n=0;n<t.length;n++)if(t[n].streamingInfo.selected&&2!==t[n].streamingInfo.workflowState)return!1;return!0},i.prototype._buffersAbovePreroll=function(){var i=!0,r=this._sessionContext.videoTag,t,n;if(!this._sessionContext.commonPresentation)return!1;if(t=this._sessionContext.commonPresentation.periods[0].streams,r.readyState<r.HAVE_METADATA)i=!1;else for(n=0;n<t.length;n++)if(t[n].streamingInfo.selected&&t[n].streamingInfo.sourceBuffer.getBufferedAheadOfCurrentTimeInSec()<this._sessionContext.prerollBufferInSec()){i=!1;break}return i},i.prototype._buffersNearEmpty=function(){for(var t=this._sessionContext.commonPresentation.periods[0].streams,n=0;n<t.length;n++)if(t[n].streamingInfo.selected&&t[n].streamingInfo.sourceBuffer.getBufferedAheadOfCurrentTimeInSec()<this._sessionContext.lowBufferInSec())return!0;return!1},i.prototype._isBufferAheadOtherStreams=function(n){for(var t,e=0,f=1/0,o=null,s=0,u=this._sessionContext.commonPresentation.periods[0].streams,r=0;r<u.length;r++)u[r].streamingInfo.selected&&2!==u[r].type&&2!==u[r].streamingInfo.workflowState&&(e++,t=u[r].streamingInfo.sourceBuffer.buffered,t.length>0&&t.end(t.length-1)<f&&(f=t.end(t.length-1),o=u[r],s=u[r].streamingInfo.sourceBuffer.getBufferedAheadOfCurrentTimeInSec()));return t=n.streamingInfo.sourceBuffer.buffered,1===e||o===n||0===t.length?!1:n.streamingInfo.sourceBuffer.getBufferedAheadOfCurrentTimeInSec()>s&&t.end(t.length-1)-f>i._bufferTooFarAheadInSec},i.prototype._buffersAtLiveEdge=function(n){var t,r,u,i=this._sessionContext.commonPresentation;return n.streamingInfo.currentSegment?(t=n.streamingInfo.currentSegment.segmentInfo,r=t.presTimeInSec+t.durationInSec,u=i.playableWindow.endInSec,i.isLive&&0===i.minimumUpdatePeriodInSec&&r>=u):!1},i.prototype._startPlayback=function(){var t=this._sessionContext.videoTag,r=this._dtOffsetToAdd;t.buffered&&t.buffered.length>0&&t.currentTime<t.buffered.start(0)&&(n.Common.isSafari&&n.Common.isOSXElCapitanOrEarlier()&&(r+=i._startTimeThresholdInSecForSafari),t.currentTime=t.buffered.start(0)+r,n.Log.verbose(1,"_startPlayback: skipping over missing data at the beginning. currentTime: "+t.currentTime+", buffer start: "+t.buffered.start(0)));this._pendingPlay=!1;n.Common.videoTagPlay(this._sessionContext.videoTag)},i.prototype._dispatchCanPlayThroughEvent=function(){this._prerollMet||(n.Log.verbose(7,"dispatching event: canplaythrough"),this._prerollMet=!0,this._sessionContext.eventMgr.dispatchEvent(n.EventName.canplaythrough))},i.prototype._registerVideoDownloadedEvents=function(){function i(){if(!r._disposed){var i=t.downloadCompleted.mediaDownload.bitrate;i!=this._lastDownloadBitrate&&(this._lastDownloadBitrate=i,this._sessionContext.eventMgr.dispatchEvent(n.EventName.downloadbitratechanged))}}var r=this,t=this._sessionContext.videoBufferData;t.addEventListener(n.BufferDataEventName.downloadcompleted,i,this)},i.prototype._registerVideoTagEvents=function(t){var i=this._sessionContext.videoTag;t?(i.addEventListener(n.EventName.canplaythrough,this._canPlayThroughEvent),i.addEventListener(n.EventName.durationchange,this._durationChangeEvent),i.addEventListener(n.EventName.playing,this._resetHealthCheckTimeHandler),i.addEventListener(n.EventName.seeked,this._resetHealthCheckTimeHandler),i.addEventListener(n.EventName.timeupdate,this._checkPlaybackBitrate)):(i.removeEventListener(n.EventName.canplaythrough,this._canPlayThroughEvent),i.removeEventListener(n.EventName.durationchange,this._durationChangeEvent),i.removeEventListener(n.EventName.playing,this._resetHealthCheckTimeHandler),i.removeEventListener(n.EventName.seeked,this._resetHealthCheckTimeHandler),i.removeEventListener(n.EventName.timeupdate,this._checkPlaybackBitrate))},i.prototype._registerInternalEvents=function(t){t?this._sessionContext.eventMgr.addHandler(n.InternalEventName.flushvideo,this._flushVideoToPreroll,this):this._sessionContext.eventMgr.removeHandler(n.InternalEventName.flushvideo,this._flushVideoToPreroll)},i.prototype._periodicHealthCheck=function(t){var r,s;if(t._sessionContext&&t._sessionContext.videoTag){if(r=t._sessionContext.videoTag,t._healthCheckLastTime)if(r.paused||r.seeking||r.ended||t._healthCheckLastTime!==r.currentTime)t._healthCheckRetries=0,t._healthCheckPeriodInMSec=i._healthCheckPeriodMinInMSec;else{n.Log.verbose(1,"Health Check: currentTime stopped");t._sessionContext.eventMgr.dispatchEvent(n.EventName.playbackstalled);var u,o=r.currentTime,f=-1,e=new n.Common.TimeRangeSet;(e.addRanges(r.buffered),u=e.getIndexByInRangeTimestamp(o),u>=0&&(e.beforeDiscontinuity(o,u)?(f=e.start(u+1),n.Log.verbose(1,"Health Check: skipping over discontinuity")):e.atOrAfterDiscontinuity(o,u)&&(f=e.start(u),n.Log.verbose(1,"Health Check: resetting on discontinuity"))),0>f&&(f=o+i._healthCheckSkipInSec,n.Log.verbose(1,"Health Check: skipping "+i._healthCheckSkipInSec+" seconds ahead"),t._healthCheckPeriodInMSec+=i._healthCheckPeriodIncrementInMSec,t._healthCheckPeriodInMSec=Math.min(t._healthCheckPeriodInMSec,i._healthCheckPeriodMaxInMSec)),n.Log.verbose(1,"Health Check: seeking from "+o+" to "+f),r.currentTime=f,-2===u)&&(t._healthCheckRetries++,s=t._sessionContext.commonPresentation.isLive,(!s||s&&t._healthCheckRetries>=i._healthCheckMaxRetries)&&t.pause())}t._healthCheckLastTime=r.currentTime}t._healthCheckId=n.Util.setTimeout(t._periodicHealthCheck,t._healthCheckPeriodInMSec,t)},i.prototype._resetHealthCheckTime=function(){this._disposed||(this._healthCheckLastTime=0)},i.prototype._flushVideoToPreroll=function(){function f(i,r){var o=r.prerollBufferInSec(),e=r.videoTag.currentTime+Math.max(o,1.5*i.maxSegmentDuration),u=null,f;t.flushStream=!1;f=i.segments.getByInSegmentTimestamp(e);f?u=f.segmentInfo.presTimeInSec:(f=i.segments.getByInDiscontinuityTimestamp(e),f&&(u=f.segmentInfo.presTimeInSec));null!=u&&t.sourceBuffer&&t.sourceBuffer.contains(u)&&(n.Log.verbose(7,"flushing at "+u+" from track selection"),t.sourceBuffer.flushFrom(u),t.pendingSeekPositionInSec=u,2===i.streamingInfo.workflowState&&(i.streamingInfo.workflowState=0))}var u=this._sessionContext.commonPresentation.periods[0].streams,i=u.filter(function(n){return n.streamingInfo.flushStream===!0}),r,t;for(0===i.length&&(i=u),r=0;r<i.length;r++)t=i[r].streamingInfo,0===i[r].type&&t.selected&&f(i[r],this._sessionContext);this._checkMediaWorkflow()},i.prototype._tryTimeUpdateEvent=function(){function r(){t.disposed||t.videoTag.paused&&t.commonPresentation&&t.commonPresentation.isLive&&(t.eventMgr.dispatchEvent(n.EventName.timeupdate),n.Util.setTimeout(r,i._timeupdateLivePausedIntervalInMSec))}if(!this._disposed){var t=this._sessionContext;r()}},i._mediaSegmentTimeoutInMSec=2e3,i._minPresentationUpdatePeriodInMSec=1e3,i._bufferTooFarAheadInSec=4,i._timeupdateLivePausedIntervalInMSec=1e3,i._durationChangeMinIntervalInMSec=1e3,i._healthCheckPeriodMinInMSec=1e3,i._healthCheckPeriodMaxInMSec=5e3,i._healthCheckPeriodIncrementInMSec=2e3,i._healthCheckSkipInSec=.5,i._healthCheckMaxRetries=2,i._startTimeThresholdInSecForSafari=.2,i._timeSpentSettingVideoElementSrcThresholdInMs=100,i}()}(n.Workflow||(n.Workflow={}));n.Workflow}(AzureHtml5JS||(AzureHtml5JS={}));__extends=this.__extends||function(n,t){function r(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);r.prototype=t.prototype;n.prototype=new r};!function(n){!function(t){"use strict";function r(){return new f}function u(){return new e}t.CreatePresentation=r;t.CreateMedia=u;var i=function(){function t(t){this._eventManager=new n.Events.Manager;this._eventsOrdered=t;this._stepList=[]}return t.prototype.dispose=function(){this._eventManager.dispose();this._eventManager=null;this._eventsOrdered=null;this._stepList=null},t.prototype.addHandler=function(n,t,i){this._eventManager.addHandler(n,t,i)},t.prototype.createSteps=function(){var i=this,r=0,n,t;for(n in this._eventsOrdered)t=this._eventManager.getHandlers(this._eventsOrdered[n]),t.forEach(function(n){i._stepList[r++]=n})},Object.defineProperty(t.prototype,"stepList",{get:function(){return this._stepList},enumerable:!0,configurable:!0}),t}(),f=function(n){function t(){var t=[this.stepEvents.requestBegin,this.stepEvents.requestSend,this.stepEvents.dataRetrieved,this.stepEvents.requestEnd];n.call(this,t)}return __extends(t,n),Object.defineProperty(t.prototype,"stepEvents",{get:function(){return{requestBegin:"requestBegin",requestSend:"requestSend",dataRetrieved:"dataRetrieved",requestEnd:"requestEnd"}},enumerable:!0,configurable:!0}),t}(i),e=function(n){function t(){var t=[this.stepEvents.requestBegin,this.stepEvents.requestSend,this.stepEvents.dataRetrieved,this.stepEvents.requestEnd];n.call(this,t)}return __extends(t,n),Object.defineProperty(t.prototype,"stepEvents",{get:function(){return{requestBegin:"requestBegin",requestSend:"requestSend",dataRetrieved:"dataRetrieved",requestEnd:"requestEnd"}},enumerable:!0,configurable:!0}),t}(i)}(n.Workflow||(n.Workflow={}));n.Workflow}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function i(n){return new r(n)}t.CreateSequencer=i;var r=function(){function i(t){this._disposed=!1;this._sessionContext=t;this._orderedModules=[new n.DataRetriever.HttpRetryPolicy,new n.SegmentLocator.Dash,new n.Heuristics.InitialBandwidthDataUrlFormatter,new n.Heuristics.WindowSizeRule,new n.Heuristics.StepRule,new n.Heuristics.Engine,new n.UrlBuilder.DashUrlFormatter,new n.DataRetriever.HttpDataRetriever(t),new n.DashPresentation.Parser,new n.ContentProtection.PlayReady,new n.ContentProtection.Widevine,new n.ContentProtection.AesHandler,new n.DashMediaSegment.Parser,new n.Presentation.InitialStreamSelector,new n.Ad.AdHandler];this._createWorkflows(t)}return i.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._orderedModules.forEach(function(n){n.dispose()}),this._orderedModules=null,this._sessionContext=null)},i.prototype.presentationRequestAsync=function(){var i=this,t=this;return new Promise(function(r,u){var f=new n.Context.Request(0,t._sessionContext);f.urlsToRetrieve.push(new n.Context.UrlRequest(t._sessionContext.presentationUrl));i._processSteps(f,r,u)})},i.prototype.mediaRequestAsync=function(t){var i=this;return new Promise(function(r,u){var f=new n.Context.Request(1,i._sessionContext);f.requestedStream=t;f.heuristicData=new n.Context.HeuristicData(t);i._processSteps(f,r,u)})},i.prototype._processSteps=function(t,i,r){function f(){if(s._disposed||t.disposed||t.sessionContext.disposed)return void r();if(u===t.sessionContext.workflows[t.workflowType].stepList.length)return 1===t.workflowType?n.Log.verbose(0,"Finished process steps for "+n.Presentation.StreamType[t.requestedStream.type]+" media workflow"):n.Log.verbose(0,"Finished process steps for presentation workflow"),void i(t);var f=t.sessionContext.workflows[t.workflowType].stepList[u],h=f.functionHandler.call(f.callerInstance,t);u++;h.then(e,o)}function e(){switch(t.state){case 0:n.Util.setTimeout(f,0);break;case 2:u=0;n.Util.setTimeout(f,t.retryWaitTimeMSec);t.reset();break;case 1:i(t);break;default:throw new Error("processSteps unexpected state"+t.state);}}function o(i){if(null===t.externalFailure)return void t.sessionContext.eventMgr.dispatchEvent(n.InternalEventName.exception,i);var u="stepRejected: "+t.externalFailure.toString();i&&(u+="err: "+i);n.Log.error(0,u);r(t)}var s=this,u;1===t.workflowType?n.Log.verbose(0,"Starting process steps for "+n.Presentation.StreamType[t.requestedStream.type]+" media workflow"):n.Log.verbose(0,"Starting process steps for presentation workflow");u=0;n.Util.setTimeout(f,0)},i.prototype._createWorkflows=function(n){n.workflows=[t.CreatePresentation(),t.CreateMedia()];this._orderedModules.forEach(function(t){t.init(n)});this._sessionContext.workflows.forEach(function(n){n.createSteps()})},i}()}(n.Workflow||(n.Workflow={}));n.Workflow}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){"use strict";var u=function(){function n(){}return n.volumechange="volumechange",n.ended="ended",n.timeupdate="timeupdate",n.durationchange="durationchange",n.pause="pause",n.play="play",n.playing="playing",n.seeking="seeking",n.seeked="seeked",n.suspend="suspend",n.loadstart="loadstart",n.loadedmetadata="loadedmetadata",n.loadeddata="loadeddata",n.fullscreenchange="fullscreenchange",n.waiting="waiting",n.canplaythrough="canplaythrough",n.error="error",n.playbackstalled="playbackstalled",n.downloadbitratechanged="downloadbitratechanged",n.playbackbitratechanged="playbackbitratechanged",n.ratechange="ratechange",n.spliceWaiting="splicewaiting",n}(),t,i,r;n.EventName=u;t=function(){function n(){}return n.trackselected="trackselected",n}();n.StreamEventName=t;i=function(){function n(){}return n.streamselected="streamselected",n.streamindexinvalid="streamindexinvalid",n.streamselectnotsupported="streamselectnotsupported",n}();n.StreamListEventName=i;r=function(){function n(){}return n.downloadrequested="downloadrequested",n.downloadcompleted="downloadcompleted",n.downloaddecrypted="downloaddecrypted",n.downloadfailed="downloadfailed",n}();n.BufferDataEventName=r,function(n){n[n.abortedErrStart=1048576]="abortedErrStart";n[n.abortedErrUnknown=1048576]="abortedErrUnknown";n[n.abortedErrNotImplemented=1048577]="abortedErrNotImplemented";n[n.abortedErrHttpMixedContentBlocked=1048578]="abortedErrHttpMixedContentBlocked";n[n.abortedErrEnd=2097151]="abortedErrEnd";n[n.networkErrStart=2097152]="networkErrStart";n[n.networkErrUnknown=2097152]="networkErrUnknown";n[n.networkErrHttpResponseBegin=2097552]="networkErrHttpResponseBegin";n[n.networkErrHttpBadUrlFormat=2097552]="networkErrHttpBadUrlFormat";n[n.networkErrHttpUserAuthRequired=2097553]="networkErrHttpUserAuthRequired";n[n.networkErrHttpUserForbidden=2097555]="networkErrHttpUserForbidden";n[n.networkErrHttpUrlNotFound=2097556]="networkErrHttpUrlNotFound";n[n.networkErrHttpNotAllowed=2097557]="networkErrHttpNotAllowed";n[n.networkErrHttpGone=2097562]="networkErrHttpGone";n[n.networkErrHttpPreconditionFailed=2097564]="networkErrHttpPreconditionFailed";n[n.networkErrHttpInternalServerFailure=2097652]="networkErrHttpInternalServerFailure";n[n.networkErrHttpBadGateway=2097654]="networkErrHttpBadGateway";n[n.networkErrHttpServiceUnavailable=2097655]="networkErrHttpServiceUnavailable";n[n.networkErrHttpGatewayTimeout=2097656]="networkErrHttpGatewayTimeout";n[n.networkErrHttpResponseEnd=2097751]="networkErrHttpResponseEnd";n[n.networkErrTimeout=2097752]="networkErrTimeout";n[n.networkErrError=2097753]="networkErrError";n[n.networkErrAbort=2097754]="networkErrAbort";n[n.networkErrEnd=3145727]="networkErrEnd";n[n.decodeErrStart=3145728]="decodeErrStart";n[n.decodeErrUnknown=3145728]="decodeErrUnknown";n[n.decodeErrEnd=4194303]="decodeErrEnd";n[n.srcErrStart=4194304]="srcErrStart";n[n.srcErrUnknown=4194304]="srcErrUnknown";n[n.srcErrParsePresentation=4194305]="srcErrParsePresentation";n[n.srcErrParseSegment=4194306]="srcErrParseSegment";n[n.srcErrUnsupportedPresentation=4194307]="srcErrUnsupportedPresentation";n[n.srcErrInvalidSegment=4194308]="srcErrInvalidSegment";n[n.srcErrLiveNoChunks=4194309]="srcErrLiveNoChunks";n[n.srcErrEnd=5242879]="srcErrEnd";n[n.encryptErrStart=5242880]="encryptErrStart";n[n.encryptErrUnknown=5242880]="encryptErrUnknown";n[n.encryptErrDecrypterNotFound=5242881]="encryptErrDecrypterNotFound";n[n.encryptErrDecrypterInit=5242882]="encryptErrDecrypterInit";n[n.encryptErrDecrypterNotSupported=5242883]="encryptErrDecrypterNotSupported";n[n.encryptErrKeyAcquire=5242884]="encryptErrKeyAcquire";n[n.encryptErrDecryption=5242885]="encryptErrDecryption";n[n.encryptErrLicenseAcquire=5242886]="encryptErrLicenseAcquire";n[n.encryptErrCertAcquire=5242887]="encryptErrCertAcquire";n[n.encryptErrEnd=6291455]="encryptErrEnd"}(n.ErrorCode||(n.ErrorCode={}));n.ErrorCode}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";!function(n){n[n.video=0]="video";n[n.audio=1]="audio";n[n.text=2]="text"}(n.StreamType||(n.StreamType={}));n.StreamType;!function(n){n[n.playReadySpecificData=0]="playReadySpecificData";n[n.widevineSpecificData=1]="widevineSpecificData";n[n.seaEncryptionSystemId=2]="seaEncryptionSystemId";n[n.seaKeyUri=3]="seaKeyUri";n[n.seaIV=4]="seaIV"}(n.ContentProtectionDataType||(n.ContentProtectionDataType={}));n.ContentProtectionDataType}(n.Presentation||(n.Presentation={}));n.Presentation}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";!function(n){n[n.closed=0]="closed";n[n.open=1]="open";n[n.ended=2]="ended"}(n.ReadyState||(n.ReadyState={}));n.ReadyState}(n.VideoElementAdapter||(n.VideoElementAdapter={}));n.VideoElementAdapter}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";!function(n){n[n.presentation=0]="presentation";n[n.media=1]="media";n[n.max=2]="max"}(n.Type||(n.Type={}));n.Type}(n.Workflow||(n.Workflow={}));n.Workflow}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="AdHandler"}return t.prototype.dispose=function(){},t.prototype.init=function(n){var t=n.workflows[0],i=n.workflows[1];t.addHandler(t.stepEvents.requestEnd,this.onParseScte35InMpd,this);i.addHandler(i.stepEvents.dataRetrieved,this.onGetMediaData,this)},t.prototype.onParseScte35InMpd=function(n){n.currentModuleId=this._moduleId;var t=this;return new Promise(function(i){var u=n.sessionContext.presentationJson,r;(t._adSignaledInMpd=!1,u&&u.Period&&u.Period.EventStream_asArray)&&(r=[],u.Period.EventStream_asArray.forEach(function(n){var i=t.extractAdSignal(n);r=r.concat(i)}),r.length>0&&(t._adSignaledInMpd=!0,t.sendAdSignals(n.sessionContext,r)));i()})},t.prototype.onGetMediaData=function(i){i.currentModuleId=this._moduleId;var r=this;return new Promise(function(u){var f=i.urlsToRetrieve.findFirst(function(n){return 1===n.requestType}),s,o,e;if(!f||!f.mediaData)throw new Error(f.url+": no media segment data found");i.sessionContext.commonPresentation.isLive&&(s=new DataView(f.mediaData),o=n.Mp4Util.GetEmsgBoxes(s),o&&(e=[],o.forEach(function(r){if(r.schemeIdUrl===t._schemeIdUriScte35||r.schemeIdUrl===t._schemeIdUriSimple){var u=(r.timescale*f.presTimeInSec+r.presentationTimeDelta+i.requestedStream.rawPresentationTimeOffset)/r.timescale;n.Log.verbose(15,"ADSIGNAL: id: "+r.id+", mediaRequest.presTimeInSec: "+f.presTimeInSec+", presentationTimeDelta: "+r.presentationTimeDelta+", rawPresentationTimeOffset: "+i.requestedStream.rawPresentationTimeOffset+", presentationTime = "+u*r.timescale);r.schemeIdUrl===t._schemeIdUriScte35&&r.messageData?r.presentationTimeDelta>0?e.push({scteSignal:{signalInString:r.messageData,presentationTimeOverride:u}}):n.Log.verbose(15,"ADSIGNAL: skipping this one."):r.presentationTimeDelta>0?e.push({simpleSignal:{id:r.id,presentationTime:u,duration:r.eventDuration/r.timescale}}):n.Log.verbose(15,"ADSIGNAL: skipping this one.")}}),e.length>0&&r.sendAdSignals(i.sessionContext,e)));u()})},t.prototype.extractAdSignal=function(i){var r=[],u=i.timescale;return i.schemeIdUri===t._schemeIdUriScte35?i.Event_asArray.forEach(function(t){var f=t.__text,i;f&&(i=t.presentationTime,i&&(i/=u),r.push({scteSignal:{signalInString:f,presentationTimeOverride:i}}),n.Log.verbose(15,"ADSIGNAL mpd: presentationTime: "+i))}):i.schemeIdUri===t._schemeIdUriSimple&&i.Event_asArray.forEach(function(t){var i=t.presentationTime,f,e;i&&(i/=u);f=t.duration/u;e=t.id;r.push({simpleSignal:{id:e,presentationTime:i,duration:f}});n.Log.verbose(15,"ADSIGNAL mpd: id: "+e+", presentationTime: "+i+", duration: "+f)}),r},t.prototype.sendAdSignals=function(n,t){n.adManager.addAdSignals(t)},t._schemeIdUriScte35="urn:scte:scte35:2013a:bin",t._schemeIdUriSimple="urn:com:adobe:dpi:simple:2015",t}();t.AdHandler=i}(n.Ad||(n.Ad={}));n.Ad}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="AesHandler";this._disposed=!1;this._decryptor=new n.WebCryptoUtil.Decryptor}return t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._decryptor&&(this._decryptor.dispose(),this._decryptor=null))},t.prototype.init=function(n){var t=n.workflows[0],i=n.workflows[1];t.addHandler(t.stepEvents.requestEnd,this.onDownloadKey,this);i.addHandler(i.stepEvents.dataRetrieved,this.onDecrypt,this)},t.prototype.onDownloadKey=function(i){var r=this;return i.currentModuleId=this._moduleId,new Promise(function(u,f){function e(){h<s.length?n.Util.setTimeout(c,0,s[h++]):u()}function c(r){var c,a,h,v,p;if(o._disposed)return n.Failure.attachFailureToRequest(i,i.currentModuleId,0),void f();if(o._decryptor.isInitialized(r.streamingInfo.aes)||(c=t._getAesContentProtectionIndex(r),isNaN(c)))return void e();var y=r.contentProtections[c],u=y.data(3),l=y.data(4);if(!u||!l)return n.Failure.attachFailureToRequest(i,i.currentModuleId,5242883,"Missing IV or keyUrl"),void f();if(a=o._findExistingAesInfo(s,r,u,l),a)return r.streamingInfo.aes=a,void e();if(h=i.sessionContext.authenticationTokens[t._tokenId],!n.AesUtil.verifyKeyUrlWithToken(u,h))return n.Failure.attachFailureToRequest(i,i.currentModuleId,5242883,"verify AMS hostname failed"),void f();v=[];h&&h.length>0&&(v[0]={name:n.HttpUtil.authorizationHeader,value:h});p=Date.now();n.Log.verbose(12,"Starting AES key acquisition");n.HttpUtil.httpRequest(u,"POST","arraybuffer",v).then(function(t){o._decryptor.initialize(r.streamingInfo.aes,t,n.Common.hexStringToUint8Array(l)).then(function(){n.Log.verbose(12,"AES key acquisition in "+(Date.now()-p)+" ms");e()},function(t){n.Log.error(12,"Failed to initialize decryptor: ");n.Failure.attachFailureToRequest(i,i.currentModuleId,5242882,"AES: "+t);f()})},function(t){n.Log.error(12,"Failed to download AES key url: "+u+", "+n.Common.toHexString(t));n.Failure.attachFailureToRequest(i,i.currentModuleId,5242884,"Http: "+n.Common.toHexString(t));f()})}var o=r,s=i.sessionContext.commonPresentation.periods[0].streams,h=0;e()})},t.prototype.onDecrypt=function(t){var i=this;return t.currentModuleId=this._moduleId,new Promise(function(r,u){function e(){o<t.urlsToRetrieve.length?n.Util.setTimeout(h,0,t.urlsToRetrieve[o++]):r()}function h(i){var r,o,h;if(f._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u();if(!i.mediaData)return void e();r=new DataView(i.mediaData);o=n.Mp4Util.GetBoxByType(r,"moof");o&&n.Log.error(12,"Found moof box in supposedly encrypted fragment: "+i.url);h=Date.now();f._decryptor.decrypt(s,i.mediaData).then(function(r){var u=Date.now()-h,o;n.Log.verbose(12,"AES decrypt data in "+u+" ms, bytes: "+i.mediaData.byteLength+" url: "+i.url);i.mediaData=r;o=n.StreamUtil.getBufferData(t);o.dispatchDownloadDecrypted(f._createMediaDownload(t,i));t.sessionContext.decryptionTracker&&t.sessionContext.decryptionTracker.updateDecryptionSpeedInfo(i.mediaData.byteLength,u/1e3);e()},function(r){n.Log.error(12,"Failed to AES decrypt url: "+i.url+" "+JSON.stringify(r));n.Failure.attachFailureToRequest(t,t.currentModuleId,5242885,"Failed to AES decrypt segment");u()})}var f=i,o=0,s=t.requestedStream.streamingInfo.aes;return f._decryptor.isInitialized(s)?void e():void r()})},t._getAesContentProtectionIndex=function(n){for(var u,r=n.contentProtections,i=0;i<r.length;i++)if(u=r[i].data(2),u===t._aesCbc128SystemId)return i;return NaN},t.prototype._findExistingAesInfo=function(n,t,i,r){for(var e,f,o,s,u=0;u<n.length;u++)if(n[u]!==t)for(e=n[u].contentProtections,f=0;f<e.length;f++)if(o=e[f].data(3),s=e[f].data(4),o===i&&s===r&&this._decryptor.isInitialized(n[u].streamingInfo.aes))return n[u].streamingInfo.aes;return null},t.prototype._createMediaDownload=function(t,i){var u=t.requestedStream.presentationTimeOffsetInSec,r=t.requestedStream.streamingInfo.currentSegment.segmentInfo,f=2===i.requestType?null:r.mediaTimestamp/r.timescale;return new n.Context.MediaDownload(i.url,t.selectedTrack.bitrate,f,i.mediaData,u,r.timescale)},t._aesCbc128SystemId="urn:mpeg:dash:sea:aes128-cbc:2013",t._tokenId="AES",t}();t.AesHandler=i}(n.ContentProtection||(n.ContentProtection={}));n.ContentProtection}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var r=function(){function t(t,i){this._bandwidthSettings=t;this._decryptionTracker=i;this._averageCalc=new n.Util.AverageCalculator(this._bandwidthSettings.minBandwidthHistoryCount,this._bandwidthSettings.maxBandwidthHistoryCount)}return Object.defineProperty(t.prototype,"averageBandwidthInKbps",{get:function(){return this._averageCalc.average},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"latestInKbps",{get:function(){return this._averageCalc.latest},enumerable:!0,configurable:!0}),t.prototype.perceivedBandwidth=function(){var n=1e3*this._averageCalc.average;return n*this._bandwidthSettings.bandwidthUsabilityPercent},t.prototype.updateBandwidthInfo=function(t,i,r,u){var o,f,e,h;if(n.Log.verbose(5,"updateBandWidthInfo - analyzing bandwidth data: received size="+t.responseLengthInBytes+" bytes, download time="+t.downloadTimeMs+" ms, TOTAL download time="+t.totalDownloadTimeMs+" ms, "+(this._bandwidthSettings.useVariableFragmentSizeMode?"(default mode) ":"")+"bandwidth = "+t.bandwidth+" kbps"),t.responseLengthInBytes<this._bandwidthSettings.bandwidthDataSizeThresholdInBytes)return void n.Log.verbose(5,"Ignoring bandwidth data, retrieved size "+t.responseLengthInBytes+" is less than the limit "+this._bandwidthSettings.bandwidthDataSizeThresholdInBytes+" bytes");if((!i||this._bandwidthSettings.bandwidthTestWithTimeThresholdDuringLive)&&t.downloadTimeMs<this._bandwidthSettings.bandwidthEstimationMinMsec)return n.Log.verbose(5,"Ignoring bandwidth estimation, download time "+Math.floor(t.downloadTimeMs)+" ms is less than configured min "+this._bandwidthSettings.bandwidthEstimationMinMsec+" ms"),void this._averageCalc.dropOldestKeepAtLeastOne();if(t.bandwidth>this._bandwidthSettings.bandwidthEstimationMaxKbps)return n.Log.verbose(5,"Ignoring bandwidth estimation "+Math.floor(t.bandwidth)+" Kbps, greater than configured max "+this._bandwidthSettings.bandwidthEstimationMaxKbps+" Kbps"),void this._averageCalc.dropOldestKeepAtLeastOne();if(this._bandwidthSettings.useVariableFragmentSizeMode){if(f=u.requestedStream.streamingInfo.currentSegment?n.StreamUtil.getSegmentDuration(u):r.durationInSec,e=r.bitrate,isNaN(e)||0>=e||isNaN(f)||0>=f||t.responseLengthInBytes<=0)return void n.Log.verbose(5,"Ignoring bandwidth estimation, supplied bitrate: "+e+", supplied chunk duration: "+f+", downloaded fragment size: "+t.responseLengthInBytes);var s=e*f,c=t.totalDownloadTimeMs-t.downloadTimeMs,l=c+s/(8*t.responseLengthInBytes)*t.downloadTimeMs;o=s/l;n.Log.verbose(5,"updateBandWidthInfo - vfsMode On, vfs bandwidth="+o+"kbps")}else o=t.bandwidth;h=t.totalDownloadTimeMs;this._averageCalc.addValue(o);n.Log.verbose(5,"updateBandWidthInfo -  currentBw: "+Math.floor(this._averageCalc.latest)+" Kbps averageBw: "+Math.floor(this._averageCalc.average)+" Kbps size: "+t.responseLengthInBytes+" bytes time-taken: "+h+" ms")},t.prototype.reportHeuristicsData=function(t,i){var f=this.perceivedBandwidth(),e=this._decryptionTracker?this._decryptionTracker.averageDecryptionSpeed:1/0,r,u,o,s;if(n.Log.verbose(5,"averageBW reporting: "+Math.round(f/1e3)+" Kbps decryptionBW: "+Math.round(e/1e3)+" Kbps, chunk duration: "+i),!i)throw new Error("reportHeuristicsData failed, invalid chunkDuration");for(r=0;r<t.tracksData.length;r++)t.tracksData[r].selectable&&(u=t.tracksData[r].trackInfo.bitrate*i,f?(o=u/f,s=e?u/e:0,t.tracksData[r].dataRetrieverEstimationInWallClockSec=o+s,n.Log.verbose(5,"Estimated time to download "+u+" bits = "+t.tracksData[r].dataRetrieverEstimationInWallClockSec+" s")):t.tracksData[r].dataRetrieverEstimationInWallClockSec=1/0)},t}(),i;t.BandwidthTracker=r;i=function(){function t(){this.requestStartTimeInMS=(new Date).getTime();this.responseStartTimeInMS=null;this.responseEndTimeInMS=null;this.responseLengthInBytes=0}return Object.defineProperty(t.prototype,"totalDownloadTimeMs",{get:function(){return n.assert(this.responseEndTimeInMS>=this.requestStartTimeInMS,"BandwidthInfo.totalDownloadTimeMs: unexpected values:"+this.responseEndTimeInMS+" should not be < "+this.requestStartTimeInMS),this.responseEndTimeInMS-this.requestStartTimeInMS||1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"latencyTimeMs",{get:function(){return n.assert(this.responseStartTimeInMS>=this.requestStartTimeInMS,"BandwidthInfo.latencyTimeMs: unexpected values:"+this.responseStartTimeInMS+" should not be < "+this.requestStartTimeInMS),this.responseStartTimeInMS-this.requestStartTimeInMS||1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"downloadTimeMs",{get:function(){return n.assert(this.responseEndTimeInMS>=this.responseStartTimeInMS,"BandwidthInfo.downloadTimeMs: unexpected values:"+this.responseEndTimeInMS+" should not be < "+this.responseStartTimeInMS),this.responseEndTimeInMS-this.responseStartTimeInMS||1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bandwidth",{get:function(){return n.assert(this.totalDownloadTimeMs>0,"BandwidthInfo.bandwidth: unexpected value:"+this.totalDownloadTimeMs+" should be > 0"),8*this.responseLengthInBytes/this.totalDownloadTimeMs},enumerable:!0,configurable:!0}),t}();t.BandwidthInfo=i}(n.Heuristics||(n.Heuristics={}));n.Heuristics}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="playReady";this._disposed=!1;this._initial=!0}return t.prototype.dispose=function(){this._disposed=!0},t.prototype.init=function(n){var t=n.workflows[0];t.addHandler(t.stepEvents.requestEnd,this.onContentProtected,this)},t.prototype.onContentProtected=function(t){var i=this;return t.currentModuleId=this._moduleId,new Promise(function(r,u){var f=[],e=t.sessionContext.commonPresentation;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u("Disposed");if(!i._initial)return void r();if(!e)throw new Error("CommonPresentation is empty");e.periods[0].streams.forEach(function(t){for(var u,r,i=0;i<t.contentProtections.length;i++)u=t.contentProtections[i].data(0),u&&(r=new n.Mp4Util.PsshBox,r.systemId=n.KeySystem.PlayReady.systemId,r.specificData=n.Common.stringToUint8Array(atob(u)),f.push(r))});f.length>0&&t.sessionContext.emeManager.addPsshBoxes(f);i._initial=!1;r()})},t}();t.PlayReady=i}(n.ContentProtection||(n.ContentProtection={}));n.ContentProtection}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="widevine";this._disposed=!1;this._initial=!0}return t.prototype.dispose=function(){this._disposed=!0},t.prototype.init=function(n){var t=n.workflows[0];t.addHandler(t.stepEvents.requestEnd,this.onContentProtected,this)},t.prototype.onContentProtected=function(t){var i=this;return t.currentModuleId=this._moduleId,new Promise(function(r,u){var f=[],e=t.sessionContext.commonPresentation;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u("Disposed");if(!i._initial)return void r();if(!e)throw new Error("CommonPresentation is empty");e.periods[0].streams.forEach(function(i){for(var u,r=0;r<i.contentProtections.length;r++){if(u=i.contentProtections[r].data(1),u){var o=n.Common.stringToUint8Array(atob(u)),s=new DataView(o.buffer),e=n.Mp4Util.GetPsshBoxes(s);if(1!=e.length)throw new Error("Each cenc:pssh element should contain a 'pssh' box");f.push(e[0])}i.contentProtections[r].laUrl&&t.sessionContext.emeManager.addLaUrl(n.KeySystem.Widevine.systemId,i.contentProtections[r].laUrl)}});f.length>0&&t.sessionContext.emeManager.addPsshBoxes(f);i._initial=!1;r()})},t}();t.Widevine=i}(n.ContentProtection||(n.ContentProtection={}));n.ContentProtection}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var r=function(){function t(){this._moduleId="DashMediaSegmentParser"}return t.prototype.dispose=function(){},t.prototype.init=function(n){var t=n.workflows[1];t.addHandler(t.stepEvents.dataRetrieved,this.onGetData,this)},t.prototype.onGetData=function(t){function r(){var a,h,e,c,l,s,o,r,f,v;if(r=t.requestedStream.streamingInfo.currentSegment,f=t.urlsToRetrieve.findFirst(function(n){return 1===n.requestType}),!f||!f.mediaData)throw new Error(f.url+": no media segment data found");if(a=new DataView(f.mediaData),h=n.Mp4Util.GetBoxByType(a,"moof"),!h)return new i(4194306,"moof not found");if(e=n.Mp4Util.GetBoxByType(h.data,"traf"),!e)return new i(4194306,"traf not found");if(c=n.Mp4Util.GetTfhdBox(e.data),!c)return new i(4194306,"tfhd not found");if(l=n.Mp4Util.GetTrunBox(e.data),!l)return new i(4194306,"trun not found");if(s=n.Mp4Util.GetTfdtBox(e.data),!s)return new i(4194306,"tfdt not found");if(n.Common.diffTimes(s.baseMediaDecodeTime,r.segmentInfo.mediaTimestamp))throw new Error("Segment mismatch, requested: "+r.segmentInfo.mediaTimestamp+" got: "+s.baseMediaDecodeTime);return(o=u(c,l),0===o)?new i(4194308,"failed to derive segment duration"):(n.Log.verbose(10,"Segment duration: "+o),v=t.requestedStream.segments.updateSegmentDuration(r.segmentInfo.presTimeInSec,o),v?(r.segmentInfo.mediaDuration=o,f.durationInSec=r.segmentInfo.durationInSec,null):new i(4194308,"failed to update segment duration in container"))}function u(t,i){var r=0;return i.flags&n.Mp4Util.TrunBox.flags_sampleDurationPresent?i.sampleInfoArray.forEach(function(n){r+=n.sampleDuration}):t.defaultSampleDuration?r=t.defaultSampleDuration*i.sampleCount:n.Log.warning(10,"Cannot calculate segment duration from 'tfhd' and 'trun'"),r}function f(){var r=t.requestedStream,u=r.streamingInfo.currentSegment,i=u.segmentInfo,f=r.segments;i.mediaDuration&&f.addMediaSegmentInfo(i.index+1,n.Timestamp.add(i.mediaTimestampStr,i.mediaDuration),NaN,i.presentationOffset,i.timescale)}return t.currentModuleId=this._moduleId,new Promise(function(i,u){var o,e;if(o=t.requestedStream.streamingInfo.currentSegment,!t.sessionContext.commonPresentation.isLive||t.sessionContext.commonPresentation.minimumUpdatePeriodInSec||o.next)return void i();if(!o.segmentInfo.mediaDuration&&(e=r(),e))return n.Failure.attachFailureToRequest(t,t.currentModuleId,e.errorCode,e.message),void u();f();i()})},t}(),i;t.Parser=r;i=function(){function n(n,t){this.errorCode=n;this.message=t}return n}()}(n.DashMediaSegment||(n.DashMediaSegment={}));n.DashMediaSegment}(AzureHtml5JS||(AzureHtml5JS={}));__extends=this.__extends||function(n,t){function r(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);r.prototype=t.prototype;n.prototype=new r};!function(n){!function(t){"use strict";function l(n){var t;if(!("schemeIdUri"in n))throw new Error("ContentProtection missing @schemeIdUri");return t=n.schemeIdUri,t.toLowerCase()===r.schemeIdUri?new r(n):t.toLowerCase()===u.schemeIdUri?new u(n):t.toLowerCase()===f.schemeIdUri?new f(n):new c(n)}var a=function(){function t(){this._moduleId="DashPresentationParser"}return t.prototype.dispose=function(){},t.prototype.init=function(n){var t=n.workflows[0];t.addHandler(t.stepEvents.dataRetrieved,this.onParse,this)},t.prototype.onParse=function(i){return i.currentModuleId=this._moduleId,new Promise(function(r,u){var o,c,f,s,h,l;if(!i.urlsToRetrieve[0].presentationData)throw new Error(i.urlsToRetrieve[0].url+": no presentation data found");return(o=i.sessionContext,s=t._getPublishTime(i.urlsToRetrieve[0].presentationData),s&&o.commonPresentation&&o.commonPresentation.publishTime&&o.commonPresentation.publishTime.getTime()>=Date.parse(s))?(n.Log.verbose(4,"skipping MPD parse, not newer than last parsed: "+i.urlsToRetrieve[0].url),void r()):(c=t._getBaseURL(o.presentationUrl),f=new e(i.urlsToRetrieve[0].presentationData,c),!f||!f.periods)?(n.Failure.attachFailureToRequest(i,i.currentModuleId,4194305,i.urlsToRetrieve[0].url+": failed to generate DASH presentation"),void u("failed to generate DASH presentation")):t._validPresentation(f)?(h=f.isLive,l=h&&null!==f.periods[0].streams.findFirst(function(n){return(0===n.type||1===n.type)&&!n.segments}),o.updatePresentation(f),n.Log.verbose(4,"MPD updated. Streaming type: "+(h?"Live":"VOD")),l?(n.Failure.attachFailureToRequest(i,i.currentModuleId,4194309,i.urlsToRetrieve[0].url+": no chunks in the live manifest"),void u("no chunks in this presentation")):void r()):(n.Failure.attachFailureToRequest(i,i.currentModuleId,4194307,i.urlsToRetrieve[0].url+": unsupported presentation"),void u("unsupported presentation"))})},t._validPresentation=function(t){return 0===t.periods.length||t.periods.length>1?(n.Log.error(4,"invalid period count: "+(t.periods?t.periods.length.toString():"undefined")),!1):t.periods[0].streams?!0:(n.Log.error(4,"no streams found"),!1)},t._getPublishTime=function(n){var t,i,r="";return n&&(t=n.match(/<MPD[^>]*>/i),t&&t.length>0&&(i=t[0].match(/publishTime="[^"]*/i),i&&i.length>0&&(r=i[0].slice(13)))),r},t._getBaseURL=function(n){var t,i=n;if(t=i.indexOf("?"),-1!==t&&(i=i.slice(0,t)),t=i.lastIndexOf("/"),-1===t)throw new Error(n+": could not derive base URL");return i.slice(0,t+1)},t}(),e,o,s,h,i,r,u,f,c;t.Parser=a;e=function(){function t(n,t){var i,u=this,r=[];if(this._lastRetrievalTime=new Date,i=Dash.dependencies.DashParser(),i.debug=new y,i.errHandler=new p,this._manifest=i.parse(n,t),this._manifest){if("Period_asArray"in this._manifest&&this._manifest.Period_asArray.length>0&&this._manifest.Period_asArray.forEach(function(n){r.push(new o(n,u.publishTime,u.isLive))}),this._periods=r,r.length>1)throw new Error("Error parsing MPD: multiple periods not supported");"dynamic"===this._manifest.type&&0===this._manifest.minimumUpdatePeriod&&(this._timeShiftTracker=new v(r,this._manifest.timeShiftBufferDepth))}}return Object.defineProperty(t.prototype,"segmentBoundaries",{get:function(){var i=[],n,t;if(this.periods&&this.periods.length>0&&this.periods[0].streams&&this.periods[0].streams.length>0)for(n=0;n<this.periods[0].streams.length;n++)if(0===this.periods[0].streams[n].type&&this.periods[0].streams[n].segments){for(t=this.periods[0].streams[n].segments.first;t;)i.push(t.segmentInfo.presTimeInSec),t=t.next;break}return i},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._periods&&(this._periods.forEach(function(n){n.dispose()}),this._periods=[]);this._manifest=null;this._lastRetrievalTime=null},Object.defineProperty(t.prototype,"startTime",{get:function(){var n=null;return"availabilityStartTime"in this._manifest&&(n=new Date(this._manifest.availabilityStartTime)),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"publishTime",{get:function(){return"publishTime"in this._manifest?new Date(this._manifest.publishTime):this._lastRetrievalTime},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLive",{get:function(){return"dynamic"===this._manifest.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minimumUpdatePeriodInSec",{get:function(){return this._manifest.minimumUpdatePeriod},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"durationInSec",{get:function(){var n=0;return"mediaPresentationDuration"in this._manifest&&(n=this._manifest.mediaPresentationDuration),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"timeShiftBufferDepth",{get:function(){return this._manifest.timeShiftBufferDepth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playableWindow",{get:function(){return new n.Common.TimeRange(this._playWindowLeftEdge(),this._playWindowLiveEdge())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxSegmentDuration",{get:function(){var n=0;return this._periods.forEach(function(t){n=Math.max(n,t.maxSegmentDuration)}),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"periods",{get:function(){return this._periods},enumerable:!0,configurable:!0}),t.prototype.toJson=function(){return this._manifest},t.prototype.transferPresentationState=function(t){var e=t,i=[],r=[],f,u;for(this._manifest=e._manifest,this._lastRetrievalTime=e._lastRetrievalTime,this._timeShiftTracker=e._timeShiftTracker,this.periods.forEach(function(n){i.push(n)}),e.periods.forEach(function(n){r.push(n)}),f=0;f<r.length;f++)for(u=0;u<i.length;u++)if(i[u]&&r[f].startInSec===i[u].startInSec){i[u].transferPeriodState(r[f]);r[f]=null;i[u]=null;break}i=i.filter(function(n){return!!n});r=r.filter(function(n){return!!n});i.length>0&&n.Log.verbose(4,"Periods removed from MPD: "+i.length);r.length>0&&n.Log.verbose(4,"Periods added to MPD: "+r.length)},t.prototype.adjustPlayableWindow=function(n){this._timeShiftTracker&&this._timeShiftTracker.adjust(n)},t.prototype.adjustPlayableWindowForChromeSourceDelay=function(n){this._timeShiftTracker&&this._timeShiftTracker.adjustForChromeSourceDelay(n)},t.prototype._playWindowLeftEdge=function(){var n,t=0;return this._timeShiftTracker?this._timeShiftTracker.leftEdge:this._periods&&this._periods.length?(n=this._periods[0].streams,n&&n.length?(n.forEach(function(n){2!==n.type&&n.segments&&n.segments.first&&(t=Math.max(t,n.segments.first.segmentInfo.presTimeInSec))}),t):0):0},t.prototype._playWindowLiveEdge=function(){var n,t=1/0;return this._timeShiftTracker?this._timeShiftTracker.liveEdge:this._periods&&this._periods.length?(n=this._periods[0].streams,n&&n.length?(n.forEach(function(n){if(2!==n.type&&n.segments&&n.segments.last){var i=n.segments.last.segmentInfo;t=Math.min(t,i.presTimeInSec+(i.durationInSec||0))}}),t):0):0},t}();t.Mpd=e;o=function(){function t(n,t,i){var u=this,r=[];this.startInSec="start"in n?n.start:0;"AdaptationSet_asArray"in n&&n.AdaptationSet_asArray.length>0&&n.AdaptationSet_asArray.forEach(function(n){r.push(new s(n,t,i,u.startInSec))});this._streams=r}return Object.defineProperty(t.prototype,"streams",{get:function(){return this._streams},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxSegmentDuration",{get:function(){var n=0;return this._streams.forEach(function(t){n=Math.max(n,t.maxSegmentDuration)}),n},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._streams&&(this._streams.forEach(function(n){n.dispose()}),this._streams=[])},t.prototype.transferPeriodState=function(t){var i=[],r=[],f,u;for(this.streams.forEach(function(n){i.push(n)}),t.streams.forEach(function(n){r.push(n)}),f=0;f<r.length;f++)for(u=0;u<i.length;u++)if(i[u]&&r[f].id===i[u].id){i[u].transferStreamState(r[f]);r[f]=null;i[u]=null;break}i=i.filter(function(n){return!!n});r=r.filter(function(n){return!!n});i.length>0&&n.Log.verbose(4,"Adaptation Sets removed from period: "+i.length);r.length>0&&n.Log.verbose(4,"Adaptation Sets added to period: "+r.length)},t}();t.Period=o;s=function(){function t(t,i,r,u){var b=[],k=[],s,e,o,v,y,p,c,f,w,a,d;if((this._adaptationSet=t,this.streamingInfo=new n.Presentation.MediaStreamStreamingInfo,"SegmentTemplate"in t&&(this._segmentTemplate=t.SegmentTemplate,"SegmentTimeline"in this._segmentTemplate))&&(s=this._segmentTemplate.SegmentTimeline,e=this._segmentTemplate.timescale?this._segmentTemplate.timescale:1,o=u*e,this._rawPresentationTimeOffset=this._segmentTemplate.presentationTimeOffset?this._segmentTemplate.presentationTimeOffset:0,o-=this._rawPresentationTimeOffset,this._normalizedPtoInSec=o/e,v=new n.Presentation.MediaSegmentInfoContainer(e,o,i,r),"S_asArray"in s)){for(p="0",y=this._segmentTemplate.startNumber?this._segmentTemplate.startNumber:0,c=0;c<s.S_asArray.length;c++)f=s.S_asArray[c],w="t"in f?f.t_str:p,a="r"in f?f.r:0,d=new n.Presentation.SegmentRunEntry(y,w,f.d,o,e,a),v.addMediaSegmentRun(d),y+=a+1,p=n.Timestamp.add(w,f.d*(a+1));this.segments=v}"Representation"in t&&t.Representation_asArray.forEach(function(n){b.push(new h(n))});this._tracks=b.sort(function(n,t){return n.bitrate-t.bitrate});"ContentProtection"in t&&t.ContentProtection_asArray.forEach(function(n){k.push(l(n))});this._contentProtections=k}return t.prototype.dispose=function(){this._tracks&&(this._tracks.forEach(function(n){n.dispose()}),this._tracks=[]);this._contentProtections&&(this._contentProtections.forEach(function(n){n.dispose()}),this._contentProtections=[]);this.segments&&(this.segments.dispose(),this.segments=null);this.streamingInfo&&(this.streamingInfo.dispose(),this.streamingInfo=null);this._adaptationSet=null;this._segmentTemplate=null},Object.defineProperty(t.prototype,"codec",{get:function(){function t(){var i=n.codecs,t;if(!i)for(t=0;t<n.Representation_asArray.length;t++)if(n.Representation_asArray[t].codecs){i=n.Representation_asArray[t].codecs;break}return i}var n=this._adaptationSet;return n.mimeType+';codecs="'+t()+'"'},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){var t;switch(this._adaptationSet.contentType){case"video":t=0;break;case"audio":t=1;break;default:n.Log.error(4,"Stream type not supported: "+this._adaptationSet.contentType)}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){var n=null;return"id"in this._adaptationSet?n=this._adaptationSet.id.toString():(n=this._adaptationSet.codecs,"lang"in this._adaptationSet&&(n+=this._adaptationSet.lang)),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"language",{get:function(){var n=null;return"lang"in this._adaptationSet&&(n=this._adaptationSet.lang),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"initUrlTemplate",{get:function(){var n=null;return"initialization"in this._segmentTemplate&&(n=this._adaptationSet.BaseURL+this._segmentTemplate.initialization),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mediaUrlTemplate",{get:function(){var n=null;return"media"in this._segmentTemplate&&(n=this._adaptationSet.BaseURL+this._segmentTemplate.media),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"presentationTimeOffsetInSec",{get:function(){return this._normalizedPtoInSec},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rawPresentationTimeOffset",{get:function(){return this._rawPresentationTimeOffset},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tracks",{get:function(){return this._tracks},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentProtections",{get:function(){return this._contentProtections},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxSegmentDuration",{get:function(){return this.segments.maxSegmentDuration},enumerable:!0,configurable:!0}),t.prototype.transferStreamState=function(t){var i=[],r=[],f,u;for(this.tracks.forEach(function(n){i.push(n)}),t.tracks.forEach(function(n){r.push(n)}),f=0;f<r.length;f++)for(u=0;u<i.length;u++)if(i[u]&&r[f].id===i[u].id){r[f]=null;i[u]=null;break}i=i.filter(function(n){return!!n});r=r.filter(function(n){return!!n});i.length>0&&n.Log.verbose(4,"Representations removed from MPD: "+i.length);r.length>0&&n.Log.verbose(4,"Representations added to MPD: "+r.length);this.segments.update(t.segments)},t}();t.AdaptationSet=s;h=function(){function t(t){if(!("id"in t))throw new Error("Representation missing @id");if(this._id=t.id,!("bandwidth"in t))throw new Error("Representation missing @bandwidth");this._bitrate=t.bandwidth;this._height=t.height;this._width=t.width;this._codecs=t.codecs;this.streamingInfo=new n.Presentation.MediaTrackStreamingInfo}return Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this._bitrate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"codecs",{get:function(){return this._codecs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this.streamingInfo.selectable},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){},t}();t.Representation=h;i=function(){function n(n){if(!("schemeIdUri"in n))throw new Error("ContentProtection missing @schemeIdUri");this.schemeIdUri=n.schemeIdUri;"value_str"in n?this._value=n.value_str:"value"in n&&(this._value=n.value);"id"in n&&(this._id=n.id)}return Object.defineProperty(n.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),n.prototype.dispose=function(){},n}();t.BaseContentProtection=i;r=function(n){function t(t){n.call(this,t);"pro"in t&&(this._specificData=t.pro.__text)}return __extends(t,n),t.prototype.data=function(n){return 0===n?this._specificData:null},t.prototype.dispose=function(){},t.schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",t}(i);t.PlayReadyContentProtection=r;u=function(n){function t(t){n.call(this,t);"pssh"in t&&(this._specificData=t.pssh.__text);"laurl"in t&&(this._laUrl=t.laurl.licenseUrl)}return __extends(t,n),Object.defineProperty(t.prototype,"laUrl",{get:function(){return this._laUrl},enumerable:!0,configurable:!0}),t.prototype.data=function(n){return 1===n?this._specificData:null},t.prototype.dispose=function(){},t.schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",t}(i);t.WidevineContentProtection=u;f=function(n){function t(t){if(n.call(this,t),"SegmentEncryption"in t&&(this._seaEncryptionSystemId=t.SegmentEncryption.schemeIdUri,"CryptoPeriod"in t)){var i=t.CryptoPeriod;"keyUriTemplate"in i&&(this._keyUri=i.keyUriTemplate);"IV"in i&&(this._iv=i.IV)}}return __extends(t,n),t.prototype.data=function(n){switch(n){case 2:return this._seaEncryptionSystemId;case 3:return this._keyUri;case 4:return this._iv;default:return null}},t.prototype.dispose=function(){},t.schemeIdUri="urn:mpeg:dash:sea:2012",t}(i);t.SegmentEncryptionContentProtection=f;c=function(n){function t(t){n.call(this,t)}return __extends(t,n),t.prototype.data=function(){return null},t.prototype.dispose=function(){},t}(i);t.GenericContentProtection=c;var v=function(){function t(t,i){var f,r=0,u=1/0;t.length&&(f=t[0].streams,f&&f.length&&(f.forEach(function(n){2!==n.type&&n.segments&&n.segments.first&&n.segments.last&&(r=Math.max(r,n.segments.first.segmentInfo.presTimeInSec),u=Math.min(u,n.segments.last.segmentInfo.presTimeInSec+n.segments.last.segmentInfo.durationInSec))}),n.Log.verbose(4,"TimeShiftBufferTracker: leftEdge: "+r+" liveEdge: "+u+" duration: "+(u-r)),this._dvrWindowLenInSec=i?i:1/0,this._leftEdgeReferenceInPresentation=r,this._liveEdgeReferenceInPresentation=u,this._liveEdgeReferenceLocalTime=Date.now()))}return Object.defineProperty(t.prototype,"liveEdge",{get:function(){var n=(Date.now()-this._liveEdgeReferenceLocalTime)/1e3;return this._liveEdgeReferenceInPresentation+n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"leftEdge",{get:function(){var t=(Date.now()-this._liveEdgeReferenceLocalTime)/1e3,n=this._liveEdgeReferenceInPresentation+t;return n-this._leftEdgeReferenceInPresentation<this._dvrWindowLenInSec?this._leftEdgeReferenceInPresentation:n-this._dvrWindowLenInSec},enumerable:!0,configurable:!0}),t.prototype.adjust=function(t){var i=this._liveEdgeReferenceInPresentation+t;return 0>=i?void n.Log.warning(4,"TimeShiftBufferTracker error, ignoring invalid adjustment: "+t):(n.Log.verbose(4,"Adjusting TimeShiftBufferTracker: "+t),void(this._liveEdgeReferenceInPresentation=i))},t.prototype.adjustForChromeSourceDelay=function(t){this._liveEdgeReferenceLocalTime=t;n.Log.verbose(4,"Adjusting TimeShiftBufferTracker: _liveEdgeReferenceLocalTime to "+t)},t}(),y=function(){function t(){this.log=function(t){n.Log.verbose(4,t)}}return t}(),p=function(){function t(){this.manifestError=function(t){n.Log.error(4,t)}}return t}()}(n.DashPresentation||(n.DashPresentation={}));n.DashPresentation}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="DashUrlFormatter"}return t.prototype.init=function(n){var t=n.workflows[1];t.addHandler(t.stepEvents.requestSend,this.onUrlFormat,this)},t.prototype.dispose=function(){},t.prototype.onUrlFormat=function(t){return t.currentModuleId=this._moduleId,new Promise(function(i){var f,r,u,e,o,h,c,s,l,a;if(!t.selectedTrack)throw new Error("Selected Track not set");if(f=t.requestedStream.id,!f)throw new Error("stream id not set");if(r=t.selectedTrack.bitrate,null===r||void 0===r)throw new Error("incorrect bitrate");if(u=t.requestedStream.streamingInfo.currentSegment,!u)throw new Error("current segment not selected.");if(e=u.segmentInfo.presTimeInSec,t.requestedStream.streamingInfo.fetchInitSegment){if(o=t.requestedStream.initUrlTemplate,!o)throw new Error("initialization url template is not set for the stream");h=n.Util.UrlFormatter.FormatDashInitUrl(o,r.toString(),t.sessionContext.presentationQueryStr);t.requestedStream.streamingInfo.fetchInitSegment=!1;c=new n.Context.UrlRequest(h,2,0,f,r,e);t.urlsToRetrieve.push(c)}if(s=t.requestedStream.mediaUrlTemplate,!s)throw new Error("media url template is not set for the stream");l=u.segmentInfo.mediaTimestampStr;a=n.Util.UrlFormatter.FormatDashMediaUrl(s,r.toString(),l,t.sessionContext.presentationQueryStr);t.urlsToRetrieve.push(new n.Context.UrlRequest(a,1,0,f,r,e,u.segmentInfo.durationInSec));i()})},t}();t.DashUrlFormatter=i}(n.UrlBuilder||(n.UrlBuilder={}));n.UrlBuilder}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._averageCalc=new n.Util.AverageCalculator(0,t._maxHistoryCount)}return Object.defineProperty(t.prototype,"averageDecryptionSpeed",{get:function(){return this._averageCalc.average},enumerable:!0,configurable:!0}),t.prototype.updateDecryptionSpeedInfo=function(n,t){var i=8*n/t;this._averageCalc.addValue(i)},t._maxHistoryCount=3,t}();t.DecryptionTracker=i}(n.Heuristics||(n.Heuristics={}));n.Heuristics}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="heuristics.Engine";this._disposed=!1}return t.prototype.dispose=function(){this._disposed=!0},t.prototype.init=function(n){var t=n.workflows[1];t.addHandler(t.stepEvents.requestSend,this.onGetIndex,this)},t.prototype.onGetIndex=function(t){function i(){t.selectedTrack!==t.requestedStream.streamingInfo.lastDownloadedTrack&&(t.requestedStream.streamingInfo.fetchInitSegment=!0)}function r(i){var u=t.heuristicData.tracksData,r;if(!i)throw new Error("findHighestTrack failed, invalid timeEstimationThresholdInSec");for(n.Log.verbose(8,"Time we have for fragment download: "+i+"s"),r=u.length-1;r>=0;r--)if(u[r].selectable&&u[r].dataRetrieverEstimationInWallClockSec*t.sessionContext.playbackRate()<i)return u[r].trackInfo;return null}function u(){for(var r,u=t.heuristicData.tracksData,n=1/0,i=u.length-1;i>=0;i--)r=u[i],r.selectable&&(n=Math.min(n,r.dataRetrieverEstimationInWallClockSec));return n}function f(n){for(var i,f=t.heuristicData.tracksData,r=null,u=f.length-1;u>=0;u--)i=f[u],i.selectable&&i.trackInfo.bitrate>n&&(!r||i.trackInfo.bitrate<r.bitrate)&&(r=i.trackInfo);return r}var e=this;return n.Log.verbose(8,"OnGetIndex"),t.currentModuleId=this._moduleId,new Promise(function(o,s){function c(){i();o()}var a,v,l,y,p,h;if(e._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void s("object is already disposed.");if(t.selectedTrack)return void c();if(0!==t.requestedStream.type)return t.selectedTrack=t.requestedStream.tracks[0],void c();if(a=t.heuristicData.tracksData.findFirst(function(n){return n.selectable===!0}),!a)return t.selectedTrack=t.heuristicData.tracksData[0].trackInfo,void c();if(t.selectedTrack=a.trackInfo,v=t.requestedStream.streamingInfo.sourceBuffer.getBufferedAheadOfCurrentTimeInSec(),l=5*t.sessionContext.playbackRate(),!t.requestedStream.streamingInfo.currentSegment)return void c();l=n.StreamUtil.getSegmentDuration(t);y=t.sessionContext.maxBufferInSec()*t.sessionContext.heuristicSettings.vodStableBufferLevelPercent;p=t.sessionContext.maxBufferInSec()*t.sessionContext.heuristicSettings.vodDowngradeBufferLevelPercent;p>v&&!t.sessionContext.videoTag.paused&&(l*=t.sessionContext.heuristicSettings.belowDowngradeBufferLevelDownloadTimeFactor);h=r(l);!h&&u()===1/0&&t.requestedStream.streamingInfo.lastDownloadedTrack&&(h=f(t.requestedStream.streamingInfo.lastDownloadedTrack.bitrate));(!h||v>y&&h.bitrate<t.requestedStream.streamingInfo.lastDownloadedTrack.bitrate)&&t.heuristicData.tracksData.findFirst(function(n){return n.trackInfo===t.requestedStream.streamingInfo.lastDownloadedTrack&&n.selectable})&&(h=t.requestedStream.streamingInfo.lastDownloadedTrack);h&&(n.Log.verbose(8,"Selected bitrate: "+h.bitrate),t.selectedTrack=h);c()})},t}();t.Engine=i}(n.Heuristics||(n.Heuristics={}));n.Heuristics}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="stepRule";this._disposed=!1;this._currentTrackSegmentCount=0;this._previousTrackSelected=null;this._currentSelectedVideoStream=null}return t.prototype.dispose=function(){this._disposed=!0;this._previousTrackSelected=null;this._currentSelectedVideoStream=null},t.prototype.init=function(n){var t=n.workflows[1];t.addHandler(t.stepEvents.requestBegin,this.onRunStepRule,this)},t.prototype.onRunStepRule=function(t){var r=this,i;return n.Log.verbose(8,"onRunStepRule"),t.currentModuleId=this._moduleId,i=this,new Promise(function(u,f){var e;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void f("object is already disposed.");if(t.selectedTrack||null===t.requestedStream.streamingInfo.lastDownloadedTrack||0!==t.requestedStream.type)return void u();t.requestedStream!==r._currentSelectedVideoStream&&(i._currentSelectedVideoStream=t.requestedStream,i._previousTrackSelected=null);t.requestedStream.streamingInfo.lastDownloadedTrack===i._previousTrackSelected?i._currentTrackSegmentCount++:(i._previousTrackSelected=t.requestedStream.streamingInfo.lastDownloadedTrack,i._currentTrackSegmentCount=1);var c=i._currentTrackSegmentCount>=t.sessionContext.heuristicSettings.stepRule.minSegmentsBeforeDowngrade,l=i._currentTrackSegmentCount>=t.sessionContext.heuristicSettings.stepRule.minSegmentsBeforeUpgrade,o=t.requestedStream.tracks.indexOf(i._previousTrackSelected),s=o,h=o;for(c&&t.sessionContext.heuristicSettings.stepRule.maxStepDownInQuality>0&&(s=Math.max(0,o-t.sessionContext.heuristicSettings.stepRule.maxStepDownInQuality)),l&&t.sessionContext.heuristicSettings.stepRule.maxStepUpInQuality>0&&(h=Math.min(t.heuristicData.tracksData.length-1,o+t.sessionContext.heuristicSettings.stepRule.maxStepUpInQuality)),e=0;e<t.heuristicData.tracksData.length;e++)(e>h||s>e)&&(t.heuristicData.tracksData[e].selectable=!1);u()})},t}();t.StepRule=i}(n.Heuristics||(n.Heuristics={}));n.Heuristics}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="windowSizeRule";this._disposed=!1;this._windowHeight=0;this._windowWidth=0;this._highestTrackIndexAllowed=0;this._currentSelectedVideoStream=null}return t.prototype.dispose=function(){this._disposed=!0;this._currentSelectedVideoStream=null},t.prototype.init=function(n){var t=n.workflows[1];t.addHandler(t.stepEvents.requestBegin,this.onRunWindowSizeRule,this)},t.prototype.onRunWindowSizeRule=function(t){n.Log.verbose(8,"onRunWindowSizeRule");t.currentModuleId=this._moduleId;var r=!1,i=this;return new Promise(function(u,f){var s,h;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void f("object is already disposed.");if(t.selectedTrack||!t.sessionContext.heuristicSettings.windowSizeHeuristicsEnabled||0!==t.requestedStream.type)return void u();if(t.requestedStream!==i._currentSelectedVideoStream&&(i._currentSelectedVideoStream=t.requestedStream,i._highestTrackIndexAllowed=0),t.sessionContext.heuristicSettings.useBrowserWindowForWindowSizeRule?(s=window.innerWidth,h=window.innerHeight):(s=Math.max(t.sessionContext.videoTag.scrollWidth,t.sessionContext.videoTag.width),h=Math.max(t.sessionContext.videoTag.scrollHeight,t.sessionContext.videoTag.height)),0===h||0===s)return n.Log.warning(8,"Ignoring window size heuristic rule, as one of the window dimensions is 0."),void u();(i._windowWidth!==s||i._windowHeight!==h)&&((i._windowWidth<s||i._windowHeight<h)&&(r=!0),i._windowWidth=s,i._windowHeight=h,i._highestTrackIndexAllowed=0);for(var o=t.heuristicData.tracksData,c=!1,l=0,a=0,e=i._highestTrackIndexAllowed;e<o.length;e++)o[e].selectable&&o[e].trackInfo.width>s&&o[e].trackInfo.height>h&&(c?o[e].trackInfo.width==l&&o[e].trackInfo.height==a?i._highestTrackIndexAllowed=e:o[e].selectable=!1:(c=!0,i._highestTrackIndexAllowed=e,l=o[e].trackInfo.width,a=o[e].trackInfo.height));c||(i._highestTrackIndexAllowed=o.length-1);r&&t.requestedStream.streamingInfo.lastDownloadedTrack&&o[i._highestTrackIndexAllowed].trackInfo.bitrate>t.requestedStream.streamingInfo.lastDownloadedTrack.bitrate&&t.sessionContext.eventMgr.dispatchEvent(n.InternalEventName.flushvideo);u()})},t}();t.WindowSizeRule=i}(n.Heuristics||(n.Heuristics={}));n.Heuristics}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i,r,u,f;!function(n){n[n.success=200]="success";n[n.notFound=404]="notFound";n[n.badGateway=502]="badGateway"}(i||(i={}));r=function(){function t(t){this._moduleId="httpDataRetriever";this._requestList=[];this._disposed=!1;this._bandwidthRequest=null;this._bandwidthData=new n.Heuristics.BandwidthTracker(t.heuristicSettings.bandwidth,t.decryptionTracker);t.videoBufferData.updateBandwidthTracker(this._bandwidthData)}return t.prototype.dispose=function(){for(;this._requestList.length>0;){var n=this._requestList.pop();n.request=null;n=null}this._bandwidthRequest=null;this._disposed=!0},t.prototype.init=function(n){var t=n.workflows[0],i=n.workflows[1];t.addHandler(t.stepEvents.requestBegin,this.onGetData,this);t.addHandler(t.stepEvents.requestEnd,this.onGetData,this);i.addHandler(i.stepEvents.requestBegin,this.onReportHeuristicData,this);i.addHandler(i.stepEvents.requestSend,this.onGetData,this)},t.prototype.onReportHeuristicData=function(t){n.Log.verbose(5,"onReportHeuristicData");t.currentModuleId=this._moduleId;var i=this;return new Promise(function(r,u){return i._disposed?(n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u("object is already disposed.")):0!==t.requestedStream.type?void r():(i._bandwidthData.reportHeuristicsData(t.heuristicData,n.StreamUtil.getSegmentDuration(t)),void r())})},t.prototype.getResponseHeaders=function(n,t){for(var r=t.sessionContext.headers||[],u={},i=0;i<r.length;i++)u[r[i]]=n.getResponseHeader(r[i]);return u},t.prototype.onGetData=function(t){n.Log.verbose(5,"onGetData");t.currentModuleId=this._moduleId;var i=this;return new Promise(function(r,e){function h(){var c,e,w,u,b;(n.assert(null!=t.urlsToRetrieve[o],"Failed to start the download as urlToRetrieve at index "+o+" is null"),n.assert(null!=t.urlsToRetrieve[o].url&&t.urlsToRetrieve[o].url.length>0,"Failed to start the download as urlToRetrieve at index "+o+" is empty"),t.requestedStream&&(t.requestedStream.streamingInfo.abortCurrentRequest=!1),i._bandwidthRequest&&i._bandwidthRequest.req.streamId===t.urlsToRetrieve[o].streamId&&i._bandwidthRequest.req.presTimeInSec===t.urlsToRetrieve[o].presTimeInSec)&&(c=t.heuristicData.tracksData.findFirst(function(n){return n.trackInfo.bitrate===i._bandwidthRequest.req.bitrate}),c&&i._bandwidthRequest.req.bitrate>=t.urlsToRetrieve[o].bitrate?2===t.urlsToRetrieve[o].requestType?i._bandwidthRequest.req.bitrate!==t.urlsToRetrieve[o].bitrate&&(n.Log.verbose(5,"Switching init segment request "+t.urlsToRetrieve[o].url+" to "+i._bandwidthRequest.req.bitrate),t.urlsToRetrieve[o].bitrate=i._bandwidthRequest.req.bitrate,t.urlsToRetrieve[o].url=n.Util.UrlFormatter.FormatDashInitUrl(t.requestedStream.initUrlTemplate,i._bandwidthRequest.req.bitrate.toString(),t.sessionContext.presentationQueryStr),t.selectedTrack=c.trackInfo):(n.Log.verbose(5,"Reusing bandwidth request "+i._bandwidthRequest.req.url),t.urlsToRetrieve[o].dispose(),t.urlsToRetrieve[o]=i._bandwidthRequest.req,1===t.workflowType&&n.StreamUtil.getBufferData(t).dispatchDownloadCompleted(s(o),i._bandwidthRequest.info,i._bandwidthRequest.headers),i._bandwidthRequest=null):(i._bandwidthRequest.req.dispose(),i._bandwidthRequest=null));0===t.urlsToRetrieve[o].responseType&&null!=t.urlsToRetrieve[o].mediaData||4===t.urlsToRetrieve[o].responseType&&null!=t.urlsToRetrieve[o].presentationData?(4===t.urlsToRetrieve[o].responseType&&null!=t.sessionContext.commonPresentation&&(e=t.sessionContext.httpDataRetrieverSettings,w=1e3*t.sessionContext.commonPresentation.maxSegmentDuration,e.timeoutInMSec=Math.max(e.timeoutInMSec,2*w),e.timeoutInMSec=Math.min(e.timeoutInMSec,e.maxTimeoutInMSec),n.Log.verbose(5,"Setting data retriever timeout: "+e.timeoutInMSec+" ms")),o++,o>=t.urlsToRetrieve.length?r():h()):(1===t.workflowType&&n.StreamUtil.getBufferData(t).dispatchDownloadRequested(s(o)),u=t.sessionContext.createXmlHttpRequest(),u.open("GET",t.urlsToRetrieve[o].url),u.onreadystatechange=a,u.onprogress=v,u.onload=y,u.onerror=l,u.ontimeout=p,u.onabort=l,0===t.urlsToRetrieve[o].responseType&&(u.responseType=n.Context.ResponseType[0]),u.msCaching&&(u.msCaching="disabled"),u.timeout=t.sessionContext.httpDataRetrieverSettings.timeoutInMSec,b=new f(t.urlsToRetrieve[o],u),t.requestedStream&&0==t.requestedStream.type&&t.selectedTrack?n.Log.verbose(5,"HeuristicInfo: SuggestedBr: "+t.selectedTrack.bitrate+" CurrentBw: "+Math.floor(1e3*i._bandwidthData.latestInKbps)+" AverageBw: "+Math.floor(1e3*i._bandwidthData.averageBandwidthInKbps)+" BufferSize: "+t.requestedStream.streamingInfo.sourceBuffer.getBufferedAheadOfCurrentTimeInSec()+" StreamType: "+n.Presentation.StreamType[t.requestedStream.type]+" StreamName: "+t.requestedStream.language+" Index: "+t.requestedStream.streamingInfo.currentSegment.segmentInfo.index+" TimeInMS: "+t.requestedStream.streamingInfo.currentSegment.segmentInfo.presTimeInSec+" MediaTimeStamp: "+t.requestedStream.streamingInfo.currentSegment.segmentInfo.mediaTimestamp+" Index: "+t.requestedStream.streamingInfo.currentSegment.segmentInfo.index+" Duration: "+(t.requestedStream.streamingInfo.currentSegment.segmentInfo.durationInSec||0)+" Url: "+t.urlsToRetrieve[o].url):0===t.workflowType&&n.Log.verbose(5,"Getting "+t.urlsToRetrieve[o].url),i._requestList.push(b),u.send())}function a(){var r=this,t;i._disposed||(t=i._requestList.findFirst(function(n){return n.request===r}),n.assert(null!=t,"cannot find the request in the request queue"),t.request.readyState>=XMLHttpRequest.HEADERS_RECEIVED&&!t.bandwidthInfo.responseStartTimeInMS&&(t.bandwidthInfo.responseStartTimeInMS=Date.now(),t.request.onreadystatechange=null))}function v(r){var h=this,f,u,e,o,s;if(!i._disposed&&(f=Date.now(),u=i._requestList.findFirst(function(n){return n.request===h}),n.assert(null!=u,"cannot find the request in the request queue"),!(n.Common.isSafari&&n.Common.isOSXElCapitanOrEarlier()&&u.getIsAbortInProgress()))){if(u.request.readyState>=XMLHttpRequest.HEADERS_RECEIVED&&!u.bandwidthInfo.responseStartTimeInMS&&(u.bandwidthInfo.responseStartTimeInMS=f),t.requestedStream&&t.requestedStream.streamingInfo.abortCurrentRequest&&u.request.readyState<4)return u.abortRequest(),void n.Log.verbose(5,"Aborting request: "+u.urlRequest.url);if(0===r.loaded&&(e=u.bandwidthInfo.responseStartTimeInMS,o=t.sessionContext.httpDataRetrieverSettings.noDataTimeoutInMSec,f-e>o))return u.abortRequest(),void n.Log.verbose(5,"Aborting request after timeout with no data received: "+u.urlRequest.url);3===u.urlRequest.requestType&&(e=u.bandwidthInfo.responseStartTimeInMS,o=t.sessionContext.httpDataRetrieverSettings.initBandwidthTimeoutInMSec,f-e>o&&(u.bandwidthInfo.responseLengthInBytes=r.loaded,u.bandwidthInfo.responseEndTimeInMS=f,s=t.sessionContext&&t.sessionContext.commonPresentation&&t.sessionContext.commonPresentation.isLive,i._bandwidthData.updateBandwidthInfo(u.bandwidthInfo,s,u.urlRequest,t),u.abortRequest(),n.Log.verbose(5,"Aborting init bandwidth request due to timeout: "+u.urlRequest.url)))}}function y(){var a=this,f,e,l,v;if(!i._disposed)if(f=i._requestList.findFirst(function(n){return n.request===a}),n.assert(null!=f,"cannot find the request in the request queue"),f.bandwidthInfo.responseEndTimeInMS=Date.now(),e=t.urlsToRetrieve.indexOf(f.urlRequest),t.urlsToRetrieve[e].httpResposeContentType=this.getResponseHeader("Content-Type"),t.urlsToRetrieve[e].httpResponseCode=this.status,200===this.status){switch(i._requestList.removeFirst(function(n){return n.request===a}),f.urlRequest.responseType){case 0:t.urlsToRetrieve[e].mediaData=this.response;f.bandwidthInfo.responseLengthInBytes=t.urlsToRetrieve[e].mediaData.byteLength;l=i.getResponseHeaders(this,t);1===t.workflowType?n.StreamUtil.getBufferData(t).dispatchDownloadCompleted(s(e),f.bandwidthInfo,l):(i._bandwidthRequest=new u(t.urlsToRetrieve[e].clone(),f.bandwidthInfo,l),i._bandwidthRequest.req.requestType=1);break;case 4:t.urlsToRetrieve[e].presentationData=this.response;f.bandwidthInfo.responseLengthInBytes=t.urlsToRetrieve[e].presentationData.length;break;default:n.assert(!1,"Unexpected response Type in the request Context")}if((n.Log.verbose(5,"Download Finished for :"+f.urlRequest.url),t.requestedStream)&&(v=t.sessionContext&&t.sessionContext.commonPresentation&&t.sessionContext.commonPresentation.isLive,i._bandwidthData&&0===t.requestedStream.type&&i._bandwidthData.updateBandwidthInfo(f.bandwidthInfo,v,f.urlRequest,t),t.requestedStream.streamingInfo.lastDownloadedTrack=t.selectedTrack),o++,o>=t.urlsToRetrieve.length)return void r();h()}else n.Log.error(5,f.urlRequest.url+" failed, httpStatus: "+this.status),c.call(this,n.Failure.translateHttpStatusToCode(this.status))}function l(n){if(!i._disposed){var t=2097152;"error"===n.type?t=2097753:"abort"===n.type&&(t=2097754);c.call(this,t,"http: "+n.type)}}function p(r){var e=this,u,f;i._disposed||(u=i._requestList.findFirst(function(n){return n.request===e}),(n.assert(null!=u,"cannot find the request in the request queue"),r.loaded&&1===u.urlRequest.requestType)&&(f=t.sessionContext&&t.sessionContext.commonPresentation&&t.sessionContext.commonPresentation.isLive,u.bandwidthInfo.responseLengthInBytes=r.loaded,u.bandwidthInfo.responseEndTimeInMS=Date.now(),i._bandwidthData.updateBandwidthInfo(u.bandwidthInfo,f,u.urlRequest,t)),c.call(this,2097752,"http timed out"))}function c(u,f){var w=this,o=i._requestList.removeFirst(function(n){return n.request===w}),a,v,h,y,p,c,l;!n.Common.isFirefox&&n.Common.isSafari&&n.Common.isOSXElCapitanOrEarlier()||n.assert(null!=o,"cannot find the request in the request queue");a=!1;t.requestedStream&&t.requestedStream.streamingInfo.abortCurrentRequest&&(t.requestedStream.streamingInfo.abortCurrentRequest=!1,a=!0);v=null!=o?o.urlRequest.url:"no details info";f&&(v+=", "+f);h=new n.Failure.Record(t.currentModuleId,u,v);(n.Log.error(5,h.toString()),null!=o)&&(t.requestedStream?(-1!==t.urlsToRetrieve.findIndexOf(function(n){return 2===n.requestType})&&(t.requestedStream.streamingInfo.fetchInitSegment=!0),y=t.urlsToRetrieve.indexOf(o.urlRequest),(1===t.workflowType&&n.StreamUtil.getBufferData(t).dispatchDownloadFailed(s(y),u,f),2097556===u&&t.sessionContext.commonPresentation.isLive&&t.requestedStream.streamingInfo&&t.requestedStream.streamingInfo.currentSegment&&!t.requestedStream.streamingInfo.currentSegment.next)?(c=t.requestedStream.streamingInfo.currentSegment.segmentInfo,l=c?c.presTimeInSec:null,t.requestedStream.streamingInfo.currentSegment=t.requestedStream.streamingInfo.currentSegment.prev,t.failTracker.reset(),n.Log.verbose(5,"hit past live edge with 404: "+(f?f+", ":"")+"presTimeInSec: "+l+" "+o.urlRequest.url),t.externalFailure=h,e()):2097564===u&&t.sessionContext.commonPresentation.isLive&&t.requestedStream.streamingInfo&&t.requestedStream.streamingInfo.currentSegment&&!t.requestedStream.streamingInfo.currentSegment.next?(t.state=2,t.retryWaitTimeMSec=t.sessionContext.httpRetryPolicySettings.retryMediaInMSec,t.failTracker.log(h,t.selectedTrack),p=t.sessionContext.httpDataRetrieverSettings.liveEdgeAdjustmentInSec,t.sessionContext.commonPresentation.adjustPlayableWindow(p),c=t.requestedStream.streamingInfo.currentSegment.segmentInfo,l=c?c.presTimeInSec:null,n.Log.verbose(5,"hit past live edge with 412: "+(f?f+", ":"")+"presTimeInSec: "+l+" "+o.urlRequest.url),r()):(0!==t.workflowType&&o&&o.urlRequest&&3!==o.urlRequest.requestType&&(t.state=2,t.failTracker.log(h,t.selectedTrack),t.failTracker.noDataReceivedFailure=!o.bandwidthInfo.responseLengthInBytes,t.retryWaitTimeMSec=t.failTracker.isLastServerError()?t.sessionContext.httpRetryPolicySettings.retryMediaServerErrorInMSec:2097753===u?t.sessionContext.httpRetryPolicySettings.retryDueToNetworkErrorInMSec:0),n.Log.error(5,"failed to download: "+(f?f+", ":"")+o.urlRequest.url),r())):0!==t.workflowType||2097556!==u&&2097752!==u&&2097753!==u?(t.externalFailure=h,n.Log.error(5,"failed to download: "+(f?f+", ":"")+o.urlRequest.url),e()):(t.state=2,t.retryWaitTimeMSec=2097556===u?t.sessionContext.httpRetryPolicySettings.retryPresentationInMSec:2097753===u?t.sessionContext.httpRetryPolicySettings.retryDueToNetworkErrorInMSec:0,t.failTracker.log(h),n.Log.error(5,"failed to download: "+(f?f+", ":"")+o.urlRequest.url),r()));a&&t.failTracker.reset()}function s(i){var r=t.urlsToRetrieve[i],f=t.requestedStream.presentationTimeOffsetInSec,u=t.requestedStream.streamingInfo.currentSegment.segmentInfo,e=2===r.requestType?null:u.mediaTimestamp/u.timescale;return new n.Context.MediaDownload(r.url,t.selectedTrack.bitrate,e,r.mediaData,f,u.timescale)}if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void e("object is already disposed.");n.assert(0!==t.urlsToRetrieve.length,"Failed to start the download as urlsToRetrieve is empty.");var o=0;h()})},t}();t.HttpDataRetriever=r;u=function(){function n(n,t,i){this.req=n;this.info=t;this.headers=i}return n}();f=function(){function t(t,i){this.urlRequest=t;this.request=i;this.bandwidthInfo=new n.Heuristics.BandwidthInfo;this.abortStarted=!1}return t.prototype.abortRequest=function(){this.abortStarted=!0;this.request.abort()},t.prototype.getIsAbortInProgress=function(){return this.abortStarted},t}()}(n.DataRetriever||(n.DataRetriever={}));n.DataRetriever}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i,r;!function(n){n[n.noRetry=0]="noRetry";n[n.nextTrack=1]="nextTrack";n[n.nextTrackDown=2]="nextTrackDown";n[n.nextSegment=3]="nextSegment";n[n.same=4]="same"}(i||(i={}));r=function(){function t(){this._moduleId="httpRetryPolicy";this._disposed=!1}return t.prototype.dispose=function(){this._disposed||(this._disposed=!0)},t.prototype.init=function(n){var i=n.workflows[0],t=n.workflows[1];i.addHandler(t.stepEvents.requestBegin,this.onPresentationRetry,this);t.addHandler(t.stepEvents.requestBegin,this.onMediaRetry,this)},t.prototype.onPresentationRetry=function(t){var r=this;return n.Log.verbose(5,"onPresentationRetry"),t.currentModuleId=this._moduleId,new Promise(function(u,f){var e,s,o;if(r._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void f("object is already disposed.");if(e=t.failTracker,s=t.sessionContext.httpRetryPolicySettings,e.isNone())return void u();o=r._getAction(0,s,t);switch(o){case 0:return t.externalFailure=e.lastFailure,n.Log.verbose(5,"onPresentationRetry: noRetry, "+t.urlsToRetrieve[0].url),void f();case 4:e.sameRequestRetried++;break;default:throw new Error("unexpected retry action: "+o);}e.totalRetried++;n.Log.verbose(5,"onPresentationRetry: "+i[o]+" URL: "+t.urlsToRetrieve[0].url);u()})},t.prototype.onMediaRetry=function(t){var r=this;return n.Log.verbose(5,"onMediaRetry"),t.currentModuleId=this._moduleId,new Promise(function(u,f){var s,l,h;if(r._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void f("object is already disposed.");if(!t.requestedStream)return void u();var e=t.failTracker,o=t.requestedStream.streamingInfo,c=t.sessionContext.httpRetryPolicySettings;if(e.isNone()||null!==o.pendingSeekPositionInSec)return void u();0===e.totalRetried&&(e.tracksToTry=r._createTrackToTry(c,t.requestedStream,e.lastTrack));s=r._getAction(1,c,t);switch(s){case 0:return t.externalFailure=e.lastFailure,n.Log.verbose(5,"onMediaRetry: noRetry,mediaTimestamp: "+o.currentSegment.segmentInfo.mediaTimestamp),void f();case 1:case 2:e.sameRequestRetried++;t.selectedSegment=o.currentSegment;h=e.trackToTryIdx<e.tracksToTry.length-1?e.trackToTryIdx+1:0;l=e.tracksToTry[h];(1===s||l.bitrate<e.lastTrack.bitrate)&&(e.trackToTryIdx=h);t.selectedTrack=e.tracksToTry[e.trackToTryIdx];break;case 3:if(!o.currentSegment.next)return t.externalFailure=e.lastFailure,n.Log.verbose(5,"onRetry: noRetry, EOS mediaTimestamp: "+o.currentSegment.segmentInfo.mediaTimestamp),void f();o.currentSegment=o.currentSegment.next;e.segmentsSkipped++;e.resetForSegment();t.selectedSegment=o.currentSegment;t.selectedTrack=e.tracksToTry[0];break;case 4:e.sameRequestRetried++;t.selectedSegment=o.currentSegment;t.selectedTrack=e.tracksToTry[0];break;default:throw new Error("unexpected retry action: "+s);}e.totalRetried++;n.Log.verbose(5,"onRetry: "+i[s]+" bitrate: "+t.selectedTrack.bitrate+" mediaTimestamp: "+t.selectedSegment.segmentInfo.mediaTimestamp);u()})},t.prototype._getAction=function(n,t,i){var u=0,f=!1,r=i.failTracker,e;return(i.sessionContext&&i.sessionContext.commonPresentation&&(f=i.sessionContext.commonPresentation.isLive),0===n)?u=r.sameRequestRetried>=t.maxRetryPresentation?0:4:r.totalRetried>=t.maxTotalRetries||r.segmentsSkipped>=t.maxSkipSegments&&(r.trackToTryIdx>=r.tracksToTry.length-1||r.sameRequestRetried>=t.maxRetryPerSegment)?u=0:r.isLastNotFound()||r.isLastNotReady()&&f&&!this._isLiveEdge(i)?u=r.trackToTryIdx<r.tracksToTry.length-1&&r.sameRequestRetried<t.maxRetryPerSegment?1:3:f&&this._isLiveEdge(i)&&r.isLastNotReady()?(u=4,r.sameRequestRetried>=t.maxRetryPerSegment&&(u=0)):r.isLastServerError()?u=1:r.isLastNetworkFail()?(e=f&&this._isLiveEdge(i)&&r.isLastNetworkDown()?3*t.maxRetryPerSegment:t.maxRetryPerSegment,u=r.sameRequestRetried<e?r.noDataReceivedFailure?4:2:3):u=0,u},t.prototype._isLiveEdge=function(n){var t;return!n.requestedStream||!n.requestedStream.streamingInfo?!1:(t=n.requestedStream.streamingInfo.currentSegment,t&&!t.next?!0:!1)},t.prototype._createTrackToTry=function(n,t,i){var u=[],f=t.tracks.indexOf(i),e=t.tracks.length,r;for(u.push(t.tracks[f]),r=f-1;r>=0;r--)t.tracks[r].streamingInfo.selectable&&u.push(t.tracks[r]);if(!n.retryLowerBitrateOnly)for(r=f+1;e>r;r++)t.tracks[r].streamingInfo.selectable&&u.push(t.tracks[r]);return u},t}();t.HttpRetryPolicy=r}(n.DataRetriever||(n.DataRetriever={}));n.DataRetriever}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i,r;!function(n){n[n.success=200]="success";n[n.notFound=404]="notFound";n[n.badGateway=502]="badGateway"}(i||(i={}));r=function(){function t(){this._moduleId="InitialBandwidthDataUrlFormatter";this._disposed=!1}return t.prototype.dispose=function(){this._disposed=!0},t.prototype.init=function(n){var t=n.workflows[0];t.addHandler(t.stepEvents.requestEnd,this.onPreFetchUrlFormat,this)},t.prototype.onPreFetchUrlFormat=function(t){n.Log.verbose(6,"OnPreFetchUrlFormat");t.currentModuleId=this._moduleId;var i=this;return new Promise(function(r,u){var c,f,e,s,o,h,l,a;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u("object is already disposed.");if(!t.sessionContext.heuristicSettings.preFetchDataEnabled||(c=t.sessionContext.commonPresentation.periods[0].streams,f=c.findFirst(function(n){return 0===n.type}),t.requestedStream=f,!t.requestedStream))return void r();if(e=i.getBitrate(t),!e)throw new Error("bitrate of video track not set in presentation");if(s=t.requestedStream.mediaUrlTemplate,!s)throw new Error("media url template is not set for the video stream");h=f.segments;o=t.sessionContext.commonPresentation.isLive?h.last.segmentInfo:h.first.segmentInfo;l=n.Util.UrlFormatter.FormatDashMediaUrl(s,e.toString(),o.mediaTimestampStr,t.sessionContext.presentationQueryStr);a=new n.Context.UrlRequest(l,3,0,f.id,e,o.presTimeInSec,o.durationInSec);t.urlsToRetrieve.push(a);t.sessionContext.heuristicSettings.preFetchDataEnabled=!1;r()})},t.prototype.getBitrate=function(n){var u=Math.max(n.sessionContext.videoTag.scrollWidth,n.sessionContext.videoTag.width),f=Math.max(n.sessionContext.videoTag.scrollHeight,n.sessionContext.videoTag.height),r=0,i,s;if(f>0&&u>0){for(var t=n.requestedStream.tracks,e=0,o=0,i=0;i<t.length;i++)if(t[i].selectable&&(!r&&t[i].width>u&&t[i].height>f||r&&e===t[i].width&&o===t[i].height))r=t[i].bitrate,e=t[i].width,o=t[i].height;else if(r)break;if(0==r){for(i=t.length-1;i>=0&&t[i].selectable&&(t[i].width>u||t[i].height>f);i--)r=t[i].bitrate;0==r&&t.length>0&&(r=t[t.length-1].bitrate)}}return 0==r&&(n.sessionContext.heuristicSettings.preFetchDataMiddle?(s=Math.round(n.requestedStream.tracks.length/2)-1,r=n.requestedStream.tracks[s].bitrate):r=n.requestedStream.tracks[0].bitrate),r},t}();t.InitialBandwidthDataUrlFormatter=r}(n.Heuristics||(n.Heuristics={}));n.Heuristics}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="streamSelector";this._disposed=!1;this._initial=!0}return t.prototype.dispose=function(){this._disposed=!0},t.prototype.init=function(n){var t=n.workflows[0];t.addHandler(t.stepEvents.requestEnd,this.onSelectStreams,this)},t.prototype.onSelectStreams=function(t){var i=this;return t.currentModuleId=this._moduleId,new Promise(function(r,u){var o=!1,s=!1,f=t.sessionContext.commonPresentation,e;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u("Disposed");if(!i._initial)return void r();if(!f)throw new Error("CommonPresentation is empty");for(f.periods[0].streams.forEach(function(n){n.streamingInfo.selected=!1}),e=f.periods[0].streams.length-1;e>=0;e--)0!==f.periods[0].streams[e].type||o?1!==f.periods[0].streams[e].type||s||(s=!0,f.periods[0].streams[e].streamingInfo.selected=!0):(o=!0,f.periods[0].streams[e].streamingInfo.selected=!0);return o&&s?(i._initial=!1,void r()):(n.Failure.attachFailureToRequest(t,t.currentModuleId,4194307),void u("Video or audio streams not found"))})},t}();t.InitialStreamSelector=i}(n.Presentation||(n.Presentation={}));n.Presentation}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var r=function(){function n(n,t,i,r,u){this.index=n;this._timescale=u;this._presentationOffset=r;this._mediaTimestampStr=t;this._mediaTimestamp=parseInt(t);this._presTimeInSec=(this._mediaTimestamp+r)/u;i&&(this._mediaDuration=i,this._durationInSec=i/u)}return Object.defineProperty(n.prototype,"timescale",{get:function(){return this._timescale},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"presentationOffset",{get:function(){return this._presentationOffset},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mediaTimestampStr",{get:function(){return this._mediaTimestampStr},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mediaTimestamp",{get:function(){return this._mediaTimestamp},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mediaDuration",{get:function(){return this._mediaDuration},set:function(n){this._mediaDuration=n;this._durationInSec=n/this._timescale},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"presTimeInSec",{get:function(){return this._presTimeInSec},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"durationInSec",{get:function(){return this._durationInSec},enumerable:!0,configurable:!0}),n.prototype.update=function(n,t){n&&(this.index+=n);this._presentationOffset!==t&&(this._presentationOffset=t,this._presTimeInSec=(this._mediaTimestamp+t)/this._timescale)},n}(),f,i,e,u,o,s,h,c,l,a;t.MediaSegmentInfo=r;f=function(){function n(n,t,i,u,f,e){this.firstSegment=new r(n,t,i,u,f);this.repeat=e;this.containerIndex=NaN}return n}();t.SegmentRunEntry=f;i=function(){function t(t,i,u){this._container=t;this._pubTime=t.pubTime;this._runEntry=i;this._runEntryRepeatPosition=u;var f=i.firstSegment.mediaTimestampStr;u&&(f=n.Timestamp.add(f,u*i.firstSegment.mediaDuration));this.segmentInfo=new r(i.firstSegment.index+u,f,i.firstSegment.mediaDuration,t.presentationTimeOffset,t.timescale)}return t.prototype.dispose=function(){this.segmentInfo=null;this._container=null;this._pubTime=null;this._runEntry=null;this._runEntryRepeatPosition=NaN},Object.defineProperty(t.prototype,"next",{get:function(){var i,r,u;if(this._updateIterator(),isNaN(this._runEntryRepeatPosition))return null;if(i=this._runEntry,r=0,this._runEntryRepeatPosition+1>this._runEntry.repeat){if(u=this._runEntry.containerIndex+1,!(u<this._container.segmentTable.length))return n.Log.verbose(4,"Cannot get next iterator"),null;i=this._container.segmentTable[u]}else r=this._runEntryRepeatPosition+1;return new t(this._container,i,r)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prev",{get:function(){var u,i,r;if(this._updateIterator(),isNaN(this._runEntryRepeatPosition))return null;if(i=this._runEntry,0===this._runEntryRepeatPosition){if(r=this._runEntry.containerIndex-1,!(r>=0&&r<this._container.segmentTable.length))return n.Log.warning(4,"Cannot get previous iterator"),null;i=this._container.segmentTable[r];u=i.repeat}else u=this._runEntryRepeatPosition-1;return new t(this._container,i,u)},enumerable:!0,configurable:!0}),t.prototype._updateIterator=function(){var i,t,r,u;if(this._container.pubTime.getTime()>this._pubTime.getTime()){for(this._pubTime=this._container.pubTime,i=this._runEntry.containerIndex,t=this._container.segmentTable[i];!t&&i>0;)i--,t=this._container.segmentTable[i];if(t){if(t.firstSegment.index<=this.segmentInfo.index&&this.segmentInfo.index<=t.firstSegment.index+t.repeat)return this._runEntry=t,this._runEntryRepeatPosition=this.segmentInfo.index-t.firstSegment.index,void this._updateInfo();if(this.segmentInfo.index>t.firstSegment.index+t.repeat&&this._container.segmentTable.length>i+1&&(r=this._container.segmentTable[i+1],this.segmentInfo.index<=r.firstSegment.index+r.repeat))return this._runEntry=r,this._runEntryRepeatPosition=this.segmentInfo.index-r.firstSegment.index,void this._updateInfo()}if(u=this._container.getByIndex(this.segmentInfo.index),!u)return n.Log.warning(4,"Referenced segment not found in presentation, disposing iterator"),void this.dispose();this._runEntry=u._runEntry;this._runEntryRepeatPosition=u._runEntryRepeatPosition;this._updateInfo()}},t.prototype._updateInfo=function(){var t=this._container.getByIndex(this.segmentInfo.index),n;t&&(n=t.segmentInfo,(this.segmentInfo.mediaTimestampStr!==n.mediaTimestampStr||this.segmentInfo.mediaDuration!==n.mediaDuration)&&(this.segmentInfo=new r(n.index,n.mediaTimestampStr,n.mediaDuration,n.presentationOffset,n.timescale)))},t}();t.MediaSegmentInfoIterator=i;e=function(){function r(n,t,i,r){this.maxSegmentDuration=0;this.timescale=n;this.presentationTimeOffset=t;this.pubTime=i;this.segmentTable=[];this._isLive=r}return r.prototype.dispose=function(){this.segmentTable.length=0},Object.defineProperty(r.prototype,"first",{get:function(){var n=null;return this.segmentTable.length>0&&(n=new i(this,this.segmentTable[0],0)),n},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"last",{get:function(){var n,t=null;return this.segmentTable.length>0&&(n=this.segmentTable[this.segmentTable.length-1],t=new i(this,n,n.repeat)),t},enumerable:!0,configurable:!0}),r.prototype.addMediaSegmentRun=function(t){var i=null,r=0,u;this.segmentTable.length>0&&(i=this.segmentTable[this.segmentTable.length-1],r=i.firstSegment.mediaTimestamp+i.firstSegment.mediaDuration*(i.repeat+1),u=n.Common.timestampDeltaThreshold*this.timescale,r-t.firstSegment.mediaTimestamp>u&&(n.Log.error(4,"Cannot add segment with timestamp "+t.firstSegment.mediaTimestamp+" to middle of table ["+this.segmentTable[0].firstSegment.mediaTimestamp+","+r+"]"),t=null));t&&(t.containerIndex=this.segmentTable.length,this.segmentTable.push(t),this.maxSegmentDuration=Math.max(this.maxSegmentDuration,t.firstSegment.durationInSec||0),n.Log.verbose(4,"Added segment with idx="+t.firstSegment.index+" mt="+t.firstSegment.mediaTimestamp+" pt="+t.firstSegment.presTimeInSec.toFixed(7)+" r="+t.repeat+(t.firstSegment.durationInSec?" d="+t.firstSegment.durationInSec.toFixed(7):"")))},r.prototype.addMediaSegmentInfo=function(n,i,r,u,f){var e;if(this.segmentTable.length>0&&NaN===this.segmentTable[this.segmentTable.length-1].firstSegment.mediaDuration)throw new Error("Failed to add segment: previous entry doesn't have duration");e=new t.SegmentRunEntry(n,i,r,u,f,0);this.addMediaSegmentRun(e)},r.prototype.updateSegmentDuration=function(t,i){var r,u;if(0===this.segmentTable.length)return!1;if(r=this.segmentTable[this.segmentTable.length-1],r.firstSegment.presTimeInSec!==t){if(u=n.Common.binarySearch(t,this.segmentTable,this._compareTimestampInSec),-1===u)return n.Log.verbose(4,"Failed to update segment duration, run entry with presentation time "+t+" not found"),!1;r=this.segmentTable[u]}return r.firstSegment.mediaDuration!==i&&(n.assert(!r.firstSegment.mediaDuration&&0===r.repeat,"Failed to update segment duration, run entry (s:"+r.firstSegment.presTimeInSec+" d:"+r.firstSegment.durationInSec+" r:"+r.repeat+") cannot be overwritten by segment (s:"+t+" d:"+i/this.timescale+")"),r.firstSegment.mediaDuration=i),this.maxSegmentDuration=Math.max(this.maxSegmentDuration,r.firstSegment.durationInSec||0),!0},r.prototype.getByIndex=function(t){var r,u=null,f,e;return 0===this.segmentTable.length?null:((r=n.Common.binarySearch(t,this.segmentTable,this._compareIndex),-1!==r)&&(f=this.segmentTable[r],e=t-f.firstSegment.index,u=new i(this,f,e)),u||n.Log.verbose(4,"Entry with index "+t+" not found"),u)},r.prototype.getBySegmentStartTime=function(t,r){var e,o=null,u,f,s;if(0===this.segmentTable.length)return null;if(r||(r=n.Common.timestampDeltaThreshold),Math.abs(t-this.segmentTable[0].firstSegment.presTimeInSec)<r)return this.first;if(e=n.Common.binarySearch(t,this.segmentTable,this._compareTimestampInSec),-1!==e){if(u=this.segmentTable[e],f=0,n.Common.diffTimes(t,u.firstSegment.presTimeInSec)&&(f=Math.round((t-u.firstSegment.presTimeInSec)/u.firstSegment.durationInSec)||0),f>u.repeat){if(!(e+1<this.segmentTable.length))return n.Log.verbose(4,"Cannot find match for "+t),null;u=this.segmentTable[e+1];f=0}if(s=u.firstSegment.presTimeInSec+f*u.firstSegment.durationInSec,Math.abs(t-s)>r)return n.Log.verbose(4,"Cannot find match within error range for "+t),null;o=new i(this,u,f)}return o},r.prototype.getByInSegmentTimestamp=function(t){var r,f=null,e,u;return 0===this.segmentTable.length?null:((r=n.Common.binarySearch(t,this.segmentTable,this._compareTimestampInSec),-1===r&&this._isLive&&t<this.segmentTable[0].firstSegment.presTimeInSec&&(n.Log.verbose(4,"Live presentation requested time "+t+" is ahead of the first segment time "+this.segmentTable[0].firstSegment.presTimeInSec+" seeking to the first segment!"),r=0),-1!==r)&&(u=this.segmentTable[r],e=Math.floor(Math.abs(t-u.firstSegment.presTimeInSec)/u.firstSegment.durationInSec),f=new i(this,u,e)),f||n.Log.verbose(4,"Entry including timestamp "+t+" not found"),f)},r.prototype.getByInDiscontinuityTimestamp=function(t){var r,u=null;return 0===this.segmentTable.length?null:(r=n.Common.binarySearchInGaps(t,this.segmentTable,this._compareTimestampInSecInGaps),-1!==r&&(u=new i(this,this.segmentTable[r],0)),u||n.Log.verbose(4,"Discontinuity including timestamp "+t+" not found"),u)},r.prototype.update=function(t){var o=this,r=t,i=null,f=0;if(!(r.pubTime.getTime()<=this.pubTime.getTime())){if(this.pubTime=r.pubTime,i=this.getBySegmentStartTime(r.first.segmentInfo.presTimeInSec),i&&i.segmentInfo.index!==r.first.segmentInfo.index){if(f=i.segmentInfo.index,n.Common.diffTimes(r.first.segmentInfo.presTimeInSec,i.segmentInfo.presTimeInSec))throw new Error("Segment mismatch during container update");n.Log.verbose(4,"Segment index offset="+f)}if(r._isLive){var u=r.last.segmentInfo,s=u.index,e=u.mediaTimestamp+u.mediaDuration;for(i=this.getBySegmentStartTime(u.presTimeInSec);e&&i&&i.next&&(i=i.next,!(i.segmentInfo.mediaTimestamp<e));)u=i.segmentInfo,e=u.mediaTimestamp+u.mediaDuration,r.addMediaSegmentInfo(++s,u.mediaTimestampStr,u.mediaDuration,u.presentationOffset,u.timescale)}this._isLive=r._isLive;this.segmentTable.length=0;r.segmentTable.forEach(function(n){n.firstSegment.update(f,o.presentationTimeOffset);o.segmentTable.push(n)});this.maxSegmentDuration=r.maxSegmentDuration}},r.prototype._compareTimestampInSec=function(t,i){var r=0;return n.Common.diffTimes(t,i.firstSegment.presTimeInSec)>0?r=-1:n.Common.diffTimes(t,i.firstSegment.presTimeInSec)&&n.Common.diffTimes(t,i.firstSegment.presTimeInSec+(i.repeat+1)*(i.firstSegment.durationInSec||0))<=0&&(r=1),r},r.prototype._compareIndex=function(n,t){var i=0;return n<t.firstSegment.index?i=-1:n>=t.firstSegment.index+(t.repeat+1)&&(i=1),i},r.prototype._compareTimestampInSecInGaps=function(n,t,i){var r=0,u=t.firstSegment.presTimeInSec+(t.repeat+1)*(t.firstSegment.durationInSec||0),f=i.firstSegment.presTimeInSec;return u>n?r=-1:n>=f&&(r=1),r},r}();t.MediaSegmentInfoContainer=e,function(n){n[n.needsToBeScheduled=0]="needsToBeScheduled";n[n.inProgress=1]="inProgress";n[n.endOfStream=2]="endOfStream"}(t.WorkflowState||(t.WorkflowState={}));u=(t.WorkflowState,function(){function n(){this.forge=null;this.webCrypto=null}return n.prototype.dispose=function(){this.forge=null;this.webCrypto=null},n}());t.AesInfo=u;o=function(){function n(){this.selected=!1;this.fetchInitSegment=!0;this.currentSegment=null;this.pendingSeekPositionInSec=null;this.abortCurrentRequest=!1;this.workflowState=0;this.sourceBuffer=null;this.lastDownloadedTrack=null;this.aes=new u;this.flushStream=!1}return n.prototype.dispose=function(){this.currentSegment=null;this.sourceBuffer&&(this.sourceBuffer.dispose(),this.sourceBuffer=null);this.lastDownloadedTrack=null;this.aes&&(this.aes.dispose(),this.aes=null)},n}();t.MediaStreamStreamingInfo=o;s=function(){function n(){this.selectable=!0}return n}();t.MediaTrackStreamingInfo=s;h=function(){function n(n,t){var i,r;for(this._streams=[],i=0;i<t.length;i++)0==t[i].type&&(r=new c(n,t[i]),this._streams.push(r))}return n.prototype.dispose=function(){for(var n=0;n<this._streams.length;n++)this._streams[n].dispose();this._streams=[]},Object.defineProperty(n.prototype,"streams",{get:function(){return this._streams},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndex",{get:function(){for(var t=-1,n=0;n<this._streams.length;n++)if(this._streams[n].commonStream.streamingInfo.selected){t=n;break}return t},enumerable:!0,configurable:!0}),n}();t.VideoStreamList=h;c=function(){function t(t,i){this._commonStream=i;this._eventMgr=new n.Events.Manager(t.azureHtml5,!1);this._sessionContext=t}return t.prototype.dispose=function(){this._commonStream=null;this._sessionContext=null;this._eventMgr&&(this._eventMgr.dispose(),this._eventMgr=null)},Object.defineProperty(t.prototype,"codec",{get:function(){return this._commonStream.codec},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._commonStream.id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tracks",{get:function(){return this._commonStream.tracks},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"commonStream",{get:function(){return this._commonStream},enumerable:!0,configurable:!0}),t.prototype.selectTrackByIndex=function(t){var r=!1,i,u;for((-1>t||t>=this._commonStream.tracks.length)&&(n.Log.warning(7,"selectTrackByIndex: "+t+" switching back to auto track selection"),t=-1),n.Log.verbose(7,"selectTrackByIndex: "+t),i=0;i<this._commonStream.tracks.length;i++)u=this._commonStream.tracks[i].streamingInfo.selectable,this._commonStream.tracks[i].streamingInfo.selectable=-1===t||i===t?!0:!1,u!=this._commonStream.tracks[i].streamingInfo.selectable&&(r=!0);r&&(this.commonStream.streamingInfo.flushStream=!0,this._eventMgr.dispatchEvent(n.StreamEventName.trackselected),this._sessionContext.eventMgr.dispatchEvent(n.InternalEventName.flushvideo))},t.prototype.addEventListener=function(n,t,i){this._eventMgr.addHandler(n,t,i)},t.prototype.removeEventListener=function(n,t){this._eventMgr.removeHandler(n,t)},t}();l=function(){function t(t,i){var r,u;for(this._streams=[],r=0;r<i.length;r++)1==i[r].type&&(u=new a(t,i[r]),this._streams.push(u));this._eventMgr=new n.Events.Manager(t.azureHtml5,!1);this._sessionContext=t}return t.prototype.dispose=function(){for(var n=0;n<this._streams.length;n++)this._streams[n].dispose();this._sessionContext=null;this._eventMgr&&(this._eventMgr.dispose(),this._eventMgr=null);this._streams=[]},Object.defineProperty(t.prototype,"streams",{get:function(){return this._streams},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabledIndices",{get:function(){for(var t=[],n=0;n<this._streams.length;n++)if(this._streams[n].enabled){t.push(n);break}return t},enumerable:!0,configurable:!0}),t.prototype.switchIndex=function(t){var i,r,u,f;if(1!=this.enabledIndices.length)return n.Log.error(7,"switchIndex failed - only single stream supported: "+this.enabledIndices.length+" streams enabled"),void this._eventMgr.dispatchEvent(n.StreamListEventName.streamselectnotsupported);if(t>=this.streams.length||0>t)return n.Log.error(7,"audioChange failed - tried to enable invalid index: "+t),void this._eventMgr.dispatchEvent(n.StreamListEventName.streamindexinvalid);if(i=this._streams[this.enabledIndices[0]],r=this._streams[t],t===this.enabledIndices[0])return n.Log.verbose(7,"audioChange failed because current stream selected"),void this._eventMgr.dispatchEvent(n.StreamListEventName.streamselected);this._switchEnabledIndex(t);u=this._sessionContext.videoTag.currentTime;f=this._sessionContext.prerollBufferInSec();r.swapBuffersAndCleanUp(i,u,f);this._eventMgr.dispatchEvent(n.StreamListEventName.streamselected)},t.prototype.addEventListener=function(n,t,i){this._eventMgr.addHandler(n,t,i)},t.prototype.removeEventListener=function(n,t){this._eventMgr.removeHandler(n,t)},t.prototype._switchEnabledIndex=function(t){n.assert(1==this.enabledIndices.length,"Current implementation only allows one enabled stream at a time");var i=this.enabledIndices[0];this._streams[i].enabled=!1;this._streams[t].enabled=!0},t}();t.AudioStreamList=l;a=function(){function t(n,t){this._commonStream=t}return t.prototype.dispose=function(){this._commonStream=null},Object.defineProperty(t.prototype,"enabled",{get:function(){return this._commonStream.streamingInfo.selected},set:function(n){this._commonStream.streamingInfo.selected=n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){var t=this._commonStream.mediaUrlTemplate.toLowerCase(),i="fragments(",r=t.indexOf(i),u=t.indexOf("=",r);return n.assert(u>r+i.length,"mediaUrlTemplate ("+t+") did not follow expected schema"),this._commonStream.mediaUrlTemplate.substring(r+i.length,u)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"language",{get:function(){return this._commonStream.language},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"codec",{get:function(){return this._commonStream.codec},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this._commonStream.tracks[0].bitrate},enumerable:!0,configurable:!0}),t.prototype.swapBuffersAndCleanUp=function(n,t,i){if(n._commonStream.streamingInfo.sourceBuffer){this._commonStream.streamingInfo.sourceBuffer||(this._commonStream.streamingInfo.sourceBuffer=n._commonStream.streamingInfo.sourceBuffer);var r=this._commonStream.streamingInfo.sourceBuffer;this._commonStream.streamingInfo.workflowState=0;n._commonStream.streamingInfo.workflowState=2;this._commonStream.streamingInfo.pendingSeekPositionInSec=t;this._commonStream.streamingInfo.audioTrackSwitched=!0;r.buffered.length>0&&r.buffered.end(r.buffered.length-1)>t+i&&r.flushFrom(t+i);r.flushUntil(t)}},t}()}(n.Presentation||(n.Presentation={}));n.Presentation}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){this._moduleId="SegmentLocator.Dash";this._disposed=!1}return t.prototype.init=function(n){var t=n.workflows[1];t.addHandler(t.stepEvents.requestBegin,this.onFindSegment,this)},t.prototype.dispose=function(){this._disposed=!0},t.prototype.onFindSegment=function(i){n.Log.verbose(9,"onFindSegment");i.currentModuleId=this._moduleId;var r=this;return new Promise(function(u,f){var h;if(r._disposed)return n.Failure.attachFailureToRequest(i,i.currentModuleId,0),void f("object is already disposed.");var e=i.requestedStream,o=e.streamingInfo.currentSegment,s=e.segments;if(i.selectedSegment)return void u();if(null!==e.streamingInfo.pendingSeekPositionInSec?(e.streamingInfo.currentSegment=s.getByInSegmentTimestamp(e.streamingInfo.pendingSeekPositionInSec),e.streamingInfo.currentSegment?(e.streamingInfo.pendingSeekPositionInSec=null,i.requestedStream.streamingInfo.fetchInitSegment=!0):i.sessionContext.isLiveToVod&&(e.streamingInfo.pendingSeekPositionInSec=i.sessionContext.commonPresentation.playableWindow.endInSec-.01)):o?e.streamingInfo.currentSegment=o.next:(h=i.sessionContext,e.streamingInfo.currentSegment=isNaN(h.startPositionInSec)?s.first:s.getByInSegmentTimestamp(h.startPositionInSec)),null===e.streamingInfo.currentSegment)if(i.sessionContext.commonPresentation.isLive&&o&&(o.segmentInfo.mediaTimestamp>=s.last.segmentInfo.mediaTimestamp||e.streamingInfo.pendingSeekPositionInSec)){if(e.streamingInfo.currentSegment=o,!i.sessionContext.commonPresentation.minimumUpdatePeriodInSec)return e.streamingInfo.audioTrackSwitched=!1,n.Failure.attachFailureToRequest(i,i.currentModuleId,1),void f();i.state=2;i.retryWaitTimeMSec=t._retryWaitTimeMSec}else{if(e.streamingInfo.audioTrackSwitched&&i.sessionContext.commonPresentation.isLive)return e.streamingInfo.audioTrackSwitched=!1,n.Failure.attachFailureToRequest(i,i.currentModuleId,1),void f();i.state=1}u()})},t._retryWaitTimeMSec=2e3,t}();t.Dash=i}(n.SegmentLocator||(n.SegmentLocator={}));n.SegmentLocator}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(n){this._adSignals=[];this._adSignalsSeen={};this._eventManager=n}return t.prototype.reset=function(){this._adSignals=[];this._adSignalsSeen={}},t.prototype.getAdSignalsAndReset=function(){var n=this._adSignals;return this._adSignals=[],n},t.prototype.addAdSignals=function(t){for(var u,f,e=t&&t.length>0&&!!t[0].simpleSignal,r=[],i=0;i<t.length;i++)this.checkSignalHasBeenSeenBefore(t[i])||(e||(u=window.atob(t[i].scteSignal.signalInString),f=n.Common.stringToUint8Array(u),t[i].scteSignal.signalInBinary=f),r.push(t[i]));r.length>0&&(this._adSignals=this._adSignals.concat(r),this._eventManager.dispatchEvent(n.EventName.spliceWaiting))},t.prototype.checkSignalHasBeenSeenBefore=function(t){var i;return i=t.simpleSignal?t.simpleSignal.id+","+t.simpleSignal.duration+","+t.simpleSignal.presentationTime:t.scteSignal.signalInString+(t.scteSignal.presentationTimeOverride?t.scteSignal.presentationTimeOverride:0),this._adSignalsSeen[i]?(n.Log.verbose(15,"ADSIGNAL: Redundant ad signal: "+i+", ignoring..."),!0):(this._adSignalsSeen[i]=!0,!1)},t}();t.Manager=i}(n.Ad||(n.Ad={}));n.Ad}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){function i(t,i){var r,h,u,f,s,e,o;if(!i||0===i.length)return!0;try{r=decodeURIComponent(i)}catch(c){return n.Log.error(12,c),!1}return(h="urn:microsoft:azure:mediaservices:keyacquisitionhostname",u=r.indexOf(h),-1===u)?!0:(f=r.indexOf("&",u),-1===f&&(f=r.length),s=r.substring(u,f),e=s.split("="),2!=e.length)?(n.Log.error(12,"AMS hostname token is malformed: "+s),!1):(o=document.createElement("a"),o.href=t,e[1].toLowerCase()!=o.hostname.toLowerCase()?(n.Log.error(12,"AMS hostname mismatch: "+e[1].toLowerCase()+", "+o.hostname.toLowerCase()),!1):!0)}t.verifyKeyUrlWithToken=i}(n.AesUtil||(n.AesUtil={}));n.AesUtil}(AzureHtml5JS||(AzureHtml5JS={}));Object.defineProperty(Array.prototype,"findFirst",{value:function(n){for(var i,t=0;t<this.length;t++)if(i=this[t],n.call(this,i,t,Object(this)))return i;return null},enumerable:!1,configurable:!0});Object.defineProperty(Array.prototype,"findLast",{value:function(n){for(var i,t=this.length-1;t>=0;t--)if(i=this[t],n.call(this,i,t,Object(this)))return i;return null},enumerable:!1,configurable:!0});Object.defineProperty(Array.prototype,"findIndexOf",{value:function(n){for(var i,t=0;t<this.length;t++)if(i=this[t],n.call(this,i,t,Object(this)))return t;return-1},enumerable:!1,configurable:!0});Object.defineProperty(Array.prototype,"removeFirst",{value:function(n){var t=this.findIndexOf(n),i=null;return-1!==t&&(i=this.splice(t,1)[0]),i},enumerable:!1,configurable:!0});Object.defineProperty(Uint8Array.prototype,"isEqual",{value:function(n){if(this.length===n.length){for(var t=0;t<this.length;t++)if(this[t]!==n[t])return!1;return!0}return!1},enumerable:!1,configurable:!0});window.ArrayBuffer&&(ArrayBuffer.prototype.polyfill_slice=function(n,t){t=t||this.byteLength;for(var u=new Uint8Array(this),r=new Uint8Array(t-n),i=n;t>i;i++)r[i-n]=u[i];return r.buffer},ArrayBuffer.prototype.slice=ArrayBuffer.prototype.slice||ArrayBuffer.prototype.polyfill_slice);!function(n){"use strict";function t(n,t){if(!n)throw new Error(t);}n.assert=t}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";var t=function(){function n(n,t){if(this.dropOldestKeepAtLeastOne=function(){this._slidingWindow.length>1&&this.dropOldest()},this._slidingWindow=[],this._sum=0,this._minWindowLength=n,this._maxWindowLength=t,0>n||1>t||n>t)throw new Error("window length for average class should be greater than 0");}return n.prototype.dispose=function(){this._slidingWindow=null},Object.defineProperty(n.prototype,"average",{get:function(){return 0===this._slidingWindow.length||this._slidingWindow.length<this._minWindowLength?0:this._sum/this._slidingWindow.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"latest",{get:function(){return 0===this._slidingWindow.length?0:this._slidingWindow[this._slidingWindow.length-1]},enumerable:!0,configurable:!0}),n.prototype.addValue=function(n){this._slidingWindow.length>=this._maxWindowLength&&this.dropOldest();this._slidingWindow.push(n);this._sum+=n},n.prototype.dropOldest=function(){if(this._slidingWindow.length>0){var n=this._slidingWindow.splice(0,1);n[0]!=1/0?this._sum-=n[0]:this._sum=this._slidingWindow.reduce(function(n,t){return n+t})}},n}();n.AverageCalculator=t}(n.Util||(n.Util={}));n.Util}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function e(){var n=/.*Mac OS X (\d+)_(\d+)_*.*\).*/.exec(navigator.userAgent),t,i;return n&&3===n.length?(t=parseInt(n[1],10),i=parseInt(n[2],10),10==t&&11>=i||10>t):!1}function r(n,i,r){"undefined"==typeof r&&(r=t.timestampDeltaThreshold);var u=i-n;return Math.abs(u)<r&&(u=0),u}function o(n,t,i){for(var e,u=0,f=t.length-1,r=0;f>=u;)if(r=Math.floor((u+f)/2),e=i(n,t[r]),0>e)f=r-1;else{if(!(e>0))return r;u=r+1}return-1}function s(n,t,i){var f=0,u=t.length-1,r=0,e;if(0>=u)return-1;for(;u>=f;){if(r=Math.floor((f+u)/2),0===r)return i(n,t[f],t[u])?-1:1;if(e=i(n,t[r-1],t[r]),0>e)u=r-1;else{if(!(e>0))return r;f=r+1}}return-1}function h(n,t,i){var f=0,u=t.length-1,r=0,e;if(0>u)return-1;if(0===u)return i(n,t[0]);for(;u>=f;){if(r=Math.floor((f+u)/2),0===r)return i(n,t[f],t[u]);if(e=i(n,t[r-1],t[r]),0>e)u=r-1;else{if(!(e>0))return r-1;f=r+1}}return t.length-1}function c(n){for(var i,r="",t=0;t<n.length;t++)i=n[t].toString(16),r+=i.length<2?"0"+i:i;return r}function l(n){var t,r,i,u;if(n.length<=2||"0x"!=n.substr(0,2).toLowerCase())throw new Error("Invalid hexString");for(t=n.substr(2),n.length%2!=0&&(t="0"+t),r=new Uint8Array(t.length/2),i=0;i<t.length;i+=2){if(u=parseInt(t.substr(i,2),16),isNaN(u))throw new Error("Invalid hexString");r[i/2]=u}return r}function a(n){return 0>n&&(n=4294967295+n+1),"0x"+("00000000"+n.toString(16).toUpperCase()).substr(-8)}function v(n){for(var i="",t=0;t<n.byteLength;t++)i+=String.fromCharCode(n[t]);return i}function y(n){for(var i=new Uint8Array(n.length),t=0;t<i.byteLength;t++)i[t]=n.charCodeAt(t);return i}function p(i){if(t.isChrome||t.isSafari){var r=i.play();void 0!==r?r.then(function(){n.Log.verbose(7,"videoTag.play() executed successfullly.")})["catch"](function(t){n.Log.warning(7,"videoTag.play() failed: "+t)}):n.Log.warning(7,"play() promise undefined.")}else i.play()}var i,u,f;t.timestampDeltaThreshold=.0005;t.nearDiscontinuityThreshold=2;t.isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);t.isEdge=/Edge/i.test(navigator.userAgent);t.isIEMobile=/IEMobile\/([0-9.]*)/.test(navigator.userAgent);t.isSafari=/Safari/i.test(navigator.userAgent)&&!t.isChrome&&!t.isEdge&&!t.isIEMobile;t.isFirefox=/Firefox/i.test(navigator.userAgent)&&!t.isChrome&&!t.isEdge&&!t.isIEMobile&&!t.isSafari;t.isMobile=/android|webos|windows phone|iphone|ipad|ipod|blackBerry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase());t.isOSXElCapitanOrEarlier=e;t.diffTimes=r;i=function(){function n(n,t){this.startInSec=n;this.endInSec=t}return n}();t.TimeRange=i;u=function(){function n(){this._timeRanges=[]}return n.prototype.dispose=function(){this._timeRanges=null},Object.defineProperty(n.prototype,"length",{get:function(){return this._timeRanges.length},enumerable:!0,configurable:!0}),n.prototype.start=function(n){return this._timeRanges[n].startInSec},n.prototype.end=function(n){return this._timeRanges[n].endInSec},n.prototype.duration=function(n){return this._timeRanges[n].endInSec-this._timeRanges[n].startInSec},n.prototype.extendLast=function(n){this._timeRanges[this._timeRanges.length-1].endInSec=n},n.prototype.addRange=function(n){this._timeRanges.push(n)},n.prototype.addRanges=function(n){if(n)for(var t=0;t<n.length;t++)this.addRange(new i(n.start(t),n.end(t)))},n.prototype.removeRange=function(n,r){var u,e,f;if(r>n)for(u=0;u<this._timeRanges.length;u++)e=this._timeRanges[u].startInSec,f=this._timeRanges[u].endInSec,t.diffTimes(f,n)>=0||t.diffTimes(r,e)>=0||(t.diffTimes(e,n)>=0&&t.diffTimes(n,f)>=0&&t.diffTimes(f,r)>=0?this._timeRanges[u].endInSec=n:t.diffTimes(e,n)>=0&&t.diffTimes(r,f)>=0?(this._timeRanges[u].endInSec=n,this._timeRanges.splice(u+1,0,new i(r,f))):t.diffTimes(n,e)>=0&&t.diffTimes(f,r)>=0?(this._timeRanges.splice(u,1),--u):t.diffTimes(n,e)>=0&&t.diffTimes(e,r)>=0&&t.diffTimes(r,f)>=0&&(this._timeRanges[u].startInSec=r),t.diffTimes(this._timeRanges[u].endInSec,this._timeRanges[u].startInSec)>=0&&(this._timeRanges.splice(u,1),--u))},n.prototype.rebase=function(n){this._timeRanges.forEach(function(t){t.startInSec-=n;t.endInSec-=n})},n.prototype.removeGaps=function(n){for(var t=0;t+1<this._timeRanges.length;)this._timeRanges[t+1].startInSec-this._timeRanges[t].endInSec<n?(this._timeRanges[t].endInSec=this._timeRanges[t+1].endInSec,this._timeRanges.splice(t+1,1)):t++},n.prototype.getIndexByInRangeTimestamp=function(n){for(var i,r,t=0;t<this._timeRanges.length;t++){if(i=this._timeRanges[t],n<i.startInSec)return-1;if(i.startInSec<=n&&n<i.endInSec)return t;if(t+1>=this._timeRanges.length)return-2;if(r=this._timeRanges[t+1],i.endInSec<=n&&n<=r.startInSec)return t+1}return-1},n.prototype.beforeDiscontinuity=function(n,i){return 0>i||i+1>=this._timeRanges.length||this._timeRanges[i].startInSec>n||n>=this._timeRanges[i].endInSec?!1:0!==r(this._timeRanges[i].endInSec,this._timeRanges[i+1].startInSec)&&this._timeRanges[i].endInSec-n<t.nearDiscontinuityThreshold},n.prototype.atOrAfterDiscontinuity=function(n,i){return 0>=i||i>=this._timeRanges.length||this._timeRanges[i-1].endInSec>n||n>=this._timeRanges[i].endInSec?!1:0!==r(this._timeRanges[i-1].endInSec,this._timeRanges[i].startInSec)&&(n<this._timeRanges[i].startInSec||n-this._timeRanges[i].startInSec<t.nearDiscontinuityThreshold)},n}();t.TimeRangeSet=u;f=function(){function n(n,t,i){this.presTimeInSec=t;this.durationInSec=i;this.data=n}return Object.defineProperty(n.prototype,"endTimestampInSec",{get:function(){return this.presTimeInSec+this.durationInSec},enumerable:!0,configurable:!0}),n}();t.SegmentData=f;t.binarySearch=o;t.binarySearchInGaps=s;t.binarySearchTimeline=h;t.uint8ArrayToHexString=c;t.hexStringToUint8Array=l;t.toHexString=a;t.uint8ArrayToString=v;t.stringToUint8Array=y;t.videoTagPlay=p}(n.Common||(n.Common={}));n.Common}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";var i=function(){function n(n,t){"undefined"==typeof t&&(t=0);this.data=n;this.readPos=t}return n.prototype.getUint8=function(){return this.data.getUint8(this.readPos++)},n.prototype.getUint32=function(){var n=this.data.getUint32(this.readPos);return this.readPos+=4,n},n.prototype.getInt32=function(){var n=this.data.getInt32(this.readPos);return this.readPos+=4,n},n.prototype.getBytes=function(n){for(var i=new Uint8Array(n),t=0;n>t;t++)i[t]=this.getUint8();return i},n.prototype.readString=function(n){for(var t="",i=0;n>i;i++)t+=String.fromCharCode(this.getUint8());return t},n.prototype.readTerminatedString=function(){for(var t="",n=this.getUint8();n;n=this.getUint8())t+=String.fromCharCode(n);return t},n}(),t;n.Reader=i;t=function(){function n(n,t){"undefined"==typeof t&&(t=0);this.data=n;this.writePos=t}return n.prototype.setUint8=function(n){this.data.setUint8(this.writePos++,n)},n.prototype.setUint32=function(n){this.data.setUint32(this.writePos,n);this.writePos+=4},n.prototype.setInt32=function(n){this.data.setInt32(this.writePos,n);this.writePos+=4},n.prototype.setString=function(n){for(var t=0;t<n.length;t++)this.setUint8(n.charCodeAt(t))},n.prototype.setBytes=function(n){for(var t=0;t<n.length;t++)this.setUint8(n[t])},n}();n.Writer=t}(n.DataViewReaderWriter||(n.DataViewReaderWriter={}));n.DataViewReaderWriter}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function r(n,t,r){var u="WebKitMediaKeys"in window,f="MSMediaKeys"in window,e="requestMediaKeySystemAccess"in navigator;if(e){var o=new i(t),s=new i(r),h=new d(["cenc"],[o],[s]);return navigator.requestMediaKeySystemAccess(n,[h])}return new Promise(function(t,i){var r="video/mp4";return u?void(window.WebKitMediaKeys.isTypeSupported(n,r)?t():i()):f?void(window.MSMediaKeys.isTypeSupported(n,r)?t():i()):void i()})}function u(n,t,r){var u={initDataTypes:["cenc"],videoCapabilities:[new i(r)],audioCapabilities:[new i(t)]},f=[u];return navigator.requestMediaKeySystemAccess(n,f)}function f(n){var t="WebKitMediaKeys"in window,i="MSMediaKeys"in window;if(t)return new window.WebKitMediaKeys(n);if(i)return new window.MSMediaKeys(n);throw new Error("create MediaKeys not supported");}function e(n,t){var i="WebKitSetMediaKeys"in n,r="msSetMediaKeys"in n;if(i)n.WebKitSetMediaKeys(t);else{if(!r)throw new Error("setMediaKeys not supported");n.msSetMediaKeys(t)}}function o(n,t){n.addEventListener("webkitneedkey",t);n.addEventListener("msneedkey",t)}function s(n,t){n.addEventListener("encrypted",t)}function h(n,t){n.addEventListener("message",t)}function c(n,t){n.addEventListener("webkitkeymessage",t);n.addEventListener("mskeymessage",t)}function l(n,t){n.addEventListener("webkitkeyadded",t);n.addEventListener("mskeyadded",t)}function a(n,t){n.addEventListener("webkitkeyerror",t);n.addEventListener("mskeyerror",t)}function v(n,t){n.removeEventListener("webkitneedkey",t);n.removeEventListener("msneedkey",t)}function y(n,t){n.removeEventListener("encrypted",t)}function p(n,t){n.removeEventListener("message",t)}function w(n,t){n.removeEventListener("webkitkeymessage",t);n.removeEventListener("mskeymessage",t)}function b(n,t){n.removeEventListener("webkitkeyadded",t);n.removeEventListener("mskeyadded",t)}function k(n,t){n.removeEventListener("webkitkeyerror",t);n.removeEventListener("mskeyerror",t)}var d=function(){function n(n,t,i){this.initDataTypes=n;this.audioCapabilities=t;this.videoCapabilities=i}return n}(),i=function(){function t(t){this.contentType=t;this.robustness=n.Common.isChrome?"SW_SECURE_CRYPTO":""}return t}();t.isTypeSupported=r;t.createSupportedKeySystem=u;t.createMediaKeys=f;t.setMediaKeys=e;t.listenToNeedKey=o;t.listenToEncrypted=s;t.listenToMessage=h;t.listenToKeyMessage=c;t.listenToKeyAdded=l;t.listenKeyError=a;t.unlistenToNeedKey=v;t.unlistenToEncrypted=y;t.unlistenToMessage=p;t.unlistenToKeyMessage=w;t.unlistenToKeyAdded=b;t.unlistenKeyError=k}(n.EmeUtil||(n.EmeUtil={}));n.EmeUtil}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";var r=function(){function n(n,t){"undefined"==typeof n&&(n=null);"undefined"==typeof t&&(t=!0);this._azureHtml5=n;this._allowDuplicateHandlers=t;this._registrations={}}return n.prototype.dispose=function(){this._registrations=null},n.prototype.getHandlers=function(n){return n in this._registrations||(this._registrations[n]=[]),this._registrations[n]},n.prototype.addHandler=function(n,t,r){var u=this.getHandlers(n),f;(this._allowDuplicateHandlers||-1===this._findHandlerByFunction(u,t))&&(f=new i(r,t),u[u.length]=f)},n.prototype.removeHandler=function(n,t){for(var i=this.getHandlers(n),r=this._findHandlerByFunction(i,t);-1!==r;)i.splice(r,1),r=this._findHandlerByFunction(i,t)},n.prototype.dispatchEvent=function(n,i){for(var f,e=this,r=0,u=this.getHandlers(n).slice(),r=0;r<u.length;r++)f=new t(n,e._azureHtml5,i),u[r].functionHandler.call(u[r].callerInstance,f)},n.prototype._findHandlerByFunction=function(n,t){for(var r=-1,i=0;i<n.length;i++)if(n[i].functionHandler===t){r=i;break}return r},n}(),t,i;n.Manager=r;t=function(){function n(n,t,i){this.type=n;this.currentDate=new Date;this.azureHtml5=t;this.presentationTimeInSec=t?t.currentTime:0;this.message=i}return n}();n.EventInfo=t;i=function(){function n(n,t){this.callerInstance=n;this.functionHandler=t}return n}();n.Handler=i}(n.Events||(n.Events={}));n.Events}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function u(n){return n>=400&&600>n?2097152|n:2097152}function f(n){var t="";return n.filename&&(t+=" file: "+n.filename),n.lineno&&(t+=" line: "+n.lineno),n.colno&&(t+=" colno: "+n.colno),n.error&&(t+="error: "+n.error),n.message&&(t+="msg: "+n.message),t}function e(t){if(void 0===t||null===t)return"undefined";var i=s(t.code);return t.msExtendedCode&&(i+=", msErrorCode: "+n.Common.toHexString(t.msExtendedCode)),i}function o(n,t,r,u){var f=new i(t,r,u);null!=n&&(n.externalFailure=f)}function s(n){switch(n){case MediaError.MEDIA_ERR_ABORTED:return"MEDIA_ERR_ABORTED";case MediaError.MEDIA_ERR_NETWORK:return"MEDIA_ERR_NETWORK";case MediaError.MEDIA_ERR_DECODE:return"MEDIA_ERR_DECODE";case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return"MEDIA_ERR_SRC_NOT_SUPPORTED";default:return n.toString()}}function h(n){return n>1048575}var i=function(){function t(n,t,i){this.originModuleId=n;this.code=t;this.message=i}return t.prototype.dispose=function(){this.originModuleId=null;this.code=null;this.message=null},t.prototype.toString=function(){var t;return t="Module = "+this.originModuleId+" FailureCode = "+n.Common.toHexString(this.code),this.message&&(t+=" "+this.message),t},t}(),r;t.Record=i;t.translateHttpStatusToCode=u;t.errorEventToString=f;t.mediaErrorToString=e;t.attachFailureToRequest=o;t.isExternalError=h;r=function(){function t(n,t){n?(this.code=n,this.message=t):(this.code=0,this.message=null)}return t.prototype.translateMediaError=function(t){this.code=t.code<<20;t.msExtendedCode&&(this.message="msErrorCode: "+n.Common.toHexString(t.msExtendedCode))},t.prototype.toString=function(){var t="code: "+n.Common.toHexString(this.code);return this.message&&(t+=", msg: "+this.message),t},t}();t.External=r}(n.Failure||(n.Failure={}));n.Failure}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";n.forgeScript='(function(){function n(n){function i(n){var r,u;if(this.data="",this.read=0,typeof n=="string")this.data=n;else if(t.isArrayBuffer(n)||t.isArrayBufferView(n)){r=new Uint8Array(n);try{this.data=String.fromCharCode.apply(null,r)}catch(f){for(u=0;u<r.length;++u)this.putByte(r[u])}}else(n instanceof i||typeof n=="object"&&typeof n.data=="string"&&typeof n.read=="number")&&(this.data=n.data,this.read=n.read);this._constructedStringLength=0}var t=n.util=n.util||{},r;t.isArray=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"};t.isArrayBuffer=function(n){return typeof ArrayBuffer!="undefined"&&n instanceof ArrayBuffer};t.isArrayBufferView=function(n){return n&&t.isArrayBuffer(n.buffer)&&n.byteLength!==undefined};t.ByteBuffer=i;t.ByteStringBuffer=i;r=4096;t.ByteStringBuffer.prototype._optimizeConstructedString=function(n){this._constructedStringLength+=n;this._constructedStringLength>r&&(this.data.substr(0,1),this._constructedStringLength=0)};t.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read};t.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0};t.ByteStringBuffer.prototype.putByte=function(n){return this.putBytes(String.fromCharCode(n))};t.ByteStringBuffer.prototype.fillWithByte=function(n,t){n=String.fromCharCode(n);for(var i=this.data;t>0;)t&1&&(i+=n),t>>>=1,t>0&&(n+=n);return this.data=i,this._optimizeConstructedString(t),this};t.ByteStringBuffer.prototype.putBytes=function(n){return this.data+=n,this._optimizeConstructedString(n.length),this};t.ByteStringBuffer.prototype.putString=function(n){return this.putBytes(t.encodeUtf8(n))};t.ByteStringBuffer.prototype.putInt16=function(n){return this.putBytes(String.fromCharCode(n>>8&255)+String.fromCharCode(n&255))};t.ByteStringBuffer.prototype.putInt24=function(n){return this.putBytes(String.fromCharCode(n>>16&255)+String.fromCharCode(n>>8&255)+String.fromCharCode(n&255))};t.ByteStringBuffer.prototype.putInt32=function(n){return this.putBytes(String.fromCharCode(n>>24&255)+String.fromCharCode(n>>16&255)+String.fromCharCode(n>>8&255)+String.fromCharCode(n&255))};t.ByteStringBuffer.prototype.putInt16Le=function(n){return this.putBytes(String.fromCharCode(n&255)+String.fromCharCode(n>>8&255))};t.ByteStringBuffer.prototype.putInt24Le=function(n){return this.putBytes(String.fromCharCode(n&255)+String.fromCharCode(n>>8&255)+String.fromCharCode(n>>16&255))};t.ByteStringBuffer.prototype.putInt32Le=function(n){return this.putBytes(String.fromCharCode(n&255)+String.fromCharCode(n>>8&255)+String.fromCharCode(n>>16&255)+String.fromCharCode(n>>24&255))};t.ByteStringBuffer.prototype.putInt=function(n,t){var i="";do t-=8,i+=String.fromCharCode(n>>t&255);while(t>0);return this.putBytes(i)};t.ByteStringBuffer.prototype.putSignedInt=function(n,t){return n<0&&(n+=2<<t-1),this.putInt(n,t)};t.ByteStringBuffer.prototype.putBuffer=function(n){return this.putBytes(n.getBytes())};t.ByteStringBuffer.prototype.getByte=function(){return this.data.charCodeAt(this.read++)};t.ByteStringBuffer.prototype.getInt16=function(){var n=this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);return this.read+=2,n};t.ByteStringBuffer.prototype.getInt24=function(){var n=this.data.charCodeAt(this.read)<<16^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2);return this.read+=3,n};t.ByteStringBuffer.prototype.getInt32=function(){var n=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);return this.read+=4,n};t.ByteStringBuffer.prototype.getInt16Le=function(){var n=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8;return this.read+=2,n};t.ByteStringBuffer.prototype.getInt24Le=function(){var n=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16;return this.read+=3,n};t.ByteStringBuffer.prototype.getInt32Le=function(){var n=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16^this.data.charCodeAt(this.read+3)<<24;return this.read+=4,n};t.ByteStringBuffer.prototype.getInt=function(n){var t=0;do t=(t<<8)+this.data.charCodeAt(this.read++),n-=8;while(n>0);return t};t.ByteStringBuffer.prototype.getSignedInt=function(n){var t=this.getInt(n),i=2<<n-2;return t>=i&&(t-=i<<1),t};t.ByteStringBuffer.prototype.getBytes=function(n){var t;return n?(n=Math.min(this.length(),n),t=this.data.slice(this.read,this.read+n),this.read+=n):n===0?t="":(t=this.read===0?this.data:this.data.slice(this.read),this.clear()),t};t.ByteStringBuffer.prototype.bytes=function(n){return typeof n=="undefined"?this.data.slice(this.read):this.data.slice(this.read,this.read+n)};t.ByteStringBuffer.prototype.at=function(n){return this.data.charCodeAt(this.read+n)};t.ByteStringBuffer.prototype.setAt=function(n,t){return this.data=this.data.substr(0,this.read+n)+String.fromCharCode(t)+this.data.substr(this.read+n+1),this};t.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)};t.ByteStringBuffer.prototype.copy=function(){var n=t.createBuffer(this.data);return n.read=this.read,n};t.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this};t.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this};t.ByteStringBuffer.prototype.truncate=function(n){var t=Math.max(0,this.length()-n);return this.data=this.data.substr(this.read,t),this.read=0,this};t.ByteStringBuffer.prototype.toHex=function(){for(var i,n="",t=this.read;t<this.data.length;++t)i=this.data.charCodeAt(t),i<16&&(n+="0"),n+=i.toString(16);return n};t.ByteStringBuffer.prototype.toString=function(){return t.decodeUtf8(this.bytes())};t.createBuffer=function(n,i){return i=i||"raw",n!==undefined&&i==="utf8"&&(n=t.encodeUtf8(n)),new t.ByteBuffer(n)};t.encodeUtf8=function(n){return unescape(encodeURIComponent(n))};t.decodeUtf8=function(n){return decodeURIComponent(escape(n))}}return typeof forge=="undefined"&&(forge={}),n(forge)})(),function(){function n(n){n.cipher=n.cipher||{};n.cipher.algorithms=n.cipher.algorithms||{};n.cipher.createDecipher=function(t,i){var r=t;if(typeof r=="string"&&(r=n.cipher.getAlgorithm(r),r&&(r=r())),!r)throw new Error("Unsupported algorithm: "+t);return new n.cipher.BlockCipher({algorithm:r,key:i,decrypt:!0})};n.cipher.registerAlgorithm=function(t,i){t=t.toUpperCase();n.cipher.algorithms[t]=i};n.cipher.getAlgorithm=function(t){return(t=t.toUpperCase(),t in n.cipher.algorithms)?n.cipher.algorithms[t]:null};var t=n.cipher.BlockCipher=function(n){this.algorithm=n.algorithm;this.mode=this.algorithm.mode;this.blockSize=this.mode.blockSize;this._finish=!1;this._input=null;this.output=null;this._op=n.decrypt?this.mode.decrypt:this.mode.encrypt;this._decrypt=n.decrypt;this.algorithm.initialize(n)};t.prototype.start=function(t){var i,r;t=t||{};i={};for(r in t)i[r]=t[r];i.decrypt=this._decrypt;this._finish=!1;this._input=n.util.createBuffer();this.output=t.output||n.util.createBuffer();this.mode.start(i)};t.prototype.update=function(n){for(n&&this._input.putBuffer(n);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()};t.prototype.finish=function(n){n&&(this.mode.name==="ECB"||this.mode.name==="CBC")&&(this.mode.pad=function(t){return n(this.blockSize,t,!1)},this.mode.unpad=function(t){return n(this.blockSize,t,!0)});var t={};return(t.decrypt=this._decrypt,t.overflow=this._input.length()%this.blockSize,!this._decrypt&&this.mode.pad&&!this.mode.pad(this._input,t))?!1:(this._finish=!0,this.update(),this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,t))?!1:this.mode.afterFinish&&!this.mode.afterFinish(this.output,t)?!1:!0}}return typeof forge=="undefined"&&(forge={}),n(forge)}(),function(){function n(n){function i(t){var r,i;if(typeof t=="string"&&(t=n.util.createBuffer(t)),n.util.isArray(t)&&t.length>4)for(r=t,t=n.util.createBuffer(),i=0;i<r.length;++i)t.putByte(r[i]);return n.util.isArray(t)||(t=[t.getInt32(),t.getInt32(),t.getInt32(),t.getInt32()]),t}n.cipher=n.cipher||{};var t=n.cipher.modes=n.cipher.modes||{};t.cbc=function(n){n=n||{};this.name="CBC";this.cipher=n.cipher;this.blockSize=n.blockSize||16;this._ints=this.blockSize/4;this._inBlock=new Array(this._ints);this._outBlock=new Array(this._ints)};t.cbc.prototype.start=function(n){if(n.iv===null){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else if("iv"in n)this._iv=i(n.iv),this._prev=this._iv.slice(0);else throw new Error("Invalid IV parameter.");};t.cbc.prototype.encrypt=function(n,t,i){var r;if(n.length()<this.blockSize&&!(i&&n.length()>0))return!0;for(r=0;r<this._ints;++r)this._inBlock[r]=this._prev[r]^n.getInt32();for(this.cipher.encrypt(this._inBlock,this._outBlock),r=0;r<this._ints;++r)t.putInt32(this._outBlock[r]);this._prev=this._outBlock};t.cbc.prototype.decrypt=function(n,t,i){var r;if(n.length()<this.blockSize&&!(i&&n.length()>0))return!0;for(r=0;r<this._ints;++r)this._inBlock[r]=n.getInt32();for(this.cipher.decrypt(this._inBlock,this._outBlock),r=0;r<this._ints;++r)t.putInt32(this._prev[r]^this._outBlock[r]);this._prev=this._inBlock.slice(0)};t.cbc.prototype.pad=function(n){var t=n.length()===this.blockSize?this.blockSize:this.blockSize-n.length();return n.fillWithByte(t,t),!0};t.cbc.prototype.unpad=function(n,t){if(t.overflow>0)return!1;var r=n.length(),i=n.at(r-1);return i>this.blockSize<<2?!1:(n.truncate(i),!0)}}return typeof forge=="undefined"&&(forge={}),n(forge)}(),function(){function n(n){function l(t,i){var r=function(){return new n.aes.Algorithm(t,i)};n.cipher.registerAlgorithm(t,r)}function h(){var u,o,c,l,w,a,h,b,v,y,n,p;for(f=!0,s=[0,1,2,4,8,16,32,64,128,27,54],u=new Array(256),n=0;n<128;++n)u[n]=n<<1,u[n+128]=n+128<<1^283;for(t=new Array(256),e=new Array(256),r=new Array(4),i=new Array(4),n=0;n<4;++n)r[n]=new Array(256),i[n]=new Array(256);for(o=0,c=0,n=0;n<256;++n){for(h=c^c<<1^c<<2^c<<3^c<<4,h=h>>8^h&255^99,t[o]=h,e[h]=o,b=u[h],l=u[o],w=u[l],a=u[w],v=b<<24^h<<16^h<<8^h^b,y=(l^w^a)<<24^(o^a)<<16^(o^w^a)<<8^o^l^a,p=0;p<4;++p)r[p][o]=v,i[p][h]=y,v=v<<24|v>>>8,y=y<<24|y>>>8;o===0?o=c=1:(o=l^u[u[u[l^a]]],c^=u[u[c]])}}function c(n,r){for(var h,y,e=n.slice(0),o,p=1,c=e.length,w=c+6+1,a=u*w,f=c;f<a;++f)o=e[f-1],f%c==0?(o=t[o>>>16&255]<<24^t[o>>>8&255]<<16^t[o&255]<<8^t[o>>>24]^s[p]<<24,p++):c>6&&f%c==4&&(o=t[o>>>24]<<24^t[o>>>16&255]<<16^t[o>>>8&255]<<8^t[o&255]),e[f]=e[f-c]^o;if(r){var v,b=i[0],k=i[1],d=i[2],g=i[3],l=e.slice(0);for(a=e.length,f=0,h=a-u;f<a;f+=u,h-=u)if(f===0||f===a-u)l[f]=e[h],l[f+1]=e[h+3],l[f+2]=e[h+2],l[f+3]=e[h+1];else for(y=0;y<u;++y)v=e[h+y],l[f+(3&-y)]=b[t[v>>>24]]^k[t[v>>>16&255]]^d[t[v>>>8&255]]^g[t[v&255]];e=l}return e}function o(n,u,f,o){var tt=n.length/4-1,y,p,w,b,s,h,c,l,a,d,g,nt,v,k;for(o?(y=i[0],p=i[1],w=i[2],b=i[3],s=e):(y=r[0],p=r[1],w=r[2],b=r[3],s=t),h=u[0]^n[0],c=u[o?3:1]^n[1],l=u[2]^n[2],a=u[o?1:3]^n[3],v=3,k=1;k<tt;++k)d=y[h>>>24]^p[c>>>16&255]^w[l>>>8&255]^b[a&255]^n[++v],g=y[c>>>24]^p[l>>>16&255]^w[a>>>8&255]^b[h&255]^n[++v],nt=y[l>>>24]^p[a>>>16&255]^w[h>>>8&255]^b[c&255]^n[++v],a=y[a>>>24]^p[h>>>16&255]^w[c>>>8&255]^b[l&255]^n[++v],h=d,c=g,l=nt;f[0]=s[h>>>24]<<24^s[c>>>16&255]<<16^s[l>>>8&255]<<8^s[a&255]^n[++v];f[o?3:1]=s[c>>>24]<<24^s[l>>>16&255]<<16^s[a>>>8&255]<<8^s[h&255]^n[++v];f[2]=s[l>>>24]<<24^s[a>>>16&255]<<16^s[h>>>8&255]<<8^s[c&255]^n[++v];f[o?1:3]=s[a>>>24]<<24^s[h>>>16&255]<<16^s[c>>>8&255]<<8^s[l&255]^n[++v]}n.aes=n.aes||{};n.aes.Algorithm=function(n,t){f||h();var i=this;i.name=n;i.mode=new t({blockSize:16,cipher:{encrypt:function(n,t){return o(i._w,n,t,!1)},decrypt:function(n,t){return o(i._w,n,t,!0)}}});i._init=!1};n.aes.Algorithm.prototype.initialize=function(t){var i,f,u,r,e,o;if(!this._init){if(i=t.key,typeof i=="string"&&(i.length===16||i.length===24||i.length===32))i=n.util.createBuffer(i);else if(n.util.isArray(i)&&(i.length===16||i.length===24||i.length===32))for(f=i,i=n.util.createBuffer(),r=0;r<f.length;++r)i.putByte(f[r]);if(!n.util.isArray(i)&&(f=i,i=[],u=f.length(),u===16||u===24||u===32))for(u=u>>>2,r=0;r<u;++r)i.push(f.getInt32());if(!n.util.isArray(i)||!(i.length===4||i.length===6||i.length===8))throw new Error("Invalid key parameter.");e=this.mode.name;o=["CFB","OFB","CTR","GCM"].indexOf(e)!==-1;this._w=c(i,t.decrypt&&!o);this._init=!0}};n.aes._expandKey=function(n,t){return f||h(),c(n,t)};n.aes._updateBlock=o;l("AES-CBC",n.cipher.modes.cbc);var f=!1,u=4,t,e,s,r,i}return typeof forge=="undefined"&&(forge={}),n(forge)}(),function(){function n(n){for(var i=new Uint8Array(n.length),t=0;t<i.byteLength;t++)i[t]=n.charCodeAt(t);return i}onmessage=function(t){if(t.data.keyStr&&t.data.ivStr&&t.data.encrypted){var i=forge.cipher.createDecipher("AES-CBC",t.data.keyStr);i.start({iv:t.data.ivStr});i.update(new forge.util.ByteBuffer(t.data.encrypted));i.finish();postMessage({decrypted:n(i.output.bytes())})}}}();'}(n.Forge||(n.Forge={}));n.Forge}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i,u,r;if(t.decrypt,t.decrypt=function(t,i,r){var u=forge.cipher.createDecipher("AES-CBC",i.keyStr),f;return u.start({iv:i.ivStr}),u.update(new forge.util.ByteBuffer(r)),u.finish(),f=n.Common.stringToUint8Array(u.output.bytes()),t.apply(null,[f]),!0},!(window.Worker&&Blob&&window.URL&&window.URL.createObjectURL))return void n.Log.verbose(7,"AzureHtml5JS.Forge: cannot start worker for Forge");i=null;try{u=new Blob(["'use strict';var forge;"+t.forgeScript],{type:"text/javascript"});r=new Worker(window.URL.createObjectURL(u));t.decrypt=function(n,t,u){return null===i?(i=n,r.postMessage({keyStr:t.keyStr,ivStr:t.ivStr,encrypted:u}),!0):!1};r.onmessage=function(n){n.data.decrypted&&(i.apply(null,[n.data.decrypted]),i=null)}}catch(f){n.Log.verbose(7,"AzureHtml5JS.Forge: Forge worker setup failed: "+f)}}(n.Forge||(n.Forge={}));n.Forge}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function i(t,i,r,u,f){return new Promise(function(e,o){function h(){return 200==s.status?void e(s.response):(n.Log.error(13,"XHR load failed status:"+s.statusText+"("+s.status+"), expected to be 200, readyState:"+s.readyState+" ("+i+" "+t+")"),void o(n.Failure.translateHttpStatusToCode(s.status)))}function c(){n.Log.error(13,"XHR failed status: "+s.statusText+" ("+s.status+"), readyState: "+s.readyState);o(2097753)}var s=new n.HttpRequest.XMLHttpRequestWrapper;s.onload=h;s.onerror=c;s.open(i,t);s.responseType=r;u&&u.forEach(function(n){s.setRequestHeader(n.name,n.value)});f?s.send(f):s.send()})}t.authorizationHeader="Authorization";t.httpRequest=i}(n.HttpUtil||(n.HttpUtil={}));n.HttpUtil}(AzureHtml5JS||(AzureHtml5JS={}));__extends=this.__extends||function(n,t){function r(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);r.prototype=t.prototype;n.prototype=new r};!function(n){!function(t){"use strict";function r(t,i,r){"undefined"==typeof r&&(r=0);var u,f=r;if(!i||4!==i.length)return n.Log.error(11,"Parameter error, box type must have four characters"),null;if(!t||t.byteLength<8)return n.Log.error(11,"Parameter error, not enough data"),null;for(;f<t.byteLength&&(u=l(t,f));){if(u.type===i)return u;f+=u.size}return null}function l(t,i){if(!t||t.byteLength-i<8)return n.Log.error(11,"MP4 box parsing error, not enough data for box header"),null;var r=new e(t,i);if(r.size=r.getUint32(),r.type=r.readString(4),1===r.size){if(t.byteLength-i<16)return n.Log.error(11,"MP4 box parsing error, not enough data for largesize"),null;if(r.size=r.getUint32()<<32,r.size+=r.getUint32(),r.size>9007199254740991)return n.Log.error(11,"Box size too big for precise representation as Javascript number"),null}else 0===r.size&&(r.size=t.byteLength);if(r.size>t.byteLength-i)return null;if("uuid"===r.type){if(t.byteLength-r.readPosition<16)return n.Log.error(11,"MP4 box parsing error, not enough data for usertype"),null;r.usertype=r.readString(16)}return r.data=new DataView(t.buffer,t.byteOffset+r.readPosition,t.byteLength-r.readPosition),r}function a(t){var u,i=null;return(u=r(t,"tfhd"))?(i=o.parse(u),i||n.Log.warning(11,"Parsing of tfhd failed"),i):(n.Log.warning(11,"tfhd not found"),null)}function v(t){var u,i=null;return(u=r(t,"trun"))?(i=s.parse(u),i||n.Log.warning(11,"Parsing of trun failed"),i):(n.Log.warning(11,"trun not found"),null)}function y(t){var u,i=null;return(u=r(t,"tfdt"))?(i=c.parse(u),i||n.Log.warning(11,"Parsing of tfdt failed"),i):(n.Log.warning(11,"tfdt not found"),null)}function p(t){for(var i,o,f=[],e=0;e<t.byteLength;){if(i=r(t,u.typeStr,e),!i)return n.Log.warning(11,"pssh not found"),f;o=u.parse(i);o?f.push(o):n.Log.warning(11,"Parsing of pssh failed");e+=i.size}return f}function w(t){for(var u,o,i=[],e=0;e<t.byteLength;){if(u=r(t,f.typeStr,e),!u)return i;o=f.parse(u);o?i.push(o):n.Log.warning(11,"Parsing of emsg failed");e+=u.size}return i.length>0&&n.Log.verbose(11,"emsg boxes found: "+i.length),i}var e=function(){function t(t,i){t&&"undefined"!=typeof i&&(this.data=t,this.reader=new n.DataViewReaderWriter.Reader(t,i))}return t.prototype.getUint32=function(){return this.reader.getUint32()},t.prototype.getInt32=function(){return this.reader.getInt32()},t.prototype.getUint8=function(){return this.reader.getUint8()},t.prototype.getBytes=function(n){return this.reader.getBytes(n)},t.prototype.getRemainingBytes=function(){return this.reader.getBytes(this.size-this.readPosition)},t.prototype.readString=function(n){return this.reader.readString(n)},t.prototype.readTerminatedString=function(){return this.reader.readTerminatedString()},Object.defineProperty(t.prototype,"readPosition",{get:function(){return this.reader.readPos},enumerable:!0,configurable:!0}),t}(),i,o,s,h,c,u,f;t.Mp4Box=e;i=function(t){function i(i){t.call(this);i&&(this.size=i.size,this.type=i.type,this.usertype=i.usertype,this.data=i.data,this.reader=new n.DataViewReaderWriter.Reader(this.data),this._versionFlags=i._versionFlags)}return __extends(i,t),i.parse=function(t){var r=null;return t.data.byteLength<4?(n.Log.error(11,"Full box parsing error, not enough bytes"),null):(r=new i,r.size=t.size,r.type=t.type,r.usertype=t.usertype,r._versionFlags=t.data.getUint32(0),r.data=new DataView(t.data.buffer,t.data.byteOffset+4,t.data.byteLength-4),r.reader=new n.DataViewReaderWriter.Reader(r.data),r)},i.serialize=function(t,i){var f=("uuid"===t.type?16:0)+12,u=i+f,e=new ArrayBuffer(u),o=new DataView(e),r=new n.DataViewReaderWriter.Writer(o);if(u>4294967295)throw new Error("Mp4FullBox::serialize, large size is not supported");if(r.setUint32(u),r.setString(t.type),"uuid"===t.type&&r.setString(t.usertype),r.setUint32(t._versionFlags),r.writePos!==f)throw new Error("Mp4FullBox::serialize, inconsistent bytes written");return r},Object.defineProperty(i.prototype,"version",{get:function(){return this._versionFlags>>24},set:function(n){this._versionFlags&=16777215;this._versionFlags|=n<<24},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"flags",{get:function(){return 16777215&this._versionFlags},set:function(n){this._versionFlags&=4278190080;this._versionFlags|=16777215&n},enumerable:!0,configurable:!0}),i.prototype.getUint32Cond=function(n){var t;return n&this.flags&&(t=this.reader.getUint32()),t},i}(e);t.Mp4FullBox=i;o=function(t){function r(n){t.call(this,n)}return __extends(r,t),r.parse=function(t){var u=null,f=null;return(f=i.parse(t))?(u=new r(f),f.data.byteLength<u._calculatedSize()?(n.Log.error(11,"tfhd box parsing error, not enough data"),null):(u.trackId=u.getUint32(),u.baseDataOffsetHi=u.getUint32Cond(r.flags_baseDataOffsetPresent),u.baseDataOffsetLo=u.getUint32Cond(r.flags_baseDataOffsetPresent),u.sampleDescriptionIndex=u.getUint32Cond(r.flags_sampleDescriptionIndexPresent),u.defaultSampleDuration=u.getUint32Cond(r.flags_defaultSampleDurationPresent),u.defaultSampleSize=u.getUint32Cond(r.flags_defaultSampleSizePresent),u.defaultSampleFlags=u.getUint32Cond(r.flags_defaultSampleFlagsPresent),u)):null},r.prototype._calculatedSize=function(){var n=4;return n+=this.flags&r.flags_baseDataOffsetPresent?8:0,n+=this.flags&r.flags_sampleDescriptionIndexPresent?4:0,n+=this.flags&r.flags_defaultSampleDurationPresent?4:0,n+=this.flags&r.flags_defaultSampleSizePresent?4:0,n+(this.flags&r.flags_defaultSampleFlagsPresent?4:0)},r.typeStr="tfhd",r.flags_baseDataOffsetPresent=1,r.flags_sampleDescriptionIndexPresent=2,r.flags_defaultSampleDurationPresent=8,r.flags_defaultSampleSizePresent=16,r.flags_defaultSampleFlagsPresent=32,r.flags_durationIsEmpty=65536,r.flags_defaultBaseIsMoof=131072,r}(i);t.TfhdBox=o;s=function(t){function r(n){t.call(this,n)}return __extends(r,t),r.parse=function(t){var u=null,e=null,o,f;if(e=i.parse(t),!e)return null;if((u=new r(e),e.data.byteLength<4)||(u.sampleCount=u.getUint32(),e.data.byteLength<u._calculatedSize()))return n.Log.error(11,"trun box parsing error, not enough data"),null;for(u.dataOffset=u.getUint32Cond(r.flags_dataOffsetPresent),u.firstSampleFlags=u.getUint32Cond(r.flags_firstSampleFlagsPresent),u.sampleInfoArray=[],o=0;o<u.sampleCount;o++)f=new h,f.sampleDuration=u.getUint32Cond(r.flags_sampleDurationPresent),f.sampleSize=u.getUint32Cond(r.flags_sampleSizePresent),f.sampleFlags=u.getUint32Cond(r.flags_sampleFlagsPresent),u.flags&r.flags_sampleCompositionTimeOffsetsPresent&&(f.sampleCompositionTimeOffset=0===u.version?u.getUint32():u.getInt32()),u.sampleInfoArray.push(f);return u},r.prototype._calculatedSize=function(){var n,t=4;return t+=this.flags&r.flags_dataOffsetPresent?4:0,t+=this.flags&r.flags_firstSampleFlagsPresent?4:0,n=this.flags&r.flags_sampleDurationPresent?4:0,n+=this.flags&r.flags_sampleSizePresent?4:0,n+=this.flags&r.flags_sampleFlagsPresent?4:0,n+=this.flags&r.flags_sampleCompositionTimeOffsetsPresent?4:0,t+this.sampleCount*n},r.typeStr="trun",r.flags_dataOffsetPresent=1,r.flags_firstSampleFlagsPresent=4,r.flags_sampleDurationPresent=256,r.flags_sampleSizePresent=512,r.flags_sampleFlagsPresent=1024,r.flags_sampleCompositionTimeOffsetsPresent=2048,r}(i);t.TrunBox=s;h=function(){function n(){}return n}();t.TrunSampleInfo=h;c=function(t){function r(n){t.call(this,n);this.baseMediaDecodeTime=0}return __extends(r,t),r.parse=function(t){var u=null,f=null;return(f=i.parse(t))?(u=new r(f),f.data.byteLength<u._calculatedSize()?(n.Log.error(11,"tfdt box parsing error, not enough data"),null):(1===u.version&&(u.baseMediaDecodeTime=4294967296*u.getUint32()),u.baseMediaDecodeTime+=u.getUint32(),u.baseMediaDecodeTime>=9007199254740992&&n.Log.warning(11,"tfdt timestamp greater than 53 bits, possible precision loss"),u)):null},r.prototype._calculatedSize=function(){return 1===this.version?8:4},r.typeStr="tfdt",r}(i);t.TfdtBox=c;u=function(t){function r(n){n?t.call(this,n):this.type=r.typeStr;this._keyIds=[]}return __extends(r,t),r.parse=function(t){var u=null,f=null,e,o,h,s;if(f=i.parse(t),!f)return null;if(u=new r(f),f.data.byteLength<u._calculatedSize())return n.Log.error(11,"pssh box parsing error, not enough data"),null;if(u.systemId=u.getBytes(16),e=0,u.version>0){if(e=u.getUint32(),u._keyIds.length=e,f.data.byteLength<u._calculatedSize())return n.Log.error(11,"pssh box parsing error, not enough data"),null;for(o=0;e>o;o++)h=u.getBytes(16),u._keyIds[o]=h}return s=u.getUint32(),f.data.byteLength<u._calculatedSize(s)?(n.Log.error(11,"pssh box parsing error, not enough data"),null):(u.specificData=u.getBytes(s),u)},r.prototype.addKeyId=function(n){if(16!==n.length)throw new Error("keyId must be 16 bytes");this.version=1;this._keyIds.push(n)},Object.defineProperty(r.prototype,"keyIds",{get:function(){return this._keyIds},enumerable:!0,configurable:!0}),r.prototype._calculatedSize=function(n){"undefined"==typeof n&&(n=0);var t=20+n;return this.version>0&&(t+=4+16*this._keyIds.length),t},r.prototype.serialize=function(){var n=i.serialize(this,this._calculatedSize(this.specificData.byteLength));if(!this.systemId)throw new Error("systemId is not set");if(n.setBytes(this.systemId),this.version>0&&(n.setUint32(this._keyIds.length),this._keyIds.forEach(function(t){n.setBytes(t)})),!this.specificData)throw new Error("specificData is not set");if(n.setUint32(this.specificData.byteLength),n.setBytes(this.specificData),n.writePos!=n.data.buffer.byteLength)throw new Error("Failed to write to end of buffer");return n.data.buffer},r.typeStr="pssh",r}(i);t.PsshBox=u;f=function(n){function t(i){i?n.call(this,i):this.type=t.typeStr}return __extends(t,n),t.parse=function(n){var r=null,f=null,e,s,u,o;if(f=i.parse(n),!f)return null;for(r=new t(f),r.schemeIdUrl=r.readTerminatedString(),r.value=r.readTerminatedString(),r.timescale=r.getUint32(),r.presentationTimeDelta=r.getUint32(),r.eventDuration=r.getUint32(),r.id=r.getUint32(),e=r.getRemainingBytes(),s=new DataView(e.buffer),r.messageData="",u=0;u<e.length;u+=2){if(o=s.getUint16(u,!0),0==o)break;r.messageData+=String.fromCharCode(o)}return r},t.typeStr="emsg",t}(i);t.EmsgBox=f;t.GetBoxByType=r;t.GetTfhdBox=a;t.GetTrunBox=v;t.GetTfdtBox=y;t.GetPsshBoxes=p;t.GetEmsgBoxes=w}(n.Mp4Util||(n.Mp4Util={}));n.Mp4Util}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function i(){return n.VideoElementAdapter.supported()}function r(n){var i=!1,t;return n&&n.canPlayType&&(t=n.canPlayType("application/vnd.apple.mpegurl"),("maybe"===t||"probably"===t)&&(i=!0)),i}function u(n){var i=!1,t;return n&&n.canPlayType&&(t=n.canPlayType("video/mp4"),("maybe"===t||"probably"===t)&&(i=!0)),i}!function(n){n[n.type1=1]="type1";n[n.type2=2]="type2";n[n.type3=3]="type3"}(t.Type||(t.Type={}));t.Type;t.MseSupported=i;t.HlsType1Supported=r;t.Mp4Type1Supported=u}(n.PlayerDetector||(n.PlayerDetector={}));n.PlayerDetector}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function s(n,t){if(n&&n.length>0){var r=n.trim().toLowerCase();if(o[r])return i(o[r],t)}}function h(n,t){var o=n.trim().toLowerCase(),s,h;return o.lastIndexOf(".ism/")>-1&&(s=u(o),f[s])?i(f[s],t):(h=r(o),e[h]?i(e[h],t):null)}function r(n){var i=null,t=n.lastIndexOf("."),r=n.indexOf("/",t);return t>-1&&(i=n.substring(t+1,-1!==r?r:n.length)),i}function u(n){var t=null,i=n,e="(format=",o=n.lastIndexOf("?"),r,u,f;return o>-1&&(i=n.substring(0,o)),r=i.lastIndexOf(e),r>-1&&(u=i.lastIndexOf(")"),u>r&&(t=i.substring(r+e.length,u),f=t.indexOf(","),f>-1&&(t=t.substring(0,f)))),t}function i(t,i){n.Log.verbose(7,"Using foramt "+t+" to get player type.");var r=null;switch(t){case 1:n.PlayerDetector.HlsType1Supported(i)?r=1:n.Log.warning(7,"HLS type1 is not supported.");break;case 2:n.PlayerDetector.Mp4Type1Supported(i)?r=1:n.Log.warning(7,"MP4 type1 is not supported.");break;case 3:n.PlayerDetector.MseSupported(i)?r=3:n.Log.warning(7,"MSE is not supported.")}return r}!function(n){n[n.hls=1]="hls";n[n.mp4=2]="mp4";n[n.dash=3]="dash"}(t.Format||(t.Format={}));var f=(t.Format,{"m3u8-aapl-v3":1,"m3u8-aapl-v4":1,"mpd-time-csf":3,"mpd-time-cmaf":3}),e={mp4:2,m3u8:1},o={"video/mp4":2,"application/dash+xml":3,"application/vnd.apple.mpegurl":1};t.getByPresentationType=s;t.getByUrl=h;t._getFileExtension=r;t._getAzureMediaFormatTag=u;t._getPlayerTypeByFormat=i}(n.PlayerType||(n.PlayerType={}));n.PlayerType}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function f(n){for(var r,t=0;t<i.length;t++)if(i[t]&&i[t].id&&i[t].id==n)return r=i.splice(t,1),1===r.length?r[0]:null;return null}var r,i,e,u;if(t.setTimeout=window.setTimeout.bind(window),t.clearTimeout=window.clearTimeout.bind(window),!(window.Worker&&Blob&&window.URL&&window.URL.createObjectURL&&-1==navigator.userAgent.indexOf("MSAppHost")))return void n.Log.verbose(7,"AzureHtml5JS.Util: cannot override setTimeout/clearTimeout");r=0;i=[];try{e=new Blob(["'use strict';(function () {var timers = [];onmessage = function (event) {if (!event.data.id) {return;}if (event.data.start) {if (event.data.ms) {var internalId = setTimeout(function () {var expiredId = removeTimer(event.data.id);if (expiredId && expiredId.external) {postMessage({ type: 'timeout', id: expiredId.external });}}, event.data.ms);timers.push({ external: event.data.id, internal: internalId });postMessage({ type: 'started', id: event.data.id });}else {postMessage({ type: 'timeout', id: event.data.id });}}else if (event.data.stop) {var removedId = removeTimer(event.data.id);if (removedId && removedId.internal) {clearTimeout(removedId.internal);}postMessage({ type: 'cancelled', id: event.data.id });}};function removeTimer(timerId) {for (var i = 0; i < timers.length; i++) {if (timers[i] && timers[i].external && timers[i].external == timerId) {var removed = timers.splice(i, 1);return removed.length === 1 ? removed[0] : null;}}return null;}})();"],{type:"text/javascript"});u=new Worker(window.URL.createObjectURL(e));u.onmessage=function(n){if("timeout"===n.data.type){var t=f(n.data.id);t&&t.callback&&t.callback.apply(t.ctx,t.args)}else"cancelled"===n.data.type&&f(n.data.id)};t.setTimeout=function(n,t){for(var e=[],f=0;f<arguments.length-2;f++)e[f]=arguments[f+2];return r++,i.push({id:r,ctx:this,callback:n,args:e}),u.postMessage({start:!0,id:r,ms:t}),r};t.clearTimeout=function(n){u.postMessage({stop:!0,id:n})}}catch(o){n.Log.verbose(7,"AzureHtml5JS.Util: setTimeout/clearTimeout override failed: "+o)}}(n.Util||(n.Util={}));n.Util}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";function i(n){var t=n.requestedStream.streamingInfo.currentSegment,i=t.segmentInfo.durationInSec;return!i&&n.sessionContext.commonPresentation.isLive&&t.prev&&(i=t.prev.segmentInfo.durationInSec),i}function r(t){return n.assert(0===t.requestedStream.type||1===t.requestedStream.type,"getBufferData: unexpected type"),0===t.requestedStream.type?t.sessionContext.videoBufferData:t.sessionContext.audioBufferData}t.getSegmentDuration=i;t.getBufferData=r}(n.StreamUtil||(n.StreamUtil={}));n.StreamUtil}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";function r(n,r){var f,u,e="",h,o,s;if((n.length>t?(f=parseInt(n.slice(0,n.length-t),10),u=parseInt(n.slice(n.length-t),10)):(f=0,u=parseInt(n,10)),u+=r,u>=i)&&(h=Math.floor(u/i),f+=h,u%=i),o=u.toString(),f)for(e=f.toString(),s=0;s<t-o.length;s++)e+="0";return e+o}var t=6,i=Math.pow(10,t);n.add=r}(n.Timestamp||(n.Timestamp={}));n.Timestamp}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";var t=function(){function t(){}return t.FormatDashMediaUrl=function(n,t,i,r){if(!n)throw new Error("url Template is not set");if(!t)throw new Error("bitrate is not set");var u=n;return u=u.replace("$Bandwidth$",t),i&&(u=u.replace("$Time$",i)),r&&(u+=r),u},t.FormatDashInitUrl=function(t,i,r){return n.UrlFormatter.FormatDashMediaUrl(t,i,null,r)},t}();n.UrlFormatter=t}(n.Util||(n.Util={}));n.Util}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(t){"use strict";var i=function(){function t(){if(!t.useJavascriptLibrary){var i="msCrypto"in window,n=i?window.msCrypto:window.crypto;this._webCryptor=n.subtle||n.webkitSubtle}}return t.prototype.dispose=function(){this._webCryptor=null},t.prototype.initialize=function(t,i,r){var f=this,u={name:"aes-cbc",iv:r};return new Promise(function(e,o){f._webCryptoImportKey(i,u).then(function(i){t.webCrypto={importedkey:i,algorithm:u};n.Log.verbose(12,"Using webcrypto");e()},function(u){return i&&r?(t.forge={keyStr:n.Common.uint8ArrayToString(new Uint8Array(i)),ivStr:n.Common.uint8ArrayToString(new Uint8Array(r))},n.Log.verbose(12,"Using forge"),void e()):void o(u)})})},t.prototype.isInitialized=function(n){return null!=n.forge||null!=n.webCrypto},t.prototype.decrypt=function(n,t){var i=this;return new Promise(function(r,u){n.webCrypto?i._webCryptoDecrypt(n.webCrypto.algorithm,n.webCrypto.importedkey,t).then(function(n){r(n)},function(n){u(n)}):i._forgeDecrypt(n.forge,t).then(function(n){r(n)},function(n){u(n)})})},t.prototype._webCryptoImportKey=function(n,t){var i=this;return new Promise(function(r,u){function e(n){var t=f.result?f.result:n;r(t)}function o(n){u(n)}if(!i._webCryptor)return void u("Platform doesn't support webCrypto");var f=i._webCryptor.importKey("raw",new Uint8Array(n),t,!1,["decrypt"]);"oncomplete"in f?(f.oncomplete=e,f.onerror=o):f.then(function(n){e(n)},function(n){o(n)})})},t.prototype._forgeDecrypt=function(i,r){return new Promise(function(u,f){function e(){n.Forge.decrypt(s,i,r)||(Date.now()-o<t._maxWorkerWaitMSec?n.Util.setTimeout(e,0):f("The forge worker is too busy, total wait time = "+(Date.now()-o)+"ms"))}function s(n){u(n.buffer)}var o=Date.now();e()})},t.prototype._webCryptoDecrypt=function(n,t,i){var r=this;return new Promise(function(u,f){function s(n){var t=e.result?e.result:n;u(t)}function o(n){f(n)}var e=r._webCryptor.decrypt(n,t,new Uint8Array(i));"oncomplete"in e?(e.oncomplete=s,e.onerror=o,e.onabort=o):e.then(function(n){s(n)},function(n){o(n)})})},t.useJavascriptLibrary=!1,t._maxWorkerWaitMSec=3e4,t}();t.Decryptor=i}(n.WebCryptoUtil||(n.WebCryptoUtil={}));n.WebCryptoUtil}(AzureHtml5JS||(AzureHtml5JS={}));!function(n){!function(n){"use strict";var t=function(){function n(){this.xmlHttpRequestDelegate=new XMLHttpRequest}return Object.defineProperty(n.prototype,"responseType",{get:function(){return this.xmlHttpRequestDelegate.responseType},set:function(n){this.xmlHttpRequestDelegate.responseType=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"timeout",{get:function(){return this.xmlHttpRequestDelegate.timeout},set:function(n){this.xmlHttpRequestDelegate.timeout=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"msCaching",{get:function(){if(this.xmlHttpRequestDelegate.msCaching)return this.xmlHttpRequestDelegate.msCaching},set:function(n){this.xmlHttpRequestDelegate.msCaching&&(this.xmlHttpRequestDelegate.msCaching=n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this.xmlHttpRequestDelegate.readyState},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"status",{get:function(){return this.xmlHttpRequestDelegate.status},set:function(n){this.xmlHttpRequestDelegate.status=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"response",{get:function(){return this.xmlHttpRequestDelegate.response},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"statusText",{get:function(){return this.xmlHttpRequestDelegate.statusText},enumerable:!0,configurable:!0}),n.prototype.setRequestHeader=function(n,t){this.xmlHttpRequestDelegate.setRequestHeader(n,t)},n.prototype.abort=function(){this.xmlHttpRequestDelegate.abort()},n.prototype.open=function(n,t,i,r,u){this.xmlHttpRequestDelegate.open(n,t,i?i:!0,r,u)},n.prototype.getResponseHeader=function(n){return this.xmlHttpRequestDelegate.getResponseHeader(n)},n.prototype.send=function(n){this.setCallbacksOnDelegate();this.xmlHttpRequestDelegate.send(n)},n.prototype.setCallbacksOnDelegate=function(){var n=this;this.xmlHttpRequestDelegate.onabort=function(t){n.onabort&&n.onabort(t)};this.xmlHttpRequestDelegate.onerror=function(t){n.onerror&&n.onerror(t)};this.xmlHttpRequestDelegate.onload=function(t){n.onload&&n.onload(t)};this.xmlHttpRequestDelegate.onloadstart=function(t){n.onloadstart&&n.onloadstart(t)};this.xmlHttpRequestDelegate.onloadend=function(t){n.onloadend&&n.onloadend(t)};this.xmlHttpRequestDelegate.onprogress=function(t){n.onprogress&&n.onprogress(t)};this.xmlHttpRequestDelegate.ontimeout=function(t){n.ontimeout&&n.ontimeout(t)};this.xmlHttpRequestDelegate.onreadystatechange=function(t){n.onreadystatechange&&n.onreadystatechange(t)}},n}();n.XMLHttpRequestWrapper=t}(n.HttpRequest||(n.HttpRequest={}));n.HttpRequest}(AzureHtml5JS||(AzureHtml5JS={}));AzureHtml5JSTech=AzureHtml5JS;!function(n){"use strict";function p(n){f(n)&&(i=n)}function w(){i=t}function f(n){if(n&&n.length>0){for(var i=0;i<n.length;i++)if(-1===t.indexOf(n[i]))throw new Error('Format "'+n[i]+'" not supported');return!0}return!1}function b(n,t){for(var r=[],i=0;i<t.length;i++)-1!==tt[n].indexOf(t[i].type)&&r.push(t[i]);return r}function k(n){for(var f,o,r,u,i=[],s=[],t=0;n&&t<n.length;t++)f=n[t].src,o=n[t].src.indexOf("?"),-1!==o&&(f=n[t].src.substr(0,o).toLowerCase()),-1===f.toLowerCase().lastIndexOf(".ism/manifest")||n[t].disableUrlRewriter?i.push(n[t]):(u=e(n[t].src),-1===s.indexOf(u)&&(s.push(u),r=d(n[t]),r&&(i=i.concat(r))));return i.length>0?i:null}function e(n){var t=n.trim(),i=t.search(/\.ism\/manifest/i);return t.substr(0,i+y.length)}function d(n){var tt,t=n.src.trim(),wt=t.search(/format=/i),st=[],d="",w="",yt=t.indexOf("?"),it,rt,ut,lt,ft,et,p,at,ot,k,pt,vt;if(-1!==yt&&(w=t.substr(yt),""!==w)){var bt=new RegExp("(\\?|&)protectionType=(.[^&]*)","i"),kt=new RegExp("(\\?|&)token=(.[^&]*)","i"),ht=w.match(bt),ct=w.match(kt);ht&&3===ht.length&&(it=new u,it.type=ht[2],ct&&3===ct.length&&(it.authenticationToken=decodeURIComponent(ct[2])),n.protectionInfo=[it])}for(rt=t.match(/.*\(format=(.*)\)/),ut=!1,rt&&2===rt.length&&(lt=rt[1].toLowerCase(),(0===lt.indexOf(a)||0===lt.indexOf(v))&&(ut=!0)),wt>-1&&(t=t.replace(/format=[^,)]*[ ,]*/i,""),t=t.replace(/\(\s*\)/,"")),tt=t.match(/\.ism\/manifest\([^)]*\)/i),tt&&tt.length>0&&(d=tt[0].substr(y.length+1).trim()),t=e(n.src.trim()),ft=i,n.streamingFormats&&f(n.streamingFormats)&&(ft=n.streamingFormats),et=0;et<ft.length;et++){if(k="",(p=ft[et],at=nt[p],p!==o)?(pt=p==s&&ut?a:p!=h&&p!=c&&p!=l||!ut?g[p]:v,k="(format="+pt,k+=d?","+d:")"):d&&(k="("+d),n.protectionInfo){if(vt=b(p,n.protectionInfo),!vt.length)continue;ot=new r(t+k,at,vt)}else ot=new r(t+k,at,null);""!==w&&(ot.src+=w);st.push(ot)}return st.length>0?st:null}var o="SMOOTH",s="DASH",h="HLS-V3",c="HLS-V4",l="HLS",t=[o,s,c,h,l],g={DASH:"mpd-time-csf","HLS-V3":"m3u8-aapl-v3","HLS-V4":"m3u8-aapl-v4",HLS:"m3u8-aapl"},a="mpd-time-cmaf",v="m3u8-cmaf",nt={SMOOTH:"application/vnd.ms-sstr+xml",DASH:"application/dash+xml","HLS-V3":"application/vnd.apple.mpegurl","HLS-V4":"application/vnd.apple.mpegurl",HLS:"application/vnd.apple.mpegurl"},tt={SMOOTH:["PlayReady","AES"],DASH:["PlayReady","AES","Widevine"],"HLS-V3":["PlayReady","AES"],"HLS-V4":["PlayReady","AES"],HLS:["PlayReady","AES","FairPlay"]},y=".ism/manifest",i=t,r=function(){function n(n,t,i){this.src=n;this.type=t;this.protectionInfo=i}return n}(),u;n.streamSrc=r;u=function(){function n(){}return n}();n.protectionInfo=u;n.setStreamingFormats=p;n.resetStreamingFormats=w;n.expandSources=k}(UrlRewriter||(UrlRewriter={}));!function(n){!function(n){"use strict";function t(n){for(var i,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t=[],r=0;r<n.byteLength;)i=n[r++],t.push(u.charAt(i>>2)),i=(3&i)<<4,r<n.byteLength?(t.push(u.charAt(i|n[r]>>4)),i=(15&n[r++])<<2,r<n.byteLength?(t.push(u.charAt(i|n[r]>>6)),t.push(u.charAt(63&n[r++]))):(t.push(u.charAt(i)),t.push("="))):(t.push(u.charAt(i)),t.push("=="));return t.join("")}function i(n){for(var o,f,e,s,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r=new Uint8Array(new ArrayBuffer(3*n.length/4+4)),t=0,u=0;t<n.length;)o=i.indexOf(n.charAt(t)),f=i.indexOf(n.charAt(t+1)),(r[u++]=o<<2|f>>4,"="!==n.charAt(t+2))&&(e=i.indexOf(n.charAt(t+2)),(r[u++]=f<<4|e>>2,"="!==n.charAt(t+3))&&(s=i.indexOf(n.charAt(t+3)),r[u++]=e<<6|s)),t+=4;return new Uint8Array(r.buffer,0,u)}n.binaryToBase64=t;n.base64ToBinary=i}(n.Base64Utils||(n.Base64Utils={}));n.Base64Utils}(AMP||(AMP={}));!function(n){!function(n){"use strict";function f(n,t){i(n,3,t)}function h(n,t){i(n,2,t)}function c(n,t){i(n,1,t)}function w(n,t){i(n,0,t)}function b(n){for(var r,t=[],i=0;i<arguments.length-1;i++)t[i]=arguments[i+1];if(t&&t.length>0){r=Array.prototype.slice.call(t[0]);switch(n){case"warn":h(4,r.join(" "));break;case"error":c(4,r.join(" "));break;case null:f(4,r.join(" "));break;default:f(4,r.join(" "))}}}function k(n){o=n}function d(n){void 0===n||null===n?t.forEach(function(n,t,i){i[t]=!0}):t[n]=!0}function g(n){void 0===n||null===n?t.forEach(function(n,t,i){i[t]=!1}):t[n]=!1}function nt(n){"undefined"==typeof n&&(n=!0);u=n}function tt(n){if(void 0!==n&&n.TraceTargets&&!(n.TraceTargets.length<=0)){u=!1;s=!1;o=n.maxLogLevel;for(var t=0;t<n.TraceTargets.length;t++)"console"===n.TraceTargets[t].target.toLowerCase()?s=!0:"memory"===n.TraceTargets[t].target.toLowerCase()&&(u=!0,p=n.TraceTargets[t].maxMemoryTraceCount?n.TraceTargets[t].maxMemoryTraceCount:y)}}function it(n){"undefined"==typeof n&&(n=!0);var t=r;return n&&(r=[]),t.join("\n")}function i(n,i,f){var e=new Date(Date.now()),h;o>=i&&t[n]&&(h="["+e.getHours()+":"+e.getMinutes()+":"+(e.getSeconds()+e.getMilliseconds()/1e3).toFixed(3)+"] "+l[i]+": "+a[n]+": "+f,u&&(r.length>p&&r.shift(),r.push(h)),s&&rt.log(h))}var l,a;!function(n){n[n.none=0]="none";n[n.error=1]="error";n[n.warning=2]="warning";n[n.verbose=3]="verbose"}(n.Level||(n.Level={}));l=n.Level;!function(n){n[n.functionalTest=0]="functionalTest";n[n.azureHtml5JS=1]="azureHtml5JS";n[n.flashSS=2]="flashSS";n[n.silverlightSS=3]="silverlightSS";n[n.videojs=4]="videojs";n[n.plugin=5]="plugin";n[n.html5FairplayHLS=6]="html5FairplayHLS";n[n.html5=7]="html5";n[n.scte35=8]="scte35";n[n.scheduler=9]="scheduler";n[n.ad=10]="ad";n[n.ampAPI=11]="ampAPI";n[n.cea608Module=12]="cea608Module";n[n.max=13]="max"}(n.Area||(n.Area={}));a=n.Area;n.verbose=f;n.warning=h;n.error=c;n.startup=w;n.videoJSLogOverride=b;n.setConsoleOutputByLevel=k;n.enableConsoleOutputByArea=d;n.disableConsoleOutputByArea=g;n.enableMemoryLog=nt;n.setLogConfig=tt;n.getMemoryLog=it;n.writeEntry=i;for(var e=function(){},rt=window.console||{log:e,warn:e,error:e},o=0,t=[],v=0;13>v;v++)t.push(!1);var y=5e4,u=!1,r=[],p=y,s=!0;n.enableConsoleOutputByArea();n.setConsoleOutputByLevel(1)}(n.Logger||(n.Logger={}));n.Logger}(AMP||(AMP={}));!function(n){!function(n){"use strict";function t(){for(var i,t=[],n=0;n<arguments.length-0;n++)t[n]=arguments[n+0];return i=Array.prototype.slice.call(t,1),t[0].replace(/{(\d+)}/g,function(n,t){return"undefined"!=typeof i[t]?i[t]:n})}n.formatString=t}(n.Misc||(n.Misc={}));n.Misc}(AMP||(AMP={}));!function(n){!function(n){"use strict";var t,i;!function(n){n[n.audio=0]="audio";n[n.video=1]="video"}(n.MediaType||(n.MediaType={}));t=(n.MediaType,function(){function n(n,t){this._el=n;this._typeStr=0===t?"Audio":"Video";this._bufferLevel=0;this._handlers=new i;this.downloadRequested=null;this.downloadCompleted=null;this.downloadFailed=null}return Object.defineProperty(n.prototype,"bufferLevel",{get:function(){var n="get"+this._typeStr+"BufferLength";return this._el&&this._el[n]?this._el[n]():0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"perceivedBandwidth",{get:function(){return this._el&&this._el.getPerceivedBandwidth?this._el.getPerceivedBandwidth():0},enumerable:!0,configurable:!0}),n.prototype.addEventListener=function(n,t){this._handlers[n]&&this._handlers[n].push(t)},n.prototype.removeEventListener=function(n,t){if(this._handlers[n]){var i=this._handlers[n].indexOf(t);-1!==i&&this._handlers[n].splice(i,1)}},n.prototype.dispatchEvent=function(n){if(this._handlers[n])for(var i={type:n},t=0;t<this._handlers[n].length;t++)this._handlers[n][t].call(this,i)},n}());n.BufferData=t;i=function(){function n(){this.downloadrequested=[];this.downloadcompleted=[];this.downloaddecrypted=[];this.downloadfailed=[]}return n}()}(n.FlashSS||(n.FlashSS={}));n.FlashSS}(AMP||(AMP={}));!function(n){!function(t){"use strict";var r=function(){function t(n){var t,r;for(this._streams=[],this._flashElement=n,t=0;t<n.getNumAlternativeAudioStreams();t++)r=new i(n,t),this._streams.push(r);this.selectedIndex=this._streams.length>0?n.getCurrentAlternativeAudioStreamIndex():void 0}return Object.defineProperty(t.prototype,"streams",{get:function(){return this._streams},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabledIndices",{get:function(){for(var t=[],n=0;n<this._streams.length;n++)if(this._streams[n].enabled){t.push(n);break}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){0!=this._streams.length&&(void 0!=this._selectedIndex&&(this._streams[this._selectedIndex].enabled=!1),this._streams[n].enabled=!0,this._selectedIndex=n)},enumerable:!0,configurable:!0}),t.prototype.switchIndex=function(t){if(this._flashElement.getHasAlternativeAudio()){if(1!=this.enabledIndices.length)return n.Logger.error(2,"switchIndex failed - only single stream supported: "+this.enabledIndices.length+" streams enabled"),void this._flashElement.tech.trigger(amp.streamListEventName.streamselectnotsupported);if(t>=this.streams.length||0>t)return n.Logger.error(2,"audioChange failed - tried to enable invalid index: "+t),void this._flashElement.tech.trigger(amp.streamListEventName.streamindexinvalid);if(t===this.enabledIndices[0])return n.Logger.verbose(2,"audioChange failed because current stream selected"),void this._flashElement.tech.trigger(amp.streamListEventName.streamselected);this.selectedIndex=t;this._flashElement.switchAlternativeAudioIndex(t);this._flashElement.tech.trigger(amp.streamListEventName.streamselected)}else n.Logger.error(2,"No alternative audio streams found")},t.prototype.addEventListener=function(n,t){this._flashElement.tech.on(n,t)},t.prototype.removeEventListener=function(n,t){this._flashElement.tech.off(n,t)},t}(),i;t.AudioStreamList=r;i=function(){function n(n,t){this.enabled=!1;this.language=n.getAlternativeAudioItemAt(t).info.attributes.Language;this.codec=n.getAlternativeAudioItemAt(t).info.targetTrack.fourCC;this.bitrate=1e3*n.getAlternativeAudioItemAt(t).bitrate;this.name=this.getName(n,t)}return n.prototype.getName=function(n,t){var i=n.getAlternativeAudioItemAt(t).info.urlTemplate.toLowerCase(),r="fragments(",u=i.indexOf(r),f=i.indexOf("=",u);return n.getAlternativeAudioItemAt(t).info.urlTemplate.substring(u+r.length,f)},n}();t.AudioStream=i}(n.FlashSS||(n.FlashSS={}));n.FlashSS}(AMP||(AMP={}));!function(n){!function(n){"use strict";var u=function(){function n(n){if(this.streams=[],n.getIsDynamicStream()){var i=new t(n);this.streams.push(i)}this.selectedIndex=this.streams.length>0?0:void 0}return n}(),t,i,r;n.VideoStreamList=u;t=function(){function n(n){var i,t,u;for(this.name="",this.tracks=[],this._flashElement=n,this._selectedTrack=-1,i=n.getStreamItems(),t=0;t<i.length;t++)u=new r(i[t]),this.tracks.push(u)}return n.prototype.selectTrackByIndex=function(n){if(this._selectedTrack!=n){-1==n?this._flashElement.setAutoDynamicStreamSwitch(!0):(this._flashElement.setAutoDynamicStreamSwitch(!1),this._flashElement.switchDynamicStreamIndex(n));for(var t=0;t<this.tracks.length;t++)this.tracks[t].streamingInfo.selectable=-1===n?!0:n===t;this._selectedTrack=n;this._flashElement.tech.trigger(amp.streamEventName.trackselected)}},n.prototype.addEventListener=function(n,t){this._flashElement.tech.on(n,t)},n.prototype.removeEventListener=function(n,t){this._flashElement.tech.off(n,t)},n}();n.VideoStream=t;i=function(){function n(){this.selectable=!0}return n}();n.MediaTrackStreamingInfo=i;r=function(){function n(n){this.width=n.width;this.height=n.height;this.bitrate=1e3*n.bitrate;this.streamingInfo=new i}return Object.defineProperty(n.prototype,"selectable",{get:function(){return this.streamingInfo.selectable},enumerable:!0,configurable:!0}),n}();n.VideoTrack=r}(n.FlashSS||(n.FlashSS={}));n.FlashSS}(AMP||(AMP={}));!function(n){!function(n){"use strict";var t=function(){function n(n){this._html5Tech=n}return Object.defineProperty(n.prototype,"streams",{get:function(){var i=[],t=this._html5Tech.player().audioTracks(),n,r;if(t)for(n=0;n<t.length;n++)r={name:t[n].label,codec:"aac",language:t[n].language,bitrate:0,enabled:t[n].enabled},i.push(r);return i},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabledIndices",{get:function(){var i=[],t=this._html5Tech.player().audioTracks(),n;if(t)for(n=0;n<t.length;n++)t[n].enabled&&i.push(n);return i},enumerable:!0,configurable:!0}),n.prototype.switchIndex=function(n){var i=this._html5Tech.player().audioTracks(),t;if(i&&n>=0&&n<i.length)for(t=0;t<i.length;t++)i[t].enabled=t===n,t===n&&this._html5Tech.trigger(amp.streamListEventName.streamselected)},n.prototype.addEventListener=function(n,t){this._html5Tech.on(n,t)},n.prototype.removeEventListener=function(n,t){this._html5Tech.off(n,t)},n}();n.AudioStreamList=t}(n.Html5||(n.Html5={}));n.Html5}(AMP||(AMP={}));!function(n){!function(t){"use strict";var i,r;!function(n){n[n.success=200]="success"}(i||(i={}));r=function(){function n(n,t,i){this.src=n;this.autoPlay=t;this.fairplayInfo=i}return n}();t.SrcInfo=r;var u=function(){function n(n,t){this.code=n;this.msg=t}return n}(),f=function(){function n(n,t,i,r){this.target=n;this.listener=t;this.eventName=i;this.useCapture=r}return n}(),e=function(){function t(n,t,i,r){this.videoTag=n;this.srcInfo=t;this.onError=i;this.onEvent=r;this.certFecthed=!1;this.certificate=null;this.session=null;this.licenseUrl=null;this.disposed=!1;this.keySessionEventListeners=[];this.init()}return t.prototype.dispose=function(){this.disposed=!0;this.keySessionEventListeners.forEach(function(n){n.target.removeEventListener(n.eventName,n.listener,n.useCapture)});this.keySessionEventListeners=null;this.videoTag&&(this.videoTag=null);this.srcInfo=null;this.onError=null;this.certificate=null;this.onEvent=null;this.certFecthed=!1;this.session&&this.session.close()},t.prototype.init=function(){function i(){t.certFecthed=!0;t.setSrcOnVideoElement()}function r(){return new Promise(function(i,r){function e(){t.disposed||(n.Logger.verbose(6,"FairPlay certificate fetch completed"),200===this.status?(t.certificate=new Uint8Array(this.response),i()):r(new u(5242887,"Fairplay certificate fetch failed with status ="+this.status)))}function o(){t.disposed||r(new u(5242887,"Error occurred during Fairplay certificate fetch."))}var f=new XMLHttpRequest;f.open("GET",t.srcInfo.fairplayInfo.certificateUrl,!0);f.responseType="arraybuffer";f.onload=e;f.onerror=o;n.Logger.verbose(6,"Fairplay certificate fetch initiated");f.send()})}if(!this.srcInfo.fairplayInfo||!this.srcInfo.fairplayInfo.type||"FairPlay"!=this.srcInfo.fairplayInfo.type||!this.srcInfo.fairplayInfo.certificateUrl)return void this.onError(4194304,"Initialization Error in FairPlay");var t=this;r().then(i)["catch"](function(i){n.Logger.error(6,i.msg);t.onError(i.code,i.msg)})},t.prototype.play=function(){this.certFecthed?this.videoTag.play():this.pendingPlay=!0},t.prototype.addEventListener=function(n,t,i,r){n.addEventListener(t,i,r);this.keySessionEventListeners.push(new f(n,i,t,r))},t.prototype.setSrcOnVideoElement=function(){function i(n){if(!t.disposed){var i=n.initData;t.contentId=e(i);i=t.concatInitDataContentIdAndCertificate(i,h(t.contentId));t.session=f(i,"com.apple.fps.1_0");t.session&&(t.addEventListener(t.session,"webkitkeymessage",r,!1),t.addEventListener(t.session,"webkitkeyerror",u,!1))}}function r(i){function f(){var e,u;if(!t.disposed)try{if(n.Logger.verbose(6,"FairPlay License fetch completed"),200!==this.status)throw Error("License fetch failed with http status = "+this.status);var i=this.responseText.trim(),r=i.indexOf("<ckc>"),f=i.indexOf("<\/ckc>");if(-1===r||-1===f)throw Error("License data format not as expected, missing or misplaced <ckc> tag");r+=5;i=i.substr(r,f-r);e=n.Base64Utils.base64ToBinary(i);t.session.update(e)}catch(o){u=o.message?o.message:"Failed to update MediaKeySession with fetched Fairplay license.";n.Logger.error(6,u);t.onError(5242886,u)}}function e(){if(!t.disposed){var i="Error occurred during Fairplay license fetch.";n.Logger.error(6,i);t.onError(5242886,i)}}var r,u;t.disposed||(r=new XMLHttpRequest,r.open("POST",t.licenseUrl,!0),r.onload=f,r.onerror=e,r.responseType="text",u="spc="+n.Base64Utils.binaryToBase64(i.message)+"&assetId="+encodeURIComponent(t.contentId),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.srcInfo.fairplayInfo.authenticationToken&&r.setRequestHeader("Authorization",t.srcInfo.fairplayInfo.authenticationToken),n.Logger.verbose(6,"FairPlay License fetch initiated"),r.send(u))}function u(){if(!t.disposed){var i="MediaKeyError code: "+t.session.error.code+", systemCode: "+AzureHtml5JS.Common.toHexString(t.session.error.systemCode);n.Logger.error(6,i);t.onError(5242880,i)}}function f(i,r){var f="video/mp4",s="WebKitMediaKeys"in window,e=null,u;try{if(!s||!window.WebKitMediaKeys.isTypeSupported(r,f))throw new Error("No EME support.");t.videoTag.webkitSetMediaKeys(new window.WebKitMediaKeys(r));e=t.videoTag.webkitKeys.createSession(f,i)}catch(o){u=o.message?o.message:r+" session creation failed";n.Logger.error(6,u);t.onError(5242881,u)}return e}function e(n){var i=s(n);return t.licenseUrl=i.substring(1).replace("skd://","https://"),o(t.licenseUrl)}function o(n){var t=document.createElement("a");return t.href=n,t.hostname}function s(n){var i=new Uint16Array(n.buffer),r,t;try{return String.fromCharCode.apply(null,i)}catch(u){for(r=[],t=0;t<i.byteLength;t++)r.push(String.fromCharCode(i[t]));return r.join("")}}function h(n){for(var r=new ArrayBuffer(2*n.length),i=new Uint16Array(r),t=0,u=n.length;u>t;t++)i[t]=n.charCodeAt(t);return i}if(!this.disposed){this.addEventListener(this.videoTag,"webkitneedkey",i,!1);this.videoTag.autoplay=this.srcInfo.autoPlay;this.videoTag.src=this.srcInfo.src;this.pendingPlay&&this.videoTag.play();var t=this}},t.prototype.concatInitDataContentIdAndCertificate=function(n,t){var u=4,h=n.length+u+t.byteLength+u+this.certificate.byteLength,r=new ArrayBuffer(h),e=new DataView(r),i=0,o=new Uint8Array(r,i,n.byteLength),f,s;return o.set(n),i+=o.byteLength,e.setUint32(i,t.byteLength,!0),i+=u,f=new Uint16Array(r,i,t.length),f.set(t),i+=f.byteLength,e.setUint32(i,this.certificate.byteLength,!0),i+=u,s=new Uint8Array(r,i,this.certificate.byteLength),s.set(this.certificate),new Uint8Array(r,0,r.byteLength)},t}();t.FairPlay=e}(n.Html5Fairplay||(n.Html5Fairplay={}));n.Html5Fairplay}(AMP||(AMP={}));!function(n){!function(t){"use strict";function r(n){var r=null;if(n)try{for(var u=window.atob(n),e=new ArrayBuffer(u.length),f=new Uint8Array(e),t=0;t<u.length;t++)f[t]=u.charCodeAt(t);r=i(f)}catch(o){r=null}return r}function i(t){var i=null,h,c,f,e,l,r,a;if(t&&t.length>18)try{var o=9e4,s=4294967296,u=16777216;if(i={id:void 0,startOffset:0},h=t[4]>>7,h)n.Logger.warning(8,"Received encrypted message. Skipping..");else if(c=(127&t[4])*67108864+(t[5]<<18)+(t[6]<<10)+(t[7]<<2)+(t[8]>>6),f=t[13],5!=f)n.Logger.warning(8,"Skipping unsupported splice command: "+f);else if(i.id=t[14]*u+(t[15]<<16)+(t[16]<<8)+t[17],i.cancel=t[18]>>7==1,!i.cancel){i.out=t[19]>>7==1;var v=(64&t[19])>>6==1,y=(32&t[19])>>5==1,p=(16&t[19])>>4==1;v?p?-1==i.startOffset:(e=(128&t[20])>>7==1,e&&(l=(1&t[20])*s+t[21]*u+(t[22]<<16)+(t[23]<<8)+t[24],i.startOffset=(l+c)/o),y&&(r=e?25:21,a=(1&t[r],(1&t[r])*s+t[r+1]*u+(t[r+2]<<16)+(t[r+3]<<8)+t[r+4]),i.duration=a/o)):n.Logger.warning(8,"Component splice mode is not supported.")}}catch(w){i=null}return i}t.parseBase64EncodedMessage=r;t.parseBinaryMessage=i}(n.Scte35Parser||(n.Scte35Parser={}));n.Scte35Parser}(AMP||(AMP={})),function a(n,t,i){function r(u,e){var s,h,o;if(!t[u]){if(!n[u]){if(s="function"==typeof require&&require,!e&&s)return s(u,!0);if(f)return f(u,!0);h=new Error("Cannot find module '"+u+"'");throw h.code="MODULE_NOT_FOUND",h;}o=t[u]={exports:{}};n[u][0].call(o.exports,function(t){var i=n[u][1][t];return r(i?i:t)},o,o.exports,a,n,t,i)}return t[u].exports}for(var f="function"==typeof require&&require,u=0;u<i.length;u++)r(i[u]);return r}({1:[function(n,t,i){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(n){"use strict";function t(n){var t=n.charCodeAt(0);return t===h||t===l?62:t===c||t===a?63:i>t?-1:i+10>t?t-i+26+26:f+26>t?t-f:u+26>t?t-u+26:void 0}function e(n){function u(n){e[l++]=n}var i,h,c,r,f,e,o,l;if(n.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");for(o=n.length,f="="===n.charAt(o-2)?2:"="===n.charAt(o-1)?1:0,e=new s(3*n.length/4-f),c=f>0?n.length-4:n.length,l=0,i=0,h=0;c>i;i+=4,h+=3)r=t(n.charAt(i))<<18|t(n.charAt(i+1))<<12|t(n.charAt(i+2))<<6|t(n.charAt(i+3)),u((16711680&r)>>16),u((65280&r)>>8),u(255&r);return 2===f?(r=t(n.charAt(i))<<2|t(n.charAt(i+1))>>4,u(255&r)):1===f&&(r=t(n.charAt(i))<<10|t(n.charAt(i+1))<<4|t(n.charAt(i+2))>>2,u(r>>8&255),u(255&r)),e}function o(n){function t(n){return r.charAt(n)}function s(n){return t(n>>18&63)+t(n>>12&63)+t(n>>6&63)+t(63&n)}for(var i,o=n.length%3,u="",f=0,e=n.length-o;e>f;f+=3)i=(n[f]<<16)+(n[f+1]<<8)+n[f+2],u+=s(i);switch(o){case 1:i=n[n.length-1];u+=t(i>>2);u+=t(i<<4&63);u+="==";break;case 2:i=(n[n.length-2]<<8)+n[n.length-1];u+=t(i>>10);u+=t(i>>4&63);u+=t(i<<2&63);u+="="}return u}var s="undefined"!=typeof Uint8Array?Uint8Array:Array,h="+".charCodeAt(0),c="/".charCodeAt(0),i="0".charCodeAt(0),u="a".charCodeAt(0),f="A".charCodeAt(0),l="-".charCodeAt(0),a="_".charCodeAt(0);n.toByteArray=e;n.fromByteArray=o}("undefined"==typeof i?this.base64js={}:i)},{}],2:[function(){},{}],3:[function(n,t,i){(function(t){"use strict";function st(){function t(){}try{var n=new Uint8Array(1);return n.foo=function(){return 42},n.constructor=t,42===n.foo()&&n.constructor===t&&"function"==typeof n.subarray&&0===n.subarray(1,1).byteLength}catch(i){return!1}}function b(){return r.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function r(n){return this instanceof r?(r.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof n?ht(this,n):"string"==typeof n?ct(this,n,arguments.length>1?arguments[1]:"utf8"):lt(this,n)):arguments.length>1?new r(n,arguments[1]):new r(n)}function ht(n,t){if(n=o(n,0>t?0:0|s(t)),!r.TYPED_ARRAY_SUPPORT)for(var i=0;t>i;i++)n[i]=0;return n}function ct(n,t,i){("string"!=typeof i||""===i)&&(i="utf8");var r=0|d(t,i);return n=o(n,r),n.write(t,i),n}function lt(n,t){if(r.isBuffer(t))return at(n,t);if(p(t))return vt(n,t);if(null==t)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(t.buffer instanceof ArrayBuffer)return k(n,t);if(t instanceof ArrayBuffer)return yt(n,t)}return t.length?pt(n,t):wt(n,t)}function at(n,t){var i=0|s(t.length);return n=o(n,i),t.copy(n,0,0,i),n}function vt(n,t){var r=0|s(t.length),i;for(n=o(n,r),i=0;r>i;i+=1)n[i]=255&t[i];return n}function k(n,t){var r=0|s(t.length),i;for(n=o(n,r),i=0;r>i;i+=1)n[i]=255&t[i];return n}function yt(n,t){return r.TYPED_ARRAY_SUPPORT?(t.byteLength,n=r._augment(new Uint8Array(t))):n=k(n,new Uint8Array(t)),n}function pt(n,t){var r=0|s(t.length),i;for(n=o(n,r),i=0;r>i;i+=1)n[i]=255&t[i];return n}function wt(n,t){var r,u=0,i;for("Buffer"===t.type&&p(t.data)&&(r=t.data,u=0|s(r.length)),n=o(n,u),i=0;u>i;i+=1)n[i]=255&r[i];return n}function o(n,t){r.TYPED_ARRAY_SUPPORT?(n=r._augment(new Uint8Array(t)),n.__proto__=r.prototype):(n.length=t,n._isBuffer=!0);var i=0!==t&&t<=r.poolSize>>>1;return i&&(n.parent=et),n}function s(n){if(n>=b())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+b().toString(16)+" bytes");return 0|n}function y(n,t){if(!(this instanceof y))return new y(n,t);var i=new r(n,t);return delete i.parent,i}function d(n,t){var i,r;if("string"!=typeof n&&(n=""+n),i=n.length,0===i)return 0;for(r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return i;case"utf8":case"utf-8":return a(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return ut(n).length;default:if(r)return a(n).length;t=(""+t).toLowerCase();r=!0}}function bt(n,t,i){var r=!1;if(t=0|t,i=void 0===i||i===1/0?this.length:0|i,n||(n="utf8"),0>t&&(t=0),i>this.length&&(i=this.length),t>=i)return"";for(;;)switch(n){case"hex":return ei(this,t,i);case"utf8":case"utf-8":return nt(this,t,i);case"ascii":return ui(this,t,i);case"binary":return fi(this,t,i);case"base64":return ii(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oi(this,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase();r=!0}}function kt(n,t,i,r){var f,e,u,o;if(i=Number(i)||0,f=n.length-i,r?(r=Number(r),r>f&&(r=f)):r=f,e=t.length,e%2!=0)throw new Error("Invalid hex string");for(r>e/2&&(r=e/2),u=0;r>u;u++){if(o=parseInt(t.substr(2*u,2),16),isNaN(o))throw new Error("Invalid hex string");n[i+u]=o}return u}function dt(n,t,i,r){return v(a(t,n.length-i),n,i,r)}function g(n,t,i,r){return v(li(t),n,i,r)}function gt(n,t,i,r){return g(n,t,i,r)}function ni(n,t,i,r){return v(ut(t),n,i,r)}function ti(n,t,i,r){return v(ai(t,n.length-i),n,i,r)}function ii(n,t,i){return ft.fromByteArray(0===t&&i===n.length?n:n.slice(t,i))}function nt(n,t,i){var h,f,e,s,l,u;for(i=Math.min(n.length,i),h=[],f=t;i>f;){var o=n[f],r=null,c=o>239?4:o>223?3:o>191?2:1;if(i>=f+c)switch(c){case 1:128>o&&(r=o);break;case 2:e=n[f+1];128==(192&e)&&(u=(31&o)<<6|63&e,u>127&&(r=u));break;case 3:e=n[f+1];s=n[f+2];128==(192&e)&&128==(192&s)&&(u=(15&o)<<12|(63&e)<<6|63&s,u>2047&&(55296>u||u>57343)&&(r=u));break;case 4:e=n[f+1];s=n[f+2];l=n[f+3];128==(192&e)&&128==(192&s)&&128==(192&l)&&(u=(15&o)<<18|(63&e)<<12|(63&s)<<6|63&l,u>65535&&1114112>u&&(r=u))}null===r?(r=65533,c=1):r>65535&&(r-=65536,h.push(r>>>10&1023|55296),r=56320|1023&r);h.push(r);f+=c}return ri(h)}function ri(n){var r=n.length,i,t;if(w>=r)return String.fromCharCode.apply(String,n);for(i="",t=0;r>t;)i+=String.fromCharCode.apply(String,n.slice(t,t+=w));return i}function ui(n,t,i){var u="",r;for(i=Math.min(n.length,i),r=t;i>r;r++)u+=String.fromCharCode(127&n[r]);return u}function fi(n,t,i){var u="",r;for(i=Math.min(n.length,i),r=t;i>r;r++)u+=String.fromCharCode(n[r]);return u}function ei(n,t,i){var f=n.length,u,r;for((!t||0>t)&&(t=0),(!i||0>i||i>f)&&(i=f),u="",r=t;i>r;r++)u+=ci(n[r]);return u}function oi(n,t,i){for(var u=n.slice(t,i),f="",r=0;r<u.length;r+=2)f+=String.fromCharCode(u[r]+256*u[r+1]);return f}function f(n,t,i){if(n%1!=0||0>n)throw new RangeError("offset is not uint");if(n+t>i)throw new RangeError("Trying to access beyond buffer length");}function e(n,t,i,u,f,e){if(!r.isBuffer(n))throw new TypeError("buffer must be a Buffer instance");if(t>f||e>t)throw new RangeError("value is out of bounds");if(i+u>n.length)throw new RangeError("index out of range");}function c(n,t,i,r){0>t&&(t=65535+t+1);for(var u=0,f=Math.min(n.length-i,2);f>u;u++)n[i+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function l(n,t,i,r){0>t&&(t=4294967295+t+1);for(var u=0,f=Math.min(n.length-i,4);f>u;u++)n[i+u]=t>>>8*(r?u:3-u)&255}function tt(n,t,i,r,u,f){if(t>u||f>t)throw new RangeError("value is out of bounds");if(i+r>n.length)throw new RangeError("index out of range");if(0>i)throw new RangeError("index out of range");}function it(n,t,i,r,u){return u||tt(n,t,i,4,34028234663852886e22,-34028234663852886e22),h.write(n,t,i,r,23,4),i+4}function rt(n,t,i,r,u){return u||tt(n,t,i,8,17976931348623157e292,-17976931348623157e292),h.write(n,t,i,r,52,8),i+8}function si(n){if(n=hi(n).replace(ot,""),n.length<2)return"";for(;n.length%4!=0;)n+="=";return n}function hi(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function ci(n){return 16>n?"0"+n.toString(16):n.toString(16)}function a(n,t){t=t||1/0;for(var i,e=n.length,u=null,r=[],f=0;e>f;f++){if(i=n.charCodeAt(f),i>55295&&57344>i){if(!u){if(i>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(f+1===e){(t-=3)>-1&&r.push(239,191,189);continue}u=i;continue}if(56320>i){(t-=3)>-1&&r.push(239,191,189);u=i;continue}i=(u-55296<<10|i-56320)+65536}else u&&(t-=3)>-1&&r.push(239,191,189);if(u=null,128>i){if((t-=1)<0)break;r.push(i)}else if(2048>i){if((t-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(65536>i){if((t-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(1114112>i))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function li(n){for(var i=[],t=0;t<n.length;t++)i.push(255&n.charCodeAt(t));return i}function ai(n,t){for(var i,f,e,r=[],u=0;u<n.length&&!((t-=2)<0);u++)i=n.charCodeAt(u),f=i>>8,e=i%256,r.push(e),r.push(f);return r}function ut(n){return ft.toByteArray(si(n))}function v(n,t,i,r){for(var u=0;r>u&&!(u+i>=t.length||u>=n.length);u++)t[u+i]=n[u];return u}var ft=n("base64-js"),h=n("ieee754"),p=n("isarray"),et,w,u,ot;i.Buffer=r;i.SlowBuffer=y;i.INSPECT_MAX_BYTES=50;r.poolSize=8192;et={};r.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:st();r.TYPED_ARRAY_SUPPORT?(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array):(r.prototype.length=void 0,r.prototype.parent=void 0);r.isBuffer=function(n){return!(null==n||!n._isBuffer)};r.compare=function(n,t){if(!r.isBuffer(n)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(n===t)return 0;for(var u=n.length,f=t.length,i=0,e=Math.min(u,f);e>i&&n[i]===t[i];)++i;return i!==e&&(u=n[i],f=t[i]),f>u?-1:u>f?1:0};r.isEncoding=function(n){switch(String(n).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};r.concat=function(n,t){var i,u,f,e;if(!p(n))throw new TypeError("list argument must be an Array of Buffers.");if(0===n.length)return new r(0);if(void 0===t)for(t=0,i=0;i<n.length;i++)t+=n[i].length;for(u=new r(t),f=0,i=0;i<n.length;i++)e=n[i],e.copy(u,f),f+=e.length;return u};r.byteLength=d;r.prototype.toString=function(){var n=0|this.length;return 0===n?"":0===arguments.length?nt(this,0,n):bt.apply(this,arguments)};r.prototype.equals=function(n){if(!r.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:0===r.compare(this,n)};r.prototype.inspect=function(){var n="",t=i.INSPECT_MAX_BYTES;return this.length>0&&(n=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(n+=" ... ")),"<Buffer "+n+">"};r.prototype.compare=function(n){if(!r.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?0:r.compare(this,n)};r.prototype.indexOf=function(n,t){function i(n,t,i){for(var r=-1,u=0;i+u<n.length;u++)if(n[i+u]===t[-1===r?0:u-r]){if(-1===r&&(r=u),u-r+1===t.length)return i+r}else r=-1;return-1}if((t>2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)||t>=this.length)return-1;if(0>t&&(t=Math.max(this.length+t,0)),"string"==typeof n)return 0===n.length?-1:String.prototype.indexOf.call(this,n,t);if(r.isBuffer(n))return i(this,n,t);if("number"==typeof n)return r.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,n,t):i(this,[n],t);throw new TypeError("val must be string, number or Buffer");};r.prototype.get=function(n){return this.readUInt8(n)};r.prototype.set=function(n,t){return this.writeUInt8(n,t)};r.prototype.write=function(n,t,i,r){var e,u,f;if(void 0===t?(r="utf8",i=this.length,t=0):void 0===i&&"string"==typeof t?(r=t,i=this.length,t=0):isFinite(t)?(t=0|t,isFinite(i)?(i=0|i,void 0===r&&(r="utf8")):(r=i,i=void 0)):(e=r,r=t,t=0|i,i=e),u=this.length-t,(void 0===i||i>u)&&(i=u),n.length>0&&(0>i||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");for(r||(r="utf8"),f=!1;;)switch(r){case"hex":return kt(this,n,t,i);case"utf8":case"utf-8":return dt(this,n,t,i);case"ascii":return g(this,n,t,i);case"binary":return gt(this,n,t,i);case"base64":return ni(this,n,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ti(this,n,t,i);default:if(f)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase();f=!0}};r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};w=4096;r.prototype.slice=function(n,t){var i=this.length,u,e,f;if(n=~~n,t=void 0===t?i:~~t,0>n?(n+=i,0>n&&(n=0)):n>i&&(n=i),0>t?(t+=i,0>t&&(t=0)):t>i&&(t=i),n>t&&(t=n),r.TYPED_ARRAY_SUPPORT)u=r._augment(this.subarray(n,t));else for(e=t-n,u=new r(e,void 0),f=0;e>f;f++)u[f]=this[f+n];return u.length&&(u.parent=this.parent||this),u};r.prototype.readUIntLE=function(n,t,i){n=0|n;t=0|t;i||f(n,t,this.length);for(var r=this[n],u=1,e=0;++e<t&&(u*=256);)r+=this[n+e]*u;return r};r.prototype.readUIntBE=function(n,t,i){n=0|n;t=0|t;i||f(n,t,this.length);for(var r=this[n+--t],u=1;t>0&&(u*=256);)r+=this[n+--t]*u;return r};r.prototype.readUInt8=function(n,t){return t||f(n,1,this.length),this[n]};r.prototype.readUInt16LE=function(n,t){return t||f(n,2,this.length),this[n]|this[n+1]<<8};r.prototype.readUInt16BE=function(n,t){return t||f(n,2,this.length),this[n]<<8|this[n+1]};r.prototype.readUInt32LE=function(n,t){return t||f(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]};r.prototype.readUInt32BE=function(n,t){return t||f(n,4,this.length),16777216*this[n]+(this[n+1]<<16|this[n+2]<<8|this[n+3])};r.prototype.readIntLE=function(n,t,i){n=0|n;t=0|t;i||f(n,t,this.length);for(var r=this[n],u=1,e=0;++e<t&&(u*=256);)r+=this[n+e]*u;return u*=128,r>=u&&(r-=Math.pow(2,8*t)),r};r.prototype.readIntBE=function(n,t,i){n=0|n;t=0|t;i||f(n,t,this.length);for(var e=t,r=1,u=this[n+--e];e>0&&(r*=256);)u+=this[n+--e]*r;return r*=128,u>=r&&(u-=Math.pow(2,8*t)),u};r.prototype.readInt8=function(n,t){return t||f(n,1,this.length),128&this[n]?-1*(256-this[n]):this[n]};r.prototype.readInt16LE=function(n,t){t||f(n,2,this.length);var i=this[n]|this[n+1]<<8;return 32768&i?4294901760|i:i};r.prototype.readInt16BE=function(n,t){t||f(n,2,this.length);var i=this[n+1]|this[n]<<8;return 32768&i?4294901760|i:i};r.prototype.readInt32LE=function(n,t){return t||f(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24};r.prototype.readInt32BE=function(n,t){return t||f(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]};r.prototype.readFloatLE=function(n,t){return t||f(n,4,this.length),h.read(this,n,!0,23,4)};r.prototype.readFloatBE=function(n,t){return t||f(n,4,this.length),h.read(this,n,!1,23,4)};r.prototype.readDoubleLE=function(n,t){return t||f(n,8,this.length),h.read(this,n,!0,52,8)};r.prototype.readDoubleBE=function(n,t){return t||f(n,8,this.length),h.read(this,n,!1,52,8)};r.prototype.writeUIntLE=function(n,t,i,r){n=+n;t=0|t;i=0|i;r||e(this,n,t,i,Math.pow(2,8*i),0);var u=1,f=0;for(this[t]=255&n;++f<i&&(u*=256);)this[t+f]=n/u&255;return t+i};r.prototype.writeUIntBE=function(n,t,i,r){n=+n;t=0|t;i=0|i;r||e(this,n,t,i,Math.pow(2,8*i),0);var u=i-1,f=1;for(this[t+u]=255&n;--u>=0&&(f*=256);)this[t+u]=n/f&255;return t+i};r.prototype.writeUInt8=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,1,255,0),r.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),this[t]=255&n,t+1};r.prototype.writeUInt16LE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=255&n,this[t+1]=n>>>8):c(this,n,t,!0),t+2};r.prototype.writeUInt16BE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>8,this[t+1]=255&n):c(this,n,t,!1),t+2};r.prototype.writeUInt32LE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t+3]=n>>>24,this[t+2]=n>>>16,this[t+1]=n>>>8,this[t]=255&n):l(this,n,t,!0),t+4};r.prototype.writeUInt32BE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>24,this[t+1]=n>>>16,this[t+2]=n>>>8,this[t+3]=255&n):l(this,n,t,!1),t+4};r.prototype.writeIntLE=function(n,t,i,r){var u;(n=+n,t=0|t,r)||(u=Math.pow(2,8*i-1),e(this,n,t,i,u-1,-u));var f=0,o=1,s=0>n?1:0;for(this[t]=255&n;++f<i&&(o*=256);)this[t+f]=(n/o>>0)-s&255;return t+i};r.prototype.writeIntBE=function(n,t,i,r){var u;(n=+n,t=0|t,r)||(u=Math.pow(2,8*i-1),e(this,n,t,i,u-1,-u));var f=i-1,o=1,s=0>n?1:0;for(this[t+f]=255&n;--f>=0&&(o*=256);)this[t+f]=(n/o>>0)-s&255;return t+i};r.prototype.writeInt8=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,1,127,-128),r.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),0>n&&(n=255+n+1),this[t]=255&n,t+1};r.prototype.writeInt16LE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=255&n,this[t+1]=n>>>8):c(this,n,t,!0),t+2};r.prototype.writeInt16BE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>8,this[t+1]=255&n):c(this,n,t,!1),t+2};r.prototype.writeInt32LE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,4,2147483647,-2147483648),r.TYPED_ARRAY_SUPPORT?(this[t]=255&n,this[t+1]=n>>>8,this[t+2]=n>>>16,this[t+3]=n>>>24):l(this,n,t,!0),t+4};r.prototype.writeInt32BE=function(n,t,i){return n=+n,t=0|t,i||e(this,n,t,4,2147483647,-2147483648),0>n&&(n=4294967295+n+1),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>24,this[t+1]=n>>>16,this[t+2]=n>>>8,this[t+3]=255&n):l(this,n,t,!1),t+4};r.prototype.writeFloatLE=function(n,t,i){return it(this,n,t,!0,i)};r.prototype.writeFloatBE=function(n,t,i){return it(this,n,t,!1,i)};r.prototype.writeDoubleLE=function(n,t,i){return rt(this,n,t,!0,i)};r.prototype.writeDoubleBE=function(n,t,i){return rt(this,n,t,!1,i)};r.prototype.copy=function(n,t,i,u){if((i||(i=0),u||0===u||(u=this.length),t>=n.length&&(t=n.length),t||(t=0),u>0&&i>u&&(u=i),u===i)||0===n.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>i||i>=this.length)throw new RangeError("sourceStart out of bounds");if(0>u)throw new RangeError("sourceEnd out of bounds");u>this.length&&(u=this.length);n.length-t<u-i&&(u=n.length-t+i);var f,e=u-i;if(this===n&&t>i&&u>t)for(f=e-1;f>=0;f--)n[f+t]=this[f+i];else if(1e3>e||!r.TYPED_ARRAY_SUPPORT)for(f=0;e>f;f++)n[f+t]=this[f+i];else n._set(this.subarray(i,i+e),t);return e};r.prototype.fill=function(n,t,i){var r,u,f;if(n||(n=0),t||(t=0),i||(i=this.length),t>i)throw new RangeError("end < start");if(i!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>i||i>this.length)throw new RangeError("end out of bounds");if("number"==typeof n)for(r=t;i>r;r++)this[r]=n;else for(u=a(n.toString()),f=u.length,r=t;i>r;r++)this[r]=u[r%f];return this}};r.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(r.TYPED_ARRAY_SUPPORT)return new r(this).buffer;for(var t=new Uint8Array(this.length),n=0,i=t.length;i>n;n+=1)t[n]=this[n];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser");};u=r.prototype;r._augment=function(n){return n.constructor=r,n._isBuffer=!0,n._set=n.set,n.get=u.get,n.set=u.set,n.write=u.write,n.toString=u.toString,n.toLocaleString=u.toString,n.toJSON=u.toJSON,n.equals=u.equals,n.compare=u.compare,n.indexOf=u.indexOf,n.copy=u.copy,n.slice=u.slice,n.readUIntLE=u.readUIntLE,n.readUIntBE=u.readUIntBE,n.readUInt8=u.readUInt8,n.readUInt16LE=u.readUInt16LE,n.readUInt16BE=u.readUInt16BE,n.readUInt32LE=u.readUInt32LE,n.readUInt32BE=u.readUInt32BE,n.readIntLE=u.readIntLE,n.readIntBE=u.readIntBE,n.readInt8=u.readInt8,n.readInt16LE=u.readInt16LE,n.readInt16BE=u.readInt16BE,n.readInt32LE=u.readInt32LE,n.readInt32BE=u.readInt32BE,n.readFloatLE=u.readFloatLE,n.readFloatBE=u.readFloatBE,n.readDoubleLE=u.readDoubleLE,n.readDoubleBE=u.readDoubleBE,n.writeUInt8=u.writeUInt8,n.writeUIntLE=u.writeUIntLE,n.writeUIntBE=u.writeUIntBE,n.writeUInt16LE=u.writeUInt16LE,n.writeUInt16BE=u.writeUInt16BE,n.writeUInt32LE=u.writeUInt32LE,n.writeUInt32BE=u.writeUInt32BE,n.writeIntLE=u.writeIntLE,n.writeIntBE=u.writeIntBE,n.writeInt8=u.writeInt8,n.writeInt16LE=u.writeInt16LE,n.writeInt16BE=u.writeInt16BE,n.writeInt32LE=u.writeInt32LE,n.writeInt32BE=u.writeInt32BE,n.writeFloatLE=u.writeFloatLE,n.writeFloatBE=u.writeFloatBE,n.writeDoubleLE=u.writeDoubleLE,n.writeDoubleBE=u.writeDoubleBE,n.fill=u.fill,n.inspect=u.inspect,n.toArrayBuffer=u.toArrayBuffer,n};ot=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:7,isarray:4}],4:[function(n,t){var i={}.toString;t.exports=Array.isArray||function(n){return"[object Array]"==i.call(n)}},{}],5:[function(n,t,i){(function(n){function r(n){return Array.isArray?Array.isArray(n):"[object Array]"===t(n)}function u(n){return"boolean"==typeof n}function f(n){return null===n}function e(n){return null==n}function o(n){return"number"==typeof n}function s(n){return"string"==typeof n}function h(n){return"symbol"==typeof n}function c(n){return void 0===n}function l(n){return"[object RegExp]"===t(n)}function a(n){return"object"==typeof n&&null!==n}function v(n){return"[object Date]"===t(n)}function y(n){return"[object Error]"===t(n)||n instanceof Error}function p(n){return"function"==typeof n}function w(n){return null===n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"symbol"==typeof n||"undefined"==typeof n}function t(n){return Object.prototype.toString.call(n)}i.isArray=r;i.isBoolean=u;i.isNull=f;i.isNullOrUndefined=e;i.isNumber=o;i.isString=s;i.isSymbol=h;i.isUndefined=c;i.isRegExp=l;i.isObject=a;i.isDate=v;i.isError=y;i.isFunction=p;i.isPrimitive=w;i.isBuffer=n.isBuffer}).call(this,{isBuffer:n("../../is-buffer/index.js")})},{"../../is-buffer/index.js":9}],6:[function(n,t){function i(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function r(n){return"function"==typeof n}function e(n){return"number"==typeof n}function u(n){return"object"==typeof n&&null!==n}function f(n){return void 0===n}t.exports=i;i.EventEmitter=i;i.prototype._events=void 0;i.prototype._maxListeners=void 0;i.defaultMaxListeners=10;i.prototype.setMaxListeners=function(n){if(!e(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this};i.prototype.emit=function(n){var s,i,e,o,t,h;if(this._events||(this._events={}),"error"===n&&(!this._events.error||u(this._events.error)&&!this._events.error.length)){if(s=arguments[1],s instanceof Error)throw s;throw TypeError('Uncaught, unspecified "error" event.');}if(i=this._events[n],f(i))return!1;if(r(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:for(e=arguments.length,o=new Array(e-1),t=1;e>t;t++)o[t-1]=arguments[t];i.apply(this,o)}else if(u(i)){for(e=arguments.length,o=new Array(e-1),t=1;e>t;t++)o[t-1]=arguments[t];for(h=i.slice(),e=h.length,t=0;e>t;t++)h[t].apply(this,o)}return!0};i.prototype.addListener=function(n,t){var e;if(!r(t))throw TypeError("listener must be a function");return(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,r(t.listener)?t.listener:t),this._events[n]?u(this._events[n])?this._events[n].push(t):this._events[n]=[this._events[n],t]:this._events[n]=t,u(this._events[n])&&!this._events[n].warned)&&(e=f(this._maxListeners)?i.defaultMaxListeners:this._maxListeners,e&&e>0&&this._events[n].length>e&&(this._events[n].warned=!0,"function"==typeof console.trace)),this};i.prototype.on=i.prototype.addListener;i.prototype.once=function(n,t){function i(){this.removeListener(n,i);u||(u=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var u=!1;return i.listener=t,this.on(n,i),this};i.prototype.removeListener=function(n,t){var i,e,o,f;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[n])return this;if(i=this._events[n],o=i.length,e=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[n],this._events.removeListener&&this.emit("removeListener",n,t);else if(u(i)){for(f=o;f-->0;)if(i[f]===t||i[f].listener&&i[f].listener===t){e=f;break}if(0>e)return this;1===i.length?(i.length=0,delete this._events[n]):i.splice(e,1);this._events.removeListener&&this.emit("removeListener",n,t)}return this};i.prototype.removeAllListeners=function(n){var i,t;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[n]&&delete this._events[n],this;if(0===arguments.length){for(i in this._events)"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events={},this}if(t=this._events[n],r(t))this.removeListener(n,t);else for(;t.length;)this.removeListener(n,t[t.length-1]);return delete this._events[n],this};i.prototype.listeners=function(n){return this._events&&this._events[n]?r(this._events[n])?[this._events[n]]:this._events[n].slice():[]};i.listenerCount=function(n,t){return n._events&&n._events[t]?r(n._events[t])?1:n._events[t].length:0}},{}],7:[function(n,t,i){i.read=function(n,t,i,r,u){var f,o,l=8*u-r-1,a=(1<<l)-1,v=a>>1,e=-7,s=i?u-1:0,c=i?-1:1,h=n[t+s];for(s+=c,f=h&(1<<-e)-1,h>>=-e,e+=l;e>0;f=256*f+n[t+s],s+=c,e-=8);for(o=f&(1<<-e)-1,f>>=-e,e+=r;e>0;o=256*o+n[t+s],s+=c,e-=8);if(0===f)f=1-v;else{if(f===a)return o?NaN:(h?-1:1)*(1/0);o+=Math.pow(2,r);f-=v}return(h?-1:1)*o*Math.pow(2,f-r)};i.write=function(n,t,i,r,u,f){var e,o,s,l=8*f-u-1,a=(1<<l)-1,h=a>>1,y=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,c=r?0:f-1,v=r?1:-1,p=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,e=a):(e=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-e))<1&&(e--,s*=2),t+=e+h>=1?y/s:y*Math.pow(2,1-h),t*s>=2&&(e++,s/=2),e+h>=a?(o=0,e=a):e+h>=1?(o=(t*s-1)*Math.pow(2,u),e+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,u),e=0));u>=8;n[i+c]=255&o,c+=v,o/=256,u-=8);for(e=e<<u|o,l+=u;l>0;n[i+c]=255&e,c+=v,e/=256,l-=8);n[i+c-v]|=128*p}},{}],8:[function(n,t){t.exports="function"==typeof Object.create?function(n,t){n.super_=t;n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:function(n,t){n.super_=t;var i=function(){};i.prototype=t.prototype;n.prototype=new i;n.prototype.constructor=n}},{}],9:[function(n,t){function i(n){return!!n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}function r(n){return"function"==typeof n.readFloatLE&&"function"==typeof n.slice&&i(n.slice(0,0))}t.exports=function(n){return null!=n&&(i(n)||r(n)||!!n._isBuffer)}},{}],10:[function(n,t){t.exports=Array.isArray||function(n){return"[object Array]"==Object.prototype.toString.call(n)}},{}],11:[function(n,t){function e(){var i,n,t;if(!f){for(f=!0,n=u.length;n;){for(i=u,u=[],t=-1;++t<n;)i[t]();n=u.length}f=!1}}function r(){}var i=t.exports={},u=[],f=!1;i.nextTick=function(n){u.push(n);f||setTimeout(e,0)};i.title="browser";i.browser=!0;i.env={};i.argv=[];i.version="";i.versions={};i.on=r;i.addListener=r;i.once=r;i.off=r;i.removeListener=r;i.removeAllListeners=r;i.emit=r;i.binding=function(){throw new Error("process.binding is not supported");};i.cwd=function(){return"/"};i.chdir=function(){throw new Error("process.chdir is not supported");};i.umask=function(){return 0}},{}],12:[function(n,t){t.exports=n("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":13}],13:[function(n,t){(function(i){function r(n){return this instanceof r?(e.call(this,n),u.call(this,n),n&&n.readable===!1&&(this.readable=!1),n&&n.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,n&&n.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",s)):new r(n)}function s(){this.allowHalfOpen||this._writableState.ended||i.nextTick(this.end.bind(this))}function h(n,t){for(var i=0,r=n.length;r>i;i++)t(n[i],i)}var o,f,e,u;t.exports=r;o=Object.keys||function(n){var t=[];for(var i in n)t.push(i);return t};f=n("core-util-is");f.inherits=n("inherits");e=n("./_stream_readable");u=n("./_stream_writable");f.inherits(r,e);h(o(u.prototype),function(n){r.prototype[n]||(r.prototype[n]=u.prototype[n])})}).call(this,n("_process"))},{"./_stream_readable":15,"./_stream_writable":17,_process:11,"core-util-is":5,inherits:8}],14:[function(n,t){function i(n){return this instanceof i?void r.call(this,n):new i(n)}t.exports=i;var r=n("./_stream_transform"),u=n("core-util-is");u.inherits=n("inherits");u.inherits(i,r);i.prototype._transform=function(n,t,i){i(null,n)}},{"./_stream_transform":16,"core-util-is":5,inherits:8}],15:[function(n,t){(function(i){function y(t,i){var f=n("./_stream_duplex"),r,u;t=t||{};r=t.highWaterMark;u=t.objectMode?16:16384;this.highWaterMark=r||0===r?r:u;this.highWaterMark=~~this.highWaterMark;this.buffer=[];this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=!1;this.endEmitted=!1;this.reading=!1;this.sync=!0;this.needReadable=!1;this.emittedReadable=!1;this.readableListening=!1;this.objectMode=!!t.objectMode;i instanceof f&&(this.objectMode=this.objectMode||!!t.readableObjectMode);this.defaultEncoding=t.defaultEncoding||"utf8";this.ranOut=!1;this.awaitDrain=0;this.readingMore=!1;this.decoder=null;this.encoding=null;t.encoding&&(e||(e=n("string_decoder/").StringDecoder),this.decoder=new e(t.encoding),this.encoding=t.encoding)}function u(t){return n("./_stream_duplex"),this instanceof u?(this._readableState=new y(t,this),this.readable=!0,void c.call(this)):new u(t)}function p(n,t,i,r,u){var o=tt(t,i),e;return o?n.emit("error",o):f.isNullOrUndefined(i)?(t.reading=!1,t.ended||it(n,t)):t.objectMode||i&&i.length>0?t.ended&&!u?(e=new Error("stream.push() after EOF"),n.emit("error",e)):t.endEmitted&&u?(e=new Error("stream.unshift() after end event"),n.emit("error",e)):(!t.decoder||u||r||(i=t.decoder.write(i)),u||(t.reading=!1),t.flowing&&0===t.length&&!t.sync?(n.emit("data",i),n.read(0)):(t.length+=t.objectMode?1:i.length,u?t.buffer.unshift(i):t.buffer.push(i),t.needReadable&&s(n)),rt(n,t)):u||(t.reading=!1),g(t)}function g(n){return!n.ended&&(n.needReadable||n.length<n.highWaterMark||0===n.length)}function nt(n){if(n>=v)n=v;else{n--;for(var t=1;32>t;t<<=1)n|=n>>t;n++}return n}function w(n,t){return 0===t.length&&t.ended?0:t.objectMode?0===n?0:1:isNaN(n)||f.isNull(n)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=n?0:(n>t.highWaterMark&&(t.highWaterMark=nt(n)),n>t.length?t.ended?t.length:(t.needReadable=!0,0):n)}function tt(n,t){var i=null;return f.isBuffer(t)||f.isString(t)||f.isNullOrUndefined(t)||n.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i}function it(n,t){if(t.decoder&&!t.ended){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0;s(n)}function s(n){var t=n._readableState;t.needReadable=!1;t.emittedReadable||(r("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(function(){b(n)}):b(n))}function b(n){r("emit readable");n.emit("readable");l(n)}function rt(n,t){t.readingMore||(t.readingMore=!0,i.nextTick(function(){ut(n,t)}))}function ut(n,t){for(var i=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(r("maybeReadMore read 0"),n.read(0),i!==t.length);)i=t.length;t.readingMore=!1}function ft(n){return function(){var t=n._readableState;r("pipeOnDrain",t.awaitDrain);t.awaitDrain&&t.awaitDrain--;0===t.awaitDrain&&o.listenerCount(n,"data")&&(t.flowing=!0,l(n))}}function et(n,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(function(){ot(n,t)}))}function ot(n,t){t.resumeScheduled=!1;n.emit("resume");l(n);t.flowing&&!t.reading&&n.read(0)}function l(n){var t=n._readableState,i;if(r("flow",t.flowing),t.flowing)do i=n.read();while(null!==i&&t.flowing)}function k(n,t){var r,i=t.buffer,o=t.length,s=!!t.decoder,l=!!t.objectMode,u,f;if(0===i.length)return null;if(0===o)r=null;else if(l)r=i.shift();else if(!n||n>=o)r=s?i.join(""):h.concat(i,o),i.length=0;else if(n<i[0].length)u=i[0],r=u.slice(0,n),i[0]=u.slice(n);else if(n===i[0].length)r=i.shift();else{r=s?"":new h(n);for(var e=0,c=0,a=i.length;a>c&&n>e;c++)u=i[0],f=Math.min(n-e,u.length),s?r+=u.slice(0,f):u.copy(r,e,0,f),f<u.length?i[0]=u.slice(f):i.shift(),e+=f}return r}function a(n){var t=n._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,i.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,n.readable=!1,n.emit("end"))}))}function st(n,t){for(var i=0,r=n.length;r>i;i++)t(n[i],i)}function ht(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1}var d,h,o,c,f,e,r,v;t.exports=u;d=n("isarray");h=n("buffer").Buffer;u.ReadableState=y;o=n("events").EventEmitter;o.listenerCount||(o.listenerCount=function(n,t){return n.listeners(t).length});c=n("stream");f=n("core-util-is");f.inherits=n("inherits");r=n("util");r=r&&r.debuglog?r.debuglog("stream"):function(){};f.inherits(u,c);u.prototype.push=function(n,t){var i=this._readableState;return f.isString(n)&&!i.objectMode&&(t=t||i.defaultEncoding,t!==i.encoding&&(n=new h(n,t),t="")),p(this,i,n,t,!1)};u.prototype.unshift=function(n){var t=this._readableState;return p(this,t,n,"",!0)};u.prototype.setEncoding=function(t){return e||(e=n("string_decoder/").StringDecoder),this._readableState.decoder=new e(t),this._readableState.encoding=t,this};v=8388608;u.prototype.read=function(n){var t,e,i,u;return(r("read",n),t=this._readableState,e=n,(!f.isNumber(n)||n>0)&&(t.emittedReadable=!1),0===n&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))?(r("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?a(this):s(this),null):(n=w(n,t),0===n&&t.ended)?(0===t.length&&a(this),null):(i=t.needReadable,r("need readable",i),(0===t.length||t.length-n<t.highWaterMark)&&(i=!0,r("length less than watermark",i)),(t.ended||t.reading)&&(i=!1,r("reading or ended",i)),i&&(r("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(n=w(e,t)),u=n>0?k(n,t):null,f.isNull(u)&&(t.needReadable=!0,n=0),t.length-=n,0!==t.length||t.ended||(t.needReadable=!0),e!==n&&t.ended&&0===t.length&&a(this),f.isNull(u)||this.emit("data",u),u)};u.prototype._read=function(){this.emit("error",new Error("not implemented"))};u.prototype.pipe=function(n,t){function y(n){r("onunpipe");n===u&&h()}function p(){r("onend");n.end()}function h(){r("cleanup");n.removeListener("close",c);n.removeListener("finish",l);n.removeListener("drain",s);n.removeListener("error",e);n.removeListener("unpipe",y);u.removeListener("end",p);u.removeListener("end",h);u.removeListener("data",w);!f.awaitDrain||n._writableState&&!n._writableState.needDrain||s()}function w(t){r("ondata");var i=n.write(t);!1===i&&(r("false write response, pause",u._readableState.awaitDrain),u._readableState.awaitDrain++,u.pause())}function e(t){r("onerror",t);a();n.removeListener("error",e);0===o.listenerCount(n,"error")&&n.emit("error",t)}function c(){n.removeListener("finish",l);a()}function l(){r("onfinish");n.removeListener("close",c);a()}function a(){r("unpipe");u.unpipe(n)}var u=this,f=this._readableState,b,v,s;switch(f.pipesCount){case 0:f.pipes=n;break;case 1:f.pipes=[f.pipes,n];break;default:f.pipes.push(n)}return f.pipesCount+=1,r("pipe count=%d opts=%j",f.pipesCount,t),b=(!t||t.end!==!1)&&n!==i.stdout&&n!==i.stderr,v=b?p:h,f.endEmitted?i.nextTick(v):u.once("end",v),n.on("unpipe",y),s=ft(u),n.on("drain",s),u.on("data",w),n._events&&n._events.error?d(n._events.error)?n._events.error.unshift(e):n._events.error=[e,n._events.error]:n.on("error",e),n.once("close",c),n.once("finish",l),n.emit("pipe",u),f.flowing||(r("pipe resume"),u.resume()),n};u.prototype.unpipe=function(n){var t=this._readableState,r,u,i;if(0===t.pipesCount)return this;if(1===t.pipesCount)return n&&n!==t.pipes?this:(n||(n=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,n&&n.emit("unpipe",this),this);if(!n){for(r=t.pipes,u=t.pipesCount,t.pipes=null,t.pipesCount=0,t.flowing=!1,i=0;u>i;i++)r[i].emit("unpipe",this);return this}return i=ht(t.pipes,n),-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),n.emit("unpipe",this),this)};u.prototype.on=function(n,t){var e=c.prototype.on.call(this,n,t),u,f;return("data"===n&&!1!==this._readableState.flowing&&this.resume(),"readable"===n&&this.readable)&&(u=this._readableState,u.readableListening||((u.readableListening=!0,u.emittedReadable=!1,u.needReadable=!0,u.reading)?u.length&&s(this,u):(f=this,i.nextTick(function(){r("readable nexttick read 0");f.read(0)})))),e};u.prototype.addListener=u.prototype.on;u.prototype.resume=function(){var n=this._readableState;return n.flowing||(r("resume"),n.flowing=!0,n.reading||(r("resume read 0"),this.read(0)),et(this,n)),this};u.prototype.pause=function(){return r("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(r("pause"),this._readableState.flowing=!1,this.emit("pause")),this};u.prototype.wrap=function(n){var i=this._readableState,e=!1,t=this,u,o;n.on("end",function(){if(r("wrapped end"),i.decoder&&!i.ended){var n=i.decoder.end();n&&n.length&&t.push(n)}t.push(null)});n.on("data",function(u){if(r("wrapped data"),i.decoder&&(u=i.decoder.write(u)),u&&(i.objectMode||u.length)){var f=t.push(u);f||(e=!0,n.pause())}});for(u in n)f.isFunction(n[u])&&f.isUndefined(this[u])&&(this[u]=function(t){return function(){return n[t].apply(n,arguments)}}(u));return o=["error","close","destroy","pause","resume"],st(o,function(i){n.on(i,t.emit.bind(t,i))}),t._read=function(t){r("wrapped _read",t);e&&(e=!1,n.resume())},t};u._fromList=k}).call(this,n("_process"))},{"./_stream_duplex":13,_process:11,buffer:3,"core-util-is":5,events:6,inherits:8,isarray:10,stream:22,"string_decoder/":23,util:2}],16:[function(n,t){function e(n,t){this.afterTransform=function(n,i){return o(t,n,i)};this.needTransform=!1;this.transforming=!1;this.writecb=null;this.writechunk=null}function o(n,t,i){var f=n._transformState,e,u;if(f.transforming=!1,e=f.writecb,!e)return n.emit("error",new Error("no writecb in Transform class"));f.writechunk=null;f.writecb=null;r.isNullOrUndefined(i)||n.push(i);e&&e(t);u=n._readableState;u.reading=!1;(u.needReadable||u.length<u.highWaterMark)&&n._read(u.highWaterMark)}function i(n){if(!(this instanceof i))return new i(n);u.call(this,n);this._transformState=new e(n,this);var t=this;this._readableState.needReadable=!0;this._readableState.sync=!1;this.once("prefinish",function(){r.isFunction(this._flush)?this._flush(function(n){f(t,n)}):f(t)})}function f(n,t){if(t)return n.emit("error",t);var i=n._writableState,r=n._transformState;if(i.length)throw new Error("calling transform done when ws.length != 0");if(r.transforming)throw new Error("calling transform done when still transforming");return n.push(null)}t.exports=i;var u=n("./_stream_duplex"),r=n("core-util-is");r.inherits=n("inherits");r.inherits(i,u);i.prototype.push=function(n,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,n,t)};i.prototype._transform=function(){throw new Error("not implemented");};i.prototype._write=function(n,t,i){var r=this._transformState,u;(r.writecb=i,r.writechunk=n,r.writeencoding=t,r.transforming)||(u=this._readableState,(r.needTransform||u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark))};i.prototype._read=function(){var n=this._transformState;r.isNull(n.writechunk)||!n.writecb||n.transforming?n.needTransform=!0:(n.transforming=!0,this._transform(n.writechunk,n.writeencoding,n.afterTransform))}},{"./_stream_duplex":13,"core-util-is":5,inherits:8}],17:[function(n,t){(function(i){function y(n,t,i){this.chunk=n;this.encoding=t;this.callback=i}function o(t,i){var e=n("./_stream_duplex"),r,u,f;t=t||{};r=t.highWaterMark;u=t.objectMode?16:16384;this.highWaterMark=r||0===r?r:u;this.objectMode=!!t.objectMode;i instanceof e&&(this.objectMode=this.objectMode||!!t.writableObjectMode);this.highWaterMark=~~this.highWaterMark;this.needDrain=!1;this.ending=!1;this.ended=!1;this.finished=!1;f=t.decodeStrings===!1;this.decodeStrings=!f;this.defaultEncoding=t.defaultEncoding||"utf8";this.length=0;this.writing=!1;this.corked=0;this.sync=!0;this.bufferProcessing=!1;this.onwrite=function(n){nt(i,n)};this.writecb=null;this.writelen=0;this.buffer=[];this.pendingcb=0;this.prefinished=!1;this.errorEmitted=!1}function u(t){var i=n("./_stream_duplex");return this instanceof u||this instanceof i?(this._writableState=new o(t,this),this.writable=!0,void e.call(this)):new u(t)}function p(n,t,r){var u=new Error("write after end");n.emit("error",u);i.nextTick(function(){r(u)})}function w(n,t,u,f){var o=!0,e;return r.isBuffer(u)||r.isString(u)||r.isNullOrUndefined(u)||t.objectMode||(e=new TypeError("Invalid non-string/buffer chunk"),n.emit("error",e),i.nextTick(function(){f(e)}),o=!1),o}function b(n,t,i){return!n.objectMode&&n.decodeStrings!==!1&&r.isString(t)&&(t=new v(t,i)),t}function k(n,t,i,u,e){var o,s;return i=b(t,i,u),r.isBuffer(i)&&(u="buffer"),o=t.objectMode?1:i.length,t.length+=o,s=t.length<t.highWaterMark,s||(t.needDrain=!0),t.writing||t.corked?t.buffer.push(new y(i,u,e)):f(n,t,!1,o,i,u,e),s}function f(n,t,i,r,u,f,e){t.writelen=r;t.writecb=e;t.writing=!0;t.sync=!0;i?n._writev(u,t.onwrite):n._write(u,f,t.onwrite);t.sync=!1}function d(n,t,r,u,f){r?i.nextTick(function(){t.pendingcb--;f(u)}):(t.pendingcb--,f(u));n._writableState.errorEmitted=!0;n.emit("error",u)}function g(n){n.writing=!1;n.writecb=null;n.length-=n.writelen;n.writelen=0}function nt(n,t){var r=n._writableState,e=r.sync,f=r.writecb,u;(g(r),t)?d(n,r,e,t,f):(u=c(n,r),u||r.corked||r.bufferProcessing||!r.buffer.length||h(n,r),e?i.nextTick(function(){s(n,r,u,f)}):s(n,r,u,f))}function s(n,t,i,r){i||tt(n,t);t.pendingcb--;r();a(n,t)}function tt(n,t){0===t.length&&t.needDrain&&(t.needDrain=!1,n.emit("drain"))}function h(n,t){var r,i;if(t.bufferProcessing=!0,n._writev&&t.buffer.length>1){for(r=[],i=0;i<t.buffer.length;i++)r.push(t.buffer[i].callback);t.pendingcb++;f(n,t,!0,t.length,t.buffer,"",function(n){for(var i=0;i<r.length;i++)t.pendingcb--,r[i](n)});t.buffer=[]}else{for(i=0;i<t.buffer.length;i++){var u=t.buffer[i],e=u.chunk,o=u.encoding,s=u.callback,h=t.objectMode?1:e.length;if(f(n,t,!1,h,e,o,s),t.writing){i++;break}}i<t.buffer.length?t.buffer=t.buffer.slice(i):t.buffer.length=0}t.bufferProcessing=!1}function c(n,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function l(n,t){t.prefinished||(t.prefinished=!0,n.emit("prefinish"))}function a(n,t){var i=c(n,t);return i&&(0===t.pendingcb?(l(n,t),t.finished=!0,n.emit("finish")):l(n,t)),i}function it(n,t,r){t.ending=!0;a(n,t);r&&(t.finished?i.nextTick(r):n.once("finish",r));t.ended=!0}var v,r,e;t.exports=u;v=n("buffer").Buffer;u.WritableState=o;r=n("core-util-is");r.inherits=n("inherits");e=n("stream");r.inherits(u,e);u.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))};u.prototype.write=function(n,t,i){var u=this._writableState,f=!1;return r.isFunction(t)&&(i=t,t=null),r.isBuffer(n)?t="buffer":t||(t=u.defaultEncoding),r.isFunction(i)||(i=function(){}),u.ended?p(this,u,i):w(this,u,n,i)&&(u.pendingcb++,f=k(this,u,n,t,i)),f};u.prototype.cork=function(){var n=this._writableState;n.corked++};u.prototype.uncork=function(){var n=this._writableState;n.corked&&(n.corked--,n.writing||n.corked||n.finished||n.bufferProcessing||!n.buffer.length||h(this,n))};u.prototype._write=function(n,t,i){i(new Error("not implemented"))};u.prototype._writev=null;u.prototype.end=function(n,t,i){var u=this._writableState;r.isFunction(n)?(i=n,n=null,t=null):r.isFunction(t)&&(i=t,t=null);r.isNullOrUndefined(n)||this.write(n,t);u.corked&&(u.corked=1,this.uncork());u.ending||u.finished||it(this,u,i)}}).call(this,n("_process"))},{"./_stream_duplex":13,_process:11,buffer:3,"core-util-is":5,inherits:8,stream:22}],18:[function(n,t){t.exports=n("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":14}],19:[function(n,t,i){(function(r){i=t.exports=n("./lib/_stream_readable.js");i.Stream=n("stream");i.Readable=i;i.Writable=n("./lib/_stream_writable.js");i.Duplex=n("./lib/_stream_duplex.js");i.Transform=n("./lib/_stream_transform.js");i.PassThrough=n("./lib/_stream_passthrough.js");r.browser||"disable"!==r.env.READABLE_STREAM||(t.exports=n("stream"))}).call(this,n("_process"))},{"./lib/_stream_duplex.js":13,"./lib/_stream_passthrough.js":14,"./lib/_stream_readable.js":15,"./lib/_stream_transform.js":16,"./lib/_stream_writable.js":17,_process:11,stream:22}],20:[function(n,t){t.exports=n("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":16}],21:[function(n,t){t.exports=n("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":17}],22:[function(n,t){function i(){r.call(this)}t.exports=i;var r=n("events").EventEmitter,u=n("inherits");u(i,r);i.Readable=n("readable-stream/readable.js");i.Writable=n("readable-stream/writable.js");i.Duplex=n("readable-stream/duplex.js");i.Transform=n("readable-stream/transform.js");i.PassThrough=n("readable-stream/passthrough.js");i.Stream=i;i.prototype.pipe=function(n,t){function o(t){n.writable&&!1===n.write(t)&&i.pause&&i.pause()}function s(){i.readable&&i.resume&&i.resume()}function h(){f||(f=!0,n.end())}function c(){f||(f=!0,"function"==typeof n.destroy&&n.destroy())}function e(n){if(u(),0===r.listenerCount(this,"error"))throw n;}function u(){i.removeListener("data",o);n.removeListener("drain",s);i.removeListener("end",h);i.removeListener("close",c);i.removeListener("error",e);n.removeListener("error",e);i.removeListener("end",u);i.removeListener("close",u);n.removeListener("close",u)}var i=this,f;return i.on("data",o),n.on("drain",s),n._isStdio||t&&t.end===!1||(i.on("end",h),i.on("close",c)),f=!1,i.on("error",e),n.on("error",e),i.on("end",u),i.on("close",u),n.on("close",u),n.emit("pipe",i),n}},{events:6,inherits:8,"readable-stream/duplex.js":12,"readable-stream/passthrough.js":18,"readable-stream/readable.js":19,"readable-stream/transform.js":20,"readable-stream/writable.js":21}],23:[function(n,t,i){function f(n){if(n&&!h(n))throw new Error("Unknown encoding: "+n);}function e(n){return n.toString(this.encoding)}function o(n){this.charReceived=n.length%2;this.charLength=this.charReceived?2:0}function s(n){this.charReceived=n.length%3;this.charLength=this.charReceived?3:0}var u=n("buffer").Buffer,h=u.isEncoding||function(n){switch(n&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},r=i.StringDecoder=function(n){switch(this.encoding=(n||"utf8").toLowerCase().replace(/[-_]/,""),f(n),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2;this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3;this.detectIncompleteChar=s;break;default:return void(this.write=e)}this.charBuffer=new u(6);this.charReceived=0;this.charLength=0};r.prototype.write=function(n){for(var f,i,r,u,t="";this.charLength;){if(f=n.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:n.length,n.copy(this.charBuffer,this.charReceived,0,f),this.charReceived+=f,this.charReceived<this.charLength)return"";if(n=n.slice(f,n.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding),r=t.charCodeAt(t.length-1),!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===n.length)return t;break}this.charLength+=this.surrogateSize;t=""}return(this.detectIncompleteChar(n),i=n.length,this.charLength&&(n.copy(this.charBuffer,0,n.length-this.charReceived,i),i-=this.charReceived),t+=n.toString(this.encoding,0,i),i=t.length-1,r=t.charCodeAt(i),r>=55296&&56319>=r)?(u=this.surrogateSize,this.charLength+=u,this.charReceived+=u,this.charBuffer.copy(this.charBuffer,u,0,u),n.copy(this.charBuffer,0,0,u),t.substring(0,i)):t};r.prototype.detectIncompleteChar=function(n){for(var i,t=n.length>=3?3:n.length;t>0;t--){if(i=n[n.length-t],1==t&&i>>5==6){this.charLength=2;break}if(2>=t&&i>>4==14){this.charLength=3;break}if(3>=t&&i>>3==30){this.charLength=4;break}}this.charReceived=t};r.prototype.end=function(n){var t="";if(n&&n.length&&(t=this.write(n)),this.charReceived){var i=this.charReceived,r=this.charBuffer,u=this.encoding;t+=r.slice(0,i).toString(u)}return t}},{buffer:3}],24:[function(n,t,i){function r(n,t){this._id=n;this._clearFn=t}var e=n("process/browser.js").nextTick,f=Function.prototype.apply,o=Array.prototype.slice,u={},s=0;i.setTimeout=function(){return new r(f.call(setTimeout,window,arguments),clearTimeout)};i.setInterval=function(){return new r(f.call(setInterval,window,arguments),clearInterval)};i.clearTimeout=i.clearInterval=function(n){n.close()};r.prototype.unref=r.prototype.ref=function(){};r.prototype.close=function(){this._clearFn.call(window,this._id)};i.enroll=function(n,t){clearTimeout(n._idleTimeoutId);n._idleTimeout=t};i.unenroll=function(n){clearTimeout(n._idleTimeoutId);n._idleTimeout=-1};i._unrefActive=i.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;t>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))};i.setImmediate="function"==typeof setImmediate?setImmediate:function(n){var t=s++,r=arguments.length<2?!1:o.call(arguments,1);return u[t]=!0,e(function(){u[t]&&(r?n.apply(null,r):n.call(null),i.clearImmediate(t))}),t};i.clearImmediate="function"==typeof clearImmediate?clearImmediate:function(n){delete u[n]}},{"process/browser.js":25}],25:[function(n,t){function c(n){if(e===setTimeout)return setTimeout(n,0);try{return e(n,0)}catch(t){try{return e.call(null,n,0)}catch(t){return e.call(this,n,0)}}}function v(n){if(o===clearTimeout)return clearTimeout(n);try{return o(n)}catch(t){try{return o.call(null,n)}catch(t){return o.call(this,n)}}}function y(){s&&f&&(s=!1,f.length?r=f.concat(r):h=-1,r.length&&l())}function l(){var t,n;if(!s){for(t=c(y),s=!0,n=r.length;n;){for(f=r,r=[];++h<n;)f&&f[h].run();h=-1;n=r.length}f=null;s=!1;v(t)}}function a(n,t){this.fun=n;this.array=t}function u(){}var e,o,i=t.exports={};!function(){try{e=setTimeout}catch(n){e=function(){throw new Error("setTimeout is not defined");}}try{o=clearTimeout}catch(n){o=function(){throw new Error("clearTimeout is not defined");}}}();var f,r=[],s=!1,h=-1;i.nextTick=function(n){var i=new Array(arguments.length-1),t;if(arguments.length>1)for(t=1;t<arguments.length;t++)i[t-1]=arguments[t];r.push(new a(n,i));1!==r.length||s||c(l)};a.prototype.run=function(){this.fun.apply(null,this.array)};i.title="browser";i.browser=!0;i.env={};i.argv=[];i.version="";i.versions={};i.on=u;i.addListener=u;i.once=u;i.off=u;i.removeListener=u;i.removeAllListeners=u;i.emit=u;i.binding=function(){throw new Error("process.binding is not supported");};i.cwd=function(){return"/"};i.chdir=function(){throw new Error("process.chdir is not supported");};i.umask=function(){return 0}},{}],26:[function(n,t){var i=n("../internal/getNative"),r=i(Date,"now"),u=r||function(){return(new Date).getTime()};t.exports=u},{"../internal/getNative":42}],27:[function(n,t){function r(n,t,r){function nt(){o&&clearTimeout(o);s&&clearTimeout(s);a=0;s=o=b=void 0}function k(t,r){r&&clearTimeout(r);s=o=b=void 0;t&&(a=i(),w=n.apply(c,h),o||s||(h=c=void 0))}function d(){var n=t-(i()-l);0>=n||n>t?k(b,s):o=setTimeout(d,n)}function tt(){k(y,o)}function g(){var f,u,r;return(h=arguments,l=i(),c=this,b=y&&(o||!p),v===!1)?f=p&&!o:(s||p||(a=l),u=v-(l-a),r=0>=u||u>v,r?(s&&(s=clearTimeout(s)),a=l,w=n.apply(c,h)):s||(s=setTimeout(tt,u))),r&&o?o=clearTimeout(o):o||t===v||(o=setTimeout(d,t)),f&&(r=!0,w=n.apply(c,h)),!r||o||s||(h=c=void 0),w}var h,s,w,l,c,o,b,a=0,v=!1,y=!0,p;if("function"!=typeof n)throw new TypeError(f);return(t=0>t?0:+t||0,r===!0)?(p=!0,y=!1):u(r)&&(p=!!r.leading,v="maxWait"in r&&e(+r.maxWait||0,t),y="trailing"in r?!!r.trailing:y),g.cancel=nt,g}var u=n("../lang/isObject"),i=n("../date/now"),f="Expected a function",e=Math.max;t.exports=r},{"../date/now":26,"../lang/isObject":55}],28:[function(n,t){function r(n,t){if("function"!=typeof n)throw new TypeError(u);return t=i(void 0===t?n.length-1:+t||0,0),function(){for(var e,u=arguments,r=-1,o=i(u.length-t,0),f=Array(o);++r<o;)f[r]=u[t+r];switch(t){case 0:return n.call(this,f);case 1:return n.call(this,u[0],f);case 2:return n.call(this,u[0],u[1],f)}for(e=Array(t+1),r=-1;++r<t;)e[r]=u[r];return e[t]=f,n.apply(this,e)}}var u="Expected a function",i=Math.max;t.exports=r},{}],29:[function(n,t){function i(n,t,i){var e=!0,o=!0;if("function"!=typeof n)throw new TypeError(f);return i===!1?e=!1:u(i)&&(e="leading"in i?!!i.leading:e,o="trailing"in i?!!i.trailing:o),r(n,t,{leading:e,maxWait:+t,trailing:o})}var r=n("./debounce"),u=n("../lang/isObject"),f="Expected a function";t.exports=i},{"../lang/isObject":55,"./debounce":27}],30:[function(n,t){function i(n,t){var i=-1,r=n.length;for(t||(t=Array(r));++i<r;)t[i]=n[i];return t}t.exports=i},{}],31:[function(n,t){function i(n,t){for(var i=-1,r=n.length;++i<r&&t(n[i],i,n)!==!1;);return n}t.exports=i},{}],32:[function(n,t){function i(n,t,i){var r,f,u;for(i||(i={}),r=-1,f=t.length;++r<f;)u=t[r],i[u]=n[u];return i}t.exports=i},{}],33:[function(n,t){var i=n("./createBaseFor"),r=i();t.exports=r},{"./createBaseFor":40}],34:[function(n,t){function i(n,t){return r(n,t,u)}var r=n("./baseFor"),u=n("../object/keysIn");t.exports=i},{"../object/keysIn":61,"./baseFor":33}],35:[function(n,t){function i(n,t,l,a,v){if(!o(n))return n;var y=e(t)&&(f(t)||h(t)),p=y?void 0:c(t);return r(p||t,function(r,f){if(p&&(f=r,r=t[f]),s(r))a||(a=[]),v||(v=[]),u(n,t,f,i,l,a,v);else{var o=n[f],e=l?l(o,r,f,n,t):void 0,h=void 0===e;h&&(e=r);void 0===e&&(!y||f in n)||!h&&(e===e?e===o:o!==o)||(n[f]=e)}}),n}var r=n("./arrayEach"),u=n("./baseMergeDeep"),f=n("../lang/isArray"),e=n("./isArrayLike"),o=n("../lang/isObject"),s=n("./isObjectLike"),h=n("../lang/isTypedArray"),c=n("../object/keys");t.exports=i},{"../lang/isArray":52,"../lang/isObject":55,"../lang/isTypedArray":58,"../object/keys":60,"./arrayEach":31,"./baseMergeDeep":36,"./isArrayLike":43,"./isObjectLike":48}],36:[function(n,t){function e(n,t,e,c,l,a,v){for(var b=a.length,p=t[e];b--;)if(a[b]==p)return void(n[e]=v[b]);var y=n[e],w=l?l(y,p,e,n,t):void 0,k=void 0===w;k&&(w=p,u(p)&&(r(p)||s(p))?w=r(y)?y:u(y)?o(y):[]:f(p)||i(p)?w=i(y)?h(y):f(y)?y:{}:k=!1);a.push(p);v.push(w);k?n[e]=c(w,p,l,a,v):(w===w?w!==y:y===y)&&(n[e]=w)}var o=n("./arrayCopy"),i=n("../lang/isArguments"),r=n("../lang/isArray"),u=n("./isArrayLike"),f=n("../lang/isPlainObject"),s=n("../lang/isTypedArray"),h=n("../lang/toPlainObject");t.exports=e},{"../lang/isArguments":51,"../lang/isArray":52,"../lang/isPlainObject":56,"../lang/isTypedArray":58,"../lang/toPlainObject":59,"./arrayCopy":30,"./isArrayLike":43}],37:[function(n,t){function i(n){return function(t){if(null!=t)return r(t)[n]}}var r=n("./toObject");t.exports=i},{"./toObject":50}],38:[function(n,t){function i(n,t,i){if("function"!=typeof n)return r;if(void 0===t)return n;switch(i){case 1:return function(i){return n.call(t,i)};case 3:return function(i,r,u){return n.call(t,i,r,u)};case 4:return function(i,r,u,f){return n.call(t,i,r,u,f)};case 5:return function(i,r,u,f,e){return n.call(t,i,r,u,f,e)}}return function(){return n.apply(t,arguments)}}var r=n("../utility/identity");t.exports=i},{"../utility/identity":64}],39:[function(n,t){function i(n){return f(function(t,i){var h=-1,f=null==t?0:i.length,e=f>2?i[f-2]:void 0,c=f>2?i[2]:void 0,o=f>1?i[f-1]:void 0,s;for("function"==typeof e?(e=r(e,o,5),f-=2):(e="function"==typeof o?o:void 0,f-=e?1:0),c&&u(i[0],i[1],c)&&(e=3>f?void 0:e,f=1);++h<f;)s=i[h],s&&n(t,s,e);return t})}var r=n("./bindCallback"),u=n("./isIterateeCall"),f=n("../function/restParam");t.exports=i},{"../function/restParam":28,"./bindCallback":38,"./isIterateeCall":46}],40:[function(n,t){function i(n){return function(t,i,u){for(var e,o=r(t),s=u(t),h=s.length,f=n?h:-1;n?f--:++f<h;)if(e=s[f],i(o[e],e,o)===!1)break;return t}}var r=n("./toObject");t.exports=i},{"./toObject":50}],41:[function(n,t){var i=n("./baseProperty"),r=i("length");t.exports=r},{"./baseProperty":37}],42:[function(n,t){function i(n,t){var i=null==n?void 0:n[t];if(r(i))return i}var r=n("../lang/isNative");t.exports=i},{"../lang/isNative":54}],43:[function(n,t){function i(n){return null!=n&&u(r(n))}var r=n("./getLength"),u=n("./isLength");t.exports=i},{"./getLength":41,"./isLength":47}],44:[function(n,t){var i=function(){try{Object({toString:0}+"")}catch(n){return function(){return!1}}return function(n){return"function"!=typeof n.toString&&"string"==typeof(n+"")}}();t.exports=i},{}],45:[function(n,t){function i(n,t){return n="number"==typeof n||r.test(n)?+n:-1,t=null==t?u:t,n>-1&&n%1==0&&t>n}var r=/^\d+$/,u=9007199254740991;t.exports=i},{}],46:[function(n,t){function i(n,t,i){var o,e;return f(i)?(o=typeof t,"number"==o?r(i)&&u(t,i.length):"string"==o&&t in i)?(e=i[t],n===n?n===e:e!==e):!1:!1}var r=n("./isArrayLike"),u=n("./isIndex"),f=n("../lang/isObject");t.exports=i},{"../lang/isObject":55,"./isArrayLike":43,"./isIndex":45}],47:[function(n,t){function i(n){return"number"==typeof n&&n>-1&&n%1==0&&r>=n}var r=9007199254740991;t.exports=i},{}],48:[function(n,t){function i(n){return!!n&&"object"==typeof n}t.exports=i},{}],49:[function(n,t){function i(n){for(var t,h=s(n),l=h.length,i=l&&n.length,y=!!i&&e(i)&&(u(n)||r(n)||o(n)),a=-1,v=[];++a<l;)t=h[a],(y&&f(t,i)||c.call(n,t))&&v.push(t);return v}var r=n("../lang/isArguments"),u=n("../lang/isArray"),f=n("./isIndex"),e=n("./isLength"),o=n("../lang/isString"),s=n("../object/keysIn"),h=Object.prototype,c=h.hasOwnProperty;t.exports=i},{"../lang/isArguments":51,"../lang/isArray":52,"../lang/isString":57,"../object/keysIn":61,"./isIndex":45,"./isLength":47}],50:[function(n,t){function i(n){if(f.unindexedChars&&u(n)){for(var t=-1,e=n.length,i=Object(n);++t<e;)i[t]=n.charAt(t);return i}return r(n)?n:Object(n)}var r=n("../lang/isObject"),u=n("../lang/isString"),f=n("../support");t.exports=i},{"../lang/isObject":55,"../lang/isString":57,"../support":63}],51:[function(n,t){function r(n){return f(n)&&u(n)&&e.call(n,"callee")&&!o.call(n,"callee")}var u=n("../internal/isArrayLike"),f=n("../internal/isObjectLike"),i=Object.prototype,e=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=r},{"../internal/isArrayLike":43,"../internal/isObjectLike":48}],52:[function(n,t){var i=n("../internal/getNative"),r=n("../internal/isLength"),u=n("../internal/isObjectLike"),f="[object Array]",e=Object.prototype,o=e.toString,s=i(Array,"isArray"),h=s||function(n){return u(n)&&r(n.length)&&o.call(n)==f};t.exports=h},{"../internal/getNative":42,"../internal/isLength":47,"../internal/isObjectLike":48}],53:[function(n,t){function i(n){return r(n)&&e.call(n)==u}var r=n("./isObject"),u="[object Function]",f=Object.prototype,e=f.toString;t.exports=i},{"./isObject":55}],54:[function(n,t){function u(n){return null==n?!1:f(n)?r.test(i.call(n)):o(n)&&(e(n)?r:s).test(n)}var f=n("./isFunction"),e=n("../internal/isHostObject"),o=n("../internal/isObjectLike"),s=/^\[object .+?Constructor\]$/,h=Object.prototype,i=Function.prototype.toString,c=h.hasOwnProperty,r=RegExp("^"+i.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=u},{"../internal/isHostObject":44,"../internal/isObjectLike":48,"./isFunction":53}],55:[function(n,t){function i(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}t.exports=i},{}],56:[function(n,t){function f(n){var u,t;return!s(n)||l.call(n)!=c||o(n)||e(n)||!i.call(n,"constructor")&&(u=n.constructor,"function"==typeof u&&!(u instanceof u))?!1:h.ownLast?(r(n,function(n,r,u){return t=i.call(u,r),!1}),t!==!1):(r(n,function(n,i){t=i}),void 0===t||i.call(n,t))}var r=n("../internal/baseForIn"),e=n("./isArguments"),o=n("../internal/isHostObject"),s=n("../internal/isObjectLike"),h=n("../support"),c="[object Object]",u=Object.prototype,i=u.hasOwnProperty,l=u.toString;t.exports=f},{"../internal/baseForIn":34,"../internal/isHostObject":44,"../internal/isObjectLike":48,"../support":63,"./isArguments":51}],57:[function(n,t){function i(n){return"string"==typeof n||r(n)&&e.call(n)==u}var r=n("../internal/isObjectLike"),u="[object String]",f=Object.prototype,e=f.toString;t.exports=i},{"../internal/isObjectLike":48}],58:[function(n,t){function f(n){return o(n)&&e(n.length)&&!!i[u.call(n)]}var e=n("../internal/isLength"),o=n("../internal/isObjectLike"),i={},r,u;i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0;i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;r=Object.prototype;u=r.toString;t.exports=f},{"../internal/isLength":47,"../internal/isObjectLike":48}],59:[function(n,t){function i(n){return r(n,u(n))}var r=n("../internal/baseCopy"),u=n("../object/keysIn");t.exports=i},{"../internal/baseCopy":32,"../object/keysIn":61}],60:[function(n,t){var u=n("../internal/getNative"),f=n("../internal/isArrayLike"),e=n("../lang/isObject"),i=n("../internal/shimKeys"),o=n("../support"),r=u(Object,"keys"),s=r?function(n){var t=null==n?void 0:n.constructor;return"function"==typeof t&&t.prototype===n||("function"==typeof n?o.enumPrototypes:f(n))?i(n):e(n)?r(n):[]}:i;t.exports=s},{"../internal/getNative":42,"../internal/isArrayLike":43,"../internal/shimKeys":49,"../lang/isObject":55,"../support":63}],61:[function(n,t){function a(n){var a,t,rt,ot,ut;if(null==n)return[];k(n)||(n=Object(n));a=n.length;a=a&&b(a)&&(p(n)||y(n)||d(n))&&a||0;for(var ft=n.constructor,tt=-1,it=s(ft)&&ft.prototype||r,et=it===n,v=Array(a),st=a>0,ht=f.enumErrorProps&&(n===l||n instanceof Error),ct=f.enumPrototypes&&s(n);++tt<a;)v[tt]=tt+"";for(t in n)ct&&"prototype"==t||ht&&("message"==t||"name"==t)||st&&w(t,a)||"constructor"==t&&(et||!u.call(n,t))||v.push(t);if(f.nonEnumShadows&&n!==r)for(rt=n===g?c:n===l?h:nt.call(n),ot=i[rt]||i[e],rt==e&&(it=r),a=o.length;a--;)t=o[a],ut=ot[t],et&&ut||(ut?!u.call(n,t):n[t]===it[t])||v.push(t);return v}var v=n("../internal/arrayEach"),y=n("../lang/isArguments"),p=n("../lang/isArray"),s=n("../lang/isFunction"),w=n("../internal/isIndex"),b=n("../internal/isLength"),k=n("../lang/isObject"),d=n("../lang/isString"),f=n("../support"),h="[object Error]",e="[object Object]",c="[object String]",o=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],l=Error.prototype,r=Object.prototype,g=String.prototype,u=r.hasOwnProperty,nt=r.toString,i={};i["[object Array]"]=i["[object Date]"]=i["[object Number]"]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0};i["[object Boolean]"]=i[c]={constructor:!0,toString:!0,valueOf:!0};i[h]=i["[object Function]"]=i["[object RegExp]"]={constructor:!0,toString:!0};i[e]={constructor:!0};v(o,function(n){var t,r;for(t in i)u.call(i,t)&&(r=i[t],r[n]=u.call(r,n))});t.exports=a},{"../internal/arrayEach":31,"../internal/isIndex":45,"../internal/isLength":47,"../lang/isArguments":51,"../lang/isArray":52,"../lang/isFunction":53,"../lang/isObject":55,"../lang/isString":57,"../support":63}],62:[function(n,t){var i=n("../internal/baseMerge"),r=n("../internal/createAssigner"),u=r(i);t.exports=u},{"../internal/baseMerge":35,"../internal/createAssigner":39}],63:[function(n,t){var f=Array.prototype,u=Error.prototype,e=Object.prototype,r=e.propertyIsEnumerable,o=f.splice,i={};!function(n){var t=function(){this.x=n},e={0:n,length:n},f=[],s;t.prototype={valueOf:n,y:n};for(s in new t)f.push(s);i.enumErrorProps=r.call(u,"message")||r.call(u,"name");i.enumPrototypes=r.call(t,"prototype");i.nonEnumShadows=!/valueOf/.test(f);i.ownLast="x"!=f[0];i.spliceObjects=(o.call(e,0,1),!e[0]);i.unindexedChars="x"[0]+Object("x")[0]!="xx"}(1,0);t.exports=i},{}],64:[function(n,t){function i(n){return n}t.exports=i},{}],65:[function(n,t){"use strict";var u=n("object-keys"),f=n("foreach"),e="function"==typeof Symbol&&"symbol"==typeof Symbol(),o=Object.prototype.toString,s=function(n){return"function"==typeof n&&"[object Function]"===o.call(n)},h=function(){var n={},t;try{Object.defineProperty(n,"x",{enumerable:!1,value:n});for(t in n)return!1;return n.x===n}catch(i){return!1}},i=Object.defineProperty&&h(),c=function(n,t,r,u){t in n&&(!s(u)||!u())||(i?Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):n[t]=r)},r=function(n,t){var r=arguments.length>2?arguments[2]:{},i=u(t);e&&(i=i.concat(Object.getOwnPropertySymbols(t)));f(i,function(i){c(n,i,t[i],r[i])})};r.supportsDescriptors=!!i;t.exports=r},{foreach:66,"object-keys":69}],66:[function(n,t){var i=Object.prototype.hasOwnProperty,r=Object.prototype.toString;t.exports=function(n,t,u){var e,f,o;if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");if(e=n.length,e===+e)for(f=0;e>f;f++)t.call(u,n[f],f,n);else for(o in n)i.call(n,o)&&t.call(u,n[o],o,n)}},{}],67:[function(n,t){var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,u=Object.prototype.toString,f="[object Function]";t.exports=function(n){var t=this,o;if("function"!=typeof t||u.call(t)!==f)throw new TypeError(r+t);for(var e,s=i.call(arguments,1),l=function(){if(this instanceof e){var r=t.apply(this,s.concat(i.call(arguments)));return Object(r)===r?r:this}return t.apply(n,s.concat(i.call(arguments)))},a=Math.max(0,t.length-s.length),c=[],h=0;a>h;h++)c.push("$"+h);return(e=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),t.prototype)&&(o=function(){},o.prototype=t.prototype,e.prototype=new o,o.prototype=null),e}},{}],68:[function(n,t){var i=n("./implementation");t.exports=Function.prototype.bind||i},{"./implementation":67}],69:[function(n,t){"use strict";var i=Object.prototype.hasOwnProperty,e=Object.prototype.toString,h=Array.prototype.slice,o=n("./isArguments"),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),l=s.call(function(){},"prototype"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(n){var t=n.constructor;return t&&t.prototype===n},a={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if("undefined"==typeof window)return!1;for(var n in window)try{if(!a["$"+n]&&i.call(window,n)&&null!==window[n]&&"object"==typeof window[n])try{f(window[n])}catch(t){return!0}}catch(t){return!0}return!1}(),y=function(n){if("undefined"==typeof window||!v)return f(n);try{return f(n)}catch(t){return!1}},u=function(n){var a=null!==n&&"object"==typeof n,v="[object Function]"===e.call(n),p=o(n),k=a&&"[object String]"===e.call(n),u=[],w,f,s,h,b,t;if(!a&&!v&&!p)throw new TypeError("Object.keys called on a non-object");if(w=l&&v,k&&n.length>0&&!i.call(n,0))for(f=0;f<n.length;++f)u.push(String(f));if(p&&n.length>0)for(s=0;s<n.length;++s)u.push(String(s));else for(h in n)w&&"prototype"===h||!i.call(n,h)||u.push(String(h));if(c)for(b=y(n),t=0;t<r.length;++t)b&&"constructor"===r[t]||!i.call(n,r[t])||u.push(r[t]);return u};u.shim=function(){var n,t;return Object.keys?(n=function(){return 2===(Object.keys(arguments)||"").length}(1,2),n||(t=Object.keys,Object.keys=function(n){return t(o(n)?h.call(n):n)})):Object.keys=u,Object.keys||u};t.exports=u},{"./isArguments":70}],70:[function(n,t){"use strict";var i=Object.prototype.toString;t.exports=function(n){var r=i.call(n),t="[object Arguments]"===r;return t||(t="[object Array]"!==r&&null!==n&&"object"==typeof n&&"number"==typeof n.length&&n.length>=0&&"[object Function]"===i.call(n.callee)),t}},{}],71:[function(n,t){"use strict";var i=n("object-keys");t.exports=function(){var n,t,r,u,f;if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;if(n={},t=Symbol("test"),"string"==typeof t)return!1;r=42;n[t]=r;for(t in n)return!1;return 0!==i(n).length?!1:"function"==typeof Object.keys&&0!==Object.keys(n).length?!1:"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(n).length?!1:(u=Object.getOwnPropertySymbols(n),1!==u.length||u[0]!==t)?!1:Object.prototype.propertyIsEnumerable.call(n,t)?"function"==typeof Object.getOwnPropertyDescriptor&&(f=Object.getOwnPropertyDescriptor(n,t),f.value!==r||f.enumerable!==!0)?!1:!0:!1}},{"object-keys":69}],72:[function(n,t){"use strict";var f=n("object-keys"),i=n("function-bind"),e=function(n){return"undefined"!=typeof n&&null!==n},o=n("./hasSymbols")(),r=Object,s=i.call(Function.call,Array.prototype.push),u=i.call(Function.call,Object.prototype.propertyIsEnumerable);t.exports=function(n){if(!e(n))throw new TypeError("target must be an object");for(var h,t,l,a,v,i,y=r(n),c=1;c<arguments.length;++c){if(h=r(arguments[c]),l=f(h),o&&Object.getOwnPropertySymbols)for(a=Object.getOwnPropertySymbols(h),t=0;t<a.length;++t)i=a[t],u(h,i)&&s(l,i);for(t=0;t<l.length;++t)i=l[t],v=h[i],u(h,i)&&(y[i]=v)}return y}},{"./hasSymbols":71,"function-bind":68,"object-keys":69}],73:[function(n,t){"use strict";var r=n("define-properties"),i=n("./implementation"),u=n("./polyfill"),f=n("./shim");r(i,{implementation:i,getPolyfill:u,shim:f});t.exports=i},{"./implementation":72,"./polyfill":74,"./shim":75,"define-properties":65}],74:[function(n,t){"use strict";var i=n("./implementation"),r=function(){var f,i,e;if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",t=r.split(""),u={},n=0;n<t.length;++n)u[t[n]]=t[n];f=Object.assign({},u);i="";for(e in f)i+=e;return r!==i},u=function(){if(!Object.assign||!Object.preventExtensions)return!1;var n=Object.preventExtensions({1:2});try{Object.assign(n,"xy")}catch(t){return"y"===n[1]}};t.exports=function(){return Object.assign?r()?i:u()?i:Object.assign:i}},{"./implementation":72}],75:[function(n,t){"use strict";var i=n("define-properties"),r=n("./polyfill");t.exports=function(){var n=r();return i(Object,{assign:n},{assign:function(){return Object.assign!==n}}),n}},{"./polyfill":74,"define-properties":65}],76:[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},{}],77:[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}},{}],78:[function(n,t){function u(n,t,i){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);"[object Array]"===r.call(n)?f(n,t,i):"string"==typeof n?e(n,t,i):o(n,t,i)}function f(n,t,r){for(var u=0,f=n.length;f>u;u++)i.call(n,u)&&t.call(r,n[u],u,n)}function e(n,t,i){for(var r=0,u=n.length;u>r;r++)t.call(i,n.charAt(r),r,n)}function o(n,t,r){for(var u in n)i.call(n,u)&&t.call(r,n[u],u,n)}var s=n("is-function"),r,i;t.exports=u;r=Object.prototype.toString;i=Object.prototype.hasOwnProperty},{"is-function":81}],79:[function(n,t){(function(i){var u="undefined"!=typeof i?i:"undefined"!=typeof window?window:{},f=n("min-document"),r;"undefined"!=typeof document?t.exports=document:(r=u["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=u["__GLOBAL_DOCUMENT_CACHE@4"]=f),t.exports=r)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":2}],80:[function(n,t){(function(n){t.exports="undefined"!=typeof window?window:"undefined"!=typeof n?n:"undefined"!=typeof self?self:{}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],81:[function(n,t){function i(n){var t=r.call(n);return"[object Function]"===t||"function"==typeof n&&"[object RegExp]"!==t||"undefined"!=typeof window&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}t.exports=i;var r=Object.prototype.toString},{}],82:[function(n,t){function i(n){var t=!1;return function(){if(!t)return(t=!0,n.apply(this,arguments))}}t.exports=i;i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0})})},{}],83:[function(n,t){var i=n("trim"),r=n("for-each"),u=function(n){return"[object Array]"===Object.prototype.toString.call(n)};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));"undefined"==typeof t[r]?t[r]=f:u(t[r])?t[r].push(f):t[r]=[t[r],f]}),t}},{"for-each":78,trim:84}],84:[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*$/,"")}},{}],85:[function(n,t){"use strict";function e(n,t){for(var i=0;i<n.length;i++)t(n[i])}function o(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function r(n,t,i){var r=n;return c(t)?(i=t,"string"==typeof n&&(r={uri:n})):r=a(t,{uri:n}),r.callback=i,r}function i(n,t,i){return t=r(n,t,i),u(t)}function u(n){function d(){4===t.readyState&&p()}function g(){var n=void 0;if(t.response?n=t.response:"text"!==t.responseType&&t.responseType||(n=t.responseText||t.responseXML),k)try{n=JSON.parse(n)}catch(i){}return n}function s(n){clearTimeout(a);n instanceof Error||(n=new Error(""+(n||"Unknown XMLHttpRequest Error")));n.statusCode=0;u(n,c)}function p(){var r,i,e;w||(clearTimeout(a),r=n.useXDR&&void 0===t.status?200:1223===t.status?204:t.status,i=c,e=null,0!==r?(i={body:g(),statusCode:r,method:f,headers:{},url:v,rawRequest:t},t.getAllResponseHeaders&&(i.headers=l(t.getAllResponseHeaders()))):e=new Error("Internal XMLHttpRequest Error"),u(e,i,i.body))}var u=n.callback,c,t;if("undefined"==typeof u)throw new Error("callback argument missing");u=h(u);c={body:void 0,headers:{},statusCode:0,method:f,url:v,rawRequest:t};t=n.xhr||null;t||(t=n.cors||n.useXDR?new i.XDomainRequest:new i.XMLHttpRequest);var e,w,a,v=t.url=n.uri||n.url,f=t.method=n.method||"GET",b=n.body||n.data||null,r=t.headers=n.headers||{},y=!!n.sync,k=!1;if("json"in n&&(k=!0,r.accept||r.Accept||(r.Accept="application/json"),"GET"!==f&&"HEAD"!==f&&(r["content-type"]||r["Content-Type"]||(r["Content-Type"]="application/json"),b=JSON.stringify(n.json))),t.onreadystatechange=d,t.onload=p,t.onerror=s,t.onprogress=function(){},t.ontimeout=s,t.open(f,v,!y,n.username,n.password),y||(t.withCredentials=!!n.withCredentials),!y&&n.timeout>0&&(a=setTimeout(function(){w=!0;t.abort("timeout");var n=new Error("XMLHttpRequest timeout");n.code="ETIMEDOUT";s(n)},n.timeout)),t.setRequestHeader)for(e in r)r.hasOwnProperty(e)&&t.setRequestHeader(e,r[e]);else if(n.headers&&!o(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(t.responseType=n.responseType),"beforeSend"in n&&"function"==typeof n.beforeSend&&n.beforeSend(t),t.send(b),t}function s(){}var f=n("global/window"),h=n("once"),c=n("is-function"),l=n("parse-headers"),a=n("xtend");t.exports=i;i.XMLHttpRequest=f.XMLHttpRequest||s;i.XDomainRequest="withCredentials"in new i.XMLHttpRequest?i.XMLHttpRequest:f.XDomainRequest;e(["get","put","post","patch","head","delete"],function(n){i["delete"===n?"del":n]=function(t,i,f){return i=r(t,i,f),i.method=n.toUpperCase(),u(i)}})},{"global/window":80,"is-function":81,once:82,"parse-headers":83,xtend:86}],86:[function(n,t){function i(){for(var t,i,u={},n=0;n<arguments.length;n++){t=arguments[n];for(i in t)r.call(t,i)&&(u[i]=t[i])}return u}t.exports=i;var r=Object.prototype.hasOwnProperty},{}],87:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var e=n("./lib/iso_boxer.js"),o=u(e),s=n("./cea608DataExtractor.js"),h=u(s),c=n("./textTrackManager.js"),l=u(c),a=n("./cueParser.js"),v=u(a),r=n("../ampDefs.js"),y=function(){function n(t){f(this,n);this.player=t;this.isInitialized=!1;this.onDownloadCompleted=this.onDownloadCompleted.bind(this);this.onDownloadDecrypted=this.onDownloadDecrypted.bind(this);this.onSeeking=this.onSeeking.bind(this);this.onLoadedMetadata=this.onLoadedMetadata.bind(this);this.onReady=this.onReady.bind(this)}return n.prototype.init=function(){this.player.options().cea708CaptionsSettings&&this.player.options().cea708CaptionsSettings.enabled&&(this.parsedSequenceNumbers=[],this.cueParser=new v["default"],this.textTrackManager=new l["default"](this.player),this.player.ready(this.onReady))},n.prototype.onReady=function(){this.player.addEventListener(r.eventName.loadedmetadata,this.onLoadedMetadata);this.player.addEventListener(r.eventName.seeking,this.onSeeking)},n.prototype.onSeeking=function(){this.cueParser.reset()},n.prototype.onLoadedMetadata=function(){this.videoBufferData=this.player.videoBufferData();this.videoBufferData&&(this.videoBufferData.addEventListener(r.bufferDataEventName.downloadcompleted,this.onDownloadCompleted),this.videoBufferData.addEventListener(r.bufferDataEventName.downloaddecrypted,this.onDownloadDecrypted))},n.prototype.onDownloadDecrypted=function(){var n="flashSS"===this.player.currentTechName()?this.videoBufferData.downloadDecrypted.mediaDownload:this.videoBufferData.downloadDecrypted;this.processMediaDownload(n)},n.prototype.onDownloadCompleted=function(){this.processMediaDownload(this.videoBufferData.downloadCompleted.mediaDownload)},n.prototype.processMediaDownload=function(n){var i=n.data,t;if(i){this.cueParser.presentationTimeOffsetInSec||(this.cueParser.presentationTimeOffsetInSec=n.presentationTimeOffsetInSec);var u=o["default"].parseBuffer(i),f=u.fetch("mfhd"),e=f?f.sequence_number:null;-1===this.parsedSequenceNumbers.indexOf(e)&&(t=h["default"].extractCea608Data(i,u,n.mediaTime),t&&t.fields&&t.fields[0].length&&(this.isInitialized||(this.isInitialized=!0,this.initializeTextTrack(),this.cueParser.initialize(this.player,this.textTrackManager.getAllTracks()),this.player.trigger(r.eventName.embeddedcaptionsfound)),this.cueParser.addCcDataToFieldParsers(t,u,n.timeScale),this.parsedSequenceNumbers.push(e)))}},n.prototype.initializeTextTrack=function(){var t,n;this.player.textTrackSettings.setValues({justification:"center"});t=this.player.options().cea708CaptionsSettings;n={label:t.label||"CEA708",lang:t.srclang,channel:"CC1"};this.textTrackManager.addTextTrack(n.label,n.lang,n.channel)},n.prototype.dispose=function(){this.player.removeEventListener(r.eventName.loadedmetadata,this.onLoadedMetadata);this.player.removeEventListener(r.eventName.seeking,this.onSeeking);this.videoBufferData&&(this.videoBufferData.removeEventListener(r.bufferDataEventName.downloadcompleted,this.onDownloadCompleted),this.videoBufferData.removeEventListener(r.bufferDataEventName.downloaddecrypted,this.onDownloadDecrypted));this.textTrackManager&&(this.textTrackManager.removePreviousEmbeddedTextTracks(),this.textTrackManager=null);this.cueParser=null;this.isInitialized=!1},n}();i["default"]=y;t.exports=i["default"]},{"../ampDefs.js":97,"./cea608DataExtractor.js":88,"./cueParser.js":89,"./lib/iso_boxer.js":92,"./textTrackManager.js":95}],88:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t,i){var tt=t.fetch("moof"),w=t.fetch("tfdt"),b=t.fetchAll("trun"),f=void 0,k=void 0,d=void 0,a=void 0,o=void 0,g=new DataView(n),s=new h["default"],v=0,c,p,r;if(!b.length)return null;for(f=b[0],k=tt._offset+f.data_offset,d=f.sample_count,a=k,o=w?w.baseMediaDecodeTime:10*i,c=0;d>c;c++){for(var l=f.samples[c],it=o+v+l.sample_composition_time_offset,nt=u["default"].findCea608Nalus(g,a,l.sample_size),y=0;y<nt.length;y++)for(p=u["default"].extractCea608DataFromRange(g,nt[y]),r=0;2>r;r++)p[r].length>0&&e(s.fields[r],it,p[r]);v+=l.sample_duration;a+=l.sample_size}return s.startTime=o,s.endTime=o+v,s}function e(n,t,i){var f=n.length,u,r;if(f>0)if(t>=n[f-1][0])n.push([t,i]);else{for(u=-1,r=f-1;r>=0&&!(t>n[r][0]);r--)u=r;u>=0&&n.splice(u,0,[t,i])}else n.push([t,i])}i.__esModule=!0;var o=n("./lib/cea608-parser.js"),u=r(o),s=n("./models/ccData.js"),h=r(s),c={extractCea608Data:f};i["default"]=c;t.exports=i["default"]},{"./lib/cea608-parser.js":90,"./models/ccData.js":94}],89:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var e=n("stream"),o=r(e),s=n("global/window"),u=r(s),h=n("./lib/cea608-parser.js"),c=r(h),l=n("./lib/cea608-towebvtt.js"),a=r(l),v=n("./models/captionsBuffer.js"),y=r(v),p=function(){function n(){f(this,n);this.videoTimeScale=0;this.embeddedCea608FieldParsers=[];this.presentationTimeOffsetInSec=0;this.cueParser=new u["default"].WebVTT.Parser(u["default"],u["default"].vttjs,u["default"].WebVTT.StringDecoder());this.cueParser.onparsingerror=function(n){return AMP.Logger.error(AMP.Logger.Area.cea608Module,"CEA608 module: an error happened: "+n)}}return n.prototype.reset=function(){this.embeddedCea608FieldParsers.forEach(function(n){return n.reset()})},n.prototype.addCcDataToFieldParsers=function(n,t,i){function o(n){var t=n.fetch("mdhd");return t?t.timescale:i?i:1e7}var r,f,e,u;if(n)for(this.videoTimeScale=this.videoTimeScale||o(t),r=0;r<this.embeddedCea608FieldParsers.length;r++)if(f=n.fields[r],e=this.embeddedCea608FieldParsers[r],e){for(u=0;u<f.length;u++)e.addData(f[u][0]/this.videoTimeScale,f[u][1]);n.endTime&&e.cueSplitAtTime(n.endTime/this.videoTimeScale)}},n.prototype.initialize=function(n,t){function u(n){switch(n.toLowerCase()){case"cc1":return 1;case"cc3":return 2}return AMP.Logger.error(AMP.Logger.Area.cea608Module,"Channel '"+n+"' is not supported. Supported channels are CC1 and CC3."),null}function f(n,t,r){return function(u,f,e){function o(t){if(t.startTime!==t.endTime){var i=!0;n.cues.cues_.forEach(function(n){n.text===t.text&&n.startTime===t.startTime&&(i=!1)});i&&n.addCue(t)}}if((0===u||u)&&f&&e){t.newCue(u+i.presentationTimeOffsetInSec,f+i.presentationTimeOffsetInSec,e);var s=r.extract();i.cueParser.oncue=o;i.cueParser.parse(s);i.cueParser.flush()}}}for(var e=this,i=this,s=function(n){var s=u(t[n].channel),r,i,h;if(!s)return"continue";r=new y["default"];i=new o["default"];i.writable=!0;i.write=function(n){return r.append(n)};h={newCue:f(t[n],new a["default"](i),r)};e.embeddedCea608FieldParsers[n]=new c["default"].Cea608Parser(s,h,null)},r=0;r<t.length;r++)s(r)},n}();i["default"]=p;t.exports=i["default"]},{"./lib/cea608-parser.js":90,"./lib/cea608-towebvtt.js":91,"./models/captionsBuffer.js":93,"global/window":80,stream:22}],90:[function(n,t,i){"use strict";!function(n){var l={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},a=function(n){var t=n;return l.hasOwnProperty(n)&&(t=l[n]),String.fromCharCode(t)},i=15,r=32,p={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},w={17:2,18:4,21:6,22:8,23:10,19:13,20:15},b={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},k={25:2,26:4,29:6,30:8,31:10,27:13,28:15},d=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],t={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(n){this.time=n},log:function(n){var t=this.verboseFilter[n];this.verboseLevel>=t}},u=function(n){for(var i=[],t=0;t<n.length;t++)i.push(n[t].toString(16));return i},e=function(n,t,i,r,u){this.foreground=n||"white";this.underline=t||!1;this.italics=i||!1;this.background=r||"black";this.flash=u||!1},s,h,f,o,c,v,y;e.prototype={reset:function(){this.foreground="white";this.underline=!1;this.italics=!1;this.background="black";this.flash=!1},setStyles:function(n){for(var i,r=["foreground","underline","italics","background","flash"],t=0;t<r.length;t++)i=r[t],n.hasOwnProperty(i)&&(this[i]=n[i])},isDefault:function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},equals:function(n){return this.foreground===n.foreground&&this.underline===n.underline&&this.italics===n.italics&&this.background===n.background&&this.flash===n.flash},copy:function(n){this.foreground=n.foreground;this.underline=n.underline;this.italics=n.italics;this.background=n.background;this.flash=n.flash},toString:function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}};s=function(n,t,i,r,u,f){this.uchar=n||" ";this.penState=new e(t,i,r,u,f)};s.prototype={reset:function(){this.uchar=" ";this.penState.reset()},setChar:function(n,t){this.uchar=n;this.penState.copy(t)},setPenState:function(n){this.penState.copy(n)},equals:function(n){return this.uchar===n.uchar&&this.penState.equals(n.penState)},copy:function(n){this.uchar=n.uchar;this.penState.copy(n.penState)},isEmpty:function(){return" "===this.uchar&&this.penState.isDefault()}};h=function(){this.chars=[];for(var n=0;r>n;n++)this.chars.push(new s);this.pos=0;this.currPenState=new e};h.prototype={equals:function(n){for(var i=!0,t=0;r>t;t++)if(!this.chars[t].equals(n.chars[t])){i=!1;break}return i},copy:function(n){for(var t=0;r>t;t++)this.chars[t].copy(n.chars[t])},isEmpty:function(){for(var t=!0,n=0;r>n;n++)if(!this.chars[n].isEmpty()){t=!1;break}return t},setCursor:function(n){this.pos!==n&&(this.pos=n);this.pos<0?(t.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>r&&(t.log("ERROR","Too large cursor position "+this.pos),this.pos=r)},moveCursor:function(n){var i=this.pos+n,t;if(n>1)for(t=this.pos+1;i+1>t;t++)this.chars[t].setPenState(this.currPenState);this.setCursor(i)},backSpace:function(){this.moveCursor(-1);this.chars[this.pos].setChar(" ",this.currPenState)},insertChar:function(n){n>=144&&this.backSpace();var i=a(n);return this.pos>=r?void t.log("ERROR","Cannot insert "+n.toString(16)+" ("+i+") at position "+this.pos+". Skipping it!"):(this.chars[this.pos].setChar(i,this.currPenState),void this.moveCursor(1))},clearFromPos:function(n){for(var t=n;r>t;t++)this.chars[t].reset()},clear:function(){this.clearFromPos(0);this.pos=0;this.currPenState.reset()},clearToEndOfRow:function(){this.clearFromPos(this.pos)},getTextString:function(){for(var t,i=[],u=!0,n=0;r>n;n++)t=this.chars[n].uchar," "!==t&&(u=!1),i.push(t);return u?"":i.join("")},setPenStyles:function(n){this.currPenState.setStyles(n);var t=this.chars[this.pos];t.setPenState(this.currPenState)}};f=function(){this.rows=[];for(var n=0;i>n;n++)this.rows.push(new h);this.currRow=i-1;this.nrRollUpRows=null;this.reset()};f.prototype={reset:function(){for(var n=0;i>n;n++)this.rows[n].clear();this.currRow=i-1},equals:function(n){for(var r=!0,t=0;i>t;t++)if(!this.rows[t].equals(n.rows[t])){r=!1;break}return r},copy:function(n){for(var t=0;i>t;t++)this.rows[t].copy(n.rows[t])},isEmpty:function(){for(var t=!0,n=0;i>n;n++)if(!this.rows[n].isEmpty()){t=!1;break}return t},backSpace:function(){var n=this.rows[this.currRow];n.backSpace()},clearToEndOfRow:function(){var n=this.rows[this.currRow];n.clearToEndOfRow()},insertChar:function(n){var t=this.rows[this.currRow];t.insertChar(n)},setPen:function(n){var t=this.rows[this.currRow];t.setPenStyles(n)},moveCursor:function(n){var t=this.rows[this.currRow];t.moveCursor(n)},setCursor:function(n){t.log("INFO","setCursor: "+n);var i=this.rows[this.currRow];i.setCursor(n)},setPAC:function(n){var i,r,u,f,e;t.log("INFO","pacData = "+JSON.stringify(n));i=n.row-1;this.nrRollUpRows&&i<this.nrRollUpRows-1&&(i=this.nrRollUpRows-1);this.currRow=i;r=this.rows[this.currRow];null!==n.indent&&(u=n.indent,f=Math.max(u-1,0),r.setCursor(n.indent),n.color=r.chars[f].penState.foreground);e={foreground:n.color,underline:n.underline,italics:n.italics,background:"black",flash:!1};this.setPen(e)},setBkgData:function(n){t.log("INFO","bkgData = "+JSON.stringify(n));this.backSpace();this.setPen(n);this.insertChar(32)},setRollUpRows:function(n){this.nrRollUpRows=n},rollUp:function(){if(null===this.nrRollUpRows)return void t.log("DEBUG","roll_up but nrRollUpRows not set yet");t.log("TEXT",this.getDisplayText());var i=this.currRow+1-this.nrRollUpRows,n=this.rows.splice(i,1)[0];n.clear();this.rows.splice(this.currRow,0,n);t.log("INFO","Rolling up")},getDisplayText:function(n){var u;n=n||!1;for(var t=[],f="",e=-1,r=0;i>r;r++)u=this.rows[r].getTextString(),u&&(e=r+1,t.push(n?"Row "+e+': "'+u+'"':u.trim()));return t.length>0&&(f=n?"["+t.join(" | ")+"]":t.join("\n")),f},getTextAndFormat:function(){return this.rows}};o=function(n,t){this.chNr=n;this.outputFilter=t;this.mode=null;this.verbose=0;this.displayedMemory=new f;this.nonDisplayedMemory=new f;this.lastOutputScreen=new f;this.currRollUpRow=this.displayedMemory.rows[i-1];this.writeScreen=this.displayedMemory;this.mode=null;this.cueStartTime=null};o.prototype={modes:["MODE_ROLL-UP","MODE_POP-ON","MODE_PAINT-ON","MODE_TEXT"],reset:function(){this.mode=null;this.displayedMemory.reset();this.nonDisplayedMemory.reset();this.lastOutputScreen.reset();this.currRollUpRow=this.displayedMemory.rows[i-1];this.writeScreen=this.displayedMemory;this.mode=null;this.cueStartTime=null;this.lastCueEndTime=null},getHandler:function(){return this.outputFilter},setHandler:function(n){this.outputFilter=n},setPAC:function(n){this.writeScreen.setPAC(n)},setBkgData:function(n){this.writeScreen.setBkgData(n)},setMode:function(n){n!==this.mode&&(this.mode=n,t.log("INFO","MODE="+n),"MODE_POP-ON"==this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=n)},insertChars:function(n){for(var r,i=0;i<n.length;i++)this.writeScreen.insertChar(n[i]);r=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";t.log("INFO",r+": "+this.writeScreen.getDisplayText(!0));("MODE_PAINT-ON"===this.mode||"MODE_ROLL-UP"===this.mode)&&(t.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},cc_RCL:function(){t.log("INFO","RCL - Resume Caption Loading");this.setMode("MODE_POP-ON")},cc_BS:function(){t.log("INFO","BS - BackSpace");"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},cc_AOF:function(){},cc_AON:function(){},cc_DER:function(){t.log("INFO","DER- Delete to End of Row");this.writeScreen.clearToEndOfRow();this.outputDataUpdate()},cc_RU:function(n){t.log("INFO","RU("+n+") - Roll Up");this.writeScreen=this.displayedMemory;this.setMode("MODE_ROLL-UP");this.writeScreen.setRollUpRows(n)},cc_FON:function(){t.log("INFO","FON - Flash On");this.writeScreen.setPen({flash:!0})},cc_RDC:function(){t.log("INFO","RDC - Resume Direct Captioning");this.setMode("MODE_PAINT-ON")},cc_TR:function(){t.log("INFO","TR");this.setMode("MODE_TEXT")},cc_RTD:function(){t.log("INFO","RTD");this.setMode("MODE_TEXT")},cc_EDM:function(){t.log("INFO","EDM - Erase Displayed Memory");this.displayedMemory.reset();this.outputDataUpdate()},cc_CR:function(){t.log("CR - Carriage Return");this.writeScreen.rollUp();this.outputDataUpdate()},cc_ENM:function(){t.log("INFO","ENM - Erase Non-displayed Memory");this.nonDisplayedMemory.reset()},cc_EOC:function(){if(t.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var n=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory;this.nonDisplayedMemory=n;this.writeScreen=this.nonDisplayedMemory;t.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate()},cc_TO:function(n){t.log("INFO","TO("+n+") - Tab Offset");this.writeScreen.moveCursor(n)},cc_MIDROW:function(n){var i={flash:!1},r,u;(i.underline=n%2==1,i.italics=n>=46,i.italics)?i.foreground="white":(r=Math.floor(n/2)-16,u=["white","green","blue","cyan","red","yellow","magenta"],i.foreground=u[r]);t.log("INFO","MIDROW: "+JSON.stringify(i));this.writeScreen.setPen(i)},outputDataUpdate:function(){var n=t.time;null!==n&&this.outputFilter&&(this.outputFilter.updateData&&this.outputFilter.updateData(n,this.displayedMemory),null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,n,this.lastOutputScreen),this.cueStartTime=this.displayedMemory.isEmpty()?null:n):this.cueStartTime=n,this.lastOutputScreen.copy(this.displayedMemory))},cueSplitAtTime:function(n){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,n,this.displayedMemory),this.cueStartTime=n))}};c=function(n,t,i){this.field=n||1;this.outputs=[t,i];this.channels=[new o(1,t),new o(2,i)];this.currChNr=-1;this.lastCmdA=null;this.lastCmdB=null;this.bufferedData=[];this.startTime=null;this.lastTime=null;this.dataCounters={padding:0,char:0,cmd:0,other:0}};c.prototype={getHandler:function(n){return this.channels[n].getHandler()},setHandler:function(n,t){this.channels[n].setHandler(t)},addData:function(n,i){var r,f,e,s=!1,o,h;for(this.lastTime=n,t.setTime(n),o=0;o<i.length;o+=2)(f=127&i[o],e=127&i[o+1],0!==f||0!==e)?((t.log("DATA","["+u([i[o],i[o+1]])+"] -> ("+u([f,e])+")"),r=this.parseCmd(f,e),r||(r=this.parseMidrow(f,e)),r||(r=this.parsePAC(f,e)),r||(r=this.parseBackgroundAttributes(f,e)),!r&&(s=this.parseChars(f,e)))&&(this.currChNr&&this.currChNr>=0?(h=this.channels[this.currChNr-1],h.insertChars(s)):t.log("WARNING","No channel found yet. TEXT-MODE?")),r?this.dataCounters.cmd+=2:s?this.dataCounters.char+=2:(this.dataCounters.other+=2,t.log("WARNING","Couldn't parse cleaned data "+u([f,e])+" orig: "+u([i[o],i[o+1]])))):this.dataCounters.padding+=2},parseCmd:function(n,i){var f=null,e=(20===n||28===n)&&i>=32&&47>=i,o=(23===n||31===n)&&i>=33&&35>=i,r;return!e&&!o?!1:n===this.lastCmdA&&i===this.lastCmdB?(this.lastCmdA=null,this.lastCmdB=null,t.log("DEBUG","Repeated command ("+u([n,i])+") is dropped"),!0):(f=20===n||23===n?1:2,r=this.channels[f-1],20===n||28===n?32===i?r.cc_RCL():33===i?r.cc_BS():34===i?r.cc_AOF():35===i?r.cc_AON():36===i?r.cc_DER():37===i?r.cc_RU(2):38===i?r.cc_RU(3):39===i?r.cc_RU(4):40===i?r.cc_FON():41===i?r.cc_RDC():42===i?r.cc_TR():43===i?r.cc_RTD():44===i?r.cc_EDM():45===i?r.cc_CR():46===i?r.cc_ENM():47===i&&r.cc_EOC():r.cc_TO(i-32),this.lastCmdA=n,this.lastCmdB=i,this.currChNr=f,!0)},parseMidrow:function(n,i){var r=null,f;return(17===n||25===n)&&i>=32&&47>=i?(r=17===n?1:2,r!==this.currChNr)?(t.log("ERROR","Mismatch channel in midrow parsing"),!1):(f=this.channels[r-1],f.cc_MIDROW(i),t.log("DEBUG","MIDROW ("+u([n,i])+")"),!0):!1},parsePAC:function(n,t){var i=null,r=null,e=(n>=17&&23>=n||n>=25&&31>=n)&&t>=64&&127>=t,o=(16===n||24===n)&&t>=64&&95>=t,u,f;return!e&&!o?!1:n===this.lastCmdA&&t===this.lastCmdB?(this.lastCmdA=null,this.lastCmdB=null,!0):(i=23>=n?1:2,r=t>=64&&95>=t?1===i?p[n]:b[n]:1===i?w[n]:k[n],u=this.interpretPAC(r,t),f=this.channels[i-1],f.setPAC(u),this.lastCmdA=n,this.lastCmdB=t,this.currChNr=i,!0)},interpretPAC:function(n,t){var i=t,r={color:null,italics:!1,indent:null,underline:!1,row:n};return i=t>95?t-96:t-64,r.underline=1==(1&i),13>=i?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(i/2)]:15>=i?(r.italics=!0,r.color="white"):r.indent=4*Math.floor((i-16)/2),r},parseChars:function(n,i){var o=null,f=null,r=null,e,s;return(n>=25?(o=2,r=n-8):(o=1,r=n),r>=17&&19>=r)?(e=i,e=17===r?i+80:18===r?i+112:i+144,t.log("INFO","Special char '"+a(e)+"' in channel "+o),f=[e]):n>=32&&127>=n&&(f=0===i?[n]:[n,i]),f&&(s=u(f),t.log("DEBUG","Char codes =  "+s.join(",")),this.lastCmdA=null,this.lastCmdB=null),f},parseBackgroundAttributes:function(n,t){var i,r,u,f,e=(16===n||24===n)&&t>=32&&47>=t,o=(23===n||31===n)&&t>=45&&47>=t;return e||o?(i={},16===n||24===n?(r=Math.floor((t-32)/2),i.background=d[r],t%2==1&&(i.background=i.background+"_semi")):45===t?i.background="transparent":(i.foreground="black",47===t&&(i.underline=!0)),u=24>n?1:2,f=this.channels[u-1],f.setBkgData(i),this.lastCmdA=null,this.lastCmdB=null,!0):!1},reset:function(){for(var n=0;n<this.channels.length;n++)this.channels[n]&&this.channels[n].reset();this.lastCmdA=null;this.lastCmdB=null},cueSplitAtTime:function(n){for(var t=0;t<this.channels.length;t++)this.channels[t]&&this.channels[t].cueSplitAtTime(n)}};v=function(n,t,i){for(var r,o,u,e,s=0,f=t,h=0,c=[],l=function(n,t,i,r){if(4!==n||8>t)return null;var u=i.getUint8(r),f=i.getUint16(r+1),e=i.getUint32(r+3),o=i.getUint8(r+7);return 181==u&&49==f&&1195456820==e&&3==o};t+i>f;){if(s=n.getUint32(f),h=31&n.getUint8(f+4),6===h)for(r=f+5,o=-1;f+4+s-1>r;){for(o=0,u=255;255===u;)u=n.getUint8(r),o+=u,r++;for(e=0,u=255;255===u;)u=n.getUint8(r),e+=u,r++;l(o,e,n,r)&&c.push([r,e]);r+=e}f+=s+4}return c};y=function(n,t){var i=t[0],r=[[],[]],o,e,u,f;for(i+=8,o=31&n.getUint8(i),i+=2,e=0;o>e;e++){var s=n.getUint8(i),c=4&s,h=3&s;i++;u=n.getUint8(i);i++;f=n.getUint8(i);i++;c&&(127&u)+(127&f)!=0&&(0===h?(r[0].push(u),r[0].push(f)):1===h&&(r[1].push(u),r[1].push(f)))}return r};n.logger=t;n.PenState=e;n.CaptionScreen=f;n.Cea608Parser=c;n.findCea608Nalus=v;n.extractCea608DataFromRange=y}("undefined"==typeof i?(void 0).cea608parser={}:i)},{}],91:[function(n,t,i){"use strict";i.__esModule=!0;var u=n("./cea608-parser.js"),r=function(n,t,i){this.stream=n;this.channelNr=1|t;this.combineConsecutiveRows=i|!0;this.initWritten=!1};r.prototype={newCue:function(n,t,i){this.initWritten||this.writeInit();var r=this.formatTime(n),u=this.formatTime(t);this.writeCue(r,u,i)},writeToStream:function(n){this.stream&&this.stream.write(n)},formatTime:function(n){var i,r,f,t=Math.floor(n),e=n-t,u=function(n){var t=n.toString();return 1===t.length?"0"+t:t},o=function(n){for(var t=n.toString(),i=3-t.length;i>0;)t="0"+t,i--;return t};return i=Math.floor(t/3600),t-=3600*i,r=Math.floor(t/60),t-=60*r,f=Math.floor(1e3*e),u(i)+":"+u(r)+":"+u(t)+"."+o(f)},writeInit:function(n,t){this.writeToStream("WEBVTT\nStyling=CEA608\nKind=Caption\nChannel=CC"+this.channelNr+"\n");t&&(this.lastScreen.copy(t),this.lastTime=n);this.initWritten=!0},writeCue:function(n,t,i){for(var f,e,u=-2,r=0;r<i.rows.length;r++)f=i.rows[r],f.isEmpty()||(this.combineConsecutiveRows&&r===u+1||(e=r+1,this.writeToStream("\n"+n+" --> "+t+" line:"+e+"\n")),this.outputTextRow(f),this.writeToStream("\n"),u=r)},outputTextRow:function(n){for(var s,r,h,f,c,i=new u.PenState,t=null,e=null,o=0;o<n.chars.length;o++)e=n.chars[o],s=!1,(t=e.penState,(t.foreground!==i.foreground||t.background!==i.background||t.flash!==i.flash)&&(("white"!==i.foreground||"black"!==i.background||i.flash)&&this.writeToStream("<\/c>"),s=!0),t.underline!==i.underline&&i.underline&&this.writeToStream("<\/u>"),t.italics!==i.italics&&i.italics&&this.writeToStream("<\/i>"),t.italics!==i.italics&&(t.italics&&this.writeToStream("<i>"),i.italics=t.italics),t.underline!==i.underline&&t.underline&&this.writeToStream("<u>"),s&&("white"!==t.foreground||"black"!==t.background||t.flash))&&(r=[],h=t.background,"transparent"===t.background?r.push("transparent"):(f=h.split("_"),2===f.length&&"semi"===f[1]&&r.push("semi-transparent"),"black"!==h&&r.push("bg_"+f[0])),"white"!==t.foreground&&r.push(t.foreground),t.flash&&r.push("blink"),c=r.join("."),this.writeToStream("<c."+c+">")),this.writeToStream(e.uchar),i.copy(t);("white"!==t.foreground||"black"!==t.background)&&this.writeToStream("<\/c>");t.underline&&this.writeToStream("<\/u>");t.italics&&this.writeToStream("<\/i>")},close:function(){this.stream&&(this.stream.end(),this.stream=null)}};i["default"]=r;t.exports=i["default"]},{"./cea608-parser.js":90}],92:[function(n,t,i){"use strict";var u={},f,r;u.parseBuffer=function(n){return new f(n).parse()};u.addBoxParser=function(n,t){"string"==typeof n&&"function"==typeof t&&(r.prototype._boxParsers[n]=t)};u.Utils={};u.Utils.dataViewToString=function(n,t){var f=t||"utf-8",u,r,i;if("undefined"!=typeof TextDecoder)return new TextDecoder(f).decode(n);if(u=[],r=0,"utf-8"===f)for(;r<n.byteLength;)i=n.getUint8(r++),128>i||(224>i?(i=(31&i)<<6,i|=63&n.getUint8(r++)):240>i?(i=(15&i)<<12,i|=(63&n.getUint8(r++))<<6,i|=63&n.getUint8(r++)):(i=(7&i)<<18,i|=(63&n.getUint8(r++))<<12,i|=(63&n.getUint8(r++))<<6,i|=63&n.getUint8(r++))),u.push(String.fromCharCode(i));else for(;r<n.byteLength;)u.push(String.fromCharCode(n.getUint8(r++)));return u.join("")};"undefined"!=typeof i&&(i.parseBuffer=u.parseBuffer,i.addBoxParser=u.addBoxParser,i.Utils=u.Utils);u.Cursor=function(n){this.offset="undefined"==typeof n?0:n};f=function(n){this._raw=new DataView(n);this._cursor=new u.Cursor;this.boxes=[]};f.prototype.fetch=function(n){var t=this.fetchAll(n,!0);return t.length?t[0]:null};f.prototype.fetchAll=function(n,t){var i=[];return f._sweep.call(this,n,i,t),i};f.prototype.parse=function(){for(this._cursor.offset=0,this.boxes=[];this._cursor.offset<this._raw.byteLength;){var n=r.parse(this);if("undefined"==typeof n.type)break;this.boxes.push(n)}return this};f._sweep=function(n,t,i){this.type&&this.type==n&&t.push(this);for(var r in this.boxes){if(t.length&&i)return;f._sweep.call(this.boxes[r],n,t,i)}};r=function(){this._cursor=new u.Cursor};r.parse=function(n){var t=new r;return t._offset=n._cursor.offset,t._root=n._root?n._root:n,t._raw=n._raw,t._parent=n,t._parseBox(),n._cursor.offset=t._raw.byteOffset+t._raw.byteLength,t};r.prototype._readInt=function(n){var t=null,i,r;switch(n){case 8:t=this._raw.getInt8(this._cursor.offset-this._raw.byteOffset);break;case 16:t=this._raw.getInt16(this._cursor.offset-this._raw.byteOffset);break;case 32:t=this._raw.getInt32(this._cursor.offset-this._raw.byteOffset);break;case 64:i=this._raw.getInt32(this._cursor.offset-this._raw.byteOffset);r=this._raw.getInt32(this._cursor.offset-this._raw.byteOffset+4);t=i*Math.pow(2,32)+r}return this._cursor.offset+=n>>3,t};r.prototype._readUint=function(n){var i,r,t=null;switch(n){case 8:t=this._raw.getUint8(this._cursor.offset-this._raw.byteOffset);break;case 16:t=this._raw.getUint16(this._cursor.offset-this._raw.byteOffset);break;case 24:i=this._raw.getUint16(this._cursor.offset-this._raw.byteOffset);r=this._raw.getUint8(this._cursor.offset-this._raw.byteOffset+2);t=(i<<8)+r;break;case 32:t=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset);break;case 64:i=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset);r=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset+4);t=i*Math.pow(2,32)+r}return this._cursor.offset+=n>>3,t};r.prototype._readString=function(n){for(var r,t="",i=0;n>i;i++)r=this._readUint(8),t+=String.fromCharCode(r);return t};r.prototype._readTerminatedString=function(){for(var t,n="";this._cursor.offset-this._offset<this._raw.byteLength;){if(t=this._readUint(8),0===t)break;n+=String.fromCharCode(t)}return n};r.prototype._readTemplate=function(n){var t=this._readUint(n/2),i=this._readUint(n/2);return t+i/Math.pow(2,n/2)};r.prototype._readData=function(n){var t=n>0?n:this._raw.byteLength-(this._cursor.offset-this._offset),i=new DataView(this._raw.buffer,this._cursor.offset,t);return this._cursor.offset+=t,i};r.prototype._parseBox=function(){if(this._cursor.offset=this._offset,this._offset+8>this._raw.buffer.byteLength)return void(this._root._incomplete=!0);switch(this.size=this._readUint(32),this.type=this._readString(4),1==this.size&&(this.largesize=this._readUint(64)),"uuid"==this.type&&(this.usertype=this._readString(16)),this.size){case 0:this._raw=new DataView(this._raw.buffer,this._offset,this._raw.byteLength-this._cursor.offset);break;case 1:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.largesize);break;default:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.size)}this._incomplete||(-1!==this._boxContainers.indexOf(this.type)?this._parseContainerBox():this._boxParsers[this.type]&&this._boxParsers[this.type].call(this))};r.prototype._parseFullBox=function(){this.version=this._readUint(8);this.flags=this._readUint(24)};r.prototype._parseContainerBox=function(){for(this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(r.parse(this))};r.prototype._boxContainers=["dinf","edts","mdia","meco","mfra","minf","moof","moov","mvex","stbl","strk","traf","trak","tref","udta","vttc"];r.prototype._boxParsers={};r.prototype._boxParsers.avc1=function(){var n,t;for(this.reserved1=[this._readUint(8),this._readUint(8),this._readUint(8),this._readUint(8),this._readUint(8),this._readUint(8)],this.data_reference_index=this._readUint(16),this.pre_defined1=this._readUint(16),this.reserved2=this._readUint(16),this.pre_defined2=[this._readUint(32),this._readUint(32),this._readUint(32)],this.width=this._readUint(16),this.height=this._readUint(16),this.horizresolution=this._readTemplate(32),this.vertresolution=this._readTemplate(32),this.reserved3=this._readUint(32),this.frame_count=this._readUint(16),n=this._readUint(8),this.compressorname=this._readString(n),t=0;31-n>t;t++)this._readUint(8);this.depth=this._readUint(16);this.pre_defined3=this._readInt(16);this.config=this._readData()};r.prototype._boxParsers.dref=function(){this._parseFullBox();this.entry_count=this._readUint(32);this.entries=[];for(var n=0;n<this.entry_count;n++)this.entries.push(r.parse(this))};r.prototype._boxParsers.elst=function(){var t,n;for(this._parseFullBox(),this.entry_count=this._readUint(32),this.entries=[],t=1;t<=this.entry_count;t++)n={},1==this.version?(n.segment_duration=this._readUint(64),n.media_time=this._readInt(64)):(n.segment_duration=this._readUint(32),n.media_time=this._readInt(32)),n.media_rate_integer=this._readInt(16),n.media_rate_fraction=this._readInt(16),this.entries.push(n)};r.prototype._boxParsers.emsg=function(){this._parseFullBox();this.scheme_id_uri=this._readTerminatedString();this.value=this._readTerminatedString();this.timescale=this._readUint(32);this.presentation_time_delta=this._readUint(32);this.event_duration=this._readUint(32);this.id=this._readUint(32);this.message_data=new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset))};r.prototype._boxParsers.free=r.prototype._boxParsers.skip=function(){this.data=new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset))};r.prototype._boxParsers.ftyp=r.prototype._boxParsers.styp=function(){for(this.major_brand=this._readString(4),this.minor_version=this._readUint(32),this.compatible_brands=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.compatible_brands.push(this._readString(4))};r.prototype._boxParsers.hdlr=function(){this._parseFullBox();this.pre_defined=this._readUint(32);this.handler_type=this._readString(4);this.reserved=[this._readUint(32),this._readUint(32),this._readUint(32)];this.name=this._readTerminatedString()};r.prototype._boxParsers.mdat=function(){this.data=this._readData()};r.prototype._boxParsers.mdhd=function(){this._parseFullBox();1==this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.timescale=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.timescale=this._readUint(32),this.duration=this._readUint(32));var n=this._readUint(16);this.pad=n>>15;this.language=String.fromCharCode((n>>10&31)+96,(n>>5&31)+96,(31&n)+96);this.pre_defined=this._readUint(16)};r.prototype._boxParsers.mehd=function(){this._parseFullBox();this.fragment_duration=this._readUint(1==this.version?64:32)};r.prototype._boxParsers.mfhd=function(){this._parseFullBox();this.sequence_number=this._readUint(32)};r.prototype._boxParsers.mfro=function(){this._parseFullBox();this.mfra_size=this._readUint(32)};r.prototype._boxParsers.mp4a=function(){this.reserved1=[this._readUint(8),this._readUint(8),this._readUint(8),this._readUint(8),this._readUint(8),this._readUint(8)];this.data_reference_index=this._readUint(16);this.reserved2=[this._readUint(32),this._readUint(32)];this.channelcount=this._readUint(16);this.samplesize=this._readUint(16);this.pre_defined=this._readUint(16);this.reserved3=this._readUint(16);this.samplerate=this._readTemplate(32);this.esds=this._readData()};r.prototype._boxParsers.mvhd=function(){this._parseFullBox();var n;for(1==this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.timescale=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.timescale=this._readUint(32),this.duration=this._readUint(32)),this.rate=this._readTemplate(32),this.volume=this._readTemplate(16),this.reserved1=this._readUint(16),this.reserved2=[this._readUint(32),this._readUint(32)],this.matrix=[],n=0;9>n;n++)this.matrix.push(this._readTemplate(32));for(this.pre_defined=[],n=0;6>n;n++)this.pre_defined.push(this._readUint(32));this.next_track_ID=this._readUint(32)};r.prototype._boxParsers.payl=function(){var n=new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset));this.cue_text=u.Utils.dataViewToString(n)};r.prototype._boxParsers.sidx=function(){var i,n,r,t;for(this._parseFullBox(),this.reference_ID=this._readUint(32),this.timescale=this._readUint(32),0===this.version?(this.earliest_presentation_time=this._readUint(32),this.first_offset=this._readUint(32)):(this.earliest_presentation_time=this._readUint(64),this.first_offset=this._readUint(64)),this.reserved=this._readUint(16),this.reference_count=this._readUint(16),this.references=[],i=0;i<this.reference_count;i++)n={},r=this._readUint(32),n.reference_type=r>>31&1,n.referenced_size=2147483647&r,n.subsegment_duration=this._readUint(32),t=this._readUint(32),n.starts_with_SAP=t>>31&1,n.SAP_type=t>>28&7,n.SAP_delta_time=268435455&t,this.references.push(n)};r.prototype._boxParsers.smhd=function(){this._parseFullBox();this.balance=this._readTemplate(16);this.reserved=this._readUint(16)};r.prototype._boxParsers.ssix=function(){var i,n,r,t;for(this._parseFullBox(),this.subsegment_count=this._readUint(32),this.subsegments=[],i=0;i<this.subsegment_count;i++){for(n={},n.ranges_count=this._readUint(32),n.ranges=[],r=0;r<n.ranges_count;r++)t={},t.level=this._readUint(8),t.range_size=this._readUint(24),n.ranges.push(t);this.subsegments.push(n)}};r.prototype._boxParsers.stsd=function(){this._parseFullBox();this.entry_count=this._readUint(32);this.entries=[];for(var n=0;n<this.entry_count;n++)this.entries.push(r.parse(this))};r.prototype._boxParsers.subs=function(){var i,n,r,t;for(this._parseFullBox(),this.entry_count=this._readUint(32),this.entries=[],i=0;i<this.entry_count;i++){for(n={},n.sample_delta=this._readUint(32),n.subsample_count=this._readUint(16),n.subsamples=[],r=0;r<n.subsample_count;r++)t={},t.subsample_size=this._readUint(1&this.version?32:16),t.subsample_priority=this._readUint(8),t.discardable=this._readUint(8),t.codec_specific_parameters=this._readUint(32),n.subsamples.push(t);this.entries.push(n)}};r.prototype._boxParsers.tfdt=function(){this._parseFullBox();this.baseMediaDecodeTime=this._readUint(1==this.version?64:32)};r.prototype._boxParsers.tfhd=function(){this._parseFullBox();this.track_ID=this._readUint(32);1&this.flags&&(this.base_data_offset=this._readUint(64));2&this.flags&&(this.sample_description_offset=this._readUint(32));8&this.flags&&(this.default_sample_duration=this._readUint(32));16&this.flags&&(this.default_sample_size=this._readUint(32));32&this.flags&&(this.default_sample_flags=this._readUint(32))};r.prototype._boxParsers.tfra=function(){var t,n;for(this._parseFullBox(),this.track_ID=this._readUint(32),this._packed=this._readUint(32),this.reserved=this._packed>>>6,this.length_size_of_traf_num=(this._packed&&0xffff00000000)>>>4,this.length_size_of_trun_num=(this._packed&&4294901760)>>>2,this.length_size_of_sample_num=this._packed&&255,this.number_of_entry=this._readUint(32),this.entries=[],t=0;t<this.number_of_entry;t++)n={},1==this.version?(n.time=this._readUint(64),n.moof_offset=this._readUint(64)):(n.time=this._readUint(32),n.moof_offset=this._readUint(32)),n.traf_number=this._readUint(8*(this.length_size_of_traf_num+1)),n.trun_number=this._readUint(8*(this.length_size_of_trun_num+1)),n.sample_number=this._readUint(8*(this.length_size_of_sample_num+1)),this.entries.push(n)};r.prototype._boxParsers.tkhd=function(){this._parseFullBox();1==this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.track_ID=this._readUint(32),this.reserved1=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.track_ID=this._readUint(32),this.reserved1=this._readUint(32),this.duration=this._readUint(32));this.reserved2=[this._readUint(32),this._readUint(32)];this.layer=this._readUint(16);this.alternate_group=this._readUint(16);this.volume=this._readTemplate(16);this.reserved3=this._readUint(16);this.matrix=[];for(var n=0;9>n;n++)this.matrix.push(this._readTemplate(32));this.width=this._readTemplate(32);this.height=this._readTemplate(32)};r.prototype._boxParsers.trex=function(){this._parseFullBox();this.track_ID=this._readUint(32);this.default_sample_description_index=this._readUint(32);this.default_sample_duration=this._readUint(32);this.default_sample_size=this._readUint(32);this.default_sample_flags=this._readUint(32)};r.prototype._boxParsers.trun=function(){var t,n;for(this._parseFullBox(),this.sample_count=this._readUint(32),1&this.flags&&(this.data_offset=this._readInt(32)),4&this.flags&&(this.first_sample_flags=this._readUint(32)),this.samples=[],t=0;t<this.sample_count;t++)n={},256&this.flags&&(n.sample_duration=this._readUint(32)),512&this.flags&&(n.sample_size=this._readUint(32)),1024&this.flags&&(n.sample_flags=this._readUint(32)),2048&this.flags&&(n.sample_composition_time_offset=this._readInt(32)),this.samples.push(n)};r.prototype._boxParsers["url "]=r.prototype._boxParsers["urn "]=function(){this._parseFullBox();"urn "===this.type&&(this.name=this._readTerminatedString());this.location=this._readTerminatedString()};r.prototype._boxParsers.vlab=function(){var n=new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset));this.source_label=u.Utils.dataViewToString(n)};r.prototype._boxParsers.vmhd=function(){this._parseFullBox();this.graphicsmode=this._readUint(16);this.opcolor=[this._readUint(16),this._readUint(16),this._readUint(16)]};r.prototype._boxParsers.vttC=function(){var n=new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset));this.config=u.Utils.dataViewToString(n)};r.prototype._boxParsers.vtte=function(){}},{}],93:[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0,function(){var n=function(){function n(){r(this,n);this._captions=""}return n.prototype.get=function(){return this._captions},n.prototype.append=function(n){this._captions+=n},n.prototype.clear=function(){this._captions=""},n.prototype.extract=function(){var n=this.get().slice();return this.clear(),n},n}();i["default"]=n}();t.exports=i["default"]},{}],94:[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0,function(){var n=function t(){r(this,t);this.startTime=null;this.endTime=null;this.fields=[[],[]]};i["default"]=n}();t.exports=i["default"]},{}],95:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var f=n("../video.js/src/js/tracks/track-enums.js"),e=r(f),o=function(){function n(t){u(this,n);this.cea608TextTracks=[];this.player=t}return n.prototype.getAllTracks=function(){return this.cea608TextTracks},n.prototype.getTrackById=function(n){for(var i=this.player.textTracks(),t=0;t<i.length;t++)if(i[t].id===n)return i[t];return null},n.prototype.addTextTrack=function(n,t,i){var r=this.player.addTextTrack(e["default"].TextTrackKind.captions,n,t);return r.channel=i,this.cea608TextTracks.push(r),r},n.prototype.removePreviousEmbeddedTextTracks=function(){function t(t){var i=n.getTrackById(t.id);i&&n.player.removeRemoteTextTrack(i)}if(this.cea608TextTracks.length){var n=this;this.cea608TextTracks.forEach(t);this.cea608TextTracks=[]}},n}();i["default"]=o;t.exports=i["default"]},{"../video.js/src/js/tracks/track-enums.js":233}],96:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 b(n,t,i){var u=ft(n)<<28,r;return t&=~4026531840,t|=u,r=new it["default"](t),r.message=i,r}function ft(n){switch(n.toLowerCase()){case"amp":return 1;case"azurehtml5js":return 2;case"flashss":return 3;case"silverlightss":return 4;case"html5":return 5;case"html5fairplayhls":return 6;default:return 0}}var ut;i.__esModule=!0;var et=n("global/window"),c=f(et),ot=n("global/document"),l=f(ot),st=n("object.assign"),k=f(st),ht=n("lodash-compat/function/throttle"),ct=f(ht),lt=n("./video.js/src/js/utils/events.js"),d=e(lt),at=n("./video.js/src/js/utils/guid.js"),vt=(e(at),n("./video.js/src/js/utils/fn.js")),yt=e(vt),pt=n("./video.js/src/js/utils/dom.js"),a=e(pt),wt=n("./video.js/src/js/utils/languageLabels.js"),g=e(wt),nt=n("./video.js/src/js/utils/url.js"),tt=e(nt),bt=n("./video.js/src/js/utils/browser.js"),kt=e(bt),dt=n("./video.js/src/js/component.js"),v=f(dt),gt=n("./video.js/src/js/error-display.js"),ni=f(gt),ti=n("./video.js/src/js/media-error.js"),it=f(ti),ii=n("./video.js/src/js/menu/menu.js"),ri=f(ii),ui=n("./video.js/src/js/player.js"),r=f(ui),fi=n("./video.js/src/js/tech/tech.js"),s=f(fi),ei=n("./video.js/src/js/utils/to-title-case.js"),y=f(ei),oi=n("./video.js/src/js/video.js"),p=f(oi),si=n("./video.js/src/js/utils/log.js"),hi=n("./video.js/src/js/utils/merge-options.js"),ci=f(hi),li=(e(nt),n("./video.js/src/js/tracks/text-track.js")),ai=f(li),vi=n("./lang/languages.js"),yi=(f(vi),n("./ampHeuristicProfiles.js")),rt=e(yi),pi=n("./ampDefs.js"),o=e(pi),w=n("./version.js"),wi=n("./tech-wrappers/Html5.js"),bi=(f(wi),n("./tech-wrappers/amp-tech-azureHtml5JS.js")),ki=(f(bi),n("./tech-wrappers/amp-tech-flashSS.js")),di=(f(ki),n("./tech-wrappers/amp-tech-silverlightSS.js")),gi=(f(di),n("./tech-wrappers/amp-tech-html5FairPlayHLS.js")),nr=(f(gi),n("./Cea608/Cea608Module.js")),tr=f(nr),h=n("timers"),u=p["default"];c["default"].amp=u;"object"==typeof i&&"object"==typeof t&&(t.exports=u);i["default"]=u;u.errorCode=o.errorCode;u.eventName=o.eventName;u.streamEventName=o.streamEventName;u.streamListEventName=o.streamListEventName;u.bufferDataEventName=o.bufferDataEventName;u.internalEventName=o.internalEventName;u.protectionType=o.protectionType;u.CorsConfig=o.CorsConfig;u.downloadableMediaType=o.downloadableMediaType;u.getIsoLangs=g.getIsoLangs;u.get2LetterLangCode=g.get2LetterLangCode;u.decodeURL=tt.decodeURL;u.encodeURL=tt.encodeURL;c["default"].videojs=u;u.Player=r["default"];u.options.techOrder=["azureHtml5JS","flashSS","html5FairPlayHLS","silverlightSS","html5"];ut="https://amp.azure.net/libs/amp/";r["default"].prototype.enterFullscreen=r["default"].prototype.requestFullscreen;r["default"].prototype.addEventListener=r["default"].prototype.on;r["default"].prototype.removeEventListener=r["default"].prototype.off;r["default"].prototype.currentTechName=function(){return this.techName_};r["default"].prototype.playerElement=function(){return this.el_};r["default"].prototype.currentAbsoluteTime=function(n){var t=this.techGet_("currentAbsoluteTime");return void 0!==t&&void 0!==n?(this.trigger("currentTimeChanging",{time:this.fromPresentationTime(n)}),this.techCall_("setCurrentAbsoluteTime",n),t>n&&this.trigger("rewind"),this):t};r["default"].prototype.currentMediaTime=function(){return this.techGet_("currentMediaTime")};r["default"].prototype.currentVideoStreamList=function(){return this.techGet_("currentVideoStreamList")};r["default"].prototype.currentAudioStreamList=function(){return this.techGet_("currentAudioStreamList")};r["default"].prototype.videoBufferData=function(){return this.techGet_("videoBufferData")};r["default"].prototype.audioBufferData=function(){return this.techGet_("audioBufferData")};r["default"].prototype.currentDownloadBitrate=function(){return this.techGet_("currentDownloadBitrate")};r["default"].prototype.currentPlaybackBitrate=function(){return this.techGet_("currentPlaybackBitrate")};r["default"].prototype.videoWidth=function(){return this.techGet_("videoWidth")};r["default"].prototype.videoHeight=function(){return this.techGet_("videoHeight")};r["default"].prototype.currentProtectionInfo=function(){return this.options_.sourceOptions.protectionInfo};r["default"].prototype.isLive=function(){return this.techGet_("isLive")};r["default"].prototype.manifestPlayableWindowLength=function(){return this.techGet_("manifestPlayableWindowLength")};r["default"].prototype.currentPlayableWindow=function(){return this.techGet_("currentPlayableWindow")};r["default"].prototype.segmentBoundaries=function(){return this.techGet_("segmentBoundaries")};r["default"].prototype.toPresentationTime=function(n){return this.player().isLive()&&this.player().currentPlayableWindow()?n+this.player().currentPlayableWindow().startInSec:n};r["default"].prototype.fromPresentationTime=function(n){return this.player().isLive()&&this.player().currentPlayableWindow()?n-this.player().currentPlayableWindow().startInSec:n};r["default"].prototype.currentHeuristicProfile=function(n){return void 0===n?rt.findProfile(this.options_.heuristicProfile).name:(this.options_.heuristicProfile=n,this)};r["default"].prototype.currentPlayerSettingValue=function(n){var t=null;return this.tech_&&s["default"]._availableSettings.heuristicSettings.hasOwnProperty(n)&&(this.tech_.updateCurrentPlayerConfigs(),t=this.tech_.options_.currentPlayerConfigs.currentHeuristicConfigs[n]),t};r["default"].getScriptRootURL=function(){var n=l["default"].getElementsByTagName("script"),t=null,i,u,o,f,e;if(n&&n.length>=1)for(i=n.length-1;i>=0;i--)if(u=null,u=n[i].src,o=new RegExp("(.[^?]+)/azuremediaplayer(?:\\.min)?\\.js(?:\\?.*)?$","i"),u&&(f=u.match(o),f&&2===f.length)){t=f[1];break}return e=r["default"].prototype.getAmpVersion(),!t&&e&&(t=ut+e),t};r["default"].prototype.getAmpVersion=function(){var t=null,i,n;return w.ampVersion&&(i=new RegExp("([0-9]+.[0-9]+.[0-9]+).[0-9]+"),n=w.ampVersion.match(i),n&&2===n.length&&(t=n[1])),t};r["default"].prototype.getFullAmpVersion=function(){return w.ampVersion};r["default"].prototype.addThrottledWindowResizeListener=function(n,t,i){i&&(n=n.bind(i));var r=ct["default"](n,t);c["default"].addEventListener("resize",r);this.on("dispose",function(){c["default"].removeEventListener("resize",r)})};r["default"].prototype.disableTextTracks=function(){var t=this.textTracks(),n,i;if(t)for(n=0;n<t.length;n++)i=t[n],i.mode="disabled"};r["default"].prototype.setActiveTextTrack=function(n){var t,u,i,r;for(n instanceof ai["default"]||AMP.Logger.error(AMP.Logger.Area.ampAPI,"textTrack is expecting a TextTrack object."),t=this.textTracks(),u=!1,t||AMP.Logger.error(AMP.Logger.Area.ampAPI,"The text tracks are not found."),i=0;i<t.length;i++)r=t[i],r.id===n.id?(r.mode="showing",u=!0):r.mode="disabled";u||AMP.Logger.error(AMP.Logger.Area.ampAPI,"The specified text track not found.")};r["default"].prototype.src=function(n,t,i){if(AMP.Logger.verbose(AMP.Logger.Area.videojs,"AMP version "+this.getFullAmpVersion()),void 0===n)return this.currentSrc();if(this.sizeCal=!1,this.presentationFlow=!0,void 0!==i&&i||(this.presentationFlow=!1,this.presentationLayout({})),!(Array.isArray(n)||n instanceof Object))throw new Error("src is expecting a source object or an array of source objects");this.setupInitAmpEventHandlers_();this.one("loadstart",function(){var n=!this.techName_||"Html5"===this.techName_,t=!this.techName_||"Html5FairPlayHLS"===this.techName_,i=this.options().autoplay;(n||t&&!i)&&(this.removeClass("vjs-waiting"),this.trigger("removeSpinner"))});this.showPlayerLoad();void 0!==t&&null!==t&&t.length>0&&(this.options_.tracks=t);n.selected||(this.currentRetryCountForLiveMediaLoad=0,this.clearPlayerTimers(),this.options_.sdn={},Array.isArray(n)?this.options_.sourceList=n:n instanceof Object&&(this.options_.sourceList=[n]),AMP.Logger.verbose(AMP.Logger.Area.videojs,"dispatching event: sourceset "+JSON.stringify(n,function(n,t){return"authenticationToken"!==n?t:"provided"})),this.trigger(u.eventName.sourceset),this.drmSupportCheck(this.options_.sourceList));var r=function f(){this.techSetupCheck()&&this.pluginSetupCheck()?n instanceof Object&&n.selected?(this.refreshTextTracks(),this.cache_.src=n.src,this.currentType_=n.type||"",this.options_.currentType=this.currentType_,this.techCall_("updatePlayerOptions",this.options_),this.ready(function(){this.loadMediaWithTimeout(function(){this.techCall_("src",n.src);"auto"===this.options_.preload&&this.load()})})):this.sourceList_(UrlRewriter.expandSources(this.options_.sourceList)):h.setTimeout(f.bind(this),50)};return r.call(this),this};r["default"].prototype.vjsOptions=r["default"].prototype.options;r["default"].prototype.options=function(n){var t=this.vjsOptions(n);return this.techCall_("updatePlayerOptions",t),t};r["default"].prototype.showPlayerLoad=function(){this.removeClass("vjs-seeking");this.removeClass("vjs-paused");this.removeClass("vjs-playing");this.isPreloadSupported()&&this.addClass("vjs-waiting")};r["default"].prototype.drmSupportCheck=function(n){for(var u,i,t=0,r=this.options_.techOrder;t<r.length;t++)u=y["default"](r[t]),i=s["default"].getTech(u),i&&i.drmSupportCheck&&i.drmSupportCheck(n)};r["default"].prototype.techSetupCheck=function(){for(var r,t,n=0,i=this.options_.techOrder;n<i.length;n++)if(r=y["default"](i[n]),t=s["default"].getTech(r),t&&t.setupDone&&!t.setupDone())return!1;return!0};r["default"].prototype.pluginSetupCheck=function(){var t=this.options_.plugins;for(var n in t)if(t.hasOwnProperty(n)&&this[n]&&this[n].setupDone&&!this[n].setupDone())return!1;return!0};r["default"].prototype.setupInitAmpEventHandlers_=function(){var n=this;this.ampEventHandlersReady?(this.startTriggered=!1,this.firstQuartileTriggered=!1,this.midpointTriggered=!1,this.thirdQuartileTriggered=!1,this.wasPaused=!1):!function(){var i=n,t=function(n,t){i.addEventListener(n,t);i.addEventListener("dispose",function(){i.removeEventListener(n,t)})};t("timeupdate",function(){var n=this.duration(),t=this.currentTime();n>0&&(!this.startTriggered&&t>0&&(this.startTriggered=!0,this.trigger("start")),this.isLive()||(!this.firstQuartileTriggered&&t>=n/4&&(this.firstQuartileTriggered=!0,this.trigger("firstquartile")),!this.midpointTriggered&&t>=n/2&&(this.midpointTriggered=!0,this.trigger("midpoint")),!this.thirdQuartileTriggered&&t>=3*n/4&&(this.thirdQuartileTriggered=!0,this.trigger("thirdquartile"))))});t("play",function(){this.wasPaused&&(this.trigger("resume"),this.wasPaused=!1)});t("pause",function(){this.wasPaused=!0});t("fullscreenchange",function(){this.trigger(this.isFullscreen()?"fullscreen":"exitfullscreen")});t("canplaythrough",function(){this.clearPlayerTimers()});t("loadstart",function(){"azurehtml5js"===this.techName_.toLowerCase()&&this.clearSetupCheckTimer()});n.ampEventHandlersReady=!0}()};r["default"].prototype.sourceList_=function(n){var t=this.selectSource(n),u=!0,i;t&&(this.updateSourceOptions(t.source),"FlashSS"===t.tech&&void 0!==this.options_.sourceOptions.protectionInfo)&&(i=p["default"].getTech(t.tech),i.isVersionSupported("30.0")===!0&&i.isVersionSupported("30.0.0.145")===!1&&(u=!1));u&&t?(this.tech_&&t.tech===this.techName_&&("FlashSS"!==t.tech||JSON.stringify(this.options_.sourceOptions.protectionInfo)===JSON.stringify(t.source.protectionInfo)&&!this.tech_.isReloadNeeded())?(t.source.selected=!0,this.src(t.source,[],this.presentationFlow)):this.loadMediaWithTimeout(function(){this.loadTech_(t.tech,t.source);this.refreshTextTracks()}),this.cea608Module&&this.cea608Module.dispose(),this.cea608Module=this.cea608Module||new tr["default"](this),this.cea608Module.init()):(this.tech_&&this.unloadTech_(),r["default"].raiseError.call(this,r["default"].getAMPErrorCode.call(this,n)),this.triggerReady())};r["default"].prototype.options_.sourceOptions={};r["default"].prototype.updateSourceOptions=function(n){this.options({sourceOptions:null});var t={};n&&n.protectionInfo&&(t.protectionInfo=n.protectionInfo);this.options({sourceOptions:t})};r["default"].prototype.pauseAndHide=function(){try{this.el().style.display="none";null!==this.currentSrc()&&this.pause()}catch(n){AMP.Logger.warning(AMP.Logger.Area.videojs,"Exception while quering currentSrc in player.pauseAndHide()")}};r["default"].prototype.hide=function(){void 0===this.el().style.opacity?this.el().style.display="none":(this.el().style.opacity=0,this.bigPlayButton.el().style.opacity=0)};r["default"].prototype.isVisible=function(){return"none"!==this.el().style.display};r["default"].prototype.playerContainer=function(){return this.multiPlayerContainerDiv};r["default"].prototype.currentClip=function(){return this.clip};r["default"].prototype.clip=null;r["default"].prototype.playClip=function(n){this.src(n.parent.source,n.parent.tracks,!0);this.clip=n;this.clip.isAd&&(this.title_=n.name)};r["default"].prototype.addMidRoll=function(n){return null===this.scheduler&&(this.scheduler=new AMP.Scheduler.Scheduler(this)),this.scheduler.addMidRoll(n)};r["default"].prototype.show=function(){this.el().style.display="block";this.el().style.opacity=1;this.bigPlayButton.el().style.opacity=1;this.setupSkipAd();this.trigger("visibilityChange");var n=this;h.setTimeout(function(){if(n.multiPlayerContainerDiv===l["default"].activeElement)try{n.multiPlayerContainerDiv.blur()}catch(t){AMP.Logger.warning(AMP.Logger.Area.videojs,"Exception while removing focus from player container")}},100)};r["default"].prototype.isDisposed=function(){return null===this.el()};r["default"].prototype.resetPlayer=function(){this.error(null);this.clip=null;this.title_="";void 0!==this.skipAdButton&&null!==this.skipAdButton&&(this.skipAdButton.style.display="none",this.skipAdButton.innerHTML="")};r["default"].prototype.setupSkipAd=function(){if(null!==this.clip&&this.clip.isAd&&this.clip.skippable&&this.clip.skippable>0){var n=this,t=function(){if(null!==n.clip&&n.skipAdInitialized){var i=n.duration()>0?Math.min(n.clip.skippable,n.duration()):n.clip.skippable,t=Math.ceil(i-n.currentTime());t>0?n.skipAdButton.innerHTML=AMP.Misc.formatString(n.localize("SKIP_AD_COUNTDOWN_FORMAT"),t):-1===(" "+n.skipAdButton.className+" ").indexOf(" enabled ")&&(n.skipAdButton.className+=" enabled",n.skipAdButton.innerHTML=n.localize("SKIP"));"block"!==n.skipAdButton.style.display&&n.currentTime()>0&&(n.skipAdButton.style.display="block")}},i=function r(){n.skipAdInitialized=!1;n.off("timeupdate",t);n.off("ended",r);n.skipAdButton.className="amp-skip-ad-button";n.skipAdButton.style.display="none"};this.skipAdButton||(this.skipAdButton=c["default"].document.createElement("div"),this.skipAdButton.className="amp-skip-ad-button",this.skipAdButton.style.display="none",this.skipAdButton.onclick=function(){(" "+this.className+" ").indexOf(" enabled ")>=0&&(n.trigger("skip"),i())},this.el().appendChild(this.skipAdButton));this.skipAdInitialized||(this.on("timeupdate",t),this.on("ended",i),this.skipAdInitialized=!0)}else this.skipAdButton&&(this.skipAdButton.style.display="none")};r["default"].prototype.getSkipButton=function(){return this.skipAdButton};r["default"].prototype.showControls=function(){this.controlBar.el_.style.display="none"};r["default"].prototype.hideControls=function(){this.controlBar.el_.style.display="block"};r["default"].prototype.scheduler=null;r["default"].prototype.getScheduler=function(){return this.scheduler};r["default"].prototype.playlist=function(n){return n?(null===this.scheduler&&(this.scheduler=new AMP.Scheduler.Scheduler(this)),void this.scheduler.setPlaylist(n)):this.scheduler?this.scheduler.playlist():null};r["default"].prototype.oldDispose=r["default"].prototype.dispose;r["default"].prototype.dispose=function(){this.clearPlayerTimers();this.scheduler&&null!==this.scheduler&&this.scheduler.dispose();this.oldDispose()};r["default"].prototype.getMemoryLog=function(n){return AMP.Logger.getMemoryLog(n)};r["default"].prototype.setXmlHttpRequestFactory=function(n){this.tech_&&this.tech_.setXmlHttpRequestFactory?this.tech_.setXmlHttpRequestFactory(n):AMP.Logger.warning(AMP.Logger.Area.videojs,"setXmlHttpRequestFactory unavailable on "+this.techName_+" playback technology element.")};s["default"].prototype.updatePlayerOptions=function(n){this.options_.playerOptions=ci["default"](this.options_.playerOptions,n)};s["default"].prototype.updateCurrentPlayerConfigs=function(){var t,n,i,u,r;if(this.options_.currentPlayerConfigs||(this.options_.currentPlayerConfigs={}),t=rt.findProfile(this.options_.playerOptions.heuristicProfile),void 0===this.options_.heuristicProfile&&t&&(this.options_.heuristicProfile=t.name),n=t?k["default"]({},t):{},i=this.options_.playerOptions.customPlayerSettings,i&&i.customHeuristicSettings){u={};for(r in i.customHeuristicSettings)s["default"]._availableSettings.heuristicSettings.hasOwnProperty(r)&&(u[r]=i.customHeuristicSettings[r]);n=k["default"](n,u)}n.maxBufferInWallClockSec<n.preRollInWallClockSec&&(n.maxBufferInWallClockSec=n.preRollInWallClockSec);n.livePlaybackOffsetInWallClockSec<n.preRollInWallClockSec&&(n.livePlaybackOffsetInWallClockSec=n.preRollInWallClockSec);this.options_.currentPlayerConfigs.currentHeuristicConfigs=n};s["default"]._availableSettings={heuristicSettings:{preRollInWallClockSec:0,maxBufferInWallClockSec:0,livePlaybackOffsetInWallClockSec:0,windowSizeHeuristics:!1,useBrowserWindowForWindowSizeRule:!1,minFragmentsForBandwidthAverage:1,bandwidthTestWithTimeThresholdDuringLive:!0,useVariableFragmentSizeMode:!1}};r["default"].canSupportFormats=function(n,t){var r=t[n.type],i;if(r){if(!n.protectionInfo)return"maybe";for(i=0;i<n.protectionInfo.length;i++)if(-1!==r.indexOf(n.protectionInfo[i].type))return"maybe"}return""};r["default"].prototype.refreshTextTracks=function(){var t,n,i;if(this.tech_){if(this.remoteTextTracks()&&this.remoteTextTracks().tracks_)for(;this.remoteTextTracks().tracks_.length>0;)this.removeRemoteTextTrack(this.remoteTextTracks().tracks_[0]);for(t=this.options_.tracks||[],n=0;n<t.length;n++)i=t[n],this.player_.addRemoteTextTrack(i);this.controlBar&&this.controlBar.subtitlesButton&&this.controlBar.subtitlesButton.update();this.controlBar&&this.controlBar.captionsButton&&this.controlBar.captionsButton.update();this.options_.tracks.length=0;this.textTracks_=this.player_.textTracks()}};r["default"].prototype.getCurrentTextTrack=function(){var n=this.textTracks(),t=0,i=void 0;if(n)for(;t<n.length;t++)if(i=n[t],"showing"===i.mode)return i};r["default"].prototype.trigger=function(n,t,i,r){switch(n){case"waiting":case"fullscreenchange":AMP.Logger.verbose(AMP.Logger.Area.videojs,"triggering event: "+n)}return i?d.trigger(this.el_,n,t,i,r):d.trigger(this.el_,n,t,this.currentClip(),r),this};r["default"].raiseError=function(n,t){var i=b("amp",n,t);this.error(i)};r["default"].prototype.retryPlayerLoad=function(n){var t,i;if(this.clearPlayerTimers(),t=void 0===n,void 0!==n)try{t=this.techGet_("isLiveStartupError")}catch(r){t=!1}return!this.hasStarted()&&t&&this.options_.manifestFetchAutoRetryForLive&&this.currentRetryCountForLiveMediaLoad<this.options_.maxRetryCountForLive?(this.currentRetryCountForLiveMediaLoad++,this.trigger("livestartupretry",{retryCount:this.currentRetryCountForLiveMediaLoad}),AMP.Logger.warning(AMP.Logger.Area.ampAPI,"live startup retry. count :"+this.currentRetryCountForLiveMediaLoad),i=this,this.retryTimer=h.setTimeout(function(){i.retryTimer=NaN;i.retryMediaLoad()},this.options_.retryIntervalForLiveInMSec),!0):!1};r["default"].prototype.clearPlayerTimers=function(){this.retryTimer&&(h.clearTimeout(this.retryTimer),this.retryTimer=NaN);this.clearSetupCheckTimer()};r["default"].prototype.clearSetupCheckTimer=function(){this.techSetupCheckTimer&&(h.clearTimeout(this.techSetupCheckTimer),this.techSetupCheckTimer=NaN)};r["default"].prototype.loadMediaWithTimeout=function(n){n&&(this.originalSetSource=n);n.call(this);this.startSetupTimeout()};r["default"].prototype.retryMediaLoad=function(){this.techCall_("src",this.cache_.src);this.startSetupTimeout()};r["default"].prototype.startSetupTimeout=function(){var n=this;this.clearSetupCheckTimer();this.options_.playerStartupTimeoutTimer&&(this.techSetupCheckTimer=h.setTimeout(function(){n.techSetupCheckTimer=NaN;n.currentRetryCountForLiveMediaLoad<n.options_.maxRetryCountForLive?n.retryPlayerLoad():r["default"].raiseError.call(this,o.errorCode.srcErrUnknown)},this.options_.playerStartupTimeoutInMSec),this.showBusy())};s["default"].raiseError=function(n,t,i){var r=b(n,t,i);this.error(r)};r["default"].prototype.getErrorUI=function(n){var t=(n.code&267386880)>>20;return 0===t?n.message:6===t?this.options().notSupportedMessage:255===t?"MEDIA_ERR_UNKNOWN":it["default"].errorTypes[t]||""};ni["default"].prototype.content=function(){var n=this.player().error(),t;if(n)return t=this.player().getErrorUI(n),[this.htmlEncode(this.localize(t)),l["default"].createElement("br"),"(0x"+n.code.toString(16)+")"]};r["default"].getAMPErrorCode=function(n){for(var i,t,r,o,h,f=u.errorCode.srcPlayerMismatchUnknown,e=0,s=this.options_.techOrder;e<s.length;e++)if(i=y["default"](s[e]),t=p["default"].getTech(i),t&&(!t.isSupported()||"FlashSS"===i&&t.isVersionSupported("30.0.0.145")===!1&&t.isVersionSupported("30.0")===!0))for(r=0,o=n;r<o.length;r++)h=o[r],t.canPlaySource(h)&&("SilverlightSS"===i?f|=u.errorCode.srcPlayerMismatchSilverlightNotInstalled:"FlashSS"===i&&(f|=u.errorCode.srcPlayerMismatchFlashNotInstalled));return f};r["default"].prototype.checkWidewineHttpErrorScenario=function(n){var i=(16711680&n.code)===u.errorCode.srcPlayerMismatchStart,r=(16777215&n.code)===u.errorCode.abortedErrHttpMixedContentBlocked,t;if(i&&!r){t=function(n){var t=!1;return void 0!==n&&n.length>0&&n.forEach(function(n){n.protectionInfo&&n.protectionInfo.length>0&&n.protectionInfo.forEach(function(n){"Widevine"===n.type&&(t=!0)})}),t};try{t(this.options_.sourceList)&&(n.code=4278190080&n.code|u.errorCode.encryptErrDecrypterNotFound)}catch(n){AMP.Logger.warning(AMP.Logger.Area.videojs,"exception in checkWidewineHttpsErrorScenario")}}};r["default"].prototype.preloadClip=function(n){this.options_.preload="auto";this.options_.autoplay=!1;this.src(n.parent.source,n.parent.tracks,!0);this.clip=n;this.clip.isAd&&(this.title_=n.name)};r["default"].prototype.canControlPlaybackRate=function(){return this.tech_&&this.tech_.featuresPlaybackRate};r["default"].prototype.isPreloadSupported=function(){return this.tech_&&this.tech_.featuresPreload};r["default"].prototype.downloadableMedia=function(n){return void 0!==n?(this.downloadableMediaOptions=n,this.trigger("downloadableMediaChanged"),this):this.downloadableMediaOptions};r["default"].prototype.spliceWaiting=function(){var t=[],n,i;return this.tech&&(n=this.techGet_("getAdSignalsAndReset"),n&&n.length>0&&(i=!!n[0].simpleSignal,n.forEach(function(n){if(i)t.push({id:n.simpleSignal.id,startOffset:n.simpleSignal.presentationTime,duration:n.simpleSignal.duration,out:!0});else{var r=AMP.Scte35Parser.parseBinaryMessage(n.scteSignal.signalInBinary);r&&r.id&&(n.scteSignal.presentationTimeOverride&&(r.startOffset=n.scteSignal.presentationTimeOverride),t.push(r))}}))),t};r["default"].prototype.addElClass=function(n,t){a.addElClass(n,t)};r["default"].prototype.removeElClass=function(n,t){a.removeElClass(n,t)};r["default"].prototype.showBusy=function(){a.addElClass(this.el(),"vjs-waiting");this.trigger("waiting")};r["default"].prototype.presentationLayout=function(n){return void 0===n?this.preLayout:(this.title_="",this.preLayout=n,this.clip=null,void this.trigger("presentationUpdate"))};r["default"].prototype.createAdPlayer=function(){var i=l["default"].createElement("video"),t,n;return kt.isMobile||a.setElAttributes(i,{preload:"auto"}),this.el().parentNode.appendChild(i),t=this.options_,n={},n.width=t.width,n.height=t.height,n.fluid=t.fluid,n.autoplay=t.autoplay,n.poster=t.poster,n.controls=!1,n.adClickEnabled=!0,n.overrideDisabledForBigPlayButton=!0,n.techOrder=["html5"],n.hotkeys={enableSeek:!1,enablePlayPause:!1},n.isAdPlayer=!0,n.logo={enabled:!1},n.ariaLabel="Ad player",new r["default"](i,n,null,this)};si.Log.logByType=AMP.Logger.videoJSLogOverride;v["default"].prototype.prependChild=function(n,t){var i=this.addChild(n,t);return this.contentEl().insertBefore(i.el(),this.contentEl().firstChild),i};v["default"].prototype.toggleClass=function(n,t){return void 0!==t?void(t?this.addClass(n):this.removeClass(n)):void(this.hasClass(n)?this.removeClass(n):this.addClass(n))};v["default"].prototype.addCrossOriginPolicy=function(n,t){t||(t=this.el());n===u.CorsConfig.UseCredentials?t.setAttribute("crossorigin","use-credentials"):n===u.CorsConfig.Anonymous&&t.setAttribute("crossorigin","anonymous")};ri["default"].prototype.prependItem=function(n,t){this.prependChild(n);n.parent=t;n.on("click",yt.bind(this,function(){this.unlockShowing()}))};t.exports=i["default"]},{"./Cea608/Cea608Module.js":87,"./ampDefs.js":97,"./ampHeuristicProfiles.js":98,"./lang/languages.js":124,"./tech-wrappers/Html5.js":150,"./tech-wrappers/amp-tech-azureHtml5JS.js":152,"./tech-wrappers/amp-tech-flashSS.js":153,"./tech-wrappers/amp-tech-html5FairPlayHLS.js":154,"./tech-wrappers/amp-tech-silverlightSS.js":155,"./version.js":156,"./video.js/src/js/component.js":163,"./video.js/src/js/error-display.js":200,"./video.js/src/js/media-error.js":205,"./video.js/src/js/menu/menu.js":208,"./video.js/src/js/player.js":210,"./video.js/src/js/tech/tech.js":222,"./video.js/src/js/tracks/text-track.js":232,"./video.js/src/js/utils/browser.js":238,"./video.js/src/js/utils/dom.js":241,"./video.js/src/js/utils/events.js":242,"./video.js/src/js/utils/fn.js":243,"./video.js/src/js/utils/guid.js":246,"./video.js/src/js/utils/languageLabels.js":248,"./video.js/src/js/utils/log.js":249,"./video.js/src/js/utils/merge-options.js":250,"./video.js/src/js/utils/to-title-case.js":254,"./video.js/src/js/utils/url.js":255,"./video.js/src/js/video.js":256,"global/document":79,"global/window":80,"lodash-compat/function/throttle":29,"object.assign":73,timers:24}],97:[function(n,t,i){"use strict";var u,f,e,o,s,h,c,r,l,a,v;i.__esModule=!0;u={PlayReady:"PlayReady",Widevine:"Widevine",AES:"AES",FairPlay:"FairPlay"};i.protectionType=u;f={Anonymous:"Anonymous",UseCredentials:"UseCredentials"};i.CorsConfig=f;e={Smooth:"application/vnd.ms-sstr+xml",Dash:"application/dash+xml",HLS:"application/vnd.apple.mpegurl"};i.StreamingFormatMimeType=e;o={canplaythrough:"canplaythrough",durationchange:"durationchange",ended:"ended",error:"error",fullscreenchange:"fullscreenchange",loadstart:"loadstart",loadedmetadata:"loadedmetadata",loadeddata:"loadeddata",pause:"pause",play:"play",playing:"playing",seeked:"seeked",seeking:"seeking",timeupdate:"timeupdate",volumechange:"volumechange",waiting:"waiting",downloadbitratechanged:"downloadbitratechanged",playbackbitratechanged:"playbackbitratechanged",sourceset:"sourceset",ratechange:"ratechange",disposing:"disposing",splicewaiting:"splicewaiting",start:"start",firstquartile:"firstquartile",midpoint:"midpoint",thirdquartile:"thirdquartile",complete:"complete",mute:"mute",unmute:"unmute",rewind:"rewind",resume:"resume",fullscreen:"fullscreen",exitfullscreen:"exitfullscreen",click:"tech-click",skip:"skip",errorInPlayingAd:"errorInPlayingAd",livestartupretry:"livestartupretry",embeddedcaptionsfound:"embeddedcaptionsfound"};i.eventName=o;s={menuadded:"menuadded",currentTimeChanging:"currentTimeChanging",playingAtLiveDVREdge:"playingAtLiveDVREdge",playingAtStartDVREdge:"playingAtStartDVREdge",playingInDVR:"playingInDVR"};i.internalEventName=s;h={trackselected:"trackselected"};i.streamEventName=h;c={streamselected:"streamselected",streamindexinvalid:"streamindexinvalid",streamselectnotsupported:"streamselectnotsupported"};i.streamListEventName=c;r={abortedErrStart:1048576,abortedErrUnknown:1048576,abortedErrNotImplemented:1048577,abortedErrHttpMixedContentBlocked:1048578,abortedErrEnd:2097151,networkErrStart:2097152,networkErrUnknown:2097152,networkErrHttpResponseBegin:2097552,networkErrHttpBadUrlFormat:2097552,networkErrHttpUserAuthRequired:2097553,networkErrHttpUserForbidden:2097555,networkErrHttpUrlNotFound:2097556,networkErrHttpNotAllowed:2097557,networkErrHttpGone:2097562,networkErrHttpPreconditionFailed:2097564,networkErrHttpInternalServerFailure:2097652,networkErrHttpBadGateway:2097654,networkErrHttpServiceUnavailable:2097655,networkErrHttpGatewayTimeout:2097656,networkErrHttpResponseEnd:2097751,networkErrTimeout:2097752,networkErrError:2097753,networkErrAbort:2097754,networkErrEnd:3145727,decodeErrStart:3145728,decodeErrUnknown:3145728,decodeErrEnd:4194303,srcErrStart:4194304,srcErrUnknown:4194304,srcErrParsePresentation:4194305,srcErrParseSegment:4194306,srcErrUnsupportedPresentation:4194307,srcErrInvalidSegment:4194308,srcErrLiveNoSegments:4194309,srcErrEnd:5242879,encryptErrStart:5242880,encryptErrUnknown:5242880,encryptErrDecrypterNotFound:5242881,encryptErrDecrypterInit:5242882,encryptErrDecrypterNotSupported:5242883,encryptErrKeyAcquire:5242884,encryptErrDecryption:5242885,encryptErrLicenseAcquire:5242886,encryptErrEnd:6291455,srcPlayerMismatchStart:6291456,srcPlayerMismatchUnknown:6291456,srcPlayerMismatchFlashNotInstalled:6291457,srcPlayerMismatchSilverlightNotInstalled:6291458,srcPlayerMismatchEnd:7340031,errUnknown:267386880};i.errorCode=r;l={400:r.networkErrHttpBadUrlFormat,401:r.networkErrHttpUserAuthRequired,403:r.networkErrHttpUserForbidden,404:r.networkErrHttpUrlNotFound,405:r.networkErrHttpNotAllowed,410:r.networkErrHttpGone,412:r.networkErrHttpPreconditionFailed,500:r.networkErrHttpInternalServerFailure,502:r.networkErrHttpBadGateway,503:r.networkErrHttpServiceUnavailable,504:r.networkErrHttpGatewayTimeout};i.httpErrorCode=l;a={downloadrequested:"downloadrequested",downloadcompleted:"downloadcompleted",downloaddecrypted:"downloaddecrypted",downloadfailed:"downloadfailed"};i.bufferDataEventName=a;v={video:"video",videoWithCC:"videoWithCC",audio:"audio",transcript:"transcript"};i.downloadableMediaType=v},{}],98:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n){for(var t=[{name:r["default"].HeuristicProfile.Hybrid,preRollInWallClockSec:4,maxBufferInWallClockSec:30,livePlaybackOffsetInWallClockSec:8,windowSizeHeuristics:!0},{name:r["default"].HeuristicProfile.QuickStart,preRollInWallClockSec:2,maxBufferInWallClockSec:30,livePlaybackOffsetInWallClockSec:8,windowSizeHeuristics:!0},{name:r["default"].HeuristicProfile.HighQuality,preRollInWallClockSec:8,maxBufferInWallClockSec:30,livePlaybackOffsetInWallClockSec:15,windowSizeHeuristics:!1},{name:r["default"].HeuristicProfile.LowLatency,preRollInWallClockSec:2,maxBufferInWallClockSec:30,livePlaybackOffsetInWallClockSec:2,windowSizeHeuristics:!0}],i=0;i<t.length;i++)if(t[i].name===n)return t[i];return t[0]}i.__esModule=!0;i.findProfile=f;var e=n("./video.js/src/js/player"),r=u(e);r["default"].HeuristicProfile={Hybrid:"Hybrid",QuickStart:"QuickStart",HighQuality:"HighQuality",LowLatency:"LowLatency"}},{"./video.js/src/js/player":210}],99:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.ar={Play:"ØªØ´ØºÙŠÙ„",Pause:"Ø¥ÙŠÙ‚Ø§Ù Ù…Ø¤Ù‚Øª","Current Time":"Ø§Ù„ÙˆÙ‚Øª Ø§Ù„Ø­Ø§Ù„ÙŠ","Duration Time":"Ø§Ù„Ù…Ø¯Ø©","Remaining Time":"Ø§Ù„ÙˆÙ‚Øª Ø§Ù„Ù…ØªØ¨Ù‚ÙŠ","Stream Type":"Ù†ÙˆØ¹ Ø§Ù„Ø¨Ø«",LIVE:"Ù…Ø¨Ø§Ø´Ø±",Loaded:"ØªÙ… Ø§Ù„ØªØ­Ù…ÙŠÙ„",Progress:"Ù…Ø³ØªÙˆÙ‰ Ø§Ù„ØªÙ‚Ø¯Ù…",Fullscreen:"Ù…Ù„Ø¡ Ø§Ù„Ø´Ø§Ø´Ø©","Non-Fullscreen":"Ù„ÙŠØ³ ÙÙŠ ÙˆØ¶Ø¹ Ù…Ù„Ø¡ Ø§Ù„Ø´Ø§Ø´Ø©",Mute:"ÙƒØªÙ… Ø§Ù„ØµÙˆØª",Unmuted:"ØªÙ… Ø¥Ù„ØºØ§Ø¡ ÙƒØªÙ… Ø§Ù„ØµÙˆØª","Playback Rate":"Ù…Ø¹Ø¯Ù„ Ø§Ù„ØªØ´ØºÙŠÙ„",Subtitles:"ØªØ±Ø¬Ù…Ø© Ù†ØµÙŠØ©","Subtitles Off":"ØªÙ… Ø¥ÙŠÙ‚Ø§Ù Ø¹Ø±Ø¶ Ø§Ù„ØªØ±Ø¬Ù…Ø© Ø§Ù„Ù†ØµÙŠØ©",Captions:"ØªØ³Ù…ÙŠØ§Øª ØªÙˆØ¶ÙŠØ­ÙŠØ©","Captions Off":"ØªÙ… Ø¥ÙŠÙ‚Ø§Ù Ø¹Ø±Ø¶ Ø§Ù„ØªØ³Ù…ÙŠØ§Øª Ø§Ù„ØªÙˆØ¶ÙŠØ­ÙŠØ©",Chapters:"ÙØµÙˆÙ„",Off:"Ø¥ÙŠÙ‚Ø§Ù Ø§Ù„ØªØ´ØºÙŠÙ„",Quality:"Ø§Ù„Ø¬ÙˆØ¯Ø©",Auto:"ØªÙ„Ù‚Ø§Ø¦ÙŠ","Audio Tracks":"Ù…Ù‚Ø§Ø·Ø¹ ØµÙˆØªÙŠØ©","default":"Ø§ÙØªØ±Ø§Ø¶ÙŠ","Cast To Device":"Ø¥Ø±Ø³Ø§Ù„ Ø¥Ù„Ù‰ Ø§Ù„Ø¬Ù‡Ø§Ø²",Share:"Ù…Ø´Ø§Ø±ÙƒØ©",Volume:"Ù…Ø³ØªÙˆÙ‰ Ø§Ù„ØµÙˆØª","Playback Speed":"Ø³Ø±Ø¹Ø© Ø§Ù„ØªØ´ØºÙŠÙ„","Video Quality":"Ø¬ÙˆØ¯Ø© Ø§Ù„ÙÙŠØ¯ÙŠÙˆ","Closed Captioning":"Ø¥Ø¶Ø§ÙØ© Ù†Øµ Ù…ØµØ§Ø­Ø¨","Share Video":"Ù…Ø´Ø§Ø±ÙƒØ© Ø§Ù„ÙÙŠØ¯ÙŠÙˆ","Next Track":"Ø§Ù„Ù…Ù‚Ø·Ø¹ Ø§Ù„ØµÙˆØªÙŠ Ø§Ù„ØªØ§Ù„ÙŠ","Previous Track":"Ø§Ù„Ù…Ù‚Ø·Ø¹ Ø§Ù„ØµÙˆØªÙŠ Ø§Ù„Ø³Ø§Ø¨Ù‚","Skip Forward":"ØªØ®Ø·ÙŠ Ù„Ù„Ø£Ù…Ø§Ù…","Skip Backward":"ØªØ®Ø·ÙŠ Ù„Ù„Ø®Ù„Ù","Fast Forward":"ØªÙ‚Ø¯ÙŠÙ… Ø³Ø±ÙŠØ¹",Rewind:"Ø¥Ø±Ø¬Ø§Ø¹","Next Frame":"Ø§Ù„Ø¥Ø·Ø§Ø± Ø§Ù„ØªØ§Ù„ÙŠ","Previous Frame":"Ø§Ù„Ø¥Ø·Ø§Ø± Ø§Ù„Ø³Ø§Ø¨Ù‚",Settings:"Ø¥Ø¹Ø¯Ø§Ø¯Ø§Øª",Options:"Ø®ÙŠØ§Ø±Ø§Øª","More Options":"Ø®ÙŠØ§Ø±Ø§Øª Ø¥Ø¶Ø§ÙÙŠØ©",Zoom:"ØªÙƒØ¨ÙŠØ±/ØªØµØºÙŠØ±","Zoom In":"ØªÙƒØ¨ÙŠØ±","Zoom Out":"ØªØµØºÙŠØ±","Audio Only":"Ø§Ù„ØµÙˆØª ÙÙ‚Ø·","Picture in Picture":"ØµÙˆØ±Ø© Ø¯Ø§Ø®Ù„ ØµÙˆØ±Ø©","Camera Angle":"Ø²Ø§ÙˆÙŠØ© Ø§Ù„ÙƒØ§Ù…ÙŠØ±Ø§",MEDIA_ERR_ABORTED:"ØªÙ… Ø¥ÙŠÙ‚Ø§Ù ØªØ´ØºÙŠÙ„ Ø§Ù„ÙÙŠØ¯ÙŠÙˆ.",MEDIA_ERR_NETWORK:"Ø£Ø¯Ù‰ Ø®Ø·Ø£ ÙÙŠ Ø§Ù„Ø´Ø¨ÙƒØ© Ø¥Ù„Ù‰ Ø¥ÙŠÙ‚Ø§Ù ØªÙ†Ø²ÙŠÙ„ Ø§Ù„ÙÙŠØ¯ÙŠÙˆ ÙÙŠ ÙˆØ³Ø·Ù‡. ÙŠØ±Ø¬Ù‰ Ø§Ù„ØªØ­Ù‚Ù‚ Ù…Ù† Ø§ØªØµØ§Ù„ Ø§Ù„Ø´Ø¨ÙƒØ© Ø£Ùˆ Ø§Ù„Ù…Ø­Ø§ÙˆÙ„Ø© Ù…Ø±Ø© Ø£Ø®Ø±Ù‰ Ù„Ø§Ø­Ù‚Ø§Ù‹.",MEDIA_ERR_DECODE:"ØªØ¹Ø°Ø± ØªØ­Ù…ÙŠÙ„ Ø§Ù„ÙÙŠØ¯ÙŠÙˆ Ø¨Ø³Ø¨Ø¨ Ø¹Ø·Ù„ ÙÙŠ Ø§Ù„Ø®Ø§Ø¯Ù… Ø£Ùˆ ÙÙŠ Ø§Ù„Ø´Ø¨ÙƒØ© Ø£Ùˆ Ù„Ø£Ù† Ø§Ù„ØªÙ†Ø³ÙŠÙ‚ ØºÙŠØ± Ù…Ø¹ØªÙ…Ø¯.",MEDIA_ERR_SRC_NOT_SUPPORTED:"ØªÙ… Ø¥ÙŠÙ‚Ø§Ù ØªØ´ØºÙŠÙ„ Ø§Ù„ÙÙŠØ¯ÙŠÙˆ Ù„Ø£Ù†Ù‡ ØªØ§Ù„Ù Ø£Ùˆ Ù„Ø£Ù†Ù‡ ÙŠØ³ØªØ®Ø¯Ù… Ù…ÙŠØ²Ø§Øª Ù„Ø§ ÙŠØ¹ØªÙ…Ø¯Ù‡Ø§ Ø§Ù„Ù…Ø³ØªØ¹Ø±Ø¶.",MEDIA_ERR_ENCRYPTED:"ØªØ¹Ø°Ù‘Ø± ÙÙƒÙ‘ ØªØ´ÙÙŠØ± Ù…ØµØ¯Ø± Ø§Ù„ÙÙŠØ¯ÙŠÙˆ Ø§Ù„Ù…Ø´ÙÙ‘Ø±.",SRC_PLAYER_MISMATCH:"Ù„Ù… ÙŠØªÙ… Ø§Ù„Ø¹Ø«ÙˆØ± Ø¹Ù„Ù‰ Ù…ØµØ¯Ø± Ù…ØªÙˆØ§ÙÙ‚ Ù„Ø¨ÙŠØ¦Ø© Ø§Ù„Ù…Ø³ØªØ¹Ø±Ø¶ Ø§Ù„Ø­Ø§Ù„ÙŠØ©.",MEDIA_ERR_UNKNOWN:"Ø­Ø¯Ø« Ø®Ø·Ø£ ØºÙŠØ± Ù…Ø¹Ø±ÙˆÙ",SKIP_AD_COUNTDOWN_FORMAT:"ØªØ®Ø·ÙŠ Ø§Ù„Ø¥Ø¹Ù„Ø§Ù† Ø®Ù„Ø§Ù„ {0}...",SKIP:"ØªØ®Ø·ÙŠ",AD_TIMING_INFO:"Ø§Ù„Ø¥Ø¹Ù„Ø§Ù† {0} Ù…Ù† Ø§Ù„Ø«ÙˆØ§Ù†ÙŠ","Media Player":"Media Player","Play Video":"ØªØ´ØºÙŠÙ„ Ø§Ù„ÙÙŠØ¯ÙŠÙˆ",Foreground:"Ø§Ù„ÙˆØ§Ø¬Ù‡Ø© Ø§Ù„Ø£Ù…Ø§Ù…ÙŠØ©",White:"Ø£Ø¨ÙŠØ¶",Black:"Ø£Ø³ÙˆØ¯",Red:"Ø£Ø­Ù…Ø±",Green:"Ø£Ø®Ø¶Ø±",Blue:"Ø£Ø²Ø±Ù‚",Yellow:"Ø£ØµÙØ±",Magenta:"Ø£Ø±Ø¬ÙˆØ§Ù†ÙŠ",Cyan:"Ø³Ù…Ø§ÙˆÙŠ",Opaque:"Ù…Ø¹ØªÙ…","Semi-Opaque":"Ø´Ø¨Ù‡ Ù…Ø¹ØªÙ…",Transparent:"Ø´ÙØ§Ù",Window:"Ù†Ø§ÙØ°Ø©","Font Size":"Ø­Ø¬Ù… Ø§Ù„Ø®Ø·","Text Edge Style":"Ù†Ù…Ø· Ø­Ø§ÙØ© Ø§Ù„Ù†Øµ",None:"Ø¨Ù„Ø§",Raised:"Ù…Ø±ÙÙˆØ¹",Depressed:"Ù…Ù†Ø®ÙØ¶",Uniform:"Ù…Ù†ØªØ¸Ù…",Dropshadow:"Ø¥Ø³Ù‚Ø§Ø· Ø¸Ù„","Font Family":"Ø¹Ø§Ø¦Ù„Ø© Ø§Ù„Ø®Ø·ÙˆØ·","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"ØºÙŠØ± Ù…Ù†ØªØ¸Ù…",Script:"Ù†Øµ","Small Caps":"Ø£Ø­Ø±Ù ØµØºÙŠØ±Ø©",Defaults:"Ø§Ù„Ø¥Ø¹Ø¯Ø§Ø¯Ø§Øª Ø§Ù„Ø§ÙØªØ±Ø§Ø¶ÙŠØ©",Done:"ØªÙ…",Link:"Ø§Ù„Ø§Ø±ØªØ¨Ø§Ø·",Embed:"ØªØ¶Ù…ÙŠÙ†",Close:"Ø¥ØºÙ„Ø§Ù‚",Copy:"Ù†Ø³Ø®","Copy Url":"Ù†Ø³Ø® Ø¹Ù†ÙˆØ§Ù† Url","Embed Code":"ØªØ¶Ù…ÙŠÙ† ØªØ¹Ù„ÙŠÙ…Ø§Øª Ø¨Ø±Ù…Ø¬ÙŠØ©",English:"Ø§Ù„Ø¥Ù†Ø¬Ù„ÙŠØ²ÙŠØ©","volume level":"Ù…Ø³ØªÙˆÙ‰ Ø§Ù„ØµÙˆØª","video progress bar":"Ø´Ø±ÙŠØ· ØªÙ‚Ø¯Ù… Ø§Ù„ÙÙŠØ¯ÙŠÙˆ","playback speed level":"Ù…Ø³ØªÙˆÙ‰ Ø³Ø±Ø¹Ø© Ø§Ù„ØªØ´ØºÙŠÙ„","Dolby Digital":"Dolby Digital",Stereo:"Ø³ØªØ±ÙŠÙˆ","Captions Menu":"Ù‚Ø§Ø¦Ù…Ø© Ø§Ù„ØªØ³Ù…ÙŠØ§Øª Ø§Ù„ØªÙˆØ¶ÙŠØ­ÙŠØ©","Subtitles Menu":"Ù‚Ø§Ø¦Ù…Ø© Ø´Ø±Ø§Ø¦Ø· Ø§Ù„ØªØ±Ø¬Ù…Ø©","Need Text":"Ø¨Ø­Ø§Ø¬Ø© Ø¥Ù„Ù‰ Ù†Øµ"};t["default"].prototype.options_.languages["ar-sa"]=t["default"].prototype.options_.languages.ar;t["default"].prototype.options_.languages["ar-ab"]=t["default"].prototype.options_.languages.ar;t["default"].prototype.options_.languages["ar-xm"]=t["default"].prototype.options_.languages.ar;t["default"].prototype.options_.languages["ar-ma"]=t["default"].prototype.options_.languages.ar},{"../video.js/src/js/player.js":210}],100:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.bg={Play:"Ð’ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½Ðµ",Pause:"ÐŸÐ°ÑƒÐ·Ð°","Current Time":"Ð¢ÐµÐºÑƒÑ‰ Ñ‡Ð°Ñ","Duration Time":"Ð’Ñ€ÐµÐ¼ÐµÑ‚Ñ€Ð°ÐµÐ½Ðµ","Remaining Time":"ÐžÑÑ‚Ð°Ð²Ð°Ñ‰Ð¾ Ð²Ñ€ÐµÐ¼Ðµ","Stream Type":"Ð¢Ð¸Ð¿ Ð¿Ð¾Ñ‚Ð¾Ðº",LIVE:"ÐÐ Ð–Ð˜Ð’Ðž",Loaded:"Ð—Ð°Ñ€ÐµÐ´ÐµÐ½Ð°",Progress:"ÐÐ°Ð¿Ñ€ÐµÐ´ÑŠÐº",Fullscreen:"Ð¦ÑÐ» ÐµÐºÑ€Ð°Ð½","Non-Fullscreen":"ÐÐµ Ð½Ð° Ñ†ÑÐ» ÐµÐºÑ€Ð°Ð½",Mute:"Ð˜Ð·ÐºÐ»ÑŽÑ‡Ð²Ð°Ð½Ðµ Ð½Ð° Ð·Ð²ÑƒÐºÐ°",Unmuted:"Ð¡ Ð²ÐºÐ»ÑŽÑ‡ÐµÐ½ Ð·Ð²ÑƒÐº","Playback Rate":"Ð¡ÐºÐ¾Ñ€Ð¾ÑÑ‚ Ð½Ð° Ð²ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½Ðµ",Subtitles:"Ð¡ÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¸","Subtitles Off":"Ð¸Ð·ÐºÐ». Ð½Ð° ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¸",Captions:"ÐÐ°Ð´Ð¿Ð¸ÑÐ¸","Captions Off":"Ð¸Ð·ÐºÐ». Ð½Ð° Ð½Ð°Ð´Ð¿Ð¸ÑÐ¸",Chapters:"Ð“Ð»Ð°Ð²Ð¸",Off:"Ð˜Ð·ÐºÐ».",Quality:"ÐšÐ°Ñ‡ÐµÑÑ‚Ð²Ð¾",Auto:"ÐÐ²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ñ‡Ð½Ð¾","Audio Tracks":"ÐÑƒÐ´Ð¸Ð¾Ð·Ð°Ð¿Ð¸ÑÐ¸","default":"Ð¿Ð¾ Ð¿Ð¾Ð´Ñ€Ð°Ð·Ð±Ð¸Ñ€Ð°Ð½Ðµ","Cast To Device":"ÐŸÑ€ÐµÑ…Ð²ÑŠÑ€Ð»ÑÐ½Ðµ ÐºÑŠÐ¼ ÑƒÑÑ‚Ñ€Ð¾Ð¹ÑÑ‚Ð²Ð¾",Share:"Ð¡Ð¿Ð¾Ð´ÐµÐ»ÑÐ½Ðµ",Volume:"Ð¡Ð¸Ð»Ð° Ð½Ð° Ð·Ð²ÑƒÐºÐ°","Playback Speed":"Ð¡ÐºÐ¾Ñ€Ð¾ÑÑ‚ Ð½Ð° Ð²ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½Ðµ","Video Quality":"ÐšÐ°Ñ‡ÐµÑÑ‚Ð²Ð¾ Ð½Ð° Ð²Ð¸Ð´ÐµÐ¾Ñ‚Ð¾","Closed Captioning":"Ð¡ÐºÑ€Ð¸Ñ‚Ð¸ Ð½Ð°Ð´Ð¿Ð¸ÑÐ¸","Share Video":"Ð¡Ð¿Ð¾Ð´ÐµÐ»ÑÐ½Ðµ Ð½Ð° Ð²Ð¸Ð´ÐµÐ¾","Next Track":"Ð¡Ð»ÐµÐ´Ð²Ð°Ñ‰ Ð·Ð°Ð¿Ð¸Ñ","Previous Track":"ÐŸÑ€ÐµÐ´Ð¸ÑˆÐµÐ½ Ð·Ð°Ð¿Ð¸Ñ","Skip Forward":"ÐŸÑ€Ð¾Ð¿ÑƒÑÐ½Ð¸ Ð½Ð°Ð¿Ñ€ÐµÐ´","Skip Backward":"ÐŸÑ€Ð¾Ð¿ÑƒÑÐ½Ð¸ Ð½Ð°Ð·Ð°Ð´","Fast Forward":"Ð‘ÑŠÑ€Ð·Ð¾ Ð½Ð°Ð¿Ñ€ÐµÐ´",Rewind:"ÐŸÑ€ÐµÐ½Ð°Ð²Ð¸Ð¹","Next Frame":"Ð¡Ð»ÐµÐ´Ð²Ð°Ñ‰ ÐºÐ°Ð´ÑŠÑ€","Previous Frame":"ÐŸÑ€ÐµÐ´Ð¸ÑˆÐµÐ½ ÐºÐ°Ð´ÑŠÑ€",Settings:"ÐÐ°ÑÑ‚Ñ€Ð¾Ð¹ÐºÐ¸",Options:"ÐžÐ¿Ñ†Ð¸Ð¸","More Options":"ÐžÑ‰Ðµ Ð¾Ð¿Ñ†Ð¸Ð¸",Zoom:"ÐœÐ°Ñ‰Ð°Ð±Ð¸Ñ€Ð°Ð½Ðµ","Zoom In":"Ð£Ð²ÐµÐ»Ð¸Ñ‡Ð°Ð²Ð°Ð½Ðµ Ð½Ð° Ð¼Ð°Ñ‰Ð°Ð±Ð°","Zoom Out":"ÐÐ°Ð¼Ð°Ð»ÑÐ²Ð°Ð½Ðµ Ð½Ð° Ð¼Ð°Ñ‰Ð°Ð±Ð°","Audio Only":"Ð¡Ð°Ð¼Ð¾ Ð°ÑƒÐ´Ð¸Ð¾","Picture in Picture":"ÐšÐ°Ñ€Ñ‚Ð¸Ð½Ð° Ð² ÐºÐ°Ñ€Ñ‚Ð¸Ð½Ð°","Camera Angle":"ÐªÐ³ÑŠÐ» Ð½Ð° ÐºÐ°Ð¼ÐµÑ€Ð°Ñ‚Ð°",MEDIA_ERR_ABORTED:"Ð’ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½ÐµÑ‚Ð¾ Ð½Ð° Ð²Ð¸Ð´ÐµÐ¾Ñ‚Ð¾ Ðµ Ð¿Ñ€ÐµÐºÑ€Ð°Ñ‚ÐµÐ½Ð¾.",MEDIA_ERR_NETWORK:"Ð“Ñ€ÐµÑˆÐºÐ° Ð² Ð¼Ñ€ÐµÐ¶Ð°Ñ‚Ð° Ð´Ð¾Ð²ÐµÐ´Ðµ Ð´Ð¾ Ð½ÐµÑƒÑÐ¿ÐµÑˆÐ½Ð¾ Ð¸Ð·Ñ‚ÐµÐ³Ð»ÑÐ½Ðµ Ð½Ð° Ñ‡Ð°ÑÑ‚ Ð¾Ñ‚ Ð²Ð¸Ð´ÐµÐ¾Ñ‚Ð¾. ÐŸÑ€Ð¾Ð²ÐµÑ€ÐµÑ‚Ðµ Ð¼Ñ€ÐµÐ¶Ð¾Ð²Ð°Ñ‚Ð° Ð²Ñ€ÑŠÐ·ÐºÐ° Ð¸Ð»Ð¸ Ð¾Ð¿Ð¸Ñ‚Ð°Ð¹Ñ‚Ðµ Ð¾Ñ‚Ð½Ð¾Ð²Ð¾ Ð¿Ð¾-ÐºÑŠÑÐ½Ð¾.",MEDIA_ERR_DECODE:"Ð’Ð¸Ð´ÐµÐ¾Ñ‚Ð¾ Ð½Ðµ Ð¼Ð¾Ð¶Ðµ Ð´Ð° ÑÐµ Ð·Ð°Ñ€ÐµÐ´Ð¸, Ð·Ð°Ñ‰Ð¾Ñ‚Ð¾ ÑÑŠÑ€Ð²ÑŠÑ€ÑŠÑ‚ Ð¸Ð»Ð¸ Ð¼Ñ€ÐµÐ¶Ð°Ñ‚Ð° Ð´Ð°Ð²Ð°Ñ‚ Ð³Ñ€ÐµÑˆÐºÐ° Ð¸Ð»Ð¸ Ð·Ð°Ñ‰Ð¾Ñ‚Ð¾ Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚ÑŠÑ‚ Ð½Ðµ ÑÐµ Ð¿Ð¾Ð´Ð´ÑŠÑ€Ð¶Ð°.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Ð’ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½ÐµÑ‚Ð¾ Ð½Ð° Ð²Ð¸Ð´ÐµÐ¾ Ðµ Ð¿Ñ€ÐµÐºÑ€Ð°Ñ‚ÐµÐ½Ð¾ Ð¿Ð¾Ñ€Ð°Ð´Ð¸ Ð¿Ñ€Ð¾Ð±Ð»ÐµÐ¼ Ñ Ð¿Ð¾Ð²Ñ€ÐµÐ´Ð° Ð¸Ð»Ð¸ Ð·Ð°Ñ‰Ð¾Ñ‚Ð¾ Ð²Ð¸Ð´ÐµÐ¾Ñ‚Ð¾ Ð¸Ð·Ð¿Ð¾Ð»Ð·Ð²Ð° Ñ„ÑƒÐ½ÐºÑ†Ð¸Ð¸, ÐºÐ¾Ð¸Ñ‚Ð¾ Ð½Ðµ ÑÐµ Ð¿Ð¾Ð´Ð´ÑŠÑ€Ð¶Ð°Ñ‚ Ð¾Ñ‚ Ð²Ð°ÑˆÐ¸Ñ Ð±Ñ€Ð°ÑƒÐ·ÑŠÑ€.",MEDIA_ERR_ENCRYPTED:"ÐÐµ Ð¼Ð¾Ð¶Ðµ Ð´Ð° ÑÐµ Ð´ÐµÑˆÐ¸Ñ„Ñ€Ð¸Ñ€Ð° ÑˆÐ¸Ñ„Ñ€Ð¾Ð²Ð°Ð½Ð¸ÑÑ‚ Ð²Ð¸Ð´ÐµÐ¾Ð¸Ð·Ñ‚Ð¾Ñ‡Ð½Ð¸Ðº.",SRC_PLAYER_MISMATCH:"ÐÐµ Ðµ Ð½Ð°Ð¼ÐµÑ€ÐµÐ½ ÑÑŠÐ²Ð¼ÐµÑÑ‚Ð¸Ð¼ Ð¸Ð·Ñ‚Ð¾Ñ‡Ð½Ð¸Ðº Ð·Ð° Ñ‚ÐµÐºÑƒÑ‰Ð°Ñ‚Ð° ÑÑ€ÐµÐ´Ð° Ð½Ð° Ð±Ñ€Ð°ÑƒÐ·ÑŠÑ€Ð°.",MEDIA_ERR_UNKNOWN:"Ð’ÑŠÐ·Ð½Ð¸ÐºÐ½Ð° Ð½ÐµÐ¸Ð·Ð²ÐµÑÑ‚Ð½Ð° Ð³Ñ€ÐµÑˆÐºÐ°",SKIP_AD_COUNTDOWN_FORMAT:"ÐŸÑ€Ð¾Ð¿ÑƒÑÐºÐ°Ð½Ðµ Ð½Ð° Ñ€ÐµÐºÐ»Ð°Ð¼Ð° ÑÐ»ÐµÐ´ {0}â€¦",SKIP:"ÐŸÑ€Ð¾Ð¿ÑƒÑÐºÐ°Ð½Ðµ",AD_TIMING_INFO:"Ð ÐµÐºÐ»Ð°Ð¼Ð°: {0} ÑÐµÐºÑƒÐ½Ð´Ð¸","Media Player":"ÐœÑƒÐ»Ñ‚Ð¸Ð¼ÐµÐ´Ð¸ÐµÐ½ Ð¿Ð»ÐµÐ¹ÑŠÑ€","Play Video":"Ð’ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½Ðµ Ð½Ð° Ð²Ð¸Ð´ÐµÐ¾",Foreground:"ÐŸÑ€ÐµÐ´ÐµÐ½ Ð¿Ð»Ð°Ð½",White:"Ð‘ÑÐ»",Black:"Ð§ÐµÑ€ÐµÐ½",Red:"Ð§ÐµÑ€Ð²ÐµÐ½",Green:"Ð—ÐµÐ»ÐµÐ½",Blue:"Ð¡Ð¸Ð½",Yellow:"Ð–ÑŠÐ»Ñ‚",Magenta:"ÐœÐ°Ð³ÐµÐ½Ñ‚Ð°",Cyan:"Ð¦Ð¸Ð°Ð½",Opaque:"ÐÐµÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡ÐµÐ½","Semi-Opaque":"ÐŸÐ¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡ÐµÐ½",Transparent:"ÐŸÑ€Ð¾Ð·Ñ€Ð°Ñ‡ÐµÐ½",Window:"ÐŸÑ€Ð¾Ð·Ð¾Ñ€ÐµÑ†","Font Size":"Ð Ð°Ð·Ð¼ÐµÑ€ Ð½Ð° ÑˆÑ€Ð¸Ñ„Ñ‚Ð°","Text Edge Style":"Ð¡Ñ‚Ð¸Ð» Ð·Ð° ÐºÑ€Ð°Ð¹ Ð½Ð° Ñ‚ÐµÐºÑÑ‚",None:"ÐÑÐ¼Ð°",Raised:"ÐŸÐ¾Ð²Ð´Ð¸Ð³Ð°Ñ‚",Depressed:"ÐŸÐ»Ð¾ÑÑŠÐº",Uniform:"ÐŸÐ¾ÑÑ‚Ð¾ÑÐ½ÐµÐ½",Dropshadow:"Ð¥Ð²ÑŠÑ€Ð»ÑÑ‰ ÑÑÐ½ÐºÐ°","Font Family":"Ð¡ÐµÐ¼ÐµÐ¹ÑÑ‚Ð²Ð¾ Ð½Ð° ÑˆÑ€Ð¸Ñ„Ñ‚Ð°","Monospace Serif":"Ð¡ÐµÑ€Ð¸Ñ„ÐµÐ½ Ñ ÐµÐ´Ð½Ð°ÐºÐ²Ð° ÑˆÐ¸Ñ€Ð¸Ð½Ð°","Proportional Serif":"ÐŸÑ€Ð¾Ð¿Ð¾Ñ€Ñ†Ð¸Ð¾Ð½Ð°Ð»ÐµÐ½ ÑÐµÑ€Ð¸Ñ„ÐµÐ½","Monospace Sans-Serif":"ÐÐµÑÐµÑ€Ð¸Ñ„ÐµÐ½ Ñ ÐµÐ´Ð½Ð°ÐºÐ²Ð° ÑˆÐ¸Ñ€Ð¸Ð½Ð°","Proportional Sans-Serif":"ÐŸÑ€Ð¾Ð¿Ð¾Ñ€Ñ†Ð¸Ð¾Ð½Ð°Ð»ÐµÐ½ Ð½ÐµÑÐµÑ€Ð¸Ñ„ÐµÐ½",Casual:"ÐžÐ±Ð¸ÐºÐ½Ð¾Ð²ÐµÐ½",Script:"Ð¡ÐºÑ€Ð¸Ð¿Ñ‚","Small Caps":"Ð£Ð¼Ð°Ð»ÐµÐ½Ð¸ Ð³Ð»Ð°Ð²Ð½Ð¸ Ð±ÑƒÐºÐ²Ð¸",Defaults:"ÐŸÐ¾ Ð¿Ð¾Ð´Ñ€Ð°Ð·Ð±Ð¸Ñ€Ð°Ð½Ðµ",Done:"Ð“Ð¾Ñ‚Ð¾Ð²Ð¾",Link:"Ð’Ñ€ÑŠÐ·ÐºÐ°",Embed:"Ð’Ð³Ñ€Ð°Ð¶Ð´Ð°Ð½Ðµ",Close:"Ð—Ð°Ñ‚Ð²Ð°Ñ€ÑÐ½Ðµ",Copy:"ÐšÐ¾Ð¿Ð¸Ñ€Ð°Ð½Ðµ","Copy Url":"ÐšÐ¾Ð¿Ð¸Ñ€Ð°Ð½Ðµ Ð½Ð° URL Ð°Ð´Ñ€ÐµÑÐ°","Embed Code":"Ð’Ð³Ñ€Ð°Ð¶Ð´Ð°Ð½Ðµ Ð½Ð° ÐºÐ¾Ð´",English:"ÐÐ½Ð³Ð»Ð¸Ð¹ÑÐºÐ¸","volume level":"ÑÐ¸Ð»Ð° Ð½Ð° Ð·Ð²ÑƒÐºÐ°","video progress bar":"Ð»ÐµÐ½Ñ‚Ð°Ñ‚Ð° Ð·Ð° Ð½Ð°Ð¿Ñ€ÐµÐ´ÑŠÐºÐ° Ð½Ð° Ð²Ð¸Ð´ÐµÐ¾","playback speed level":"Ð½Ð¸Ð²Ð¾ Ð½Ð° ÑÐºÐ¾Ñ€Ð¾ÑÑ‚ Ð½Ð° Ð²ÑŠÐ·Ð¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ¶Ð´Ð°Ð½Ðµ","Dolby Digital":"Dolby Digital",Stereo:"Ð¡Ñ‚ÐµÑ€ÐµÐ¾","Captions Menu":"Ð¼ÐµÐ½ÑŽ Ð·Ð° Ð½Ð°Ð´Ð¿Ð¸ÑÐ¸","Subtitles Menu":"Ð¼ÐµÐ½ÑŽ Ð·Ð° ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¸","Need Text":"Ð¢Ñ€ÑÐ±Ð²Ð° Ñ‚ÐµÐºÑÑ‚"}},{"../video.js/src/js/player.js":210}],101:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.ca={Play:"Reprodueix",Pause:"Pausa","Current Time":"Hora actual","Duration Time":"Durada","Remaining Time":"Temps restant","Stream Type":"Tipus de seqÃ¼Ã¨ncia",LIVE:"EN DIRECTE",Loaded:"Carregat",Progress:"ProgrÃ©s",Fullscreen:"Pantalla sencera","Non-Fullscreen":"Mida normal",Mute:"Silencia",Unmuted:"So activat","Playback Rate":"Velocitat de reproducciÃ³",Subtitles:"SubtÃ­tols","Subtitles Off":"SubtÃ­tols desactivats",Captions:"Llegendes","Captions Off":"Llegendes desactivades",Chapters:"CapÃ­tols",Off:"Desactivat",Quality:"Qualitat",Auto:"AutomÃ tic","Audio Tracks":"Pistes d'Ã udio","default":"per defecte","Cast To Device":"Emetre al dispositiu",Share:"Comparteix",Volume:"Volum","Playback Speed":"Velocitat de reproducciÃ³","Video Quality":"Qualitat de vÃ­deo","Closed Captioning":"Subtitulat ocult","Share Video":"Comparteix el vÃ­deo","Next Track":"Pista segÃ¼ent","Previous Track":"Pista anterior","Skip Forward":"Salta endavant","Skip Backward":"Salta enrere","Fast Forward":"AvanÃ§a rÃ pidament",Rewind:"Rebobina","Next Frame":"Fotograma segÃ¼ent","Previous Frame":"Fotograma anterior",Settings:"ConfiguraciÃ³",Options:"Opcions","More Options":"MÃ©s opcions",Zoom:"Zoom","Zoom In":"Amplia","Zoom Out":"Redueix","Audio Only":"NomÃ©s Ã udio","Picture in Picture":"Imatge a la imatge","Camera Angle":"Angle de cÃ mera",MEDIA_ERR_ABORTED:"S'ha avortat la reproducciÃ³ de vÃ­deo.",MEDIA_ERR_NETWORK:"Un error de xarxa ha provocat que la baixada del vÃ­deo no es poguÃ©s completar. Comproveu la connexiÃ³ de xarxa o torneu-ho a provar mÃ©s tard.",MEDIA_ERR_DECODE:"El vÃ­deo no s'ha pogut carregar a causa d'un error del servidor o de la xarxa o bÃ© perquÃ¨ el format no Ã©s compatible.",MEDIA_ERR_SRC_NOT_SUPPORTED:"S'ha avortat la reproducciÃ³ del vÃ­deo a causa d'un problema de danys o bÃ© perquÃ¨ el vÃ­deo feia servir caracterÃ­stiques no admeses pel navegador.",MEDIA_ERR_ENCRYPTED:"No es pot desencriptar la font del vÃ­deo encriptat.",SRC_PLAYER_MISMATCH:"No s'ha trobat cap font compatible per a l'entorn actual del navegador.",MEDIA_ERR_UNKNOWN:"S'ha produÃ¯t un error desconegut.",SKIP_AD_COUNTDOWN_FORMAT:"Omet l'anunci d'aquÃ­ a {0}...",SKIP:"Omet",AD_TIMING_INFO:"Anunci: {0} segons"};t["default"].prototype.options_.languages["ca-es"]=t["default"].prototype.options_.languages.ca},{"../video.js/src/js/player.js":210}],102:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.cs={Play:"PÅ™ehrÃ¡t",Pause:"Pozastavit","Current Time":"AktuÃ¡lnÃ­ Äas","Duration Time":"Doba trvÃ¡nÃ­","Remaining Time":"ZbÃ½vajÃ­cÃ­ Äas","Stream Type":"Typ streamu",LIVE:"Å½IVÄš",Loaded:"NaÄtenÃ©",Progress:"PrÅ¯bÄ›h",Fullscreen:"CelÃ¡ obrazovka","Non-Fullscreen":"NormÃ¡lnÃ­ zobrazenÃ­",Mute:"Ztlumit",Unmuted:"ZtlumenÃ­ zruÅ¡eno","Playback Rate":"Rychlost pÅ™ehrÃ¡vÃ¡nÃ­ (snÃ­mky)",Subtitles:"Titulky","Subtitles Off":"vypnutÃ© titulky",Captions:"Titulky","Captions Off":"vypnutÃ© titulky",Chapters:"Kapitoly",Off:"Vypnuto",Quality:"Kvalita",Auto:"Automaticky","Audio Tracks":"ZvukovÃ© stopy","default":"vÃ½chozÃ­","Cast To Device":"PÅ™etypovat na zaÅ™Ã­zenÃ­",Share:"SdÃ­let",Volume:"Hlasitost","Playback Speed":"Rychlost pÅ™ehrÃ¡vÃ¡nÃ­","Video Quality":"Kvalita videa","Closed Captioning":"SkrytÃ© titulky","Share Video":"SdÃ­let video","Next Track":"DalÅ¡Ã­ stopa","Previous Track":"PÅ™edchozÃ­ stopa","Skip Forward":"PÅ™eskoÄit vpÅ™ed","Skip Backward":"PÅ™eskoÄit zpÄ›t","Fast Forward":"PÅ™evinout vpÅ™ed",Rewind:"PÅ™evinout zpÄ›t","Next Frame":"DalÅ¡Ã­ snÃ­mek","Previous Frame":"PÅ™edchozÃ­ snÃ­mek",Settings:"NastavenÃ­",Options:"MoÅ¾nosti","More Options":"DalÅ¡Ã­ moÅ¾nosti",Zoom:"Lupa","Zoom In":"PÅ™iblÃ­Å¾it","Zoom Out":"OddÃ¡lit","Audio Only":"Jenom zvuk","Picture in Picture":"Obraz v obraze","Camera Angle":"Ãšhel kamery",MEDIA_ERR_ABORTED:"PÅ™ehrÃ¡vÃ¡nÃ­ videa se pÅ™eruÅ¡ilo.",MEDIA_ERR_NETWORK:"BÄ›hem stahovÃ¡nÃ­ videa doÅ¡lo k chybÄ› kvÅ¯li problÃ©mu se sÃ­tÃ­. Zkontrolujte prosÃ­m pÅ™ipojenÃ­ k sÃ­ti nebo to zkuste znova pozdÄ›ji.",MEDIA_ERR_DECODE:"Video se nedalo naÄÃ­st, buÄ kvÅ¯li chybÄ› serveru nebo sÃ­tÄ›, nebo nemÃ¡ podporovanÃ½ formÃ¡t.",MEDIA_ERR_SRC_NOT_SUPPORTED:"PÅ™ehrÃ¡vÃ¡nÃ­ videa se pÅ™eruÅ¡ilo, protoÅ¾e je video poÅ¡kozenÃ© nebo pouÅ¾Ã­vÃ¡ funkce, kterÃ© vÃ¡Å¡ prohlÃ­Å¾eÄ nepodporuje.",MEDIA_ERR_ENCRYPTED:"NedÃ¡ se deÅ¡ifrovat zaÅ¡ifrovanÃ½ zdroj videa.",SRC_PLAYER_MISMATCH:"NenaÅ¡el se Å¾Ã¡dnÃ½ kompatibilnÃ­ zdroj pro aktuÃ¡lnÃ­ prostÅ™edÃ­ prohlÃ­Å¾eÄe.",MEDIA_ERR_UNKNOWN:"DoÅ¡lo k neznÃ¡mÃ© chybÄ›.",SKIP_AD_COUNTDOWN_FORMAT:"PÅ™eskoÄit reklamu za {0}...",SKIP:"PÅ™eskoÄit",AD_TIMING_INFO:"Reklama {0} s","Media Player":"Media Player","Play Video":"PÅ™ehrÃ¡t video",Foreground:"PopÅ™edÃ­",White:"BÃ­lÃ©",Black:"ÄŒernÃ©",Red:"ÄŒervenÃ©",Green:"ZelenÃ©",Blue:"ModrÃ©",Yellow:"Å½lutÃ©",Magenta:"PurpurovÃ©",Cyan:"AzurovÃ©",Opaque:"NeprÅ¯hlednÃ©","Semi-Opaque":"PoloprÅ¯hlednÃ©",Transparent:"PrÅ¯hlednÃ©",Window:"Okno","Font Size":"Velikost pÃ­sma","Text Edge Style":"Styl okraje textu",None:"Å½Ã¡dnÃ½",Raised:"VystouplÃ½",Depressed:"VmÃ¡ÄknutÃ½",Uniform:"JednotnÃ½",Dropshadow:"StÃ­n","Font Family":"Rodina pÃ­sem","Monospace Serif":"NeproporciÃ¡lnÃ­ Serif","Proportional Serif":"ProporcionÃ¡lnÃ­ Serif","Monospace Sans-Serif":"NeproporciÃ¡lnÃ­ Sans-Serif","Proportional Sans-Serif":"ProporcionÃ¡lnÃ­ Sans-Serif",Casual:"NeformÃ¡lnÃ­",Script:"Skript","Small Caps":"KapitÃ¡lky",Defaults:"VÃ½chozÃ­",Done:"Hotovo",Link:"Odkaz",Embed:"VloÅ¾it",Close:"ZavÅ™Ã­t",Copy:"KopÃ­rovat","Copy Url":"ZkopÃ­rovat adresu Url","Embed Code":"KÃ³d pro vloÅ¾enÃ­",English:"AngliÄtina","volume level":"ÃºroveÅˆ hlasitosti","video progress bar":"indikÃ¡tor prÅ¯bÄ›hu pÅ™ehrÃ¡vÃ¡nÃ­ videa","playback speed level":"ÃºroveÅˆ rychlosti  pÅ™ehrÃ¡vÃ¡nÃ­","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"NabÃ­dka skrytÃ½ch titulkÅ¯","Subtitles Menu":"NabÃ­dka titulkÅ¯","Need Text":"Je nutnÃ© zadat text."};t["default"].prototype.options_.languages["cs-cz"]=t["default"].prototype.options_.languages.cs},{"../video.js/src/js/player.js":210}],103:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.da={Play:"Afspil",Pause:"Pause","Current Time":"Aktuelt klokkeslÃ¦t","Duration Time":"Varighed","Remaining Time":"Resterende tid","Stream Type":"Streamtype",LIVE:"LIVE",Loaded:"IndlÃ¦st",Progress:"Status",Fullscreen:"Fuld skÃ¦rm","Non-Fullscreen":"Ikke fuldskÃ¦rm",Mute:"Lyd fra",Unmuted:"Lyd til","Playback Rate":"Afspilningshastighed",Subtitles:"Undertekster","Subtitles Off":"Undertekster fra",Captions:"Billedtekster","Captions Off":"Billedtekster fra",Chapters:"Kapitler",Off:"Fra",Quality:"Kvalitet",Auto:"Auto","Audio Tracks":"Lydspor","default":"standard","Cast To Device":"Vis pÃ¥ enhed",Share:"Del",Volume:"Lydstyrke","Playback Speed":"Afspilningshastighed","Video Quality":"Videokvalitet","Closed Captioning":"Undertekster","Share Video":"Del video","Next Track":"NÃ¦ste spor","Previous Track":"Forrige spor","Skip Forward":"Spring frem","Skip Backward":"Spring tilbage","Fast Forward":"Spol hurtigt frem",Rewind:"Spol tilbage","Next Frame":"NÃ¦ste billede","Previous Frame":"Forrige billede",Settings:"Indstillinger",Options:"Indstillinger","More Options":"Flere indstillinger",Zoom:"Zoom","Zoom In":"Zoom ind","Zoom Out":"Zoom ud","Audio Only":"Kun lyd","Picture in Picture":"Billede i billede","Camera Angle":"Kameravinkel",MEDIA_ERR_ABORTED:"Afspilning af video blev afbrudt. ",MEDIA_ERR_NETWORK:"PÃ¥ grund af en netvÃ¦rksfejl blev videoen ikke downloadet helt. KontrollÃ©r din netvÃ¦rksforbindelse, eller prÃ¸v igen senere.",MEDIA_ERR_DECODE:"Videoen kunne ikke indlÃ¦ses. Det skyldes en server- eller netvÃ¦rksfejl, eller at formatet ikke er understÃ¸ttet.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Afspilning af video blev afbrudt. Det skyldes, at videoen er Ã¸delagt, eller at videoen bruger funktioner, der ikke understÃ¸ttes af din browser.",MEDIA_ERR_ENCRYPTED:"Den krypterede videokilde kunne ikke dekrypteres.",SRC_PLAYER_MISMATCH:"Der blev ikke fundet en kompatibel kilde til det aktuelle browsermiljÃ¸.",MEDIA_ERR_UNKNOWN:"Der opstod en ukendt fejl",SKIP_AD_COUNTDOWN_FORMAT:"Spring reklame over om {0}â€¦",SKIP:"Spring over",AD_TIMING_INFO:"Reklame pÃ¥ {0} sekunder","Media Player":"Medieafspiller","Play Video":"Afspil video",Foreground:"Forgrund",White:"Hvid",Black:"Sort",Red:"RÃ¸d",Green:"GrÃ¸n",Blue:"BlÃ¥",Yellow:"Gul",Magenta:"Magenta",Cyan:"Cyan",Opaque:"Uigennemsigtige","Semi-Opaque":"NÃ¦sten uigennemsigtig",Transparent:"Gennemsigtig",Window:"Vindue","Font Size":"SkriftstÃ¸rrelse","Text Edge Style":"Typografi for tekstkant",None:"Ingen",Raised:"HÃ¦vet",Depressed:"NedsÃ¦nket",Uniform:"Ensartet",Dropshadow:"Skyggeeffekt","Font Family":"Skrifttypefamilie","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"TilfÃ¦ldig",Script:"Script","Small Caps":"KapitÃ¦ler",Defaults:"Standarder",Done:"UdfÃ¸rt",Link:"Link",Embed:"Integrer",Close:"Luk",Copy:"Copy","Copy Url":"KopiÃ©r URL-adresse","Embed Code":"Integrere kode",English:"Engelsk","volume level":"lydstyrke","video progress bar":"statuslinje for video","playback speed level":"niveau for afspilningshastighed","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Menu for billedtekster","Subtitles Menu":"Menuen for undertitler","Need Text":"Har du brug for tekst"};t["default"].prototype.options_.languages["da-dk"]=t["default"].prototype.options_.languages.da},{"../video.js/src/js/player.js":210}],104:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.de={Play:"Spielen",Pause:"Anhalten","Current Time":"Aktuelle Zeit","Duration Time":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp",LIVE:"LIVE",Loaded:"Geladen",Progress:"Status",Fullscreen:"Vollbild","Non-Fullscreen":"Vollbildmodus beenden",Mute:"Ton aus",Unmuted:"Ton an","Playback Rate":"Wiedergabegeschwindigkeit",Subtitles:"Untertitel","Subtitles Off":"Untertitel aus",Captions:"Beschriftungen","Captions Off":"Beschriftungen aus",Chapters:"Kapitel",Off:"Aus",Quality:"QualitÃ¤t",Auto:"Automatisch","Audio Tracks":"Audiotitel","default":"Standard","Cast To Device":"FÃ¼r GerÃ¤t umwandeln",Share:"Freigeben",Volume:"LautstÃ¤rke","Playback Speed":"Wiedergabegeschwindigkeit","Video Quality":"VideoqualitÃ¤t","Closed Captioning":"Untertitelung","Share Video":"Video freigeben","Next Track":"NÃ¤chster Titel","Previous Track":"Vorheriger Titel","Skip Forward":"RÃ¼ckwÃ¤rts","Skip Backward":"VorwÃ¤rts","Fast Forward":"Vorlauf",Rewind:"ZurÃ¼ckspulen","Next Frame":"NÃ¤chstes Bild","Previous Frame":"Vorheriges Bild",Settings:"Einstellungen",Options:"Optionen","More Options":"Weitere Optionen",Zoom:"Zoom","Zoom In":"VergrÃ¶ÃŸern","Zoom Out":"Verkleinern","Audio Only":"Nur Audio","Picture in Picture":"Bild-im-Bild","Camera Angle":"Kamerawinkel",MEDIA_ERR_ABORTED:"Videowiedergabe abgebrochen.",MEDIA_ERR_NETWORK:"Beim Herunterladen des Videos ist aufgrund eines Netzwerkfehlers ein Fehler aufgetreten. PrÃ¼fen Sie Ihre Internetverbindung, oder versuchen Sie es spÃ¤ter erneut.",MEDIA_ERR_DECODE:"Das Video konnte nicht geladen werden. Entweder ist ein Server- oder Netzwerkfehler aufgetreten ist, oder das Format wird nicht unterstÃ¼tzt.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Die Videowiedergabe wurde abgebrochen. MÃ¶glicherweise ist das Video beschÃ¤digt, oder es verwendet Funktionen, die in Ihrem Browser nicht unterstÃ¼tzt werden.",MEDIA_ERR_ENCRYPTED:"Die verschlÃ¼sselte Videoquelle konnte nicht entschlÃ¼sselt werden.",SRC_PLAYER_MISMATCH:"Keine kompatible Quelle fÃ¼r die aktuelle Browserumgebung gefunden.",MEDIA_ERR_UNKNOWN:"Unbekannter Fehler.",SKIP_AD_COUNTDOWN_FORMAT:"Werbung in {0} Ã¼berspringen...",SKIP:"Ãœberspringen",AD_TIMING_INFO:"{0} Sekunden Werbung","Media Player":"Media Player","Play Video":"Video wiedergeben",Foreground:"Vordergrund",White:"WeiÃŸ",Black:"Schwarz",Red:"Rot",Green:"GrÃ¼n",Blue:"Blau",Yellow:"Gelb",Magenta:"Magenta",Cyan:"Zyan",Opaque:"Undurchsichtig","Semi-Opaque":"Halb deckend",Transparent:"Transparent",Window:"Fenster","Font Size":"Schriftgrad","Text Edge Style":"Kanten-Formatvorlage",None:"Keine",Raised:"ErhÃ¶ht",Depressed:"GedrÃ¼ckt",Uniform:"Einheitlich",Dropshadow:"Schlagschatten","Font Family":"Schriftfamilie","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Casual",Script:"Script","Small Caps":"KapitÃ¤lchen",Defaults:"Standard",Done:"Erledigt",Link:"Link",Embed:"Einbetten",Close:"SchlieÃŸen",Copy:"Kopieren","Copy Url":"URL kopieren","Embed Code":"Einbindungscode",English:"Englisch","volume level":"LautstÃ¤rkeregler","video progress bar":"Videostatusanzeige","playback speed level":"Stufe der Wiedergabegeschwindigkeit","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"MenÃ¼ Bildtite","Subtitles Menu":"MenÃ¼ Untertitel","Need Text":"Text erforderlich"};t["default"].prototype.options_.languages["de-at"]=t["default"].prototype.options_.languages.de;t["default"].prototype.options_.languages["de-ch"]=t["default"].prototype.options_.languages.de},{"../video.js/src/js/player.js":210}],105:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.el={Play:"Î‘Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î®",Pause:"Î Î±ÏÏƒÎ·","Current Time":"Î¤ÏÎ­Ï‡Î¿Ï…ÏƒÎ± ÏŽÏÎ±","Duration Time":"Î§ÏÎ¿Î½Î¹ÎºÎ® Î´Î¹Î¬ÏÎºÎµÎ¹Î±","Remaining Time":"Î§ÏÏŒÎ½Î¿Ï‚ Ï€Î¿Ï… Î±Ï€Î¿Î¼Î­Î½ÎµÎ¹ ","Stream Type":"Î¤ÏÏ€Î¿Ï‚ ÏÎ¿Î®Ï‚",LIVE:"LIVE",Loaded:"  Î¦Î¿ÏÏ„ÏŽÎ¸Î·ÎºÎµ ",Progress:"Î ÏÏŒÎ¿Î´Î¿Ï‚",Fullscreen:"Î Î»Î®ÏÎ·Ï‚ Î¿Î¸ÏŒÎ½Î·","Non-Fullscreen":"Î•ÎºÏ„ÏŒÏ‚ Ï€Î»Î®ÏÎ¿Ï…Ï‚ Î¿Î¸ÏŒÎ½Î·Ï‚",Mute:"Î£Î¯Î³Î±ÏƒÎ·",Unmuted:"Î”Î¹Î±ÎºÎ¿Ï€Î® ÏƒÎ¯Î³Î±ÏƒÎ·Ï‚","Playback Rate":"Î¡Ï…Î¸Î¼ÏŒÏ‚ Î±Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î®Ï‚",Subtitles:"Î¥Ï€ÏŒÏ„Î¹Ï„Î»Î¿Î¹","Subtitles Off":"Î‘Ï€ÎµÎ½ÎµÏÎ³Î¿Ï€Î¿Î¯Î·ÏƒÎ· Ï…Ï€Î¿Ï„Î¯Ï„Î»Ï‰Î½",Captions:"Î›ÎµÎ¶Î¬Î½Ï„ÎµÏ‚","Captions Off":"Î±Ï€ÎµÎ½ÎµÏÎ³Î¿Ï€Î¿Î¯Î·ÏƒÎ· Î»ÎµÎ¶Î¬Î½Ï„Ï‰Î½",Chapters:"ÎšÎµÏ†Î¬Î»Î±Î¹Î±",Off:"Î‘Ï€ÎµÎ½ÎµÏÎ³Î¿Ï€Î¿Î¯Î·ÏƒÎ·",Quality:"Î Î¿Î¹ÏŒÏ„Î·Ï„Î±",Auto:"Î‘Ï…Ï„ÏŒÎ¼Î±Ï„Î±","Audio Tracks":"ÎšÎ¿Î¼Î¼Î¬Ï„Î¹Î± Î®Ï‡Î¿Ï…","default":"Ï€ÏÎ¿ÎµÏ€Î¹Î»Î¿Î³Î®","Cast To Device":"Î”Î¹Î±Î½Î¿Î¼Î® ÏƒÎµ ÏƒÏ…ÏƒÎºÎµÏ…Î®",Share:"ÎšÎ¿Î¹Î½Î® Ï‡ÏÎ®ÏƒÎ·",Volume:"ÎˆÎ½Ï„Î±ÏƒÎ· Î®Ï‡Î¿Ï…","Playback Speed":"Î¤Î±Ï‡ÏÏ„Î·Ï„Î± Î±Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î®Ï‚","Video Quality":"Î Î¿Î¹ÏŒÏ„Î·Ï„Î± Î²Î¯Î½Ï„ÎµÎ¿","Closed Captioning":"ÎšÎ»ÎµÎ¹ÏƒÏ„Î· Î»ÎµÎ¶Î±Î½Ï„Î±","Share Video":"ÎšÎ¿Î¹Î½Î® Ï‡ÏÎ®ÏƒÎ· Î²Î¯Î½Ï„ÎµÎ¿","Next Track":"Î•Ï€ÏŒÎ¼ÎµÎ½Î¿ ÎºÎ¿Î¼Î¼Î¬Ï„Î¹","Previous Track":"Î ÏÎ¿Î·Î³Î¿ÏÎ¼ÎµÎ½Î¿ ÎºÎ¿Î¼Î¼Î¬Ï„Î¹","Skip Forward":"ÎœÎµÏ„Î±Ï€Î®Î´Î·ÏƒÎ· ÎµÎ¼Ï€ÏÏŒÏ‚","Skip Backward":"ÎœÎµÏ„Î±Ï€Î®Î´Î·ÏƒÎ· Ï€Î¯ÏƒÏ‰","Fast Forward":"Î“ÏÎ®Î³Î¿ÏÎ· Ï€ÏÎ¿ÏŽÎ¸Î·ÏƒÎ·",Rewind:"Î•Ï€Î±Î½Î±Ï†Î¿ÏÎ¬","Next Frame":"Î•Ï€ÏŒÎ¼ÎµÎ½Î¿ ÎºÎ±ÏÎ­","Previous Frame":"Î ÏÎ¿Î·Î³Î¿ÏÎ¼ÎµÎ½Î¿ ÎºÎ±ÏÎ­",Settings:"Î¡Ï…Î¸Î¼Î¯ÏƒÎµÎ¹Ï‚",Options:"Î•Ï€Î¹Î»Î¿Î³Î­Ï‚","More Options":"Î ÎµÏÎ¹ÏƒÏƒÏŒÏ„ÎµÏÎµÏ‚ ÎµÏ€Î¹Î»Î¿Î³Î­Ï‚",Zoom:"Î–Î¿Ï…Î¼","Zoom In":"ÎœÎµÎ³Î­Î¸Ï…Î½ÏƒÎ·","Zoom Out":"Î£Î¼Î¯ÎºÏÏ…Î½ÏƒÎ·","Audio Only":"ÎœÏŒÎ½Î¿ Î®Ï‡Î¿Ï‚","Picture in Picture":"Î•Î¹ÎºÏŒÎ½Î± Î¼Î­ÏƒÎ± ÏƒÎµ ÎµÎ¹ÎºÏŒÎ½Î±","Camera Angle":"Î“Ï‰Î½Î¯Î± ÎºÎ¬Î¼ÎµÏÎ±Ï‚",MEDIA_ERR_ABORTED:"Î— Î±Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î® Î²Î¯Î½Ï„ÎµÎ¿ Î¼Î±Ï„Î±Î¹ÏŽÎ¸Î·ÎºÎµ.",MEDIA_ERR_NETWORK:"Î— Î´Î¹Î±Î´Î¹ÎºÎ±ÏƒÎ¯Î± Î»Î®ÏˆÎ·Ï‚ Ï„Î¿Ï… Î²Î¯Î½Ï„ÎµÎ¿ Î´Î¹Î±ÎºÏŒÏ€Î·ÎºÎµ ÏƒÏ„Î· Î¼Î­ÏƒÎ· Î»ÏŒÎ³Ï‰ ÏƒÏ†Î¬Î»Î¼Î±Ï„Î¿Ï‚ Î´Î¹ÎºÏ„ÏÎ¿Ï…. Î•Î»Î­Î³Î¾Ï„Îµ Ï„Î· ÏƒÏÎ½Î´ÎµÏƒÎ· Î´Î¹ÎºÏ„ÏÎ¿Ï… Î® Î´Î¿ÎºÎ¹Î¼Î¬ÏƒÏ„Îµ Î¾Î±Î½Î¬ Î±ÏÎ³ÏŒÏ„ÎµÏÎ±.",MEDIA_ERR_DECODE:"Î”ÎµÎ½ Î®Ï„Î±Î½ Î´Ï…Î½Î±Ï„Î® Î· Ï†ÏŒÏÏ„Ï‰ÏƒÎ· Ï„Î¿Ï… Î²Î¯Î½Ï„ÎµÎ¿ Î»ÏŒÎ³Ï‰ ÏƒÏ†Î¬Î»Î¼Î±Ï„Î¿Ï‚ Î´Î¹Î±ÎºÎ¿Î¼Î¹ÏƒÏ„Î® Î® Î´Î¹ÎºÏ„ÏÎ¿Ï… Î® Î»ÏŒÎ³Ï‰ Î¼Î· Ï…Ï€Î¿ÏƒÏ„Î·ÏÎ¹Î¶ÏŒÎ¼ÎµÎ½Î·Ï‚ Î¼Î¿ÏÏ†Î®Ï‚.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Î— Î±Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î® Î²Î¯Î½Ï„ÎµÎ¿ Î¼Î±Ï„Î±Î¹ÏŽÎ¸Î·ÎºÎµ Î»ÏŒÎ³Ï‰ Ï€ÏÎ¿Î²Î»Î®Î¼Î±Ï„Î¿Ï‚ Î® ÎµÏ€ÎµÎ¹Î´Î® Ï„Î¿ Î²Î¯Î½Ï„ÎµÎ¿ Ï€ÎµÏÎ¹Î»Î±Î¼Î²Î¬Î½ÎµÎ¹ Î´Ï…Î½Î±Ï„ÏŒÏ„Î·Ï„ÎµÏ‚ Ï€Î¿Ï… Î´ÎµÎ½ Ï…Ï€Î¿ÏƒÏ„Î·ÏÎ¯Î¶ÎµÎ¹ Ï„Î¿ Ï€ÏÏŒÎ³ÏÎ±Î¼Î¼Î± Ï€ÎµÏÎ¹Î®Î³Î·ÏƒÎ·Ï‚.",MEDIA_ERR_ENCRYPTED:"Î”ÎµÎ½ ÎµÎ¯Î½Î±Î¹ Î´Ï…Î½Î±Ï„Î® Î· Î±Ï€Î¿ÎºÏÏ…Ï€Ï„Î¿Î³ÏÎ¬Ï†Î·ÏƒÎ· Ï„Î·Ï‚ ÎºÏÏ…Ï€Ï„Î¿Î³ÏÎ±Ï†Î·Î¼Î­Î½Î·Ï‚ Ï€ÏÎ¿Î­Î»ÎµÏ…ÏƒÎ·Ï‚ Î²Î¯Î½Ï„ÎµÎ¿. ",SRC_PLAYER_MISMATCH:"Î”ÎµÎ½ Î²ÏÎ­Î¸Î·ÎºÎµ ÏƒÏ…Î¼Î²Î±Ï„Î® Ï€ÏÎ¿Î­Î»ÎµÏ…ÏƒÎ· Î³Î¹Î± Ï„Î¿ Ï„ÏÎ­Ï‡Î¿Î½ Ï€ÎµÏÎ¹Î²Î¬Î»Î»Î¿Î½ Ï„Î¿Ï… Ï€ÏÎ¿Î³ÏÎ¬Î¼Î¼Î±Ï„Î¿Ï‚ Ï€ÎµÏÎ¹Î®Î³Î·ÏƒÎ·Ï‚.",MEDIA_ERR_UNKNOWN:"Î Î±ÏÎ¿Ï…ÏƒÎ¹Î¬ÏƒÏ„Î·ÎºÎµ Î¬Î³Î½Ï‰ÏƒÏ„Î¿ ÏƒÏ†Î¬Î»Î¼Î±.",SKIP_AD_COUNTDOWN_FORMAT:"Î Î±ÏÎ¬Î²Î»ÎµÏˆÎ· Î´Î¹Î±Ï†Î®Î¼Î¹ÏƒÎ·Ï‚ ÏƒÎµ {0}...",SKIP:"Î Î±ÏÎ¬Î²Î»ÎµÏˆÎ·",AD_TIMING_INFO:"{0} Î´ÎµÏ…Ï„ÎµÏÎ¿Î»Î­Ï€Ï„Î± Î´Î¹Î±Ï†Î®Î¼Î¹ÏƒÎ·Ï‚","Media Player":"Media Player","Play Video":"Î‘Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î® Î²Î¯Î½Ï„ÎµÎ¿",Foreground:"Î ÏÏŽÏ„Î¿ Ï€Î»Î¬Î½Î¿",White:"Î›ÎµÏ…ÎºÏŒ",Black:"ÎœÎ±ÏÏÎ¿",Red:"ÎšÏŒÎºÎºÎ¹Î½Î¿",Green:"Î ÏÎ¬ÏƒÎ¹Î½Î¿",Blue:"ÎœÏ€Î»Îµ",Yellow:"ÎšÎ¯Ï„ÏÎ¹Î½Î¿",Magenta:"ÎœÎ±Ï„Î¶Î­Î½Ï„Î±",Cyan:"Î“Î±Î»Î¬Î¶Î¹Î¿",Opaque:"Î‘Î´Î¹Î±Ï†Î±Î½Î­Ï‚","Semi-Opaque":"Î—Î¼Î¹-Î±Î´Î¹Î±Ï†Î±Î½Î­Ï‚",Transparent:"Î”Î¹Î±Ï†Î±Î½Î­Ï‚",Window:"Î Î±ÏÎ¬Î¸Ï…ÏÎ¿","Font Size":"ÎœÎ­Î³ÎµÎ¸Î¿Ï‚ Î³ÏÎ±Î¼Î¼Î±Ï„Î¿ÏƒÎµÎ¹ÏÎ¬Ï‚","Text Edge Style":"Î£Ï„Ï…Î» Î¬ÎºÏÏ‰Î½ ÎºÎµÎ¹Î¼Î­Î½Î¿Ï…",None:"ÎšÎ±Î½Î­Î½Î±",Raised:"Î¥Ï€ÎµÏÏ…ÏˆÏ‰Î¼Î­Î½Î¿",Depressed:"Î ÎµÏ€Î»Î±Ï„Ï…ÏƒÎ¼Î­Î½Î¿",Uniform:"ÎŸÎ¼Î¿Î¹ÏŒÎ¼Î¿ÏÏ†Î¿",Dropshadow:"Î£ÎºÎ¹Î¬","Font Family":"ÎŸÎ¹ÎºÎ¿Î³Î­Î½ÎµÎ¹Î± Î³ÏÎ±Î¼Î¼Î±Ï„Î¿ÏƒÎµÎ¹ÏÏŽÎ½","Monospace Serif":"Serif ÏƒÏ„Î±Î¸ÎµÏÎ¿Ï Ï€Î»Î¬Ï„Î¿Ï…Ï‚","Proportional Serif":"Î‘Î½Î±Î»Î¿Î³Î¹ÎºÎ® serif","Monospace Sans-Serif":"Sans Serif ÏƒÏ„Î±Î¸ÎµÏÎ¿Ï Ï€Î»Î¬Ï„Î¿Ï…Ï‚","Proportional Sans-Serif":"Î‘Î½Î±Î»Î¿Î³Î¹ÎºÎ® sans serif",Casual:"Î‘Î½ÎµÏ€Î¯ÏƒÎ·Î¼Î·",Script:"Î”Î­ÏƒÎ¼Î· ÎµÎ½ÎµÏÎ³ÎµÎ¹ÏŽÎ½","Small Caps":"ÎœÎ¹ÎºÏÎ¬ ÎºÎµÏ†Î±Î»Î±Î¯Î±",Defaults:"Î ÏÎ¿ÎµÏ€Î¹Î»Î¿Î³Î­Ï‚",Done:"ÎŸÎ»Î¿ÎºÎ»Î·ÏÏŽÎ¸Î·ÎºÎµ",Link:"Î£ÏÎ½Î´ÎµÏƒÎ·",Embed:"EÎ½ÏƒÏ‰Î¼Î¬Ï„Ï‰ÏƒÎ·",Close:"ÎšÎ»ÎµÎ¯ÏƒÎ¹Î¼Î¿",Copy:"Î‘Î½Ï„Î¹Î³ÏÎ±Ï†Î®","Copy Url":"Î‘Î½Ï„Î¹Î³ÏÎ±Ï†Î® Î´Î¹ÎµÏÎ¸Ï…Î½ÏƒÎ·Ï‚ URL","Embed Code":"ÎšÏŽÎ´Î¹ÎºÎ±Ï‚ ÎµÎ½ÏƒÏ‰Î¼Î¬Ï„Ï‰ÏƒÎ·Ï‚",English:"Î‘Î³Î³Î»Î¹ÎºÎ¬","volume level":"Î­Î½Ï„Î±ÏƒÎ· Î®Ï‡Î¿Ï…","video progress bar":"Î³ÏÎ±Î¼Î¼Î® Ï€ÏÎ¿ÏŒÎ´Î¿Ï… Î²Î¯Î½Ï„ÎµÎ¿","playback speed level":"ÎµÏ€Î¯Ï€ÎµÎ´Î¿ Ï„Î±Ï‡ÏÏ„Î·Ï„Î±Ï‚ Î±Î½Î±Ï€Î±ÏÎ±Î³Ï‰Î³Î®Ï‚","Dolby Digital":"Dolby Digital",Stereo:"Î£Ï„ÎµÏÎµÎ¿Ï†Ï‰Î½Î¹ÎºÏŒ","Captions Menu":"ÎœÎµÎ½Î¿Ï Î»ÎµÎ¶Î±Î½Ï„ÏŽÎ½","Subtitles Menu":"ÎœÎµÎ½Î¿Ï Ï…Ï€Î¿Ï„Î¯Ï„Î»Ï‰Î½","Need Text":"ÎšÎµÎ¯Î¼ÎµÎ½Î¿ Î±Ï€Î±ÏÎ±Î¯Ï„Î·Ï„Î¿"};t["default"].prototype.options_.languages["el-gr"]=t["default"].prototype.options_.languages.el},{"../video.js/src/js/player.js":210}],106:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.en={"Non-Fullscreen":"Exit Fullscreen","captions off":"Captions off","Media Download Description":"Beginning of Media Download Dialog. Escape will cancel and close the window.",MEDIA_ERR_ABORTED:"Video playback aborted.",MEDIA_ERR_NETWORK:"A network error caused the video download to fail part-way. Please check your network connection or try again later.",MEDIA_ERR_DECODE:"The video could not be loaded, either because the server or network failed or because the format is not supported.",MEDIA_ERR_SRC_NOT_SUPPORTED:"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.",MEDIA_ERR_ENCRYPTED:"Unable to decrypt the encrypted video source.",SRC_PLAYER_MISMATCH:"No compatible source found for the current browser environment.",MEDIA_ERR_UNKNOWN:"An unknown error occurred.",SKIP_AD_COUNTDOWN_FORMAT:"Skip ad in {0}...",SKIP:"Skip",AD_TIMING_INFO:"Ad {0} seconds"}},{"../video.js/src/js/player.js":210}],107:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.es={Play:"Reproducir",Pause:"Pausa","Current Time":"Hora actual","Duration Time":"DuraciÃ³n","Remaining Time":"Tiempo restante","Stream Type":"Tipo de secuencia",LIVE:"DIRECTO",Loaded:"Cargado",Progress:"Progreso",Fullscreen:"Pantalla completa","Non-Fullscreen":"TamaÃ±o normal",Mute:"Silenciar",Unmuted:"Audio reactivado","Playback Rate":"Tasa de reproducciÃ³n",Subtitles:"SubtÃ­tulos","Subtitles Off":"subtÃ­tulos desactivados",Captions:"SubtÃ­tulos","Captions Off":"subtÃ­tulos desactivados",Chapters:"CapÃ­tulos",Off:"Desactivado",Quality:"Calidad",Auto:"AutomÃ¡tico","Audio Tracks":"Pistas de audio","default":"predeterminado","Cast To Device":"Emitir en el dispositivo",Share:"Compartir",Volume:"Volumen","Playback Speed":"Velocidad de reproducciÃ³n","Video Quality":"Calidad de vÃ­deo","Closed Captioning":"SubtÃ­tulos (CC)","Share Video":"Compartir vÃ­deo","Next Track":"Pista siguiente","Previous Track":"Pista anterior","Skip Forward":"Saltar adelante","Skip Backward":"Saltar atrÃ¡s","Fast Forward":"Avanzar rÃ¡pidamente",Rewind:"Rebobinar","Next Frame":"Fotograma siguiente","Previous Frame":"Fotograma anterior",Settings:"ConfiguraciÃ³n",Options:"Opciones","More Options":"MÃ¡s opciones",Zoom:"Zoom","Zoom In":"Acercar","Zoom Out":"Alejar","Audio Only":"Solo audio","Picture in Picture":"Imagen en imagen","Camera Angle":"Ãngulo de cÃ¡mara",MEDIA_ERR_ABORTED:"La reproducciÃ³n de vÃ­deo se cancelÃ³.",MEDIA_ERR_NETWORK:"Un error de red provocÃ³ que la descarga de vÃ­deo no se pudiera realizar. Compruebe la conexiÃ³n de red o intÃ©ntelo de nuevo mÃ¡s tarde.",MEDIA_ERR_DECODE:"No se pudo cargar el vÃ­deo porque hubo un error en la red o en el servidor o porque el formato no es compatible.",MEDIA_ERR_SRC_NOT_SUPPORTED:"La reproducciÃ³n de vÃ­deo se cancelÃ³ debido a un problema con algÃºn elemento o porque el vÃ­deo contiene caracterÃ­sticas que no son compatibles con el explorador.",MEDIA_ERR_ENCRYPTED:"La fuente de vÃ­deo cifrada no se puede descifrar.",SRC_PLAYER_MISMATCH:"No se encontrÃ³ ninguna fuente compatible con el entorno de explorador actual.",MEDIA_ERR_UNKNOWN:"Error desconocido.",SKIP_AD_COUNTDOWN_FORMAT:"Omitir anuncio en {0}...",SKIP:"Omitir",AD_TIMING_INFO:"Anuncio {0} segundos","Media Player":"Reproductor multimedia","Play Video":"Reproducir vÃ­deo",Foreground:"Primer plano",White:"Blanco",Black:"Negro",Red:"Rojo",Green:"Verde",Blue:"Azul",Yellow:"Amarillo",Magenta:"Magenta",Cyan:"Cian",Opaque:"Opaco","Semi-Opaque":"Semiopaco",Transparent:"Transparente",Window:"Ventana","Font Size":"TamaÃ±o de fuente","Text Edge Style":"Estilo de borde de texto",None:"Ninguno",Raised:"Elevado",Depressed:"Pulsado",Uniform:"Uniforme",Dropshadow:"Sombra","Font Family":"Familia de fuentes","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Ocasional",Script:"Script","Small Caps":"Versalitas",Defaults:"Valores predeterminados",Done:"Listo",Link:"VÃ­nculo",Embed:"Insertar",Close:"Cerrar",Copy:"Copiar","Copy Url":"Copiar URL","Embed Code":"CÃ³digo de inserciÃ³n",English:"InglÃ©s","volume level":"volumen","video progress bar":"barra de progreso de vÃ­deo","playback speed level":"velocidad de reproducciÃ³n","Dolby Digital":"Dolby Digital",Stereo:"EstÃ©reo","Captions Menu":"MenÃº de leyendas","Subtitles Menu":"MenÃº de subtÃ­tulos","Need Text":"Necesita texto"};t["default"].prototype.options_.languages["es-ar"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-cl"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-co"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-cr"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-do"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-ec"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-us"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-gt"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-hn"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-xl"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-mx"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-ni"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-pa"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-py"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-pe"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-pr"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-us"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-uy"]=t["default"].prototype.options_.languages.es;t["default"].prototype.options_.languages["es-ve"]=t["default"].prototype.options_.languages.es},{"../video.js/src/js/player.js":210}],108:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.et={Play:"Esita",Pause:"Peata","Current Time":"Praegune kellaaeg","Duration Time":"Kestus","Remaining Time":"JÃ¤relejÃ¤Ã¤nud aeg","Stream Type":"Voo tÃ¼Ã¼p",LIVE:"OTSE",Loaded:"Laaditud",Progress:"Edenemine",Fullscreen:"TÃ¤isekraanvaade","Non-Fullscreen":"MittetÃ¤isekraanvaade",Mute:"Vaigista",Unmuted:"Vaigistamata","Playback Rate":"Taasesituse kiirus",Subtitles:"Subtiitrid","Subtitles Off":"subtiitrid vÃ¤ljas",Captions:"Tiitrid","Captions Off":"tiitrid vÃ¤ljas",Chapters:"PeatÃ¼kid",Off:"VÃ¤ljas",Quality:"Kvaliteet",Auto:"Automaatne","Audio Tracks":"Heliribad","default":"vaikesÃ¤te","Cast To Device":"Esita seadmes",Share:"Jaga",Volume:"Helitugevus","Playback Speed":"Taasesituse kiirus","Video Quality":"Video kvaliteet","Closed Captioning":"Subtiitrid vaegkuuljatele","Share Video":"Jaga videot","Next Track":"JÃ¤rgmine pala","Previous Track":"Eelmine pala","Skip Forward":"Keri edasi","Skip Backward":"Keri tagasi","Fast Forward":"Edasi",Rewind:"Tagasi","Next Frame":"JÃ¤rgmine kaader","Previous Frame":"Eelmine kaader",Settings:"SÃ¤tted",Options:"Suvandid","More Options":"Rohkem suvandeid",Zoom:"Suum","Zoom In":"Suurenda","Zoom Out":"VÃ¤henda","Audio Only":"Ainult heli","Picture in Picture":"Pilt pildis","Camera Angle":"Vaatenurk",MEDIA_ERR_ABORTED:"Video taasesitamine katkestati.",MEDIA_ERR_NETWORK:"Video allalaadimine nurjus vÃµrgutÃµrke tÃµttu poole pealt. Kontrollige vÃµrguÃ¼hendust vÃµi proovige hiljem uuesti.",MEDIA_ERR_DECODE:"Videot ei saanud laadida, kuna serveri- vÃµi vÃµrguÃ¼hendus nurjus vÃµi vormingut ei toetata.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Video taasesitamine katkes failirikke tÃµttu vÃµi kuna teie brauser ei toeta videos kasutatud funktsioone.",MEDIA_ERR_ENCRYPTED:"KrÃ¼ptitud videoallikat ei saa dekrÃ¼ptida.",SRC_PLAYER_MISMATCH:"Praeguse brauserikeskkonna jaoks ei leitud Ã¼hilduvat allikat.",MEDIA_ERR_UNKNOWN:"Ilmnes tundmatu tÃµrge",SKIP_AD_COUNTDOWN_FORMAT:"JÃ¤ta reklaam vahele {0} sekundi pÃ¤rast â€¦",SKIP:"JÃ¤ta vahele",AD_TIMING_INFO:"Reklaam kestab {0} sekundit","Media Player":"Meediumipleier","Play Video":"Esita video",Foreground:"Esiplaan",White:"Valge",Black:"Must",Red:"Punane",Green:"Roheline",Blue:"Sinine",Yellow:"kollane",Magenta:"Magenta",Cyan:"TsÃ¼aan",Opaque:"LÃ¤bipaistmatu","Semi-Opaque":"Pooleldi lÃ¤bipaistmatu",Transparent:"LÃ¤bipaistev",Window:"Aken","Font Size":"Fondi suurus","Text Edge Style":"Tekstiserva laad",None:"Pole",Raised:"TÃµstetud",Depressed:"SÃ¼vendatud",Uniform:"Ãœhtlane",Dropshadow:"Langev vari","Font Family":"Fondipere","Monospace Serif":"Seriifidega pÃ¼sisammkiri","Proportional Serif":"Seriifidega proportsionaalkiri","Monospace Sans-Serif":"Seriifideta pÃ¼sisammkiri","Proportional Sans-Serif":"Seriifideta proportsionaalkiri",Casual:"Sidumata kiri",Script:"Script","Small Caps":"Kapiteelkiri",Defaults:"VaikesÃ¤tted",Done:"Valmis",Link:"Link",Embed:"Manussisu",Close:"Sule",Copy:"Kopeeri","Copy Url":"Kopeeri URL","Embed Code":"Manustamiskood",English:"Inglise","volume level":"Helitugevus","video progress bar":"video edenemisriba","playback speed level":"taasesituse kiirus","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"TiitrimenÃ¼Ã¼","Subtitles Menu":"SubtiitrimenÃ¼Ã¼","Need Text":"Vajalik tekst"};t["default"].prototype.options_.languages["et-ee"]=t["default"].prototype.options_.languages.et},{"../video.js/src/js/player.js":210}],109:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.eu={Play:"Erreproduzitu",Pause:"Pausatu","Current Time":"Uneko ordua","Duration Time":"Iraupena","Remaining Time":"Gelditzen den denbora","Stream Type":"Erreprodukzio mota",LIVE:"ZUZENEAN",Loaded:"Kargatuta",Progress:"Aurrerapena",Fullscreen:"Pantaila osoa","Non-Fullscreen":"Pantaila osoa ez",Mute:"Audio desaktibatuta",Unmuted:"Audioa aktibatuta","Playback Rate":"Erreprodukzio-abiadura",Subtitles:"Azpitituluak","Subtitles Off":"azpitituluak desaktibatuta",Captions:"Epigrafeak","Captions Off":"epigrafeak desaktibatuta",Chapters:"Atalak",Off:"Desaktibatuta",Quality:"Kalitatea",Auto:"Automatikoa","Audio Tracks":"Audio-pistak","default":"lehenetsia","Cast To Device":"Igorri gailura",Share:"Partekatu",Volume:"Bolumena","Playback Speed":"Erreprodukzio-abiadura","Video Quality":"Bideoaren kalitatea","Closed Captioning":"Epigrafeak","Share Video":"Partekatu bideoa","Next Track":"Hurrengo pista","Previous Track":"Aurreko pista","Skip Forward":"Saltatu aurrera","Skip Backward":"Saltatu atzera","Fast Forward":"Aurreratu",Rewind:"Atzeratu","Next Frame":"Hurrengo fotograma","Previous Frame":"Aurreko fotograma",Settings:"Ezarpenak",Options:"Aukerak","More Options":"Aukera gehiago",Zoom:"Zooma","Zoom In":"Handitu","Zoom Out":"Txikitu","Audio Only":"Audioa soilik","Picture in Picture":"Irudia irudiaren barnean","Camera Angle":"Kamera-angelua",MEDIA_ERR_ABORTED:"Bideo-erreprodukzioa utzi egin da",MEDIA_ERR_NETWORK:"Sare-errore bat gertatu da eta ezin izan da bideo osoa deskargatu. Egiaztatu sarera konektatuta zaudela edo saiatu berriro geroago.",MEDIA_ERR_DECODE:"Ezin izan da kargatu bideoa, zerbitzariak edo sareak huts egin duelako edo formatua onartzen ez delako.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Bideo-erreprodukzioa utzi egin da hondatuta dagoelako edo arakatzaileak onartzen ez dituen eginbideak erabiltzen dituelako bideoak.",MEDIA_ERR_ENCRYPTED:"Ezin da desenkriptatu enkriptatutako bideo-iturburua.",SRC_PLAYER_MISMATCH:"Ez da aurkitu iturburu bateragarririk uneko arakatzaile-ingurunerako.",MEDIA_ERR_UNKNOWN:"Errore ezezagun bat gertatu da",SKIP_AD_COUNTDOWN_FORMAT:"Saltatu iragarkia: {0}...",SKIP:"Saltatu",AD_TIMING_INFO:"Iragarkia: {0} segundo"};t["default"].prototype.options_.languages["eu-es"]=t["default"].prototype.options_.languages.eu},{"../video.js/src/js/player.js":210}],110:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.fa={Play:"Ù¾Ø®Ø´",Pause:"Ù…Ú©Ø«","Current Time":"Ø²Ù…Ø§Ù† ÙØ¹Ù„ÛŒ","Duration Time":"â€â€Ù…Ø¯Øª Ø²Ù…Ø§Ù†","Remaining Time":"Ø²Ù…Ø§Ù† Ø¨Ø§Ù‚ÛŒÙ…Ø§Ù†Ø¯Ù‡","Stream Type":"Ù†ÙˆØ¹ Ù¾Ø®Ø´ Ø¬Ø±ÛŒØ§Ù†ÛŒ",LIVE:"Ø²Ù†Ø¯Ù‡",Loaded:"Ø¨Ø§Ø±Ú¯ÛŒØ±ÛŒ Ø´Ø¯Ù‡",Progress:"Ù¾ÛŒØ´Ø±ÙØª",Fullscreen:"ØªÙ…Ø§Ù… ØµÙØ­Ù‡","Non-Fullscreen":"ØºÛŒØ± ØªÙ…Ø§Ù… ØµÙØ­Ù‡",Mute:"Ø¨ÛŒØµØ¯Ø§",Unmuted:"ÙˆØµÙ„ Ù…Ø¬Ø¯Ø¯ ØµØ¯Ø§","Playback Rate":"Ù†Ø±Ø® Ù¾Ø®Ø´",Subtitles:"Ø²ÛŒØ±Ù†ÙˆÛŒØ³","Subtitles Off":"Ø²ÛŒØ±Ù†ÙˆÛŒØ³ ØºÛŒØ±ÙØ¹Ø§Ù„",Captions:"Ø¹Ù†Ø§ÙˆÛŒÙ† ØªÙˆØ¶ÛŒØ­ÛŒ","Captions Off":"Ø¹Ù†Ø§ÙˆÛŒÙ† ØªÙˆØ¶ÛŒØ­ÛŒ ØºÛŒØ±ÙØ¹Ø§Ù„",Chapters:"ÙØµÙ„ Ù‡Ø§",Off:"ØºÛŒØ±ÙØ¹Ø§Ù„",Quality:"Ú©ÛŒÙÛŒØª",Auto:"Ø®ÙˆØ¯Ú©Ø§Ø±","Audio Tracks":"Ù‚Ø·Ø¹Ø§Øª ØµÙˆØªÛŒ","default":"Ù¾ÛŒØ´ ÙØ±Ø¶","Cast To Device":"Ù¾Ø®Ø´ Ø¯Ø± Ø¯Ø³ØªÚ¯Ø§Ù‡ Ø¯ÛŒÚ¯Ø±",Share:"Ø§Ø´ØªØ±Ø§Ú© Ú¯Ø°Ø§Ø±ÛŒ",Volume:"Ù…ÛŒØ²Ø§Ù† ØµØ¯Ø§","Playback Speed":"Ø³Ø±Ø¹Øª Ù¾Ø®Ø´","Video Quality":"Ú©ÛŒÙÛŒØª ÙÛŒÙ„Ù…","Closed Captioning":"Ø¹Ù†ÙˆØ§Ù† Ø¨Ù†Ø¯ÛŒ","Share Video":"Ø§Ø´ØªØ±Ø§Ú© Ú¯Ø°Ø§Ø±ÛŒ ÛŒÚ© ÙˆÛŒØ¯ÛŒÙˆ","Next Track":"Ù‚Ø·Ø¹Ù‡ Ø¨Ø¹Ø¯ÛŒ","Previous Track":"Ù‚Ø·Ø¹Ù‡ Ù‚Ø¨Ù„ÛŒ","Skip Forward":"Ù¾Ø±Ø´ Ø¨Ù‡ Ø¬Ù„Ùˆ","Skip Backward":"Ù¾Ø±Ø´ Ø¨Ù‡ Ø¹Ù‚Ø¨","Fast Forward":"Ø­Ø±Ú©Øª Ø³Ø±ÛŒØ¹ Ø¨Ù‡ Ø¬Ù„Ùˆ",Rewind:"Ø¨Ù‡ Ø¹Ù‚Ø¨ Ø¨Ø±Ø¯Ù†","Next Frame":"ÙØ±ÛŒÙ… Ø¨Ø¹Ø¯ÛŒ","Previous Frame":"ÙØ±ÛŒÙ… Ù‚Ø¨Ù„ÛŒ",Settings:"ØªÙ†Ø¸ÛŒÙ…Ø§Øª",Options:"Ú¯Ø²ÛŒÙ†Ù‡ Ù‡Ø§","More Options":"Ú¯Ø²ÛŒÙ†Ù‡ Ù‡Ø§ÛŒ Ø¨ÛŒØ´ØªØ±",Zoom:"Ø¨Ø²Ø±Ú¯Ù†Ù…Ø§ÛŒÛŒ","Zoom In":"Ù†Ø²Ø¯ÛŒÚ©Ù†Ù…Ø§ÛŒÛŒ","Zoom Out":"Ø¯ÙˆØ±Ù†Ù…Ø§ÛŒÛŒ","Audio Only":"ÙÙ‚Ø· ØµØ¯Ø§","Picture in Picture":"ØªØµÙˆÛŒØ± Ø¯Ø± ØªØµÙˆÛŒØ±","Camera Angle":"Ø²Ø§ÙˆÛŒÙ‡ Ø¯ÙˆØ±Ø¨ÛŒÙ†",MEDIA_ERR_ABORTED:"Ù¾Ø®Ø´ ÙˆÛŒØ¯ÛŒÙˆ Ù…ØªÙˆÙ‚Ù Ø´Ø¯.",MEDIA_ERR_NETWORK:"Ø¨Ø±ÙˆØ² ÛŒÚ© Ù…Ø´Ú©Ù„ Ø´Ø¨Ú©Ù‡ Ø¨Ø§Ø¹Ø« Ù†ÛŒÙ…Ù‡ ØªÙ…Ø§Ù… Ù…Ø§Ù†Ø¯Ù† Ø¯Ø§Ù†Ù„ÙˆØ¯ ÙˆÛŒØ¯ÛŒÙˆ Ø´Ø¯. Ù„Ø·ÙØ§Ù‹ Ø§ØªØµØ§Ù„ Ø´Ø¨Ú©Ù‡ Ø®ÙˆØ¯ Ø±Ø§ Ø¨Ø±Ø±Ø³ÛŒ Ú©Ø±Ø¯Ù‡ ÛŒØ§ Ø¨Ø¹Ø¯Ø§Ù‹ Ø¯ÙˆØ¨Ø§Ø±Ù‡ Ø§Ù…ØªØ­Ø§Ù† Ú©Ù†ÛŒØ¯.",MEDIA_ERR_DECODE:"Ø¨Ø§Ø±Ú¯ÛŒØ±ÛŒ ÙˆÛŒØ¯ÛŒÙˆ Ø§Ù†Ø¬Ø§Ù… Ù†Ø´Ø¯ Ø²ÛŒØ±Ø§ ÛŒØ§ Ø¨Ø±Ù‚Ø±Ø§Ø±ÛŒ Ø§Ø±ØªØ¨Ø§Ø· Ø¨Ø§ Ø³Ø±ÙˆØ± ÛŒØ§ Ø´Ø¨Ú©Ù‡ Ø§Ù…Ú©Ø§Ù† Ù¾Ø°ÛŒØ± Ù†Ù…ÛŒ Ø¨Ø§Ø´Ø¯ ÛŒØ§ Ù‚Ø§Ù„Ø¨ ÙˆÛŒØ¯ÛŒÙˆ Ù¾Ø´ØªÛŒØ¨Ø§Ù†ÛŒ Ù†Ù…ÛŒ Ø´ÙˆØ¯.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Ø¨Ù‡ Ø¯Ù„ÛŒÙ„ Ù…Ø´Ú©Ù„ Ù…Ø®Ø¯ÙˆØ´ Ø¨ÙˆØ¯Ù† ÙØ§ÛŒÙ„ ÛŒØ§ Ø§Ø³ØªÙØ§Ø¯Ù‡ ÙˆÛŒØ¯ÛŒÙˆ Ø§Ø² ÙˆÛŒÚ˜Ú¯ÛŒ Ù‡Ø§ÛŒÛŒ Ú©Ù‡ Ù…Ø±ÙˆØ±Ú¯Ø± Ø´Ù…Ø§ Ù¾Ø´ØªÛŒØ¨Ø§Ù†ÛŒ Ù†Ù…ÛŒ Ú©Ù†Ø¯ØŒ Ù¾Ø®Ø´ ÙˆÛŒØ¯ÛŒÙˆ Ù…ØªÙˆÙ‚Ù Ø´Ø¯.",MEDIA_ERR_ENCRYPTED:"Ø±Ù…Ø²Ú¯Ø´Ø§ÛŒÛŒ Ù…Ù†Ø¨Ø¹ ÙˆÛŒØ¯ÛŒÙˆÛŒ Ø±Ù…Ø²Ú¯Ø°Ø§Ø±ÛŒ Ø´Ø¯Ù‡ Ø§Ù…Ú©Ø§Ù† Ù¾Ø°ÛŒØ± Ù†Ù…ÛŒ Ø¨Ø§Ø´Ø¯.",SRC_PLAYER_MISMATCH:"Ù‡ÛŒØ¬ Ù…Ù†Ø¨Ø¹ Ø³Ø§Ø²Ú¯Ø§Ø±ÛŒ Ø¨Ø±Ø§ÛŒ Ù…Ø­ÛŒØ· Ù…Ø±ÙˆØ±Ú¯Ø± ÙØ¹Ù„ÛŒ ÛŒØ§ÙØª Ù†Ø´Ø¯.",MEDIA_ERR_UNKNOWN:"ÛŒÚ© Ø®Ø·Ø§ÛŒ Ù†Ø§Ù…Ø´Ø®Øµ Ø±Ø® Ø¯Ø§Ø¯Ù‡ Ø§Ø³Øª",SKIP_AD_COUNTDOWN_FORMAT:"Ø±Ø¯ Ú©Ø±Ø¯Ù† ØªØ¨Ù„ÛŒØºØ§Øª Ø¯Ø± {0}...",SKIP:"Ø±Ø¯ Ú©Ø±Ø¯Ù†",AD_TIMING_INFO:"ØªØ¨Ù„ÛŒØºØ§Øª {0} Ø«Ø§Ù†ÛŒÙ‡"};t["default"].prototype.options_.languages["fa-ir"]=t["default"].prototype.options_.languages.fa},{"../video.js/src/js/player.js":210}],111:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.fi={Play:"Toista",Pause:"KeskeytÃ¤","Current Time":"Nykyinen aika","Duration Time":"Kesto","Remaining Time":"JÃ¤ljellÃ¤ oleva aika","Stream Type":"Suoratoistotyyppi",LIVE:"LIVE",Loaded:"Ladattu",Progress:"Edistyminen",Fullscreen:"Koko nÃ¤yttÃ¶","Non-Fullscreen":"Muu kuin koko nÃ¤yttÃ¶",Mute:"Vaimenna",Unmuted:"Vaimennus poistettu","Playback Rate":"Toistonopeus",Subtitles:"Tekstitys","Subtitles Off":"Ei tekstitystÃ¤",Captions:"Kuvatekstit","Captions Off":"Ei kuvatekstejÃ¤",Chapters:"Kohtaukset",Off:"Ei kÃ¤ytÃ¶ssÃ¤",Quality:"Laatu",Auto:"Automaattinen","Audio Tracks":"Ã„Ã¤niraidat","default":"oletus","Cast To Device":"LÃ¤hetÃ¤ laitteeseen",Share:"Jaa",Volume:"Ã„Ã¤nenvoimakkuus","Playback Speed":"Toistonopeus","Video Quality":"Videon laatu","Closed Captioning":"Tekstitys","Share Video":"Jaa video","Next Track":"Seuraava raita","Previous Track":"Edellinen raita","Skip Forward":"Siirry eteenpÃ¤in","Skip Backward":"Siirry taaksepÃ¤in","Fast Forward":"Kelaa eteenpÃ¤in",Rewind:"Kelaa taaksepÃ¤in","Next Frame":"Seuraava kuva","Previous Frame":"Edellinen kuva",Settings:"Asetukset",Options:"Asetukset","More Options":"LisÃ¤asetukset",Zoom:"Zoomaus","Zoom In":"LÃ¤hennÃ¤ ","Zoom Out":"Loitonna","Audio Only":"Vain Ã¤Ã¤ni","Picture in Picture":"Kuva kuvassa","Camera Angle":"Kamerakulma",MEDIA_ERR_ABORTED:"Videotoisto keskeytetty.",MEDIA_ERR_NETWORK:"Verkkovirhe keskeytti videon lataamisen. Tarkista verkkoyhteys tai yritÃ¤ myÃ¶hemmin uudelleen.",MEDIA_ERR_DECODE:"Videota ei voitu ladata verkko- tai palvelinvirheen takia tai koska muotoa ei tueta.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Videon toisto keskeytettiin vioittumisen takia tai sen takia, ettÃ¤ selaimesi ei tue kaikkia videon kÃ¤yttÃ¤miÃ¤ toimintoja.",MEDIA_ERR_ENCRYPTED:"Salatun videolÃ¤hteen salausta ei voida purkaa.",SRC_PLAYER_MISMATCH:"Nykyisen selainympÃ¤ristÃ¶n kanssa yhteensopivaa lÃ¤hdettÃ¤ ei lÃ¶ytynyt.",MEDIA_ERR_UNKNOWN:"Ilmeni tuntematon virhe",SKIP_AD_COUNTDOWN_FORMAT:"Ohita mainos, kun on kulunut {0}...",SKIP:"Ohita",AD_TIMING_INFO:"Mainos â€“ {0} sekuntia","Media Player":"Media Player","Play Video":"Katso video",Foreground:"Edusta",White:"Valkoinen",Black:"Musta",Red:"Punainen",Green:"VihreÃ¤",Blue:"Sininen",Yellow:"Keltainen",Magenta:"Magenta",Cyan:"Syaani",Opaque:"LÃ¤pinÃ¤kymÃ¤tÃ¶n","Semi-Opaque":"Puoliksi lÃ¤pinÃ¤kyvÃ¤",Transparent:"LÃ¤pinÃ¤kyvÃ¤",Window:"Ikkuna","Font Size":"Fonttikoko","Text Edge Style":"Tekstin reunatyyli",None:"Ei mitÃ¤Ã¤n",Raised:"Korotettuna",Depressed:"Kokoon painettuna",Uniform:"YhtenÃ¤inen",Dropshadow:"Varjo","Font Family":"Fonttiperhe","Monospace Serif":"Suhteuttamaton Serif","Proportional Serif":"Suhteellinen Serif","Monospace Sans-Serif":"Suhteuttamaton Sans Serif","Proportional Sans-Serif":"Suhteellinen Sans Serif",Casual:"Rento",Script:"Komentosarja","Small Caps":"Kapiteelit",Defaults:"Oletusasetukset",Done:"Valmis",Link:"Linkki",Embed:"LiitÃ¤",Close:"Sulje",Copy:"Kopioi","Copy Url":"Kopioi URL-osoite","Embed Code":"LiittÃ¤miskoodi",English:"englanti","volume level":"Ã¤Ã¤nenvoimakkuuden taso","video progress bar":"videon tilanneilmaisin","playback speed level":"toiston parantaminen tasolle","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Kuvatekstien valikko","Subtitles Menu":"Tekstitys-valikko","Need Text":"On tekstiÃ¤"}},{"../video.js/src/js/player.js":210}],112:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.fr={Play:"Lecture",Pause:"Pause","Current Time":"Heure actuelle","Duration Time":"DurÃ©e","Remaining Time":"Temps restant","Stream Type":"Type de flux",LIVE:"EN DIRECT",Loaded:"ChargÃ©",Progress:"Progression",Fullscreen:"Plein Ã©cran","Non-Fullscreen":"Plein Ã©cran dÃ©sactivÃ©",Mute:"Muet",Unmuted:"Son activÃ©","Playback Rate":"Flux de lecture",Subtitles:"Sous-titres","Subtitles Off":"sous-titres dÃ©sactivÃ©s",Captions:"Sous-titrage","Captions Off":"sous-titrage dÃ©sactivÃ©",Chapters:"Chapitres",Off:"DÃ©sactivÃ©",Quality:"QualitÃ©",Auto:"Auto","Audio Tracks":"Pistes audio","default":"par dÃ©faut","Cast To Device":"Projeter sur un appareil",Share:"Partager",Volume:"Volume","Playback Speed":"Vitesse de lecture","Video Quality":"QualitÃ© vidÃ©o","Closed Captioning":"Sous-titrage","Share Video":"Partager la vidÃ©o","Next Track":"Piste suivante","Previous Track":"Piste prÃ©cÃ©dente","Skip Forward":"Avance rapide","Skip Backward":"Retour rapide","Fast Forward":"Avance rapide",Rewind:"Retour rapide","Next Frame":"Image suivante","Previous Frame":"Image prÃ©cÃ©dente",Settings:"ParamÃ¨tres",Options:"Options","More Options":"Autres options",Zoom:"Zoom","Zoom In":"Zoom avant","Zoom Out":"Zoom arriÃ¨re","Audio Only":"Audio seul","Picture in Picture":"Image dans l'image","Camera Angle":"Angle de camÃ©ra",MEDIA_ERR_ABORTED:"Lecture vidÃ©o abandonnÃ©e.",MEDIA_ERR_NETWORK:"Une erreur rÃ©seau a entraÃ®nÃ© l'Ã©chec du tÃ©lÃ©chargement de la vidÃ©o. VÃ©rifiez votre connexion rÃ©seau ou rÃ©essayez ultÃ©rieurement.",MEDIA_ERR_DECODE:"La vidÃ©o n'a pas pu Ãªtre chargÃ©e parce que le serveur ou le rÃ©seau ont Ã©chouÃ© ou parce que le format n'est pas pris en charge.",MEDIA_ERR_SRC_NOT_SUPPORTED:"La lecture de la vidÃ©o a Ã©tÃ© abandonnÃ©e en raison d'un problÃ¨me d'endommagement ou parce que la vidÃ©o utilise des fonctionnalitÃ©s que votre navigateur ne prend pas en charge.",MEDIA_ERR_ENCRYPTED:"Impossible de dÃ©chiffrer la source vidÃ©o chiffrÃ©e.",SRC_PLAYER_MISMATCH:"Aucune source compatible trouvÃ©e dans l'environnement actuel du navigateur.",MEDIA_ERR_UNKNOWN:"Une erreur inconnue s'est produite.",SKIP_AD_COUNTDOWN_FORMAT:"Ignorer la publicitÃ© dans {0}...",SKIP:"Ignorer",AD_TIMING_INFO:"{0} secondes de publicitÃ©","Media Player":"Lecteur multimÃ©dia","Play Video":"Lire la vidÃ©o",Foreground:"Premier plan",White:"Blanc",Black:"Noir",Red:"Rouge",Green:"Vert",Blue:"Bleu",Yellow:"Jaune",Magenta:"Magenta",Cyan:"Cyan",Opaque:"Opaque","Semi-Opaque":"Semi-opaque",Transparent:"Transparent",Window:"FenÃªtre","Font Size":"Taille de police","Text Edge Style":"Style de bordure de texte",None:"Aucun",Raised:"En relief",Depressed:"EmbossÃ©",Uniform:"Uniforme",Dropshadow:"Ombre portÃ©e","Font Family":"Famille de polices","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Informelle",Script:"Script","Small Caps":"Petites majuscules",Defaults:"Valeurs par dÃ©faut",Done:"TerminÃ©",Link:"Lien",Embed:"Incorporer",Close:"Fermer",Copy:"Copy","Copy Url":"Copier l'Url","Embed Code":"Incorporer le code",English:"Anglais","volume level":"Volume","video progress bar":"Barre d'avancement de la vidÃ©o","playback speed level":"Vitesse de lecture","Dolby Digital":"Dolby Digital",Stereo:"StÃ©rÃ©o","Captions Menu":"Menu des transcriptions","Subtitles Menu":"Menu des sous-titres","Need Text":"Need Text"};t["default"].prototype.options_.languages["fr-ab"]=t["default"].prototype.options_.languages.fr;t["default"].prototype.options_.languages["fr-be"]=t["default"].prototype.options_.languages.fr;t["default"].prototype.options_.languages["fr-ca"]=t["default"].prototype.options_.languages.fr;t["default"].prototype.options_.languages["fr-xf"]=t["default"].prototype.options_.languages.fr;t["default"].prototype.options_.languages["fr-ch"]=t["default"].prototype.options_.languages.fr},{"../video.js/src/js/player.js":210}],113:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.gl={Play:"Reproducir",Pause:"Pausar","Current Time":"Hora actual","Duration Time":"Tempo de duraciÃ³n","Remaining Time":"Tempo restante","Stream Type":"Tipo de transmisiÃ³n",LIVE:"EN DIRECTO",Loaded:"Cargado",Progress:"Progreso",Fullscreen:"Pantalla completa","Non-Fullscreen":"Sen pantalla completa",Mute:"Silenciar",Unmuted:"Activado son","Playback Rate":"Velocidade de reproduciÃ³n",Subtitles:"SubtÃ­tulos","Subtitles Off":"Sen subtÃ­tulos",Captions:"Lendas","Captions Off":"Sen lendas",Chapters:"CapÃ­tulos",Off:"Desactivado",Quality:"Calidade",Auto:"AutomÃ¡tico","Audio Tracks":"Pista de audio","default":"predefinido","Cast To Device":"Converter en dispositivo",Share:"Compartir",Volume:"Volume","Playback Speed":"Velocidade de reproduciÃ³n","Video Quality":"Calidade de vÃ­deo","Closed Captioning":"SubtÃ­tulos","Share Video":"Compartir vÃ­deo","Next Track":"Pista seguinte","Previous Track":"Pista anterior","Skip Forward":"Saltar adiante","Skip Backward":"Saltar atrÃ¡s","Fast Forward":"Avanzar rapidamente",Rewind:"Rebobinar","Next Frame":"Fotograma seguinte","Previous Frame":"Fotograma anterior",Settings:"ConfiguraciÃ³n",Options:"OpciÃ³ns","More Options":"MÃ¡is opciÃ³ns",Zoom:"Zoom","Zoom In":"Ampliar","Zoom Out":"Reducir","Audio Only":"SÃ³ audio","Picture in Picture":"Imaxe en imaxe","Camera Angle":"Angular da cÃ¡mara",MEDIA_ERR_ABORTED:"MEDIA_ERR_ABORTED",MEDIA_ERR_NETWORK:"MEDIA_ERR_NETWORK",MEDIA_ERR_DECODE:"MEDIA_ERR_DECODE",MEDIA_ERR_SRC_NOT_SUPPORTED:"MEDIA_ERR_SRC_NOT_SUPPORTED",MEDIA_ERR_ENCRYPTED:"MEDIA_ERR_ENCRYPTED",SRC_PLAYER_MISMATCH:"SRC_PLAYER_MISMATCH",MEDIA_ERR_UNKNOWN:"MEDIA_ERR_UNKNOWN",SKIP_AD_COUNTDOWN_FORMAT:"Ignorar anuncio en {0}...",SKIP:"Ignorar",AD_TIMING_INFO:"Anuncio {0} segundos"};t["default"].prototype.options_.languages["gl-es"]=t["default"].prototype.options_.languages.gl},{"../video.js/src/js/player.js":210}],114:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.he={Play:"×”×¤×¢×œ",Pause:"×”×©×”×”","Current Time":"×–×ž×Ÿ × ×•×›×—×™","Duration Time":"×ž×©×š ×–×ž×Ÿ","Remaining Time":"×–×ž×Ÿ × ×•×ª×¨","Stream Type":"×¡×•×’ ×–×¨×",LIVE:"×—×™",Loaded:"× ×˜×¢×Ÿ",Progress:"×”×ª×§×“×ž×•×ª",Fullscreen:"×ž×¡×š ×ž×œ×","Non-Fullscreen":"×œ× ×‘×ž×¡×š ×ž×œ×",Mute:"×”×©×ª×§",Unmuted:"×”×”×©×ª×§×” ×‘×•×˜×œ×”","Playback Rate":"×§×¦×‘ ×”×¤×¢×œ×”",Subtitles:"×›×ª×•×‘×™×•×ª","Subtitles Off":"×›×ª×•×‘×™×•×ª ×ž×‘×•×˜×œ×•×ª",Captions:"×›×™×ª×•×‘×™×","Captions Off":"×›×™×ª×•×‘×™× ×ž×‘×•×˜×œ×™×",Chapters:"×¤×¨×§×™×",Off:"×ž×‘×•×˜×œ",Quality:"××™×›×•×ª",Auto:"××•×˜×•×ž×˜×™","Audio Tracks":"×¨×¦×•×¢×•×ª ×©×ž×¢","default":"×‘×¨×™×¨×ª ×ž×—×“×œ","Cast To Device":"×©×“×¨ ×œ×”×ª×§×Ÿ",Share:"×©×ª×£",Volume:"×¢×•×¦×ž×ª ×§×•×œ","Playback Speed":"×ž×”×™×¨×•×ª ×”×¤×¢×œ×”","Video Quality":"××™×›×•×ª ×•×™×“××•","Closed Captioning":"×›×ª×•×‘×™×•×ª ×ž×§×•×“×“×•×ª ×œ×›×‘×“×™ ×©×ž×™×¢×”","Share Video":"×©×ª×£ ×•×™×“××•","Next Track":"×”×¨×¦×•×¢×” ×”×‘××”","Previous Track":"×”×¨×¦×•×¢×” ×”×§×•×“×ž×ª","Skip Forward":"×“×œ×’ ×§×“×™×ž×”","Skip Backward":"×“×œ×’ ××—×•×¨×”","Fast Forward":"×”×¨×¥ ×§×“×™×ž×”",Rewind:"×”×¨×¥ ××—×•×¨×”","Next Frame":"×”×ª×ž×•× ×” ×”×‘××”","Previous Frame":"×”×ª×ž×•× ×” ×”×§×•×“×ž×ª",Settings:"×”×’×“×¨×•×ª",Options:"××¤×©×¨×•×™×•×ª","More Options":"××¤×©×¨×•×™×•×ª × ×•×¡×¤×•×ª",Zoom:"×©× ×” ×’×•×“×œ ×ª×¦×•×’×”","Zoom In":"×”×’×“×œ ×ª×¦×•×’×”","Zoom Out":"×”×§×˜×Ÿ ×ª×¦×•×’×”","Audio Only":"×©×ž×¢ ×‘×œ×‘×“","Picture in Picture":"×ª×ž×•× ×” ×‘×ª×•×š ×ª×ž×•× ×”","Camera Angle":"×–×•×•×™×ª ×ž×¦×œ×ž×”",MEDIA_ERR_ABORTED:"×”×¤×¢×œ×ª ×”×•×•×™×“××• ×‘×•×˜×œ×”",MEDIA_ERR_NETWORK:"×©×’×™××” ×‘×¨×©×ª ×’×¨×ž×” ×œ×”×•×¨×“×ª ×”×•×•×™×“××• ×œ×”×™×›×©×œ ×‘×¢×ª ×”×ª×”×œ×™×š. ×‘×“×•×§ ××ª ×—×™×‘×•×¨ ×”×¨×©×ª ××• × ×¡×” ×©×•×‘ ×ž××•×—×¨ ×™×•×ª×¨.",MEDIA_ERR_DECODE:"×œ× ×”×™×ª×” ××¤×©×¨×•×ª ×œ×˜×¢×•×Ÿ ××ª ×”×•×•×™×“××• ×¢×§×‘ ×›×©×œ ×‘×©×¨×ª ××• ×‘×¨×©×ª ××• ×ž×©×•× ×©×”×ª×‘× ×™×ª ××™× ×” × ×ª×ž×›×ª.",MEDIA_ERR_SRC_NOT_SUPPORTED:"×”×¤×¢×œ×ª ×”×•×•×™×“××• ×‘×•×˜×œ×” ×¢×§×‘ ×‘×¢×™×™×ª ×”×©×—×ª×” ××• ×ž×©×•× ×©×”×•×•×™×“××• ×”×©×ª×ž×© ×‘×ª×›×•× ×•×ª ×©×‘×”×Ÿ ×”×“×¤×“×¤×Ÿ ×©×œ×š ××™× ×• ×ª×•×ž×š.",MEDIA_ERR_ENCRYPTED:"×œ× × ×™×ª×Ÿ ×œ×¤×¢× ×— ××ª ×ž×§×•×¨ ×”×•×•×™×“××• ×”×ž×•×¦×¤×Ÿ.",SRC_PLAYER_MISMATCH:"×œ× × ×ž×¦× ×ž×§×•×¨ ×ª×•×× ×¢×‘×•×¨ ×¡×‘×™×‘×ª ×”×“×¤×“×¤×Ÿ ×”× ×•×›×—×™×ª.",MEDIA_ERR_UNKNOWN:"××™×¨×¢×” ×©×’×™××” ×œ× ×™×“×•×¢×”",SKIP_AD_COUNTDOWN_FORMAT:"×“×œ×’ ×¢×œ ×ž×•×“×¢×” ×‘×¢×•×“ {0}...",SKIP:"×“×œ×’",AD_TIMING_INFO:"×ž×•×“×¢×” {0} ×©× ×™×•×ª","Media Player":"Media Player","Play Video":"×”×¤×¢×œ ××ª ×”×¡×¨×˜×•×Ÿ",Foreground:"×§×™×“×ž×”",White:"×œ×‘×Ÿ",Black:"×©×—×•×¨",Red:"××“×•×",Green:"×™×¨×•×§",Blue:"×›×—×•×œ",Yellow:"×¦×”×•×‘",Magenta:"×ž×’× ×˜×”",Cyan:"×ª×›×œ×ª",Opaque:"××˜×•×","Semi-Opaque":"××˜×•× ×œ×ž×—×¦×”",Transparent:"×©×§×•×£",Window:"×—×œ×•×Ÿ","Font Size":"×’×•×“×œ ×’×•×¤×Ÿ","Text Edge Style":"×¡×’× ×•×Ÿ ×§×¦×” ×˜×§×¡×˜",None:"×œ×œ×",Raised:"×ž×•×’×‘×”",Depressed:"×©×§×•×¢",Uniform:"××—×™×“",Dropshadow:"×¦×œ ×ž×•×˜×œ","Font Family":"×ž×©×¤×—×ª ×’×•×¤× ×™×","Monospace Serif":"Serif ×‘×¨×•×—×‘ ×§×‘×•×¢","Proportional Serif":"â€â€Serif ×¤×¨×•×¤×•×¨×¦×™×•× ×œ×™","Monospace Sans-Serif":"Sans Serif ×‘×¨×•×—×‘ ×§×‘×•×¢","Proportional Sans-Serif":"Sans Serif ×¤×¨×•×¤×•×¨×¦×™×•× ×œ×™",Casual:"× ×™× ×•×—",Script:"×›×ª×‘","Small Caps":"×¨×™×©×™×•×ª ×ž×•×§×˜× ×•×ª",Defaults:"×‘×¨×™×¨×•×ª ×ž×—×“×œ",Done:"×‘×•×¦×¢",Link:"×§×™×©×•×¨",Embed:"×”×˜×‘×¢",Close:"×¡×’×•×¨",Copy:"×”×¢×ª×§","Copy Url":"×”×¢×ª×§ ×›×ª×•×‘×ª URL","Embed Code":"×§×•×“ ×ž×•×˜×‘×¢",English:"×× ×’×œ×™×ª","volume level":"×¨×ž×ª ×¢×•×¦×ž×”","video progress bar":"×ž×“ ×”×ª×§×“×ž×•×ª ×•×™×“××•","playback speed level":"×¨×ž×ª ×ž×”×™×¨×•×ª ×”×¤×¢×œ×”","Dolby Digital":"Dolby Digital",Stereo:"×¡×˜×¨×™××•","Captions Menu":"×ª×¤×¨×™×˜ ×›×™×ª×•×‘×™×","Subtitles Menu":"×ª×¤×¨×™×˜ ×›×ª×•×‘×™×•×ª","Need Text":"× ×“×¨×© ×˜×§×¡×˜"};t["default"].prototype.options_.languages["he-il"]=t["default"].prototype.options_.languages.he},{"../video.js/src/js/player.js":210}],115:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.hi={Play:"à¤šà¤²à¤¾à¤à¤",Pause:"à¤µà¤¿à¤°à¤¾à¤® à¤¦à¥‡à¤‚","Current Time":"à¤µà¤°à¥à¤¤à¤®à¤¾à¤¨ à¤¸à¤®à¤¯","Duration Time":"à¤…à¤µà¤§à¤¿ à¤¸à¤®à¤¯","Remaining Time":"à¤¶à¥‡à¤· à¤¸à¤®à¤¯","Stream Type":"à¤¸à¥à¤Ÿà¥à¤°à¥€à¤® à¤¸à¤®à¤¯",LIVE:"à¤²à¤¾à¤‡à¤µ",Loaded:"à¤²à¥‹à¤¡à¥‡à¤¡",Progress:"à¤ªà¥à¤°à¤—à¤¤à¤¿",Fullscreen:"à¤ªà¥‚à¤°à¥à¤£ à¤¸à¥à¤•à¥à¤°à¥€à¤¨","Non-Fullscreen":"à¤—à¥ˆà¤° à¤ªà¥‚à¤°à¥à¤£ à¤¸à¥à¤•à¥à¤°à¥€à¤¨",Mute:"à¤®à¥à¤¯à¥‚à¤Ÿ à¤•à¤°à¥‡à¤‚",Unmuted:"à¤…à¤¨à¤®à¥à¤¯à¥‚à¤Ÿ à¤•à¤°à¥‡à¤‚","Playback Rate":"à¤ªà¥à¤²à¥‡à¤¬à¥ˆà¤• à¤¦à¤°",Subtitles:"à¤‰à¤ªà¤¶à¥€à¤°à¥à¤·à¤•","Subtitles Off":"à¤‰à¤ªà¤¶à¥€à¤°à¥à¤·à¤• à¤¬à¤‚à¤¦",Captions:"à¤•à¥ˆà¤ªà¥à¤¶à¤¨","Captions Off":"à¤•à¥ˆà¤ªà¥à¤¶à¤¨ à¤¬à¤‚à¤¦",Chapters:"à¤šà¥‡à¤ªà¥à¤Ÿà¤°à¥à¤¸",Off:"à¤¬à¤‚à¤¦",Quality:"à¤—à¥à¤£à¤µà¤¤à¥à¤¤à¤¾",Auto:"à¤¸à¥à¤µà¤¤ ","Audio Tracks":"à¤‘à¤¡à¤¿à¤¯à¥‹ à¤Ÿà¥à¤°à¥ˆà¤•à¥à¤¸","default":"à¤¡à¤¿à¤«à¤¼à¥‰à¤²à¥à¤Ÿ","Cast To Device":"à¤¡à¤¿à¤µà¤¾à¤‡à¤¸ à¤ªà¤° à¤•à¤¾à¤¸à¥à¤Ÿ à¤•à¤°à¥‡à¤‚",Share:"à¤¸à¤¾à¤à¤¾ à¤•à¤°à¥‡à¤‚",Volume:"à¤µà¥‰à¤²à¥à¤¯à¥‚à¤®","Playback Speed":"à¤ªà¥à¤²à¥‡à¤¬à¥ˆà¤• à¤—à¤¤à¤¿","Video Quality":"à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤—à¥à¤£à¤µà¤¤à¥à¤¤à¤¾","Closed Captioning":"à¤¬à¤‚à¤¦ à¤•à¥ˆà¤ªà¥à¤¶à¤¨","Share Video":"à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤¸à¤¾à¤à¤¾ à¤•à¤°à¥‡à¤‚","Next Track":"à¤…à¤—à¤²à¤¾ à¤Ÿà¥à¤°à¥ˆà¤•","Previous Track":"à¤ªà¤¿à¤›à¤²à¤¾ à¤Ÿà¥à¤°à¥ˆà¤•","Skip Forward":"à¤¸à¥à¤•à¥€à¤ª à¤«à¤¾à¤°à¥à¤°à¤µà¤°à¥à¤¡","Skip Backward":"à¤¸à¥à¤•à¥€à¤ª à¤¬à¥ˆà¤•à¤µà¤°à¥à¤¡","Fast Forward":"à¤«à¤¾à¤¸à¥à¤Ÿ à¤«à¤¾à¤°à¥à¤°à¤µà¤°à¥à¤¡",Rewind:"à¤°à¤¿à¤µà¤¾à¤‡à¤‚à¤¡","Next Frame":"à¤…à¤—à¤²à¥€ à¤«à¥à¤°à¥‡à¤®","Previous Frame":"à¤ªà¤¿à¤›à¤²à¥€ à¤«à¥à¤°à¥‡à¤®",Settings:"à¤¸à¥‡à¤Ÿà¤¿à¤‚à¤—à¥à¤¸",Options:"à¤µà¤¿à¤•à¤²à¥à¤ª","More Options":"à¤…à¤§à¤¿à¤• à¤µà¤¿à¤•à¤²à¥à¤ª",Zoom:"à¤œà¤¼à¥‚à¤® à¤•à¤°à¥‡à¤‚","Zoom In":"à¤œà¤¼à¥‚à¤® à¤‡à¤¨ à¤•à¤°à¥‡à¤‚","Zoom Out":"à¤œà¤¼à¥‚à¤® à¤†à¤‰à¤Ÿ à¤•à¤°à¥‡à¤‚","Audio Only":"à¤•à¥‡à¤µà¤² à¤‘à¤¡à¤¿à¤¯à¥‹","Picture in Picture":"à¤šà¤¿à¤¤à¥à¤° à¤®à¥‡à¤‚ à¤šà¤¿à¤¤à¥à¤°","Camera Angle":"à¤•à¥ˆà¤®à¤°à¤¾ à¤•à¥‹à¤£",MEDIA_ERR_ABORTED:"à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤ªà¥à¤²à¥‡à¤¬à¥ˆà¤• à¤¨à¤¿à¤°à¤¸à¥à¤¤ à¤•à¤¿à¤¯à¤¾ à¤—à¤¯à¤¾",MEDIA_ERR_NETWORK:"à¤•à¤¿à¤¸à¥€ à¤¨à¥‡à¤Ÿà¤µà¤°à¥à¤• à¤¤à¥à¤°à¥à¤Ÿà¤¿ à¤•à¥‡ à¤•à¤¾à¤°à¤£ à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤ªà¥‚à¤°à¤¾ à¤¡à¤¾à¤‰à¤¨à¤²à¥‹à¤¡ à¤¹à¥‹à¤¨à¥‡ à¤¸à¥‡ à¤µà¤¿à¤«à¤² à¤°à¤¹à¤¾. à¤•à¥ƒà¤ªà¤¯à¤¾ à¤…à¤ªà¤¨à¤¾ à¤¨à¥‡à¤Ÿà¤µà¤°à¥à¤• à¤•à¤¨à¥‡à¤•à¥à¤¶à¤¨ à¤œà¤¾à¤‚à¤šà¥‡à¤‚ à¤¯à¤¾ à¤¬à¤¾à¤¦ à¤®à¥‡à¤‚ à¤«à¤¿à¤° à¤¸à¥‡ à¤ªà¥à¤°à¤¯à¤¾à¤¸ à¤•à¤°à¥‡à¤‚.",MEDIA_ERR_DECODE:"à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤²à¥‹à¤¡ à¤¨à¤¹à¥€à¤‚ à¤¹à¥‹ à¤¸à¤•à¤¤à¤¾, à¤•à¥à¤¯à¥‹à¤‚à¤•à¤¿ à¤¯à¤¾ à¤¤à¥‹ à¤¸à¤°à¥à¤µà¤° à¤¯à¤¾ à¤¨à¥‡à¤Ÿà¤µà¤°à¥à¤• à¤µà¤¿à¤«à¤² à¤°à¤¹à¤¾ à¤¯à¤¾ à¤¸à¥à¤µà¤°à¥‚à¤ª à¤¸à¤®à¤°à¥à¤¥à¤¿à¤¤ à¤¨à¤¹à¥€à¤‚ à¤¹à¥ˆ.",MEDIA_ERR_SRC_NOT_SUPPORTED:"à¤•à¤¿à¤¸à¥€ à¤¦à¥‚à¤·à¤¿à¤¤ à¤¸à¤®à¤¸à¥à¤¯à¤¾ à¤•à¥‡ à¤•à¤¾à¤°à¤£ à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤ªà¥à¤²à¥‡à¤¬à¥ˆà¤• à¤¨à¤¿à¤°à¤¸à¥à¤¤ à¤•à¤¿à¤¯à¤¾ à¤—à¤¯à¤¾ à¤¯à¤¾ à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤à¤¸à¥€ à¤¸à¥à¤µà¤¿à¤§à¤¾ à¤•à¤¾ à¤‰à¤ªà¤¯à¥‹à¤— à¤•à¤°à¤¤à¤¾ à¤¹à¥ˆ à¤œà¤¿à¤¸à¥‡ à¤†à¤ªà¤•à¤¾ à¤¬à¥à¤°à¤¾à¤‰à¤œà¤¼à¤° à¤¸à¤®à¤°à¥à¤¥à¤¨ à¤¨à¤¹à¥€à¤‚ à¤•à¤°à¤¤à¤¾ à¤¹à¥ˆ.",MEDIA_ERR_ENCRYPTED:"à¤à¤¨à¥à¤•à¥à¤°à¤¿à¤ªà¥à¤Ÿ à¤•à¤¿à¤ à¤—à¤ à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤¸à¥à¤°à¥‹à¤¤ à¤•à¥‹ à¤¡à¤¿à¤•à¥à¤°à¤¿à¤ªà¥à¤Ÿ à¤•à¤°à¤¨à¥‡ à¤®à¥‡à¤‚ à¤…à¤¸à¤®à¤°à¥à¤¥.",SRC_PLAYER_MISMATCH:"à¤µà¤°à¥à¤¤à¤®à¤¾à¤¨ à¤¬à¥à¤°à¤¾à¤‰à¤œà¤¼à¤° à¤µà¤¾à¤¤à¤¾à¤µà¤°à¤£ à¤•à¥‡ à¤²à¤¿à¤ à¤•à¥‹à¤ˆ à¤­à¥€ à¤¸à¤‚à¤—à¤¤ à¤¸à¥à¤°à¥‹à¤¤ à¤¨à¤¹à¥€à¤‚ à¤®à¤¿à¤²à¤¾.",MEDIA_ERR_UNKNOWN:"à¤à¤• à¤…à¤œà¥à¤žà¤¾à¤¤ à¤¤à¥à¤°à¥à¤Ÿà¤¿ à¤†à¤ˆ",SKIP_AD_COUNTDOWN_FORMAT:"à¤µà¤¿à¤œà¥à¤žà¤¾à¤ªà¤¨ {0} à¤®à¥‡à¤‚ à¤›à¥‹à¤¡à¤¼à¥‡à¤‚...",SKIP:"à¤›à¥‹à¤¡à¤¼à¥‡à¤‚",AD_TIMING_INFO:"à¤µà¤¿à¤œà¥à¤žà¤¾à¤ªà¤¨ {0} à¤¸à¥‡à¤•à¤‚à¤¡","Media Player":"à¤®à¥€à¤¡à¤¿à¤¯à¤¾ à¤ªà¥à¤²à¥‡à¤¯à¤°","Play Video":"à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤šà¤²à¤¾à¤à¤",Foreground:"à¤…à¤—à¥à¤°à¤­à¥‚à¤®à¤¿",White:"à¤¸à¤«à¤¼à¥‡à¤¦",Black:"à¤¶à¥à¤µà¥‡à¤¤",Red:"à¤²à¤¾à¤²",Green:"à¤¹à¤°à¤¾",Blue:"à¤¨à¥€à¤²à¤¾",Yellow:"à¤ªà¥€à¤²à¤¾",Magenta:"à¤—à¤¹à¤°à¤¾ à¤—à¥à¤²à¤¾à¤¬à¥€",Cyan:"à¤¹à¤°à¤¿à¤¤à¤¾à¤­ à¤¨à¥€à¤²à¤¾",Opaque:"à¤…à¤ªà¤¾à¤°à¤¦à¤°à¥à¤¶à¥€","Semi-Opaque":"à¤…à¤°à¥à¤¦à¥à¤§-à¤…à¤ªà¤¾à¤°à¤¦à¤°à¥à¤¶à¥€",Transparent:"à¤ªà¤¾à¤°à¤¦à¤°à¥à¤¶à¥€",Window:"à¤µà¤¿à¤‚à¤¡à¥‹","Font Size":"à¤«à¤¼à¥‰à¤¨à¥à¤Ÿ à¤•à¤¾ à¤†à¤•à¤¾à¤°","Text Edge Style":"à¤ªà¤¾à¤  à¤•à¥‡ à¤•à¤¿à¤¨à¤¾à¤°à¥‡ à¤•à¥€ à¤¶à¥ˆà¤²à¥€",None:"à¤•à¥à¤› à¤¨à¤¹à¥€à¤‚",Raised:"à¤‰à¤­à¤°à¤¾ à¤¹à¥à¤†",Depressed:"à¤¦à¤¬à¤¾à¤¯à¤¾ à¤—à¤¯à¤¾",Uniform:"à¤à¤• à¤¸à¤®à¤¾à¤¨",Dropshadow:"à¤¡à¥à¤°à¥‰à¤ªà¤¶à¥ˆà¤¡à¥‹","Font Family":"à¤«à¤¼à¥‰à¤¨à¥à¤Ÿ à¤ªà¤°à¤¿à¤µà¤¾à¤°","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"à¤…à¤¨à¥Œà¤ªà¤šà¤¾à¤°à¤¿à¤•",Script:"à¤¸à¥à¤•à¥à¤°à¤¿à¤ªà¥à¤Ÿ","Small Caps":"à¤¸à¥à¤®à¥‰à¤² à¤•à¥ˆà¤ªà¥à¤¸",Defaults:"à¤¡à¤¿à¤«à¤¼à¥‰à¤²à¥à¤Ÿ",Done:"à¤ªà¥‚à¤°à¥à¤£",Link:"à¤²à¤¿à¤‚à¤•",Embed:"à¤à¤®à¥à¤¬à¥‡à¤¡ à¤•à¤°à¥‡à¤‚",Close:"à¤¬à¤‚à¤¦ à¤•à¤°à¥‡à¤‚",Copy:"à¤ªà¥à¤°à¤¤à¤¿à¤²à¤¿à¤ªà¤¿ à¤¬à¤¨à¤¾à¤à¤","Copy Url":"Url à¤•à¥€ à¤ªà¥à¤°à¤¤à¤¿à¤²à¤¿à¤ªà¤¿ à¤¬à¤¨à¤¾à¤à¤","Embed Code":"à¤à¤®à¥à¤¬à¥‡à¤¡ à¤•à¥‹à¤¡",English:"à¤…à¤‚à¤—à¥à¤°à¥‡à¤œà¤¼à¥€","volume level":"à¤µà¥‰à¤²à¥à¤¯à¥‚à¤® à¤•à¤¾ à¤¸à¥à¤¤à¤°","video progress bar":"à¤µà¥€à¤¡à¤¿à¤¯à¥‹ à¤ªà¥à¤°à¤—à¤¤à¤¿ à¤ªà¤Ÿà¥à¤Ÿà¥€","playback speed level":"à¤ªà¥à¤²à¥‡à¤¬à¥ˆà¤• à¤—à¤¤à¤¿ à¤¸à¥à¤¤à¤°","Dolby Digital":"à¤¡à¥‰à¤²à¥à¤¬à¥€ à¤¡à¤¿à¤œà¤¿à¤Ÿà¤²",Stereo:"à¤¸à¥à¤Ÿà¥€à¤°à¤¿à¤¯à¥‹","Captions Menu":"à¤•à¥ˆà¤ªà¥à¤¶à¤¨ à¤®à¥‡à¤¨à¥‚","Subtitles Menu":"à¤‰à¤ªà¤¶à¥€à¤°à¥à¤·à¤• à¤®à¥‡à¤¨à¥‚","Need Text":"à¤ªà¤¾à¤  à¤•à¥€ à¤†à¤µà¤¶à¥à¤¯à¤•à¤¤à¤¾ à¤¹à¥ˆ"};t["default"].prototype.options_.languages["hi-in"]=t["default"].prototype.options_.languages.hi},{"../video.js/src/js/player.js":210}],116:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.hr={Play:"Reproduciraj",Pause:"Pauziraj","Current Time":"Trenutno vrijeme","Duration Time":"Trajanje","Remaining Time":"Preostalo vrijeme","Stream Type":"Vrsta strujanja",LIVE:"UÅ½IVO",Loaded:"UÄitano",Progress:"Tijek",Fullscreen:"Preko cijelog zaslona","Non-Fullscreen":"Nije preko cijelog zaslona",Mute:"IskljuÄi zvuk",Unmuted:"Zvuk ukljuÄen","Playback Rate":"Brzina reprodukcije",Subtitles:"Titlovi","Subtitles Off":"titlovi iskljuÄeni",Captions:"Titlovi","Captions Off":"titlovi iskljuÄeni",Chapters:"Poglavlja",Off:"IskljuÄeno",Quality:"Kvaliteta",Auto:"Automatski","Audio Tracks":"Audiozapisi","default":"zadano","Cast To Device":"PoÅ¡alji na ureÄ‘aj",Share:"ZajedniÄki koristi",Volume:"GlasnoÄ‡a","Playback Speed":"Brzina reprodukcije","Video Quality":"Kvaliteta videozapisa","Closed Captioning":"Titlanje","Share Video":"ZajedniÄki koristi videozapis","Next Track":"SljedeÄ‡i zapis","Previous Track":"Prethodni zapis","Skip Forward":"Skok unaprijed","Skip Backward":"Skok unatrag","Fast Forward":"Brzo naprijed",Rewind:"Premotaj","Next Frame":"SljedeÄ‡a slika","Previous Frame":"Prethodna slika",Settings:"Postavke",Options:"MoguÄ‡nosti","More Options":"Dodatne moguÄ‡nosti",Zoom:"Zumiranje","Zoom In":"PoveÄ‡avanje","Zoom Out":"Smanjivanje","Audio Only":"Samo zvuk","Picture in Picture":"Slika u slici","Camera Angle":"Kut kamere",MEDIA_ERR_ABORTED:"Prekinuta je reprodukcija videozapisa.",MEDIA_ERR_NETWORK:"MreÅ¾na pogreÅ¡ka uzrokovala je prekid preuzimanja videozapisa. Provjerite mreÅ¾nu vezu i pokuÅ¡ajte ponovno.",MEDIA_ERR_DECODE:"Videozapis nije moguÄ‡e uÄitati zbog kvara posluÅ¾itelja ili mreÅ¾e ili jer oblik nije podrÅ¾an.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Reprodukcija videozapisa prekinuta je zbog oÅ¡teÄ‡enja ili jer videozapis sadrÅ¾i znaÄajke koje preglednik ne podrÅ¾ava.",MEDIA_ERR_ENCRYPTED:"Nije moguÄ‡e deÅ¡ifriranje Å¡ifriranog videoizvora.",SRC_PLAYER_MISMATCH:"Nije pronaÄ‘en kompatibilan izvor za trenutno okruÅ¾enje preglednika.",MEDIA_ERR_UNKNOWN:"Pojavila se nepoznata pogreÅ¡ka.",SKIP_AD_COUNTDOWN_FORMAT:"PreskoÄi oglas za {0}...",SKIP:"PreskoÄi",AD_TIMING_INFO:"Oglas {0} s","Media Player":"Media Player","Play Video":"Reproduciraj videozapis",Foreground:"Prednji plan",White:"Bijela",Black:"Crna",Red:"Crvena",Green:"Zelena",Blue:"Plava",Yellow:"Å½uta",Magenta:"Magenta",Cyan:"Cijan",Opaque:"Neprozirno","Semi-Opaque":"Djelomice neprozirno",Transparent:"Prozirno",Window:"Prozor","Font Size":"VeliÄina fonta","Text Edge Style":"Stil ruba teksta",None:"Nema",Raised:"Podignuto",Depressed:"Utisnuto",Uniform:"Jednoobrazno",Dropshadow:"PadajuÄ‡a sjena","Font Family":"Grupa fontova","Monospace Serif":"Neproporcionalni serif","Proportional Serif":"Proporcionalni serif","Monospace Sans-Serif":"Neproporcionalni sans-serif","Proportional Sans-Serif":"Proporcionalni sans-serif",Casual:"Neformalno",Script:"Skripta","Small Caps":"Smanjena velika slova",Defaults:"Zadane postavke",Done:"Gotovo",Link:"Veza",Embed:"Ugradi",Close:"Zatvori",Copy:"Kopiraj","Copy Url":"Kopiraj URL","Embed Code":"Ugradi kod",English:"Engleski","volume level":"razina glasnoÄ‡e","video progress bar":"traka prikaza tijeka videozapisa","playback speed level":"brzina reprodukcije","Dolby Digital":"Dolby Digital",Stereo:"Stereozvuk","Captions Menu":"Izbornik s natpisima","Subtitles Menu":"Izbornik s titlovima","Need Text":"Potreban tekst"}},{"../video.js/src/js/player.js":210}],117:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.hu={Play:"LejÃ¡tszÃ¡s",Pause:"SzÃ¼neteltetÃ©s","Current Time":"AktuÃ¡lis idÅ‘","Duration Time":"IdÅ‘tartam","Remaining Time":"HÃ¡tralÃ©vÅ‘ idÅ‘","Stream Type":"Online tartalom tÃ­pusa",LIVE:"Ã‰LÅ",Loaded:"BetÃ¶ltve",Progress:"Ãllapot",Fullscreen:"Teljes kÃ©pernyÅ‘","Non-Fullscreen":"Nem teljes kÃ©pernyÅ‘s mÃ³d",Mute:"ElnÃ©mÃ­tÃ¡s",Unmuted:"ElnÃ©mÃ­tÃ¡s kikapcsolva","Playback Rate":"LejÃ¡tszÃ¡si sebessÃ©g",Subtitles:"Feliratok","Subtitles Off":"feliratok kikapcsolva",Captions:"Feliratok","Captions Off":"feliratozÃ¡s kikapcsolva",Chapters:"Fejezetek",Off:"Kikapcsolva",Quality:"MinÅ‘sÃ©g",Auto:"Automatikus","Audio Tracks":"ZeneszÃ¡mok","default":"alapÃ©rtelmezett","Cast To Device":"Ãtvitel eszkÃ¶zre",Share:"MegosztÃ¡s",Volume:"HangerÅ‘","Playback Speed":"LejÃ¡tszÃ¡s sebessÃ©ge","Video Quality":"VideÃ³minÅ‘sÃ©g","Closed Captioning":"FeliratozÃ¡s","Share Video":"VideÃ³ megosztÃ¡sa","Next Track":"KÃ¶vetkezÅ‘ szÃ¡m","Previous Track":"ElÅ‘zÅ‘ szÃ¡m","Skip Forward":"UgrÃ¡s elÅ‘re","Skip Backward":"UgrÃ¡s vissza","Fast Forward":"ElÅ‘retekerÃ©s",Rewind:"VisszatekerÃ©s","Next Frame":"KÃ¶vetkezÅ‘ kÃ©pkocka","Previous Frame":"ElÅ‘zÅ‘ kÃ©pkocka",Settings:"BeÃ¡llÃ­tÃ¡sok",Options:"BeÃ¡llÃ­tÃ¡sok","More Options":"TovÃ¡bbi lehetÅ‘sÃ©gek",Zoom:"NagyÃ­tÃ¡s","Zoom In":"NagyÃ­tÃ¡s","Zoom Out":"KicsinyÃ­tÃ©s","Audio Only":"Csak hang","Picture in Picture":"KÃ©p a kÃ©pben","Camera Angle":"Kamera lÃ¡tÃ³szÃ¶ge",MEDIA_ERR_ABORTED:"VideolejÃ¡tszÃ¡s megszakÃ­tva.",MEDIA_ERR_NETWORK:"A videÃ³ letÃ¶ltÃ©se hÃ¡lÃ³zati hiba miatt megszakadt. EllenÅ‘rizze a hÃ¡lÃ³zati kapcsolatot, vagy prÃ³bÃ¡lkozzon Ãºjra kÃ©sÅ‘bb.",MEDIA_ERR_DECODE:"Nem sikerÃ¼lt betÃ¶lteni a videÃ³t a kiszolgÃ¡lÃ³ vagy a hÃ¡lÃ³zat hibÃ¡ja miatt, vagy mert a formÃ¡tum nem tÃ¡mogatott.",MEDIA_ERR_SRC_NOT_SUPPORTED:"A videÃ³ lejÃ¡tszÃ¡sa megszakadt adatsÃ©rÃ¼lÃ©s miatt, vagy mert a videÃ³ olyan funkciÃ³kat hasznÃ¡l, amelyeket a bÃ¶ngÃ©szÅ‘ nem tÃ¡mogat.",MEDIA_ERR_ENCRYPTED:"Nem lehet visszafejteni a titkosÃ­tott videoforrÃ¡st.",SRC_PLAYER_MISMATCH:"Nem talÃ¡lhatÃ³ a jelenlegi bÃ¶ngÃ©szÅ‘kÃ¶rnyezettel kompatibilis forrÃ¡s.",MEDIA_ERR_UNKNOWN:"Ismeretlen hiba tÃ¶rtÃ©nt.",SKIP_AD_COUNTDOWN_FORMAT:"ReklÃ¡m Ã¡tugrÃ¡sa: {0}â€¦",SKIP:"ÃtugrÃ¡s",AD_TIMING_INFO:"ReklÃ¡m â€“ {0} mÃ¡sodperc","Media Player":"Media Player","Play Video":"Play Video",Foreground:"ElÅ‘tÃ©r",White:"HÃ©tfÅ‘",Black:"Fekete",Red:"VÃ¶rÃ¶s",Green:"ZÃ¶ld",Blue:"KÃ©k",Yellow:"SÃ¡rga",Magenta:"BÃ­bor",Cyan:"CiÃ¡nkÃ©k",Opaque:"ÃtlÃ¡tszatlan","Semi-Opaque":"FÃ©lig Ã¡tlÃ¡tszÃ³",Transparent:"ÃtlÃ¡tszÃ³",Window:"Ablak","Font Size":"BetÅ±mÃ©ret","Text Edge Style":"SzÃ¶vegszÃ©l stÃ­lusa",None:"Nincs",Raised:"DomborÃº",Depressed:"SÃ¼llyesztett",Uniform:"EgysÃ©ges",Dropshadow:"ÃrnyÃ©kolt","Font Family":"BetÅ±kÃ©szlet","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Alkalmi",Script:"ParancsfÃ¡jl","Small Caps":"KiskapitÃ¡lis",Defaults:"AlapÃ©rtelmezett",Done:"KÃ©sz",Link:"HivatkozÃ¡s",Embed:"BeÃ¡gyazÃ¡s",Close:"BezÃ¡rÃ¡s",Copy:"MÃ¡solÃ¡s","Copy Url":"URL-cÃ­m mÃ¡solÃ¡sa","Embed Code":"BeÃ¡gyazÃ¡si kÃ³d",English:"Angol","volume level":"hangerÅ‘","video progress bar":"videÃ³ folyamatjelzÅ‘","playback speed level":"lejÃ¡tszÃ¡s sebessÃ©ge","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"KÃ©palÃ¡Ã­rÃ¡sok menÃ¼","Subtitles Menu":"Feliratok menÃ¼","Need Text":"SzÃ¶veg szÃ¼ksÃ©ges"}},{"../video.js/src/js/player.js":210}],118:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.id={Play:"Putar",Pause:"Jeda","Current Time":"Waktu Saat Ini","Duration Time":"Waktu Durasi","Remaining Time":"Waktu Tersisa","Stream Type":"Tipe Stream",LIVE:"LANGSUNG",Loaded:"Dimuat",Progress:"Progres",Fullscreen:"Layar Penuh","Non-Fullscreen":"Bukan Layar Penuh",Mute:"Aktifkan Suara",Unmuted:"Nonaktifkan Suara","Playback Rate":"Laju Pemutaran",Subtitles:"Subjudul","Subtitles Off":"subjudul mati",Captions:"Keterangan","Captions Off":"keterangan mati",Chapters:"Bab",Off:"Mati",Quality:"Kualitas ",Auto:"Otomatis","Audio Tracks":"Trek Audio","default":"default","Cast To Device":"Putar Ke Perangkat",Share:"Bagikan",Volume:"Volume","Playback Speed":"Kecepatan Pemutaran","Video Quality":"Kualitas Video","Closed Captioning":"Judul Tertutup","Share Video":"Bagikan Video","Next Track":"Trek Berikutnya","Previous Track":"Trek Sebelumnya","Skip Forward":"Lewati Maju","Skip Backward":"Lewati Mundur","Fast Forward":"Maju Cepat",Rewind:"Mundur","Next Frame":"Bingkai Berikutnya","Previous Frame":"Bingkai Sebelumnya",Settings:"Pengaturan",Options:"Opsi","More Options":"Opsi Lainnya",Zoom:"Zoom","Zoom In":"Perbersar","Zoom Out":"Perkecil","Audio Only":"Hanya Audio","Picture in Picture":"Gambar dalam Gambar","Camera Angle":"Sudut Kamera",MEDIA_ERR_ABORTED:"Pemutaran video dibatalkan.",MEDIA_ERR_NETWORK:"Kesalahan jaringan menyebabkan unduhan video gagal sebagian. Periksa koneksi jaringan Anda atau coba lagi nanti.",MEDIA_ERR_DECODE:"Video tidak dapat dimuat, karena server atau jaringan gagal, atau karena format tidak didukung.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Pemutaran video dibatalkan karena masalah kerusakan atau video menggunakan fitur yang tidak didukung browser Anda.",MEDIA_ERR_ENCRYPTED:"Tidak dapat mendekripsi sumber video yang dienkripsi.",SRC_PLAYER_MISMATCH:"Sumber yang kompatibel tidak ditemukan untuk lingkungan browser saat ini.",MEDIA_ERR_UNKNOWN:"Terjadi kesalahan tidak diketahui",SKIP_AD_COUNTDOWN_FORMAT:"Lewati iklan dalam {0}â€¦",SKIP:"Lewati",AD_TIMING_INFO:"Iklan {0} detik","Media Player":"Pemutar Media","Play Video":"Putar Video",Foreground:"Latar depan",White:"Putih",Black:"Hitam",Red:"Merah",Green:"Hijau",Blue:"Biru",Yellow:"Kuning",Magenta:"Magenta",Cyan:"Sian",Opaque:"Buram","Semi-Opaque":"Semiburam",Transparent:"Transparan",Window:"Jendela","Font Size":"Ukuran Font","Text Edge Style":"Gaya Teks Edge",None:"Tidak Ada",Raised:"Dinaikkan",Depressed:"Diturunkan",Uniform:"Seragam",Dropshadow:"Bayangan Jatuh","Font Family":"Keluarga Font","Monospace Serif":"Serif Monospace","Proportional Serif":"Serif Proporsional","Monospace Sans-Serif":"Sans Serif Monospace","Proportional Sans-Serif":"Sans Serif Proporsional",Casual:"Kasual",Script:"Skrip","Small Caps":"Huruf Kecil",Defaults:"Default",Done:"Selesai",Link:"Tautan",Embed:"Sematkan",Close:"Tutup",Copy:"Salin","Copy Url":"Salin Url","Embed Code":"Kode Semat",English:"Bahasa Inggris","volume level":"tingkat volume","video progress bar":"bilah progres video","playback speed level":"tingkat kecepatan pemutaran","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Menu Keterangan","Subtitles Menu":"Menu Subjudul","Need Text":"Memerlukan Teks"}},{"../video.js/src/js/player.js":210}],119:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.is={Play:"Spila",Pause:"BiÃ°","Current Time":"NÃºverandi tÃ­mi","Duration Time":"TÃ­malengd","Remaining Time":"TÃ­mi eftir","Stream Type":"GerÃ° straums",LIVE:"Ã beinni",Loaded:"HlaÃ°iÃ°",Progress:"Framvinda",Fullscreen:"Heill skjÃ¡r","Non-Fullscreen":"Ekki heill skjÃ¡r",Mute:"ÃžÃ¶gult",Unmuted:"MeÃ° hljÃ³Ã°i","Playback Rate":"SpilunarhraÃ°i",Subtitles:"SkjÃ¡textar","Subtitles Off":"SlÃ¶kkt Ã¡ skjÃ¡texta",Captions:"Myndatextar","Captions Off":"SlÃ¶kkt Ã¡ myndatexta",Chapters:"Kaflar",Off:"Af",Quality:"GÃ¦Ã°i",Auto:"SjÃ¡lfvirkt","Audio Tracks":"HljÃ³Ã°spor","default":"sjÃ¡lfvaliÃ°","Cast To Device":"Varpa Ã­ tÃ¦ki",Share:"Deila",Volume:"HljÃ³Ã°styrkur","Playback Speed":"AfspilunarhraÃ°i","Video Quality":"VÃ­deÃ³gÃ¦Ã°i","Closed Captioning":"LokaÃ°ir myndatextar","Share Video":"Deila vÃ­deÃ³i","Next Track":"NÃ¦sta spor","Previous Track":"Fyrra spor","Skip Forward":"Hoppa fram Ã¡ viÃ°","Skip Backward":"Hoppa afturÃ¡bak","Fast Forward":"Hratt Ã¡fram",Rewind:"SpÃ³la til baka","Next Frame":"NÃ¦sti rammi","Previous Frame":"Fyrri rammi",Settings:"Stillingar",Options:"Valkostir","More Options":"Fleiri valkostir",Zoom:"SÃºma","Zoom In":"SÃºma inn","Zoom Out":"SÃºma Ãºt","Audio Only":"AÃ°eins hljÃ³Ã°","Picture in Picture":"Mynd Ã­ mynd","Camera Angle":"Kameruvinkill",MEDIA_ERR_ABORTED:"HÃ¦tt viÃ° afspilun vÃ­deÃ³s",MEDIA_ERR_NETWORK:"Villa Ã­ netkerfi olli Ã¾vÃ­ aÃ° niÃ°urhal vÃ­deÃ³s mistÃ³kst aÃ° hluta. Vinsamlegast athugaÃ°u nettenginguna Ã¾Ã­na eÃ°a reyndu aftur sÃ­Ã°ar.",MEDIA_ERR_DECODE:"Ekki var hÃ¦gt aÃ° hlaÃ°a vÃ­deÃ³i, annaÃ°hvort vegna Ã¾ess aÃ° Ã¾jÃ³nn eÃ°a net voru ekki Ã­ lagi eÃ°a vegna Ã¾ess aÃ° sniÃ°iÃ° er ekki studd.",MEDIA_ERR_SRC_NOT_SUPPORTED:"HÃ¦tt var viÃ° afspilun Ã¡ vÃ­deÃ³ vegna vandamÃ¡la vegna truflunar eÃ°a vegna Ã¾ess aÃ° vÃ­deÃ³ notar eiginleika sem vafrinn Ã¾inn styÃ°ur ekki.",MEDIA_ERR_ENCRYPTED:"Gat ekki afkÃ³Ã°aÃ° dulkÃ³Ã°aÃ°an uppruna vÃ­deÃ³s",SRC_PLAYER_MISMATCH:"Enginn samhÃ¦fÃ°ur uppruni fannst fyrir nÃºverandi umhverfi vafra.",MEDIA_ERR_UNKNOWN:"Ã“Ã¾ekkt villa kom upp",SKIP_AD_COUNTDOWN_FORMAT:"Sleppa auglÃ½singu eftir {0}...",SKIP:"Sleppa",AD_TIMING_INFO:"AuglÃ½sing Ã­ {0} sekÃºndur"}},{"../video.js/src/js/player.js":210}],120:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.it={Play:"Riproduci",Pause:"Pausa","Current Time":"Ora corrente","Duration Time":"Durata","Remaining Time":"Tempo residuo","Stream Type":"Tipo di flusso",LIVE:"LIVE",Loaded:"Caricato",Progress:"Stato",Fullscreen:"Schermo intero","Non-Fullscreen":"Schermo normale",Mute:"Disattiva audio",Unmuted:"Audio riattivato","Playback Rate":"Frequenza di riproduzione",Subtitles:"Sottotitoli","Subtitles Off":"disattiva sottotitoli",Captions:"Didascalie","Captions Off":"disattiva didascalie",Chapters:"Capitoli",Off:"Disattivato",Quality:"QualitÃ ",Auto:"Automatico","Audio Tracks":"Brani audio","default":"predefinito","Cast To Device":"Cast nel dispositivo",Share:"Condividi",Volume:"Volume","Playback Speed":"VelocitÃ  di riproduzione","Video Quality":"QualitÃ  video","Closed Captioning":"Sottotitoli codificati","Share Video":"Condividi video","Next Track":"Brano successivo","Previous Track":"Brano precedente","Skip Forward":"Skip avanti","Skip Backward":"Skip indietro","Fast Forward":"Avanzamento rapido",Rewind:"Riavvolgi","Next Frame":"Fotogramma successivo","Previous Frame":"Fotogramma precedente",Settings:"Impostazioni",Options:"Opzioni","More Options":"Altre opzioni",Zoom:"Zoom","Zoom In":"Zoom avanti","Zoom Out":"Zoom indietro","Audio Only":"Solo audio","Picture in Picture":"Immagine nell'immagine","Camera Angle":"Angolazione",MEDIA_ERR_ABORTED:"Riproduzione video interrotta.",MEDIA_ERR_NETWORK:"Il download del video si Ã¨ interrotto a causa di un errore di rete. Controllare la connessione di rete o riprovare piÃ¹ tardi.",MEDIA_ERR_DECODE:"Non Ã¨ stato possibile caricare il video perchÃ© si Ã¨ verificato un errore del server o della rete oppure perchÃ© il formato non Ã¨ supportato.",MEDIA_ERR_SRC_NOT_SUPPORTED:"La riproduzione video Ã¨ stata interrotta a causa di un problema di danneggiamento oppure perchÃ© nel video sono state usate funzionalitÃ  non supportate dal browser corrente.",MEDIA_ERR_ENCRYPTED:"Non Ã¨ possibile decrittografare l'origine video crittografata.",SRC_PLAYER_MISMATCH:"Non sono state trovate origini compatibili per l'ambiente del browser corrente.",MEDIA_ERR_UNKNOWN:"Si Ã¨ verificato un errore sconosciuto.",SKIP_AD_COUNTDOWN_FORMAT:"Ignora annuncio tra {0}...",SKIP:"Ignora",AD_TIMING_INFO:"Annuncio {0} secondi","Media Player":"Lettore multimediale","Play Video":"Riproduci video",Foreground:"Colore di primo piano",White:"Bianco",Black:"Nero",Red:"Rosso",Green:"Verde",Blue:"Blu",Yellow:"Giallo",Magenta:"Fucsia",Cyan:"Ciano",Opaque:"Opaco","Semi-Opaque":"Semi-opaco",Transparent:"Trasparente",Window:"Finestra","Font Size":"Dimensioni carattere","Text Edge Style":"Stile bordo del testo",None:"Nessuno",Raised:"In rilievo",Depressed:"Incassato",Uniform:"Uniforme",Dropshadow:"Ombra esterna","Font Family":"Famiglia di caratteri","Monospace Serif":"Serif monospazio","Proportional Serif":"Serif proporzionale","Monospace Sans-Serif":"Sans Serif monospazio","Proportional Sans-Serif":"Sans Serif proporzionale",Casual:"Casuale",Script:"Script","Small Caps":"Maiuscoletto",Defaults:"Impostazioni predefinite",Done:"Fine",Link:"Collegamento",Embed:"Incorpora",Close:"Chiudi",Copy:"Copia","Copy Url":"Copia URL","Embed Code":"Codice di incorporamento",English:"Inglese","volume level":"Livello volume","video progress bar":"Indicatore di stato video","playback speed level":"Livello velocitÃ  riproduzione","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Menu Didascalie","Subtitles Menu":"Menu Sottotitoli","Need Text":"Testo necessario"}},{"../video.js/src/js/player.js":210}],121:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.ja={Play:"å†ç”Ÿ",Pause:"ä¸€æ™‚åœæ­¢","Current Time":"ç¾åœ¨ã®æ™‚åˆ»","Duration Time":"ç¶™ç¶šæ™‚é–“","Remaining Time":"æ®‹ã‚Šæ™‚é–“","Stream Type":"ã‚¹ãƒˆãƒªãƒ¼ãƒ  ã‚¿ã‚¤ãƒ—",LIVE:"ãƒ©ã‚¤ãƒ–",Loaded:"èª­ã¿è¾¼ã¾ã‚Œã¾ã—ãŸ",Progress:"å‰é€²",Fullscreen:"å…¨ç”»é¢è¡¨ç¤º","Non-Fullscreen":"éžå…¨ç”»é¢è¡¨ç¤º",Mute:"ãƒŸãƒ¥ãƒ¼ãƒˆ",Unmuted:"ãƒŸãƒ¥ãƒ¼ãƒˆè§£é™¤","Playback Rate":"å†ç”Ÿãƒ¬ãƒ¼ãƒˆ",Subtitles:"ã‚µãƒ–ã‚¿ã‚¤ãƒˆãƒ«","Subtitles Off":"ã‚µãƒ–ã‚¿ã‚¤ãƒˆãƒ« ã‚ªãƒ•",Captions:"ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³","Captions Off":"ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³ ã‚ªãƒ•",Chapters:"ãƒãƒ£ãƒ—ã‚¿ãƒ¼",Off:"ã‚ªãƒ•",Quality:"å“è³ª",Auto:"è‡ªå‹•","Audio Tracks":"ã‚ªãƒ¼ãƒ‡ã‚£ã‚ª ãƒˆãƒ©ãƒƒã‚¯","default":"æ—¢å®š","Cast To Device":"ãƒ‡ãƒã‚¤ã‚¹ã¸ã®ã‚­ãƒ£ã‚¹ãƒˆ",Share:"å…±æœ‰",Volume:"éŸ³é‡","Playback Speed":"å†ç”Ÿé€Ÿåº¦","Video Quality":"ãƒ“ãƒ‡ã‚ªå“è³ª","Closed Captioning":"ã‚¯ãƒ­ãƒ¼ã‚ºãƒ‰ ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³","Share Video":"ãƒ“ãƒ‡ã‚ªã®å…±æœ‰","Next Track":"æ¬¡ã®ãƒˆãƒ©ãƒƒã‚¯","Previous Track":"å‰ã®ãƒˆãƒ©ãƒƒã‚¯","Skip Forward":"å‰ã¸ã‚¹ã‚­ãƒƒãƒ—","Skip Backward":"å¾Œã¸ã‚¹ã‚­ãƒƒãƒ—","Fast Forward":"æ—©é€ã‚Š",Rewind:"å·»ãæˆ»ã—","Next Frame":"æ¬¡ã®ãƒ•ãƒ¬ãƒ¼ãƒ ","Previous Frame":"å‰ã®ãƒ•ãƒ¬ãƒ¼ãƒ ",Settings:"è¨­å®š",Options:"ã‚ªãƒ—ã‚·ãƒ§ãƒ³","More Options":"ãã®ä»–ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³",Zoom:"ã‚ºãƒ¼ãƒ ","Zoom In":"æ‹¡å¤§","Zoom Out":"ç¸®å°","Audio Only":"ã‚ªãƒ¼ãƒ‡ã‚£ã‚ªã®ã¿","Picture in Picture":"ãƒ”ã‚¯ãƒãƒ£ ã‚¤ãƒ³ ãƒ”ã‚¯ãƒãƒ£","Camera Angle":"ã‚«ãƒ¡ãƒ© ã‚¢ãƒ³ã‚°ãƒ«",MEDIA_ERR_ABORTED:"ãƒ“ãƒ‡ã‚ªå†ç”ŸãŒä¸­æ–­ã•ã‚Œã¾ã—ãŸã€‚",MEDIA_ERR_NETWORK:"ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ ã‚¨ãƒ©ãƒ¼ã®ãŸã‚ã«ãƒ“ãƒ‡ã‚ªã®ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ãŒé€”ä¸­ã§å¤±æ•—ã—ã¾ã—ãŸã€‚ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯æŽ¥ç¶šã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã‹å¾Œã§ã‚‚ã†ä¸€åº¦ãŠè©¦ã—ãã ã•ã„ã€‚",MEDIA_ERR_DECODE:"ãƒ“ãƒ‡ã‚ªã‚’èª­ã¿è¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸã€‚ã‚µãƒ¼ãƒãƒ¼ã¾ãŸã¯ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã®éšœå®³ã®ãŸã‚ã‹ã€ã‚ã‚‹ã„ã¯ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆãŒã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“ã€‚",MEDIA_ERR_SRC_NOT_SUPPORTED:"ãƒ“ãƒ‡ã‚ªãŒç ´æã—ã¦ã„ã‚‹ã‹ã€ãƒ–ãƒ©ã‚¦ã‚¶ãƒ¼ãŒã‚µãƒãƒ¼ãƒˆã—ã¦ã„ãªã„æ©Ÿèƒ½ã‚’ãƒ“ãƒ‡ã‚ªãŒä½¿ç”¨ã—ã¦ã„ã‚‹ãŸã‚ã€ãƒ“ãƒ‡ã‚ªã®å†ç”ŸãŒä¸­æ–­ã—ã¾ã—ãŸã€‚",MEDIA_ERR_ENCRYPTED:"æš—å·åŒ–ã•ã‚ŒãŸãƒ“ãƒ‡ã‚ª ã‚½ãƒ¼ã‚¹ã‚’æš—å·åŒ–è§£é™¤ã§ãã¾ã›ã‚“ã€‚",SRC_PLAYER_MISMATCH:"ç¾åœ¨ã®ãƒ–ãƒ©ã‚¦ã‚¶ãƒ¼ç’°å¢ƒã¨äº’æ›æ€§ã®ã‚ã‚‹ã‚½ãƒ¼ã‚¹ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã€‚",MEDIA_ERR_UNKNOWN:"ä¸æ˜Žãªã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚",SKIP_AD_COUNTDOWN_FORMAT:"{0} å¾Œã«åºƒå‘Šã‚’ã‚¹ã‚­ãƒƒãƒ—...",SKIP:"ã‚¹ã‚­ãƒƒãƒ—",AD_TIMING_INFO:"{0} ç§’ã®åºƒå‘Š","Media Player":"ãƒ¡ãƒ‡ã‚£ã‚¢ ãƒ—ãƒ¬ãƒ¼ãƒ¤ãƒ¼","Play Video":"ãƒ“ãƒ‡ã‚ªã‚’å†ç”Ÿã™ã‚‹",Foreground:"å‰æ™¯",White:"ç™½",Black:"é»’",Red:"èµ¤",Green:"ç·‘",Blue:"é’",Yellow:"é»„",Magenta:"ãƒžã‚¼ãƒ³ã‚¿",Cyan:"ã‚·ã‚¢ãƒ³",Opaque:"ä¸é€æ˜Ž","Semi-Opaque":"åŠä¸é€æ˜Ž",Transparent:"é€æ˜Ž",Window:"ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦","Font Size":"ãƒ•ã‚©ãƒ³ãƒˆ ã‚µã‚¤ã‚º","Text Edge Style":"æ–‡å­—ã‚¨ãƒƒã‚¸ã®ã‚¹ã‚¿ã‚¤ãƒ«",None:"ãªã—",Raised:"æµ®ãå‡ºã—",Depressed:"æµ®ãå½«ã‚Š",Uniform:"å‡ä¸€",Dropshadow:"å½±ä»˜ãæ–‡å­—","Font Family":"ãƒ•ã‚©ãƒ³ãƒˆ ãƒ•ã‚¡ãƒŸãƒª","Monospace Serif":"å›ºå®šå¹… Serif","Proportional Serif":"ãƒ—ãƒ­ãƒãƒ¼ã‚·ãƒ§ãƒŠãƒ« Serif","Monospace Sans-Serif":"å›ºå®šå¹… Sans-Serif","Proportional Sans-Serif":"ãƒ—ãƒ­ãƒãƒ¼ã‚·ãƒ§ãƒŠãƒ« Sans-Serif",Casual:"ã‚«ã‚¸ãƒ¥ã‚¢ãƒ«",Script:"ä¸‹ä»˜ãæ–‡å­—","Small Caps":"å°åž‹è‹±å¤§æ–‡å­—",Defaults:"æ—¢å®šå€¤",Done:"å®Œäº†",Link:"ãƒªãƒ³ã‚¯",Embed:"åŸ‹ã‚è¾¼ã¿",Close:"é–‰ã˜ã‚‹",Copy:"ã‚³ãƒ”ãƒ¼","Copy Url":"URL ã®ã‚³ãƒ”ãƒ¼","Embed Code":"åŸ‹ã‚è¾¼ã¿ã‚³ãƒ¼ãƒ‰",English:"è‹±èªž","volume level":"ãƒœãƒªãƒ¥ãƒ¼ãƒ  ãƒ¬ãƒ™ãƒ«","video progress bar":"ãƒ“ãƒ‡ã‚ªã®é€²è¡ŒçŠ¶æ³ãƒãƒ¼","playback speed level":"å†ç”Ÿé€Ÿåº¦ãƒ¬ãƒ™ãƒ«","Dolby Digital":"ãƒ‰ãƒ«ãƒ“ãƒ¼ ãƒ‡ã‚¸ã‚¿ãƒ«",Stereo:"ã‚¹ãƒ†ãƒ¬ã‚ª","Captions Menu":"[ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³] ãƒ¡ãƒ‹ãƒ¥ãƒ¼","Subtitles Menu":"[å­—å¹•] ãƒ¡ãƒ‹ãƒ¥ãƒ¼","Need Text":"å¿…è¦ãªãƒ†ã‚­ã‚¹ãƒˆ"};t["default"].prototype.options_.languages["ja-jp"]=t["default"].prototype.options_.languages.ja},{"../video.js/src/js/player.js":210}],122:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.kk={Play:"ÐžÐ¹Ð½Ð°Ñ‚Ñƒ",Pause:"ÐšÑ–Ð´Ñ–Ñ€Ñ‚Ñƒ","Current Time":"ÐÒ“Ñ‹Ð¼Ð´Ð°Ò“Ñ‹ ÑƒÐ°Ò›Ñ‹Ñ‚","Duration Time":"Ò°Ð·Ð°Ò›Ñ‚Ñ‹Ò›","Remaining Time":"ÒšÐ°Ð»Ò“Ð°Ð½ ÑƒÐ°Ò›Ñ‹Ñ‚","Stream Type":"ÐÒ“Ñ‹Ð½ Ñ‚Ò¯Ñ€Ñ–",LIVE:"LIVE",Loaded:"Ð–Ò¯ÐºÑ‚ÐµÐ»Ð´Ñ–",Progress:"ÐžÑ€Ñ‹Ð½Ð´Ð°Ð»Ñƒ Ð±Ð°Ñ€Ñ‹ÑÑ‹",Fullscreen:"Ð¢Ð¾Ð»Ñ‹Ò› ÑÐºÑ€Ð°Ð½","Non-Fullscreen":"Ð¢Ð¾Ð»Ñ‹Ò› ÑÐºÑ€Ð°Ð½ ÐµÐ¼ÐµÑ",Mute:"Ð”Ñ‹Ð±Ñ‹ÑÑ‚Ñ‹ Ó©ÑˆÑ–Ñ€Ñƒ",Unmuted:"Ð”Ñ‹Ð±Ñ‹ÑÑ‹ Ò›Ð¾ÑÑ‹Ð»Ð´Ñ‹","Playback Rate":"ÐžÐ¹Ð½Ð°Ñ‚Ñƒ Ð¶Ñ‹Ð»Ð´Ð°Ð¼Ð´Ñ‹Ò“Ñ‹",Subtitles:"Ð¡ÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð»ÐµÑ€","Subtitles Off":"ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð»ÐµÑ€ Ó©ÑˆÑ–Ñ€ÑƒÐ»Ñ–",Captions:"Ð¢Ð°Ò›Ñ‹Ñ€Ñ‹Ð¿Ñ‚Ð°Ñ€","Captions Off":"Ñ‚Ð°Ò›Ñ‹Ñ€Ñ‹Ð¿Ñ‚Ð°Ñ€ Ó©ÑˆÑ–Ñ€ÑƒÐ»Ñ–",Chapters:"Ð¢Ð°Ñ€Ð°ÑƒÐ»Ð°Ñ€",Off:"Ó¨ÑˆÑ–Ñ€ÑƒÐ»Ñ–",Quality:"Ð¡Ð°Ð¿Ð°",Auto:"ÐÐ²Ñ‚Ð¾Ð¼Ð°Ñ‚Ñ‚Ñ‹","Audio Tracks":"Ð”Ñ‹Ð±Ñ‹Ñ Ð¶Ð¾Ð»ÑˆÑ‹Ò“Ñ‹","default":"Ó™Ð´ÐµÐ¿ÐºÑ–","Cast To Device":"ÒšÒ±Ñ€Ñ‹Ð»Ò“Ñ‹Ò“Ð° Ð¶ÐµÑ‚ÐºÑ–Ð·Ñƒ",Share:"ÐžÑ€Ñ‚Ð°Ò› Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½Ñƒ",Volume:"Ð”Ñ‹Ð±Ñ‹Ñ Ð´ÐµÒ£Ð³ÐµÐ¹Ñ–","Playback Speed":"ÐžÐ¹Ð½Ð°Ñ‚Ñƒ Ð¶Ñ‹Ð»Ð´Ð°Ð¼Ð´Ñ‹Ò“Ñ‹","Video Quality":"Ð‘ÐµÐ¹Ð½Ðµ ÑÐ°Ð¿Ð°ÑÑ‹","Closed Captioning":"Ð–Ð°Ð±Ñ‹Ò› Ñ‚Ð°Ò›Ñ‹Ñ€Ñ‹Ð¿Ñ‚Ð°Ñ€","Share Video":"Ð‘ÐµÐ¹Ð½ÐµÐ½Ñ– Ð¾Ñ€Ñ‚Ð°Ò› Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½Ñƒ","Next Track":"ÐšÐµÐ»ÐµÑÑ– Ð±Ð°Ò›Ñ‹Ð»Ð°Ñƒ","Previous Track":"ÐÐ»Ð´Ñ‹Ò£Ò“Ñ‹ Ð±Ð°Ò›Ñ‹Ð»Ð°Ñƒ","Skip Forward":"ÐÐ»Ò“Ð° Ó©Ñ‚Ñƒ","Skip Backward":"ÐÑ€Ñ‚Ò›Ð° Ó©Ñ‚Ñƒ","Fast Forward":"ÐÐ»Ò“Ð° Ð°Ð¹Ð½Ð°Ð»Ð´Ñ‹Ñ€Ñƒ",Rewind:"ÒšÐ°Ð¹Ñ‚Ð° Ð°Ð¹Ð½Ð°Ð»Ð´Ñ‹Ñ€Ñƒ","Next Frame":"ÐšÐµÐ»ÐµÑÑ– Ð¶Ð°Ò›Ñ‚Ð°Ñƒ","Previous Frame":"ÐÐ»Ð´Ñ‹Ò£Ò“Ñ‹ Ð¶Ð°Ò›Ñ‚Ð°Ñƒ",Settings:"ÐŸÐ°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð»ÐµÑ€",Options:"ÐŸÐ°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð»ÐµÑ€","More Options":"ÒšÐ¾ÑÑ‹Ð¼ÑˆÐ° Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð»ÐµÑ€",Zoom:"Ò°Ð»Ò“Ð°Ð¹Ñ‚Ñƒ","Zoom In":"Ð†Ñ€Ñ–Ð»ÐµÑƒ","Zoom Out":"ÐšÑ–ÑˆÑ–Ð»ÐµÑƒ","Audio Only":"Ð¢ÐµÐº Ð´Ñ‹Ð±Ñ‹Ñ","Picture in Picture":"Ð¡ÑƒÑ€ÐµÑ‚Ñ‚ÐµÐ³Ñ– ÑÑƒÑ€ÐµÑ‚","Camera Angle":"ÐšÐ°Ð¼ÐµÑ€Ð° Ð±Ò±Ñ€Ñ‹ÑˆÑ‹",MEDIA_ERR_ABORTED:"Ð‘ÐµÐ¹Ð½ÐµÐ½Ñ– Ð¾Ð¹Ð½Ð°Ñ‚Ñƒ Ñ‚Ð¾Ò›Ñ‚Ð°Ñ‚Ñ‹Ð»Ð´Ñ‹.",MEDIA_ERR_NETWORK:"Ð‘ÐµÐ¹Ð½ÐµÐ½Ñ–Ò£ Ñ–ÑˆÑ–Ð½Ð°Ñ€Ð° ÑÓ™Ñ‚ÑÑ–Ð· Ð¶Ò¯ÐºÑ‚ÐµÐ»ÑƒÑ–Ð½Ðµ Ó™ÐºÐµÐ»Ð³ÐµÐ½ Ð¶ÐµÐ»Ñ– Ò›Ð°Ñ‚ÐµÑÑ–. Ð–ÐµÐ»Ñ– Ð±Ð°Ð¹Ð»Ð°Ð½Ñ‹ÑÑ‹Ð½ Ñ‚ÐµÐºÑÐµÑ€Ñ–Ò£Ñ–Ð· Ð½ÐµÐ¼ÐµÑÐµ Ó™Ñ€ÐµÐºÐµÑ‚Ñ‚Ñ– ÐºÐµÐ¹Ñ–Ð½ Ò›Ð°Ð¹Ñ‚Ð°Ð»Ð°Ò£Ñ‹Ð·.",MEDIA_ERR_DECODE:"Ð¡ÐµÑ€Ð²ÐµÑ€ Ð½ÐµÐ¼ÐµÑÐµ Ð¶ÐµÐ»Ñ– Ð¶Ò±Ð¼Ñ‹ÑÑ‹Ð½Ñ‹Ò£ ÑÓ™Ñ‚ÑÑ–Ð· Ð°ÑÒ›Ñ‚Ð°Ð»ÑƒÑ‹ Ð½Ðµ Ð¿Ñ–ÑˆÑ–Ð¼Ð³Ðµ Ò›Ð¾Ð»Ð´Ð°Ñƒ ÐºÓ©Ñ€ÑÐµÑ‚ÑƒÐ»Ð¼ÐµÑƒÑ– ÑÐµÐ±ÐµÐ±Ñ–Ð½ÐµÐ½ Ð±ÐµÐ¹Ð½ÐµÐ½Ñ– Ð¶Ò¯ÐºÑ‚ÐµÑƒ Ð¼Ò¯Ð¼ÐºÑ–Ð½ Ð±Ð¾Ð»Ð¼Ð°Ð´Ñ‹.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Ð‘Ò¯Ð»Ñ–Ð½Ñƒ Ð¼Ó™ÑÐµÐ»ÐµÑÑ–Ð½Ðµ Ð±Ð°Ð¹Ð»Ð°Ð½Ñ‹ÑÑ‚Ñ‹ Ð½ÐµÐ¼ÐµÑÐµ Ð±ÐµÐ¹Ð½ÐµÐ½Ñ–Ò£ Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ñ–Ò£Ñ–Ð· Ò›Ð¾Ð»Ð´Ð°Ñƒ ÐºÓ©Ñ€ÑÐµÑ‚Ð¿ÐµÐ¹Ñ‚Ñ–Ð½ Ð¼Ò¯Ð¼ÐºÑ–Ð½Ð´Ñ–ÐºÑ‚ÐµÑ€Ð´Ñ– Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½ÑƒÑ‹ ÑÐµÐ±ÐµÐ±Ñ–Ð½ÐµÐ½ Ð±ÐµÐ¹Ð½ÐµÐ½Ñ– Ð¾Ð¹Ð½Ð°Ñ‚Ñƒ Ñ‚Ð¾Ò›Ñ‚Ð°Ñ‚Ñ‹Ð»Ð´Ñ‹.",MEDIA_ERR_ENCRYPTED:"Ð¨Ð¸Ñ„Ñ€Ð»Ð°Ð½Ò“Ð°Ð½ Ð±ÐµÐ¹Ð½Ðµ ÐºÓ©Ð·Ñ–Ð½ ÑˆÐ¸Ñ„Ñ€Ð´Ð°Ð½ ÑˆÐµÑˆÑƒ Ð¼Ò¯Ð¼ÐºÑ–Ð½ ÐµÐ¼ÐµÑ.",SRC_PLAYER_MISMATCH:"ÐÒ“Ñ‹Ð¼Ð´Ð°Ò“Ñ‹ Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€ Ð¾Ñ€Ñ‚Ð°ÑÑ‹ Ò¯ÑˆÑ–Ð½ Ò¯Ð¹Ð»ÐµÑÑ–Ð¼Ð´Ñ– Ð±Ð°ÑÑ‚Ð°Ð¿Ò›Ñ‹ ÐºÓ©Ð· Ñ‚Ð°Ð±Ñ‹Ð»Ð¼Ð°Ð´Ñ‹.",MEDIA_ERR_UNKNOWN:"Ð‘ÐµÐ»Ð³Ñ–ÑÑ–Ð· Ò›Ð°Ñ‚Ðµ Ð¾Ñ€Ñ‹Ð½ Ð°Ð»Ð´Ñ‹",SKIP_AD_COUNTDOWN_FORMAT:"Ð–Ð°Ñ€Ð½Ð°Ð¼Ð°Ð½Ñ‹ {0} ÐºÐµÐ¹Ñ–Ð½ Ó©Ñ‚ÐºÑ–Ð·Ñ–Ð¿ Ð¶Ñ–Ð±ÐµÑ€Ñƒ...",SKIP:"Ó¨Ñ‚ÐºÑ–Ð·Ñ–Ð¿ Ð¶Ñ–Ð±ÐµÑ€Ñƒ",AD_TIMING_INFO:"Ð–Ð°Ñ€Ð½Ð°Ð¼Ð° {0} ÑÐµÐºÑƒÐ½Ð´","Media Player":"ÐœÑƒÐ»ÑŒÑ‚Ð¸Ð¼ÐµÐ´Ð¸Ð°Ð»Ñ‹Ò› Ð¾Ð¹Ð½Ð°Ñ‚Ò›Ñ‹Ñˆ","Play Video":"Ð‘ÐµÐ¹Ð½ÐµÐ½Ñ– Ð¾Ð¹Ð½Ð°Ñ‚Ñƒ",Foreground:"ÐÐµÐ³Ñ–Ð·Ð³Ñ– Ñ‚Ò¯Ñ",White:"ÐÒ›",Black:"ÒšÐ°Ñ€Ð°",Red:"ÒšÑ‹Ð·Ñ‹Ð»",Green:"Ð–Ð°ÑÑ‹Ð»",Blue:"ÐšÓ©Ðº",Yellow:"Ð¡Ð°Ñ€Ñ‹",Magenta:"ÐšÒ¯Ð»Ð³Ñ–Ð½",Cyan:"ÐšÓ©Ð³Ñ–Ð»Ð´Ñ–Ñ€",Opaque:"ÐœÓ©Ð»Ð´Ñ–Ñ€ ÐµÐ¼ÐµÑ","Semi-Opaque":"Ð–Ð°Ñ€Ñ‚Ñ‹Ð»Ð°Ð¹ Ð¼Ó©Ð»Ð´Ñ–Ñ€",Transparent:"ÐœÓ©Ð»Ð´Ñ–Ñ€",Window:"Ð¢ÐµÑ€ÐµÐ·Ðµ","Font Size":"ÒšÐ°Ñ€Ñ–Ð¿ Ó©Ð»ÑˆÐµÐ¼Ñ–","Text Edge Style":"ÐœÓ™Ñ‚Ñ–Ð½ Ð¶Ð¸ÐµÐ³Ñ– Ð¼Ó™Ð½ÐµÑ€Ñ–",None:"Ð•ÑˆÒ›Ð°Ð¹ÑÑ‹ÑÑ‹",Raised:"ÐšÓ©Ñ‚ÐµÑ€Ñ–Ð»Ð³ÐµÐ½",Depressed:"Ð¢Ó©Ð¼ÐµÐ½ Ñ‚Ò¯ÑÑ–Ñ€Ñ–Ð»Ð³ÐµÐ½",Uniform:"Ð‘Ñ–Ñ€Ñ‚ÐµÐºÑ‚Ñ–",Dropshadow:"ÐšÓ©Ð»ÐµÒ£ÐºÐµ","Font Family":"ÒšÐ°Ñ€Ñ–Ð¿Ñ‚ÐµÑ€ Ñ‚Ð¾Ð±Ñ‹","Monospace Serif":"Ð‘Ñ–Ñ€ ÐµÐ½Ð´Ñ– ÐºÐµÑ€Ñ‚Ñ–Ð»Ð³ÐµÐ½","Proportional Serif":"ÐŸÑ€Ð¾Ð¿Ð¾Ñ€Ñ†Ð¸Ð¾Ð½Ð°Ð»Ð´Ñ‹, ÐºÐµÑ€Ñ‚Ñ–Ð»Ð³ÐµÐ½","Monospace Sans-Serif":"Ð‘Ñ–Ñ€ ÐµÐ½Ð´Ñ– ÐºÐµÑ€Ñ‚Ñ–Ð»Ð¼ÐµÐ³ÐµÐ½","Proportional Sans-Serif":"ÐŸÑ€Ð¾Ð¿Ð¾Ñ€Ñ†Ð¸Ð¾Ð½Ð°Ð»Ð´Ñ‹, ÐºÐµÑ€Ñ‚Ñ–Ð»Ð¼ÐµÐ³ÐµÐ½",Casual:"ÐšÓ™Ð´Ñ–Ð¼Ð³Ñ–",Script:"Ð¡Ñ†ÐµÐ½Ð°Ñ€Ð¸Ð¹","Small Caps":"ÐšÑ–ÑˆÑ– Ð±Ð°Ñ Ó™Ñ€Ñ–Ð¿Ñ‚ÐµÑ€",Defaults:"Ó˜Ð´ÐµÐ¿ÐºÑ– Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð»ÐµÑ€",Done:"Ð”Ð°Ð¹Ñ‹Ð½",Link:"Ð‘Ð°Ð¹Ð»Ð°Ð½Ñ‹ÑÑ‚Ñ‹Ñ€Ñƒ",Embed:"Ð•Ð½Ð´Ñ–Ñ€Ñƒ",Close:"Ð–Ð°Ð±Ñƒ",Copy:"ÐšÓ©ÑˆÑ–Ñ€Ñƒ","Copy Url":"URL Ð¼ÐµÐºÐµÐ½Ð¶Ð°Ð¹Ñ‹Ð½ ÐºÓ©ÑˆÑ–Ñ€Ñƒ","Embed Code":"Ð•Ð½Ð´Ñ–Ñ€Ñƒ ÐºÐ¾Ð´Ñ‹",English:"ÐÒ“Ñ‹Ð»ÑˆÑ‹Ð½","volume level":"Ð´Ñ‹Ð±Ñ‹Ñ Ð´ÐµÒ£Ð³ÐµÐ¹Ñ–","video progress bar":"Ð±ÐµÐ¹Ð½ÐµÐ½Ñ–Ò£ Ð¾Ñ€Ñ‹Ð½Ð´Ð°Ð»Ñƒ Ð±Ð°Ñ€Ñ‹ÑÑ‹ Ð¶Ð¾Ð»Ð°Ò“Ñ‹","playback speed level":"Ð¾Ð¹Ð½Ð°Ñ‚Ñƒ Ð¶Ñ‹Ð»Ð´Ð°Ð¼Ð´Ñ‹Ò“Ñ‹Ð½Ñ‹Ò£ Ð´ÐµÒ£Ð³ÐµÐ¹Ñ–","Dolby Digital":"Dolby Digital",Stereo:"Ð¡Ñ‚ÐµÑ€ÐµÐ¾","Captions Menu":"Ð¢Ð°Ò›Ñ‹Ñ€Ñ‹Ð¿Ñ‚Ð°Ñ€ Ð¼Ó™Ð·Ñ–Ñ€Ñ–","Subtitles Menu":"Ð¡ÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð»ÐµÑ€ Ð¼Ó™Ð·Ñ–Ñ€Ñ–","Need Text":"ÐœÓ™Ñ‚Ñ–Ð½ Ò›Ð°Ð¶ÐµÑ‚"};t["default"].prototype.options_.languages["kk-kz"]=t["default"].prototype.options_.languages.kk},{"../video.js/src/js/player.js":210}],123:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.ko={Play:"ìž¬ìƒ",Pause:"ì¼ì‹œ ì¤‘ì§€","Current Time":"í˜„ìž¬ ì‹œê°„","Duration Time":"ì§€ì† ì‹œê°„","Remaining Time":"ë‚¨ì€ ì‹œê°„","Stream Type":"ìŠ¤íŠ¸ë¦¼ í˜•ì‹",LIVE:"ë¼ì´ë¸Œ",Loaded:"ë¡œë“œë¨",Progress:"ì§„í–‰ë¥ ",Fullscreen:"ì „ì²´ í™”ë©´","Non-Fullscreen":"ì „ì²´ í™”ë©´ì´ ì•„ë‹˜",Mute:"ìŒì†Œê±°",Unmuted:"ìŒì†Œê±° í•´ì œë¨","Playback Rate":"ìž¬ìƒ ì†ë„",Subtitles:"ìžë§‰","Subtitles Off":"ìžë§‰ ë„ê¸°",Captions:"ìº¡ì…˜","Captions Off":"ìº¡ì…˜ ë„ê¸°",Chapters:"ì±•í„°",Off:"í•´ì œ",Quality:"í’ˆì§ˆ",Auto:"ìžë™","Audio Tracks":"ì˜¤ë””ì˜¤ íŠ¸ëž™","default":"ê¸°ë³¸ê°’","Cast To Device":"ìž¥ì¹˜ë¡œ ìºìŠ¤íŒ…",Share:"ê³µìœ ",Volume:"ë³¼ë¥¨","Playback Speed":"ìž¬ìƒ ì†ë„","Video Quality":"ë¹„ë””ì˜¤ í’ˆì§ˆ","Closed Captioning":"ì„ íƒ ìº¡ì…˜","Share Video":"ë¹„ë””ì˜¤ ê³µìœ ","Next Track":"ë‹¤ìŒ íŠ¸ëž™","Previous Track":"ì´ì „ íŠ¸ëž™","Skip Forward":"ì•žìœ¼ë¡œ ê±´ë„ˆë›°ê¸°","Skip Backward":"ë’¤ë¡œ ê±´ë„ˆë›°ê¸°","Fast Forward":"ë¹¨ë¦¬ ê°ê¸°",Rewind:"ë˜ê°ê¸°","Next Frame":"ë‹¤ìŒ í”„ë ˆìž„","Previous Frame":"ì´ì „ í”„ë ˆìž„",Settings:"ì„¤ì •",Options:"ì˜µì…˜","More Options":"ê¸°íƒ€ ì˜µì…˜",Zoom:"í™•ëŒ€/ì¶•ì†Œ","Zoom In":"í™•ëŒ€","Zoom Out":"ì¶•ì†Œ","Audio Only":"ì˜¤ë””ì˜¤ë§Œ","Picture in Picture":"í™”ë©´ ì† í™”ë©´","Camera Angle":"ì¹´ë©”ë¼ ê°ë„",MEDIA_ERR_ABORTED:"ë¹„ë””ì˜¤ ìž¬ìƒì´ ì¤‘ë‹¨ë˜ì—ˆìŠµë‹ˆë‹¤.",MEDIA_ERR_NETWORK:"ë„¤íŠ¸ì›Œí¬ ì˜¤ë¥˜ ë•Œë¬¸ì— ë¹„ë””ì˜¤ ë‹¤ìš´ë¡œë“œê°€ ë„ì¤‘ì— ì‹¤íŒ¨í–ˆìŠµë‹ˆë‹¤. ë„¤íŠ¸ì›Œí¬ ì—°ê²°ì„ í™•ì¸í•˜ê±°ë‚˜ ë‚˜ì¤‘ì— ë‹¤ì‹œ ì‹œë„í•˜ì„¸ìš”.",MEDIA_ERR_DECODE:"ì„œë²„ë‚˜ ë„¤íŠ¸ì›Œí¬ì—ì„œ ì˜¤ë¥˜ê°€ ë°œìƒí–ˆê±°ë‚˜ í˜•ì‹ì´ ì§€ì›ë˜ì§€ ì•Šê¸° ë•Œë¬¸ì— ë¹„ë””ì˜¤ë¥¼ ë¡œë“œí•  ìˆ˜ ì—†ìŠµë‹ˆë‹¤.",MEDIA_ERR_SRC_NOT_SUPPORTED:"ì†ìƒ ë¬¸ì œê°€ ë°œìƒí–ˆê±°ë‚˜ ë¸Œë¼ìš°ì €ì—ì„œ ì§€ì›í•˜ì§€ ì•ŠëŠ” ê¸°ëŠ¥ì´ ë¹„ë””ì˜¤ì— ì‚¬ìš©ë˜ì—ˆê¸° ë•Œë¬¸ì— ë¹„ë””ì˜¤ ìž¬ìƒì´ ì¤‘ë‹¨ë˜ì—ˆìŠµë‹ˆë‹¤.",MEDIA_ERR_ENCRYPTED:"ì•”í˜¸í™”ëœ ë¹„ë””ì˜¤ ì†ŒìŠ¤ì˜ ì•”í˜¸ë¥¼ í•´ë…í•  ìˆ˜ ì—†ìŠµë‹ˆë‹¤.",SRC_PLAYER_MISMATCH:"í˜„ìž¬ ë¸Œë¼ìš°ì € í™˜ê²½ì˜ í˜¸í™˜ë˜ëŠ” ì†ŒìŠ¤ë¥¼ ì°¾ì„ ìˆ˜ ì—…ìŠµë‹ˆë‹¤.",MEDIA_ERR_UNKNOWN:"ì•Œ ìˆ˜ ì—†ëŠ” ì˜¤ë¥˜ê°€ ë°œìƒí–ˆìŠµë‹ˆë‹¤.",SKIP_AD_COUNTDOWN_FORMAT:"{0} ì´ˆ í›„ì— ê´‘ê³  ê±´ë„ˆë›°ê¸°...",SKIP:"ê±´ë„ˆë›°ê¸°",AD_TIMING_INFO:"ê´‘ê³  {0} ì´ˆ","Media Player":"Media Player","Play Video":"ë¹„ë””ì˜¤ ìž¬ìƒ",Foreground:"ì „ê²½",White:"í°ìƒ‰",Black:"ê²€ì •",Red:"ë¹¨ê°„ìƒ‰",Green:"ë…¹ìƒ‰",Blue:"íŒŒëž‘",Yellow:"ë…¸ëž€ìƒ‰",Magenta:"ìží™",Cyan:"ë…¹ì²­",Opaque:"ë¶ˆíˆ¬ëª…","Semi-Opaque":"ë°˜ ë¶ˆíˆ¬ëª…",Transparent:"íˆ¬ëª…",Window:"ì°½","Font Size":"ê¸€ê¼´ í¬ê¸°","Text Edge Style":"í…ìŠ¤íŠ¸ ê°€ìž¥ìžë¦¬ ìŠ¤íƒ€ì¼",None:"ì—†ìŒ",Raised:"ì˜¬ë¦¼",Depressed:"ê¸€ìž ìœ„ì¹˜ ë‚´ë¦¼",Uniform:"ê· ì¼",Dropshadow:"ê·¸ë¦¼ìž íš¨ê³¼","Font Family":"ê¸€ê¼´ íŒ¨ë°€ë¦¬","Monospace Serif":"ê³ ì • í­ Serif","Proportional Serif":"ê°€ë³€ Serif","Monospace Sans-Serif":"ê³ ì • í­ Sans Serif","Proportional Sans-Serif":"ê°€ë³€ Sans Serif",Casual:"ìºì£¼ì–¼",Script:"ìŠ¤í¬ë¦½íŠ¸","Small Caps":"ìž‘ì€ ëŒ€ë¬¸ìž",Defaults:"ê¸°ë³¸ê°’",Done:"ì™„ë£Œ",Link:"ë§í¬",Embed:"í¬í•¨",Close:"ë‹«ê¸°",Copy:"ë³µì‚¬","Copy Url":"Url ë³µì‚¬","Embed Code":"Embed íƒœê·¸",English:"ì˜ì–´","volume level":"ë³¼ë¥¨ ìˆ˜ì¤€","video progress bar":"ë¹„ë””ì˜¤ ì§„í–‰ë¥  í‘œì‹œì¤„","playback speed level":"ìž¬ìƒ ì†ë„ ìˆ˜ì¤€","Dolby Digital":"Dolby Digital",Stereo:"ìŠ¤í…Œë ˆì˜¤","Captions Menu":"ìº¡ì…˜ ë©”ë‰´","Subtitles Menu":"ìžë§‰ ë©”ë‰´","Need Text":"í…ìŠ¤íŠ¸ í•„ìš”"};t["default"].prototype.options_.languages["ko-kr"]=t["default"].prototype.options_.languages.ko},{"../video.js/src/js/player.js":210}],124:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("./ar.js"),r=(t(i),n("./bg.js")),u=(t(r),n("./ca.js")),f=(t(u),n("./cs.js")),e=(t(f),n("./da.js")),o=(t(e),n("./de.js")),s=(t(o),n("./el.js")),h=(t(s),n("./en.js")),c=(t(h),n("./es.js")),l=(t(c),n("./et.js")),a=(t(l),n("./eu.js")),v=(t(a),n("./fa.js")),y=(t(v),n("./fi.js")),p=(t(y),n("./fr.js")),w=(t(p),n("./gl.js")),b=(t(w),n("./he.js")),k=(t(b),n("./hi.js")),d=(t(k),n("./hr.js")),g=(t(d),n("./hu.js")),nt=(t(g),n("./id.js")),tt=(t(nt),n("./is.js")),it=(t(tt),n("./it.js")),rt=(t(it),n("./ja.js")),ut=(t(rt),n("./kk.js")),ft=(t(ut),n("./ko.js")),et=(t(ft),n("./lt.js")),ot=(t(et),n("./lv.js")),st=(t(ot),n("./ms.js")),ht=(t(st),n("./nb.js")),ct=(t(ht),n("./nl.js")),lt=(t(ct),n("./nn.js")),at=(t(lt),n("./ph.js")),vt=(t(at),n("./pl.js")),yt=(t(vt),n("./pt-br.js")),pt=(t(yt),n("./pt-pt.js")),wt=(t(pt),n("./ro.js")),bt=(t(wt),n("./ru.js")),kt=(t(bt),n("./sk.js")),dt=(t(kt),n("./sl.js")),gt=(t(dt),n("./sr-cyrl-cs.js")),ni=(t(gt),n("./sr-latn-rs.js")),ti=(t(ni),n("./sv.js")),ii=(t(ti),n("./th.js")),ri=(t(ii),n("./tl.js")),ui=(t(ri),n("./tr.js")),fi=(t(ui),n("./uk.js")),ei=(t(fi),n("./ur.js")),oi=(t(ei),n("./vi.js")),si=(t(oi),n("./zh-hans.js")),hi=(t(si),n("./zh-hant.js"));t(hi)},{"./ar.js":99,"./bg.js":100,"./ca.js":101,"./cs.js":102,"./da.js":103,"./de.js":104,"./el.js":105,"./en.js":106,"./es.js":107,"./et.js":108,"./eu.js":109,"./fa.js":110,"./fi.js":111,"./fr.js":112,"./gl.js":113,"./he.js":114,"./hi.js":115,"./hr.js":116,"./hu.js":117,"./id.js":118,"./is.js":119,"./it.js":120,"./ja.js":121,"./kk.js":122,"./ko.js":123,"./lt.js":125,"./lv.js":126,"./ms.js":127,"./nb.js":128,"./nl.js":129,"./nn.js":130,"./ph.js":131,"./pl.js":132,"./pt-br.js":133,"./pt-pt.js":134,"./ro.js":135,"./ru.js":136,"./sk.js":137,"./sl.js":138,"./sr-cyrl-cs.js":139,"./sr-latn-rs.js":140,"./sv.js":141,"./th.js":142,"./tl.js":143,"./tr.js":144,"./uk.js":145,"./ur.js":146,"./vi.js":147,"./zh-hans.js":148,"./zh-hant.js":149}],125:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.lt={Play:"Leisti",Pause:"Pristabdyti","Current Time":"Dabartinis laikas","Duration Time":"TrukmÄ—","Remaining Time":"LikÄ™s laikas","Stream Type":"Transliavimo tipas",LIVE:"TIESIOGINIS",Loaded:"Ä®kelta",Progress:"Eiga",Fullscreen:"Per visÄ… ekranÄ…","Non-Fullscreen":"Ne per visÄ… ekranÄ…",Mute:"Nutildyti",Unmuted:"Nenutildyta","Playback Rate":"Leidimo daÅ¾nis",Subtitles:"Subtitrai","Subtitles Off":"subtitrai iÅ¡jungti",Captions:"Vaizdo apraÅ¡ai","Captions Off":"vaizdo apraÅ¡ai iÅ¡jungti",Chapters:"Dalys",Off:"IÅ¡jungta",Quality:"KokybÄ—",Auto:"Automatinis","Audio Tracks":"Garso takeliai","default":"numatytoji reikÅ¡mÄ—","Cast To Device":"Parinkti pagal Ä¯renginÄ¯",Share:"Bendrinti",Volume:"Garsumas","Playback Speed":"Leidimo greitis","Video Quality":"Vaizdo Ä¯raÅ¡o kokybÄ—","Closed Captioning":"PaslÄ—ptieji titrai","Share Video":"Bendrinti vaizdo Ä¯raÅ¡Ä…","Next Track":"Kitas takelis","Previous Track":"Ankstesnis takelis","Skip Forward":"Pereiti pirmyn","Skip Backward":"Pereiti atgal","Fast Forward":"Sukti pirmyn",Rewind:"Sukti atgal","Next Frame":"Kitas kadras","Previous Frame":"Ankstesnis kadras",Settings:"Parametrai",Options:"Parinktys","More Options":"Daugiau parinkÄiÅ³",Zoom:"Mastelio keitimas","Zoom In":"Artinti","Zoom Out":"Tolinti","Audio Only":"Tik garsas","Picture in Picture":"PaveikslÄ—lis paveikslÄ—lyje","Camera Angle":"Kameros kampas",MEDIA_ERR_ABORTED:"Vaizdo Ä¯raÅ¡o leidimas atmestas.",MEDIA_ERR_NETWORK:"Viso vaizdo Ä¯raÅ¡o atsisiÅ³sti nepavyko dÄ—l tinklo klaidos. Patikrinkite tinklo ryÅ¡Ä¯ arba bandykite dar kartÄ… vÄ—liau.",MEDIA_ERR_DECODE:"Vaizdo Ä¯raÅ¡o nepavyko Ä¯kelti dÄ—l serverio arba tinklo klaidos arba dÄ—l to, kad nepalaikomas formatas.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Vaizdo Ä¯raÅ¡o leidimas buvo atmestas dÄ—l gedimo arba dÄ—l to, kad vaizdo Ä¯raÅ¡e buvo naudojamos funkcijos, kuriÅ³ jÅ«sÅ³ narÅ¡yklÄ— nepalaiko.",MEDIA_ERR_ENCRYPTED:"Nepavyksta iÅ¡Å¡ifruoti uÅ¾Å¡ifruoto vaizdo Ä¯raÅ¡o Å¡altinio.",SRC_PLAYER_MISMATCH:"Å iai narÅ¡yklÄ—s aplinkai suderinamas Å¡altinis nerastas.",MEDIA_ERR_UNKNOWN:"Ä®vyko neÅ¾inoma klaida",SKIP_AD_COUNTDOWN_FORMAT:"Praleisti reklamÄ… {0}...",SKIP:"Praleisti",AD_TIMING_INFO:"{0} sek. reklama","Media Player":"Medijos leistuvas","Play Video":"Leisti vaizdo Ä¯raÅ¡Ä…",Foreground:"Priekinis planas",White:"Balta",Black:"Juoda",Red:"Raudona",Green:"Å½alia",Blue:"MÄ—lyna",Yellow:"geltona",Magenta:"PurpurinÄ—",Cyan:"Å½ydra",Opaque:"Nepermatoma","Semi-Opaque":"Pusiau nepermatoma",Transparent:"Skaidri",Window:"Langas","Font Size":"Å rifto dydis","Text Edge Style":"Teksto kraÅ¡to stilius",None:"NÄ—ra",Raised:"Pakeltas",Depressed:"SumaÅ¾inta",Uniform:"Universali",Dropshadow:"Å eÅ¡Ä—lis","Font Family":"Å riftÅ³ Å¡eimai","Monospace Serif":"Fiksuoto ploÄio â€žSerifâ€œ","Proportional Serif":"Proporcingas â€žSerifâ€œ","Monospace Sans-Serif":"Fiksuoto ploÄio â€žSans-Serifâ€œ","Proportional Sans-Serif":"Proporcingas â€žSans-Serifâ€œ",Casual:"Atsitiktinis",Script:"Scenarijus","Small Caps":"MaÅ¾os didÅ¾iosios raidÄ—s",Defaults:"Numatytosios reikÅ¡mÄ—s",Done:"Atlikta",Link:"Saitas",Embed:"Ä®dÄ—ti",Close:"UÅ¾daryti",Copy:"Kopijuoti","Copy Url":"Kopijuoti URL","Embed Code":"Ä®dÄ—ti kodÄ…",English:"AnglÅ³","volume level":"garsumas","video progress bar":"vaizdo Ä¯raÅ¡o eigos juosta","playback speed level":"leidimo greitis","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Vaizdo apraÅ¡Å³  meniu","Subtitles Menu":"SubtitrÅ³ meniu","Need Text":"Reikia teksto"}},{"../video.js/src/js/player.js":210}],126:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.lv={Play:"AtskaÅ†ot",Pause:"Pauze","Current Time":"PaÅ¡reizÄ“jais laiks","Duration Time":"Ilguma laiks","Remaining Time":"AtlikuÅ¡ais laiks","Stream Type":"Straumes tips",LIVE:"TIEÅ SAISTE",Loaded:"IelÄdÄ“ts",Progress:"Norise",Fullscreen:"PilnekrÄna reÅ¾Ä«ms","Non-Fullscreen":"Ne pilnekrÄna reÅ¾Ä«ms",Mute:"IzslÄ“gt skaÅ†u",Unmuted:"IeslÄ“gta skaÅ†a","Playback Rate":"AtskaÅ†oÅ¡anas Ätrums",Subtitles:"Subtitri","Subtitles Off":"Subtitri izslÄ“gti",Captions:"Paraksti","Captions Off":"paraksti izslÄ“gti",Chapters:"NodaÄ¼as",Off:"IzslÄ“gts",Quality:"KvalitÄte",Auto:"AutomÄtiski","Audio Tracks":"Audio ieraksti","default":"noklusÄ“jums","Cast To Device":"PÄrraidÄ«t uz ierÄ«ci",Share:"Koplietot",Volume:"SkaÄ¼ums","Playback Speed":"AtskaÅ†oÅ¡anas Ätrums","Video Quality":"Video kvalitÄte","Closed Captioning":"SlÄ“ptie titri","Share Video":"KopÄ«got video","Next Track":"NÄkamais ieraksts","Previous Track":"IepriekÅ¡Ä“jais ieraksts","Skip Forward":"Izlaist uz priekÅ¡u","Skip Backward":"Izlaist atpakaÄ¼","Fast Forward":"PatÄ«t",Rewind:"AttÄ«t","Next Frame":"NÄkamais kadrs","Previous Frame":"IepriekÅ¡Ä“jais kadrs",Settings:"IestatÄ«jumi",Options:"Opcijas","More Options":"Papildu opcijas",Zoom:"TÄlummaiÅ†a","Zoom In":"TuvinÄÅ¡ana","Zoom Out":"TÄlinÄÅ¡ana","Audio Only":"Tikai audio","Picture in Picture":"AttÄ“ls attÄ“lÄ","Camera Angle":"Kameras leÅ†Ä·is",MEDIA_ERR_ABORTED:"Video atskaÅ†oÅ¡ana priekÅ¡laikus pÄrtraukta.",MEDIA_ERR_NETWORK:"TÄ«kla kÄ¼Å«das dÄ“Ä¼ video lejupielÄde tika pÄrtraukta pusceÄ¼Ä. LÅ«dzu, pÄrbaudiet tÄ«kla savienojumu vai vÄ“lÄk mÄ“Ä£iniet vÄ“lreiz.",MEDIA_ERR_DECODE:"Videoklipu neizdevÄs ielÄdÄ“t servera vai tÄ«kla kÄ¼Å«mes vai neatbalstÄ«ta formÄta dÄ“Ä¼.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Video atskaÅ†oÅ¡ana tika priekÅ¡laikus pÄrtraukta bojÄjuma problÄ“mas dÄ“Ä¼ vai tÄpÄ“c, ka videoklipÄ tika izmantoti lÄ«dzekÄ¼i, ko jÅ«su pÄrlÅ«kprogramma neatbalsta.",MEDIA_ERR_ENCRYPTED:"Nevar atÅ¡ifrÄ“t Å¡ifrÄ“to video avotu.",SRC_PLAYER_MISMATCH:"PaÅ¡reizÄ“jai pÄrlÅ«kprogrammas videi nav atrasts saderÄ«gs avots.",MEDIA_ERR_UNKNOWN:"RadÄs nezinÄma kÄ¼Å«da",SKIP_AD_COUNTDOWN_FORMAT:"DrÄ«z varÄ“sit izlaist reklÄmu: {0}...",SKIP:"Izlaist",AD_TIMING_INFO:"ReklÄmaÂ â€“ {0} sekundes","Media Player":"Media Player","Play Video":"AtskaÅ†ot video",Foreground:"PriekÅ¡plÄns",White:"Balts",Black:"Melns",Red:"Sarkans",Green:"ZaÄ¼Å¡",Blue:"Zils",Yellow:"Dzeltens",Magenta:"FuksÄ«na",Cyan:"CiÄna",Opaque:"NecaurspÄ«dÄ«gs","Semi-Opaque":"DaÄ¼Ä“ji necaurspÄ«dÄ«gs",Transparent:"CaurspÄ«dÄ«gs",Window:"Logs","Font Size":"Fonta lielums","Text Edge Style":"Teksta malas stils",None:"Nav",Raised:"Pacelts",Depressed:"PazeminÄts",Uniform:"Vienots",Dropshadow:"NolaiÅ¾ama Ä“na","Font Family":"Fontu saime","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Parasts",Script:"Skripts","Small Caps":"KapiteÄ¼i",Defaults:"NoklusÄ“juma vÄ“rtÄ«bas",Done:"Gatavs",Link:"Saite",Embed:"Iegult",Close:"AizvÄ“rt",Copy:"KopÄ“t","Copy Url":"KopÄ“t URL","Embed Code":"IegulÅ¡anas kods",English:"AngÄ¼u","volume level":"skaÄ¼uma lÄ«menis","video progress bar":"video norises josla","playback speed level":"atskaÅ†oÅ¡anas Ätruma lÄ«menis","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Parakstu izvÄ“lne","Subtitles Menu":"Subtitru izvÄ“lne","Need Text":"NepiecieÅ¡ams teksts"}},{"../video.js/src/js/player.js":210}],127:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.ms={Play:"Main",Pause:"Jeda","Current Time":"Masa Semasa","Duration Time":"Tempoh Semasa","Remaining Time":"Baki Masa","Stream Type":"Jenis Strim",LIVE:"LANGSUNG",Loaded:"Dimuatkan",Progress:"Kemajuan",Fullscreen:"Skrin Penuh","Non-Fullscreen":"Bukan Skrin Penuh",Mute:"Bisu",Unmuted:"Dinyahbisu","Playback Rate":"Kadar Main Semula",Subtitles:"Sari kata","Subtitles Off":"sari kata dimatikan",Captions:"Kapsyen","Captions Off":"kapsyen dimatikan",Chapters:"Babak",Off:"Matikan",Quality:"Kualiti",Auto:"Auto","Audio Tracks":"Lagu Audio","default":"lalai","Cast To Device":"Siarkan Pada Peranti",Share:"Kongsi",Volume:"Volum","Playback Speed":"Kelajuan Main Semula","Video Quality":"Kualiti Video","Closed Captioning":"Penyarikataan Tertutup","Share Video":"Kongsi Video","Next Track":"Lagu berikut","Previous Track":"Lagu Sebelumnya","Skip Forward":"Langkau Ke Depan","Skip Backward":"Langkau Ke Belakang","Fast Forward":"Maju Ke Depan",Rewind:"Gulung Semula","Next Frame":"Bingkai Berikut","Previous Frame":"Bingkai Sebelumnya",Settings:"Seting",Options:"Opsyen","More Options":"Opsyen Lain",Zoom:"Zum","Zoom In":"Zum Masuk","Zoom Out":"Zum Keluar","Audio Only":"Audio Sahaja","Picture in Picture":"Gambar dalam Gambar","Camera Angle":"Sudut Kamera",MEDIA_ERR_ABORTED:"Main semula video dihentikan.",MEDIA_ERR_NETWORK:"Ralat rangkaian menyebabkan muat turun video gagal. Sila semak sambungan rangkaian anda atau cuba lagi kemudian.",MEDIA_ERR_DECODE:"Video tidak dapat dimuatkan, sama ada disebabkan kegagalan pelayan atau rangkaian atau disebabkan format tidak disokong.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Main semula video dihentikan atas sebab masalah pencemaran atau disebabkan video menggunakan ciri yang tidak disokong oleh pelayar anda.",MEDIA_ERR_ENCRYPTED:"Tidak dapat menyahsulitkan sumber video yang disulitkan.",SRC_PLAYER_MISMATCH:"Tiada sumber yang serasi ditemui untuk persekitaran pelayar semasa.",MEDIA_ERR_UNKNOWN:"Ralat yang tidak diketahui telah berlaku",SKIP_AD_COUNTDOWN_FORMAT:"Langkau iklan dalam {0}...",SKIP:"Langkau",AD_TIMING_INFO:"Iklan {0} saat","Media Player":"Pemain Media","Play Video":"Mainkan Video",Foreground:"Latar depan",White:"Putih",Black:"Hitam",Red:"Merah",Green:"Hijau",Blue:"Biru",Yellow:"Kuning",Magenta:"Magenta",Cyan:"Sian",Opaque:"Legap","Semi-Opaque":"Separa-Legap",Transparent:"Lutsinar",Window:"Tetingkap","Font Size":"Saiz Fon","Text Edge Style":"Gaya Tepi Teks",None:"Tiada",Raised:"Dinaikkan",Depressed:"Tertekan",Uniform:"Seragam",Dropshadow:"Bayang Jatuh","Font Family":"Keluarga Fon","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Santai",Script:"Skrip","Small Caps":"Huruf Besar Kecil",Defaults:"Lalai",Done:"Selesai",Link:"Pautan",Embed:"Benam",Close:"Tutup",Copy:"Salin","Copy Url":"Salin Url","Embed Code":"Kod Terbenam",English:"Bahasa Inggeris","volume level":"aras volum","video progress bar":"bar kemajuan video","playback speed level":"aras kelajuan main semula","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Menu Kapsyen","Subtitles Menu":"Menu Sari Kata","Need Text":"Perlukan Teks"};t["default"].prototype.options_.languages["ms-my"]=t["default"].prototype.options_.languages.ms},{"../video.js/src/js/player.js":210}],128:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.nb={Play:"Spill av",Pause:"Pause","Current Time":"Tid","Duration Time":"Varighet","Remaining Time":"GjenstÃ¥ende","Stream Type":"StrÃ¸mmingstype",LIVE:"LIVE",Loaded:"Lastet inn",Progress:"Fremdrift",Fullscreen:"Fullskjerm","Non-Fullscreen":"Ikke-fullskjerm",Mute:"Demp",Unmuted:"Opphevet demping","Playback Rate":"Avspillingshyppighet",Subtitles:"Undertekst","Subtitles Off":"undertekst av",Captions:"Bildetekst","Captions Off":"bildetekst av",Chapters:"Kapitler",Off:"Av",Quality:"Kvalitet",Auto:"Auto","Audio Tracks":"Lydspor","default":"standard","Cast To Device":"Spill av pÃ¥ enhet",Share:"Del",Volume:"Volume","Playback Speed":"Avspillingshastighet","Video Quality":"Videokvalitet","Closed Captioning":"Teksting","Share Video":"Del video","Next Track":"Neste spor","Previous Track":"Forrige spor","Skip Forward":"Hopp fremover","Skip Backward":"Hopp bakover","Fast Forward":"Spol fremover",Rewind:"Spol tilbake","Next Frame":"Neste bilde","Previous Frame":"Forrige bilde",Settings:"Innstillinger",Options:"Alternativer","More Options":"Flere alternativer",Zoom:"Zoom","Zoom In":"Zoom inn","Zoom Out":"Zoom ut","Audio Only":"Bare lyd","Picture in Picture":"Bilde i bilde","Camera Angle":"Kameravinkel",MEDIA_ERR_ABORTED:"Videoavspilling avbrutt.",MEDIA_ERR_NETWORK:"En nettverksfeil har forÃ¥rsaket at nedlastingen av denne videoen mislykkes. PrÃ¸v Ã¥ oppdatere siden.",MEDIA_ERR_DECODE:"Videoen kan ikke lastes inn, enten fordi tilkoblingen til serveren eller nettverket mislyktes, eller fordi formatet ikke stÃ¸ttes.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Videoavspillingen ble avbrutt pÃ¥ grunn skadet programvare eller fordi videoen brukte funksjoner som nettleseren din ikke stÃ¸tter.",MEDIA_ERR_ENCRYPTED:"Kan ikke dekryptere den krypterte videokilden.",SRC_PLAYER_MISMATCH:"Fant ingen kompatibel kilde for det gjeldende nettlesermiljÃ¸et.",MEDIA_ERR_UNKNOWN:"Det oppstod en ukjent feil.",SKIP_AD_COUNTDOWN_FORMAT:"Hopp over annonse om {0} ...",SKIP:"Hopp over",AD_TIMING_INFO:"Annonse {0} sekunder","Media Player":"Media Player","Play Video":"Spill av video",Foreground:"Forgrunn",White:"Hvit",Black:"Svart",Red:"RÃ¸d",Green:"GrÃ¸nn",Blue:"BlÃ¥",Yellow:"Gul",Magenta:"Magenta",Cyan:"Cyan",Opaque:"Ugjennomsiktig","Semi-Opaque":"Delvis ugjennomsiktig",Transparent:"Gjennomsiktig",Window:"Vindu","Font Size":"SkriftstÃ¸rrelse","Text Edge Style":"Tekstkantstil",None:"Ingen",Raised:"OpphÃ¸yd",Depressed:"Senket",Uniform:"Ensartet",Dropshadow:"Senket skygge","Font Family":"Skriftfamilie","Monospace Serif":"Serif med fast tegnavstand","Proportional Serif":"Proporsjonal serif","Monospace Sans-Serif":"Sans-serif med fast tegnavstand","Proportional Sans-Serif":"Proporsjonal sans-serif",Casual:"Tilfeldig",Script:"Skript","Small Caps":"KapitÃ©ler",Defaults:"Standarder",Done:"FullfÃ¸rt",Link:"Kobling",Embed:"Bygg inn",Close:"Lukk",Copy:"Kopier","Copy Url":"Kopier nettadresse","Embed Code":"Innebyggingskode",English:"Engelsk","volume level":"volumnivÃ¥","video progress bar":"fremdriftsindikator for video","playback speed level":"hastighetsnivÃ¥ for avspilling","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Bildetekstmeny","Subtitles Menu":"Undertekstmeny","Need Text":"Trenger tekst"};t["default"].prototype.options_.languages["nb-no"]=t["default"].prototype.options_.languages.nb},{"../video.js/src/js/player.js":210}],129:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.nl={Play:"Afspelen",Pause:"Onderbreken","Current Time":"Huidige tijd","Duration Time":"Duur","Remaining Time":"Resterende tijd","Stream Type":"Type stream",LIVE:"LIVE",Loaded:"Geladen",Progress:"Voortgang",Fullscreen:"Volledig scherm","Non-Fullscreen":"Niet-volledig scherm",Mute:"Dempen",Unmuted:"Dempen opgeheven","Playback Rate":"Afspeelsnelheid",Subtitles:"Ondertitels","Subtitles Off":"ondertitels uit",Captions:"Bijschriften","Captions Off":"ondertiteling uit",Chapters:"Hoofdstukken",Off:"Uit",Quality:"Kwaliteit",Auto:"Automatisch","Audio Tracks":"Audionummers","default":"standaard","Cast To Device":"Casten naar apparaat",Share:"Delen",Volume:"Volume","Playback Speed":"Afspeelsnelheid","Video Quality":"Videokwaliteit","Closed Captioning":"Ondertiteling","Share Video":"Video delen","Next Track":"Volgend nummer","Previous Track":"Vorig nummer","Skip Forward":"Vooruit springen","Skip Backward":"Terug springen","Fast Forward":"Vooruitspoelen",Rewind:"Terugspoelen","Next Frame":"Volgende frame","Previous Frame":"Vorige frame",Settings:"Instellingen",Options:"Opties","More Options":"Meer opties",Zoom:"In-/uitzoomen","Zoom In":"Inzoomen","Zoom Out":"Uitzoomen","Audio Only":"Alleen audio","Picture in Picture":"Picture in Picture","Camera Angle":"Camerahoek",MEDIA_ERR_ABORTED:"Video afspelen is afgebroken.",MEDIA_ERR_NETWORK:"De video is vanwege een netwerkfout gedeeltelijk gedownload. Controleer uw netwerkverbinding of probeer het later opnieuw.",MEDIA_ERR_DECODE:"De video kan niet worden geladen, omdat er een probleem is met de server of het netwerk of omdat de indeling niet wordt ondersteund.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Het afspelen van de video is afgebroken, omdat deze mogelijk is beschadigd of omdat de video functies gebruikt die niet worden ondersteund door uw browser.",MEDIA_ERR_ENCRYPTED:"Kan de versleutelde videobron niet ontsleutelen.",SRC_PLAYER_MISMATCH:"Er is geen compatibele bron gevonden voor de huidige browseromgeving.",MEDIA_ERR_UNKNOWN:"Er is een onbekende fout opgetreden.",SKIP_AD_COUNTDOWN_FORMAT:"Advertentie overslaan over {0}...",SKIP:"Overslaan",AD_TIMING_INFO:"Advertentie van {0} seconden","Media Player":"Mediaspeler","Play Video":"Video afspelen",Foreground:"Voorgrond",White:"Wit",Black:"Zwart",Red:"Rood",Green:"Groen",Blue:"Blauw",Yellow:"Geel",Magenta:"Magenta",Cyan:"Cyaan",Opaque:"Ondoorzichtig","Semi-Opaque":"Half ondoorzichtig",Transparent:"Transparant",Window:"Venster","Font Size":"Tekengrootte","Text Edge Style":"Tekstrandstijl",None:"Geen",Raised:"Verhoogd",Depressed:"Verzonken",Uniform:"Gelijkmatig",Dropshadow:"Slagschaduw","Font Family":"Lettertypefamilie","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans Serif","Proportional Sans-Serif":"Proportional Sans Serif",Casual:"Informeel",Script:"Script","Small Caps":"Klein kapitaal",Defaults:"Standaardwaarden",Done:"Gereed",Link:"Koppeling",Embed:"Insluiten",Close:"Sluiten",Copy:"Kopiï¿½ren","Copy Url":"URL kopiï¿½ren","Embed Code":"Invoegcode",English:"Engels","volume level":"volumeniveau","video progress bar":"voortgangsbalk voor video","playback speed level":"niveau van afspeelsnelheid","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Menu Bijschriften","Subtitles Menu":"Menu Ondertitels","Need Text":"Tekst vereist"};t["default"].prototype.options_.languages["nl-be"]=t["default"].prototype.options_.languages.nl},{"../video.js/src/js/player.js":210}],130:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.nn={Play:"Spel av",Pause:"Pause","Current Time":"Tid","Duration Time":"Tidslengd","Remaining Time":"Tid att","Stream Type":"StrÃ¸mmingstype",LIVE:"LIVE",Loaded:"Lasta inn",Progress:"Framdrift",Fullscreen:"Fullskjerm","Non-Fullscreen":"Ikkje fullskjerm",Mute:"Demp",Unmuted:"Oppheva demping","Playback Rate":"Avspelingsfart",Subtitles:"Teksting","Subtitles Off":"teksting av",Captions:"Teksting","Captions Off":"teksting av",Chapters:"Kapittel",Off:"Av",Quality:"Kvalitet",Auto:"Auto","Audio Tracks":"Lydspor","default":"standard","Cast To Device":"Spel av pÃ¥ eining",Share:"Del",Volume:"Volum","Playback Speed":"Avspelingsfart","Video Quality":"Videokvalitet","Closed Captioning":"Teksting for hÃ¸yrselshemma","Share Video":"Del video","Next Track":"Neste spor","Previous Track":"FÃ¸rre spor","Skip Forward":"Hopp framover","Skip Backward":"Hopp bakover","Fast Forward":"Spol framover",Rewind:"Spol tilbake","Next Frame":"Neste bilete","Previous Frame":"FÃ¸rre bilete",Settings:"Innstillingar",Options:"Alternativ","More Options":"Fleire alternativ",Zoom:"Zoom","Zoom In":"Zoom inn","Zoom Out":"Zoom ut","Audio Only":"Berre lyd","Picture in Picture":"Bilete i bilete","Camera Angle":"Kameravinkel",MEDIA_ERR_ABORTED:"Videoavspeling avbroten.",MEDIA_ERR_NETWORK:"Ein nettverksfeil har fÃ¸rt til at nedlastinga av denne videoen mislukkast. Kontroller nettverkstilkoplinga, eller prÃ¸v pÃ¥ nytt seinare.",MEDIA_ERR_DECODE:"Videoen kan ikkje lastast ned, anten fordi tilkoplinga til tenaren eller nettverket mislukkast, eller fordi formatet ikkje er stÃ¸tta.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Videoavspelinga blei avbroten pÃ¥ grunn av skadd programvare eller fordi videoen brukte funksjonar som nettlesaren din ikkje stÃ¸ttar.",MEDIA_ERR_ENCRYPTED:"Kan ikkje dekryptere den krypterte videokjelda.",SRC_PLAYER_MISMATCH:"Finn ikkje noka kompatibel kjelde for det gjeldande nettlesarmiljÃ¸et.",MEDIA_ERR_UNKNOWN:"Det oppstod ein ukjent feil",SKIP_AD_COUNTDOWN_FORMAT:"Hopp over annonse om {0} ...",SKIP:"Hopp over",AD_TIMING_INFO:"Annonse {0} sekunder"};t["default"].prototype.options_.languages["nn-no"]=t["default"].prototype.options_.languages.nn},{"../video.js/src/js/player.js":210}],131:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.ph={Play:"I-play",Pause:"I-pause","Current Time":"Kasalukuyang Oras","Duration Time":"Oras ng Tagal","Remaining Time":"Nalalabing Oras","Stream Type":"Uri ng Stream",LIVE:"Live",Loaded:"Loaded",Progress:"Progreso",Fullscreen:"Fullscreen","Non-Fullscreen":"Hindi-Fullscreen",Mute:"I-mute",Unmuted:"I-unmute","Playback Rate":"Rate ng Playback",Subtitles:"Mga subtitle","Subtitles Off":"Naka-off ang subtitle",Captions:"Mga Caption","Captions Off":"Naka-off ang Caption",Chapters:"Mga chapter",Off:"I-off",Quality:"Kalidad",Auto:"Awto","Audio Tracks":"Mga Track ng Audio","default":"default","Cast To Device":"I-Cast Sa Device",Share:"Ibahagi",Volume:"Volume","Playback Speed":"Bilis ng Playback","Video Quality":"Kalidad ng Video","Closed Captioning":"Isara ang Captioning","Share Video":"Ibahagi ang Video","Next Track":"Susunod na Track","Previous Track":"Nakaraang Track","Skip Forward":"I-skip Pauna","Skip Backward":"I-skip Pabalik","Fast Forward":"I-fast forwarf",Rewind:"I-rewind","Next Frame":"Susunod na Frame","Previous Frame":"Nakaraang Frame",Settings:"Mga Setting",Options:"Mga Opsyon","More Options":"Iba Pang Mga Opsyon",Zoom:"I-zoom","Zoom In":"I-zoom in","Zoom Out":"I-zoom out","Audio Only":"Audio Lamang","Picture in Picture":"Larawam sa Larawan","Camera Angle":"Anggulo ng Camera",MEDIA_ERR_ABORTED:"Nahinto ang playback ng video",MEDIA_ERR_NETWORK:"Ang error sa network ang dahilan kung bakit nabigo ang pag-download ng video. Pakitingnan ang konkesyon ng iyong network at subukang muli.",MEDIA_ERR_DECODE:"Hindi mai-load ang video, marahil dahil nabigo ang server o network o dahil hindi suportado ang format.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Nahinto ang playback ng video dahil sa sa pagkasira o dahil hindi suportado ng browser ang video ng ginamit na mga tampok.",MEDIA_ERR_ENCRYPTED:"Hindi ma-decrypt ang source ng naka-encrypt na video.",SRC_PLAYER_MISMATCH:"Walang nakitang tugmang source para sa kasalukuyang browser.",MEDIA_ERR_UNKNOWN:"May nangyaring hindi kilalang error",SKIP_AD_COUNTDOWN_FORMAT:"Laktawan ang ad pagkalipas ng {0}...",SKIP:"Laktawan",AD_TIMING_INFO:"Ad {0} (na) segundo"}},{"../video.js/src/js/player.js":210}],132:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.pl={Play:"OdtwÃ³rz",Pause:"Wstrzymaj","Current Time":"BieÅ¼Ä…cy czas","Duration Time":"Czas trwania","Remaining Time":"PozostaÅ‚y czas","Stream Type":"Typ strumienia",LIVE:"NA Å»YWO",Loaded:"ZaÅ‚adowane",Progress:"PostÄ™p",Fullscreen:"PeÅ‚ny ekran","Non-Fullscreen":"NiepeÅ‚ny ekran",Mute:"Wycisz",Unmuted:"Wyciszenie wyÅ‚Ä…czone","Playback Rate":"Tempo odtwarzania",Subtitles:"Napisy","Subtitles Off":"napisy wyÅ‚Ä…czone",Captions:"Podpisy","Captions Off":"podpisy wyÅ‚Ä…czone",Chapters:"RozdziaÅ‚y",Off:"WyÅ‚Ä…czone",Quality:"JakoÅ›Ä‡",Auto:"Auto","Audio Tracks":"ÅšcieÅ¼ki dÅºwiÄ™kowe","default":"domyÅ›lne","Cast To Device":"Rzutuj na urzÄ…dzenie",Share:"UdostÄ™pnij",Volume:"GÅ‚oÅ›noÅ›Ä‡","Playback Speed":"SzybkoÅ›Ä‡ odtwarzania","Video Quality":"JakoÅ›Ä‡ wideo","Closed Captioning":"Podpisy kodowane","Share Video":"UdostÄ™pnij wideo","Next Track":"NastÄ™pna Å›cieÅ¼ka","Previous Track":"Poprzednia Å›cieÅ¼ka","Skip Forward":"Skocz do tyÅ‚u","Skip Backward":"Skocz do przodu","Fast Forward":"PrzewiÅ„ do przodu",Rewind:"PrzewiÅ„ do tyÅ‚u","Next Frame":"NastÄ™pna klatka","Previous Frame":"Poprzednia klatka",Settings:"Ustawienia",Options:"Opcje","More Options":"WiÄ™cej opcji",Zoom:"PowiÄ™kszenie","Zoom In":"PowiÄ™ksz","Zoom Out":"Pomniejsz","Audio Only":"Tylko dÅºwiÄ™k","Picture in Picture":"Obraz w obrazie","Camera Angle":"KÄ…t kamery",MEDIA_ERR_ABORTED:"Przerwano odtwarzanie wideo.",MEDIA_ERR_NETWORK:"BÅ‚Ä…d sieci spowodowaÅ‚, Å¼e trwajÄ…ce pobieranie wideo zostaÅ‚o przerwane. SprawdÅº poÅ‚Ä…czenie sieciowe i sprÃ³buj ponownie.",MEDIA_ERR_DECODE:"Nie moÅ¼na zaÅ‚adowaÄ‡ wideo. WystÄ…piÅ‚ bÅ‚Ä…d serwera lub sieci albo format nie jest obsÅ‚ugiwany.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Odtwarzanie wideo zostaÅ‚o przerwane. Dane sÄ… uszkodzone lub wideo korzysta z funkcji, ktÃ³rych przeglÄ…darka nie obsÅ‚uguje.",MEDIA_ERR_ENCRYPTED:"Nie moÅ¼na odszyfrowaÄ‡ zaszyfrowanego ÅºrÃ³dÅ‚a wideo.",SRC_PLAYER_MISMATCH:"Nie znaleziono zgodnego ÅºrÃ³dÅ‚a dla bieÅ¼Ä…cego Å›rodowiska przeglÄ…darki.",MEDIA_ERR_UNKNOWN:"WystÄ…piÅ‚ nieznany bÅ‚Ä…d.",SKIP_AD_COUNTDOWN_FORMAT:"PomiÅ„ reklamÄ™ za {0}...",SKIP:"PomiÅ„",AD_TIMING_INFO:"Reklama: {0} sek.","Media Player":"Odtwarzacz multimediÃ³w","Play Video":"OdtwÃ³rz klip wideo",Foreground:"Pierwszy plan",White:"BiaÅ‚y",Black:"Czarny",Red:"Czerwony",Green:"Zielony",Blue:"Niebieski",Yellow:"Å»Ã³Å‚ty",Magenta:"Amarantowy",Cyan:"BÅ‚Ä™kitny",Opaque:"Nieprzezroczysty","Semi-Opaque":"PÃ³Å‚przezroczysty",Transparent:"Przezroczysty",Window:"Okno","Font Size":"Rozmiar czcionki","Text Edge Style":"Styl krawÄ™dzi tekstu",None:"Brak",Raised:"Podniesione",Depressed:"WklÄ™sÅ‚e",Uniform:"Jednolite",Dropshadow:"Z cieniem","Font Family":"Rodzina czcionek","Monospace Serif":"Szeryfowa o staÅ‚ej szerokoÅ›ci","Proportional Serif":"Szeryfowa proporcjonalna","Monospace Sans-Serif":"Bezszeryfowa o staÅ‚ej szerokoÅ›ci","Proportional Sans-Serif":"Bezszeryfowa proporcjonalna",Casual:"Nieformalna",Script:"Skrypt","Small Caps":"Kapitaliki",Defaults:"DomyÅ›lne",Done:"Gotowe",Link:"Link",Embed:"OsadÅº",Close:"Zamknij",Copy:"Kopiuj","Copy Url":"Kopiuj adres URL","Embed Code":"Kod osadzania",English:"Angielski","volume level":"poziom gÅ‚oÅ›noÅ›ci","video progress bar":"pasek postÄ™pu klipu wideo","playback speed level":"poziom prÄ™dkoÅ›ci odtwarzania","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Menu podpisÃ³w","Subtitles Menu":"Menu napisÃ³w","Need Text":"Potrzebny tekst"}},{"../video.js/src/js/player.js":210}],133:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages["pt-br"]={Play:"Executar",Pause:"Pausar","Current Time":"Tempo atual","Duration Time":"Tempo de duraÃ§Ã£o","Remaining Time":"Tempo restante","Stream Type":"Tipo de fluxo",LIVE:"AO VIVO",Loaded:"Carregado",Progress:"Progresso",Fullscreen:"Tela cheia","Non-Fullscreen":"Sem tela cheia",Mute:"Sem Ã¡udio",Unmuted:"Mudo desativado","Playback Rate":"Taxa de reproduÃ§Ã£o",Subtitles:"Legendas","Subtitles Off":"Desativar legendas",Captions:"Legendas","Captions Off":"desativar legendas",Chapters:"CapÃ­tulos",Off:"Desativado",Quality:"Qualidade",Auto:"AutomÃ¡tico","Audio Tracks":"Faixas de Ã¡udio","default":"padrÃ£o","Cast To Device":"Converter para o dispositivo",Share:"Compartilhar",Volume:"Volume","Playback Speed":"Velocidade de reproduÃ§Ã£o","Video Quality":"Qualidade do vÃ­deo","Closed Captioning":"Legendagem codificada","Share Video":"Compartilhar vÃ­deo","Next Track":"PrÃ³xima faixa","Previous Track":"Faixa anterior","Skip Forward":"PrÃ³xima faixa","Skip Backward":"Faixa anterior","Fast Forward":"AvanÃ§ar",Rewind:"Retroceder","Next Frame":"PrÃ³ximo quadro","Previous Frame":"Quadro anterior",Settings:"ConfiguraÃ§Ãµes",Options:"OpÃ§Ãµes","More Options":"Mais OpÃ§Ãµes",Zoom:"Aplicar zoom","Zoom In":"Ampliar","Zoom Out":"Reduzir","Audio Only":"Apenas Ã¡udio","Picture in Picture":"Picture in picture","Camera Angle":"Ã‚ngulo da cÃ¢mera",MEDIA_ERR_ABORTED:"ReproduÃ§Ã£o de vÃ­deo anulada.",MEDIA_ERR_NETWORK:"Um erro de rede causou a falha do download do vÃ­deo. Verifique sua conexÃ£o de rede ou tente novamente mais tarde.",MEDIA_ERR_DECODE:"O vÃ­deo nÃ£o pÃ´de ser carregado, pois hÃ¡ uma falha na rede ou servidor ou o formato nÃ£o Ã© suportado.",MEDIA_ERR_SRC_NOT_SUPPORTED:"A reproduÃ§Ã£o do vÃ­deo foi anulada devido a um problema de corrupÃ§Ã£o ou porque o vÃ­deo usou recursos que seu navegador nÃ£o suporta.",MEDIA_ERR_ENCRYPTED:"NÃ£o foi possÃ­vel descriptografar a fonte do vÃ­deo criptogradada.",SRC_PLAYER_MISMATCH:"Nenhuma fonte compatÃ­vel encontrada para o ambiente do navegador atual.",MEDIA_ERR_UNKNOWN:"Ocorreu um erro desconhecido.",SKIP_AD_COUNTDOWN_FORMAT:"Ignorar anÃºncio em {0}...",SKIP:"Ignorar",AD_TIMING_INFO:"AnÃºncio de {0} segundos","Media Player":"Player de MÃ­dia","Play Video":"Reproduzir VÃ­deo",Foreground:"Primeiro plano",White:"Branco",Black:"Preto",Red:"Vermelho",Green:"Verde",Blue:"Azul",Yellow:"Amarelo",Magenta:"Magenta",Cyan:"Ciano",Opaque:"Opaco","Semi-Opaque":"Semiopaco",Transparent:"Transparente",Window:"Janela","Font Size":"Tamanho da Fonte","Text Edge Style":"Estilo da Borda do Texto",None:"Nenhum",Raised:"Relevo",Depressed:"Baixo relevo",Uniform:"Uniforme",Dropshadow:"Sombra","Font Family":"FamÃ­lia da Fonte","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Casual",Script:"Script","Small Caps":"Versalete",Defaults:"PadrÃµes",Done:"ConcluÃ­do",Link:"Link",Embed:"Inserir",Close:"Fechar",Copy:"Copiar","Copy Url":"Copiar URL","Embed Code":"Inserir CÃ³digo",English:"InglÃªs","volume level":"nÃ­vel do volume","video progress bar":"barra de progresso do vÃ­deo","playback speed level":"nÃ­vel de velocidade de reproduÃ§Ã£o","Dolby Digital":"Dolby Digital",Stereo:"EstÃ©reo","Captions Menu":"Menu de Legendas Ocultas","Subtitles Menu":"Menu de Legendas","Need Text":"Precisa de texto"}},{"../video.js/src/js/player.js":210}],134:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages["pt-pt"]={Play:"Reproduzir",Pause:"Pausa","Current Time":"Tempo Atual","Duration Time":"Tempo de DuraÃ§Ã£o","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Fluxo",LIVE:"EM DIRETO",Loaded:"Carregado",Progress:"Progresso",Fullscreen:"EcrÃ£ Inteiro","Non-Fullscreen":"Sair de EcrÃ£ Inteiro",Mute:"Desativar Som",Unmuted:"Som ativado","Playback Rate":"Taxa de ReproduÃ§Ã£o",Subtitles:"Legendas","Subtitles Off":"legendas desativadas",Captions:"Legendas","Captions Off":"legendas desligadas",Chapters:"CapÃ­tulos",Off:"Desligado",Quality:"Qualidade",Auto:"AutomÃ¡tico","Audio Tracks":"Faixas de Ãudio","default":"predefiniÃ§Ã£o","Cast To Device":"Transmitir em Dispositivo",Share:"Partilhar",Volume:"Volume","Playback Speed":"Velocidade de ReproduÃ§Ã£o","Video Quality":"Qualidade do VÃ­deo","Closed Captioning":"Legendagem de Ãudio","Share Video":"Partilhar VÃ­deo","Next Track":"Faixa Seguinte","Previous Track":"Faixa Anterior","Skip Forward":"Para a Frente","Skip Backward":"Para TrÃ¡s","Fast Forward":"AvanÃ§ar",Rewind:"Recuar","Next Frame":"Fotograma Seguinte","Previous Frame":"Fotograma Anterior",Settings:"DefiniÃ§Ãµes",Options:"OpÃ§Ãµes","More Options":"Mais OpÃ§Ãµes",Zoom:"Zoom","Zoom In":"Ampliar","Zoom Out":"Reduzir","Audio Only":"Apenas Ãudio","Picture in Picture":"Imagem na Imagem","Camera Angle":"Ã‚ngulo da CÃ¢mara",MEDIA_ERR_ABORTED:"ReproduÃ§Ã£o de vÃ­deo abortada.",MEDIA_ERR_NETWORK:"A transferÃªncia do vÃ­deo parou a meio devido a um erro de rede. Verifique a ligaÃ§Ã£o de rede ou tente novamente mais tarde.",MEDIA_ERR_DECODE:"NÃ£o foi possÃ­vel carregar o vÃ­deo. Ocorreu uma falha no servidor ou na rede ou o formato nÃ£o Ã© suportado.",MEDIA_ERR_SRC_NOT_SUPPORTED:"A reproduÃ§Ã£o do vÃ­deo foi abortada devido a um problema de danificaÃ§Ã£o ou porque o vÃ­deo utiliza funcionalidades que o seu browser nÃ£o suporta.",MEDIA_ERR_ENCRYPTED:"NÃ£o Ã© possÃ­vel desencriptar a origem de vÃ­deo encriptada.",SRC_PLAYER_MISMATCH:"NÃ£o foi encontrada uma origem compatÃ­vel para o ambiente de browser atual.",MEDIA_ERR_UNKNOWN:"Ocorreu um erro desconhecido.",SKIP_AD_COUNTDOWN_FORMAT:"Ignorar anÃºncio em {0}...",SKIP:"Ignorar",AD_TIMING_INFO:"AnÃºncio {0} segundos","Media Player":"Leitor de MultimÃ©dia","Play Video":"Reproduzir VÃ­deo",Foreground:"Primeiro Plano",White:"Branco",Black:"Preto",Red:"Vermelho",Green:"Verde",Blue:"Azul",Yellow:"Amarelo",Magenta:"Magenta",Cyan:"Turquesa",Opaque:"Opaco","Semi-Opaque":"Semi-opaco",Transparent:"Transparente",Window:"Janela","Font Size":"Tamanho do Tipo de Letra","Text Edge Style":"Estilo do Contorno do Texto",None:"Nenhum",Raised:"Alto Relevo",Depressed:"Baixo Relevo",Uniform:"Uniforme",Dropshadow:"Sombra","Font Family":"FamÃ­lia de Tipos de Letra","Monospace Serif":"Serif NÃ£o Proporcional","Proportional Serif":"Serif Proporcional","Monospace Sans-Serif":"Sans-Serif NÃ£o Proporcional","Proportional Sans-Serif":"Sans-Serif Proporcional",Casual:"Casual",Script:"Script","Small Caps":"MaiÃºsculas Pequenas",Defaults:"PredefiniÃ§Ãµes",Done:"ConcluÃ­do",Link:"Ligar",Embed:"Incorporar",Close:"Fechar",Copy:"Copiar","Copy Url":"Copiar URL","Embed Code":"CÃ³digo de IncorporaÃ§Ã£o",English:"InglÃªs","volume level":"nÃ­vel do volume","video progress bar":"barra de progresso do vÃ­deo","playback speed level":"nÃ­vel da velocidade de reproduÃ§Ã£o","Dolby Digital":"Dolby Digital",Stereo:"EstÃ©reo","Captions Menu":"Menu de Legendas de Ãudio","Subtitles Menu":"Menu de Legendas","Need Text":"Necessita de Texto"};t["default"].prototype.options_.languages.pt=t["default"].prototype.options_.languages["pt-pt"]},{"../video.js/src/js/player.js":210}],135:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.ro={Play:"Redare",Pause:"PauzÄƒ","Current Time":"Ora curentÄƒ","Duration Time":"Durata de timp","Remaining Time":"Timp rÄƒmas","Stream Type":"Tip de flux",LIVE:"LIVE",Loaded:"ÃŽncÄƒrcat",Progress:"Progres",Fullscreen:"Ecran complet","Non-Fullscreen":"Nu este pe ecran complet",Mute:"FÄƒrÄƒ sunet",Unmuted:"Sunet reactivat","Playback Rate":"RatÄƒ de redare",Subtitles:"SubtitrÄƒri","Subtitles Off":"subtitrÄƒri dezactivate",Captions:"Legende","Captions Off":"legende dezactivate",Chapters:"Capitole",Off:"Dezactivat",Quality:"Calitate",Auto:"Auto","Audio Tracks":"Piese audio","default":"implicit","Cast To Device":"Difuzare la dispozitiv",Share:"Partajare",Volume:"Volum","Playback Speed":"VitezÄƒ de redare","Video Quality":"Calitate video","Closed Captioning":"Subtitrare complexÄƒ","Share Video":"Partajare video","Next Track":"Piesa urmÄƒtoare","Previous Track":"Piesa anterioarÄƒ","Skip Forward":"Salt Ã®nainte","Skip Backward":"Salt Ã®napoi","Fast Forward":"Derulare rapidÄƒ",Rewind:"Derulare Ã®napoi","Next Frame":"Cadrul urmÄƒtor","Previous Frame":"Cadrul anterior",Settings:"SetÄƒri",Options:"OpÈ›iuni","More Options":"Mai multe opÈ›iuni",Zoom:"Zoom","Zoom In":"MÄƒrire","Zoom Out":"MicÈ™orare","Audio Only":"Doar audio","Picture in Picture":"Imagine Ã®n imagine","Camera Angle":"Unghi camerÄƒ",MEDIA_ERR_ABORTED:"Redare video anulatÄƒ",MEDIA_ERR_NETWORK:"O eroare de reÈ›ea a determinat nereuÈ™ita parÈ›ialÄƒ a descÄƒrcÄƒrii videoclipului. VerificaÈ›i conexiunea la reÈ›ea sau Ã®ncercaÈ›i din nou mai tÃ¢rziu.",MEDIA_ERR_DECODE:"Videoclipul nu a putut fi Ã®ncÄƒrcat din cauza unei erori de server sau reÈ›ea sau pentru cÄƒ formatul nu este acceptat.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Redarea video a fost abandonatÄƒ din cauza unei probleme de deteriorare sau pentru cÄƒ videoclipul a utilizat caracteristici pe care browserul nu le acceptÄƒ.",MEDIA_ERR_ENCRYPTED:"Nu se poate decripta sursa video criptatÄƒ.",SRC_PLAYER_MISMATCH:"Nu s-a gÄƒsit nicio sursÄƒ compatibilÄƒ pentru mediul de browser curent.",MEDIA_ERR_UNKNOWN:"Eroare necunoscutÄƒ",SKIP_AD_COUNTDOWN_FORMAT:"IgnoraÈ›i publicitatea Ã®n {0}...",SKIP:"IgnoraÈ›i",AD_TIMING_INFO:"Publicitate - {0} secunde","Media Player":"Player media","Play Video":"Redare video",Foreground:"Prim plan",White:"Alb",Black:"Negru",Red:"RoÈ™u",Green:"Verde",Blue:"Albastru",Yellow:"Galben",Magenta:"Fucsia",Cyan:"Bleu",Opaque:"Opac","Semi-Opaque":"Semiopac",Transparent:"Transparent",Window:"FereastrÄƒ","Font Size":"Dimensiune font","Text Edge Style":"Stil muchie text",None:"FÄƒrÄƒ",Raised:"Ridicat",Depressed:"Presat",Uniform:"Uniform",Dropshadow:"UmbrÄƒ cÄƒzutÄƒ","Font Family":"Familie de fonturi","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Casual",Script:"Script","Small Caps":"Majuscule reduse",Defaults:"Valori implicite",Done:"Gata",Link:"Link",Embed:"ÃŽncorporare",Close:"ÃŽnchidere",Copy:"Copiere","Copy Url":"Copiere URL","Embed Code":"Cod de Ã®ncorporare",English:"EnglezÄƒ","volume level":"nivel volum","video progress bar":"barÄƒ de progres video","playback speed level":"nivel vitezÄƒ de redare","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Meniul Legende","Subtitles Menu":"Meniul SubtitrÄƒri","Need Text":"Text necesar"}},{"../video.js/src/js/player.js":210}],136:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.ru={Play:"Ð’Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ðµ",Pause:"ÐŸÐ°ÑƒÐ·Ð°","Current Time":"Ð¢ÐµÐºÑƒÑ‰ÐµÐµ Ð²Ñ€ÐµÐ¼Ñ","Duration Time":"Ð”Ð»Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾ÑÑ‚ÑŒ","Remaining Time":"ÐžÑÑ‚Ð°Ð²ÑˆÐµÐµÑÑ Ð²Ñ€ÐµÐ¼Ñ","Stream Type":"Ð¢Ð¸Ð¿ Ð¿Ð¾Ñ‚Ð¾ÐºÐ°",LIVE:"ÐŸÐ Ð¯ÐœÐÐ¯ Ð¢Ð ÐÐÐ¡Ð›Ð¯Ð¦Ð˜Ð¯",Loaded:"Ð—Ð°Ð³Ñ€ÑƒÐ¶ÐµÐ½",Progress:"ÐŸÑ€Ð¾Ð³Ñ€ÐµÑÑ",Fullscreen:"ÐŸÐ¾Ð»Ð½Ñ‹Ð¹ ÑÐºÑ€Ð°Ð½","Non-Fullscreen":"ÐÐµÐ¿Ð¾Ð»Ð½Ñ‹Ð¹ ÑÐºÑ€Ð°Ð½",Mute:"Ð’Ñ‹ÐºÐ»ÑŽÑ‡Ð¸Ñ‚ÑŒ Ð·Ð²ÑƒÐº",Unmuted:"ÐœÐ¸ÐºÑ€Ð¾Ñ„Ð¾Ð½ Ð²ÐºÐ»ÑŽÑ‡ÐµÐ½","Playback Rate":"Ð¡ÐºÐ¾Ñ€Ð¾ÑÑ‚ÑŒ Ð²Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ",Subtitles:"Ð¡ÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ñ‹","Subtitles Off":"Ð¾Ñ‚ÐºÐ»ÑŽÑ‡Ð¸Ñ‚ÑŒ ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ñ‹",Captions:"ÐŸÐ¾Ð´Ð¿Ð¸ÑÐ¸","Captions Off":"Ð¾Ñ‚ÐºÐ»ÑŽÑ‡Ð¸Ñ‚ÑŒ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐ¸",Chapters:"Ð§Ð°ÑÑ‚Ð¸",Off:"Ð’Ñ‹ÐºÐ».",Quality:"ÐšÐ°Ñ‡ÐµÑÑ‚Ð²Ð¾",Auto:"ÐÐ²Ñ‚Ð¾","Audio Tracks":"Ð—Ð²ÑƒÐºÐ¾Ð²Ñ‹Ðµ Ð´Ð¾Ñ€Ð¾Ð¶ÐºÐ¸","default":"Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ","Cast To Device":"Ð¢Ñ€Ð°Ð½ÑÐ»Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ Ð½Ð° ÑƒÑÑ‚Ñ€Ð¾Ð¹ÑÑ‚Ð²Ð¾",Share:"ÐžÐ±Ñ‰Ð¸Ð¹ Ð´Ð¾ÑÑ‚ÑƒÐ¿",Volume:"Ð—Ð²ÑƒÐº","Playback Speed":"Ð¡ÐºÐ¾Ñ€Ð¾ÑÑ‚ÑŒ Ð²Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ","Video Quality":"ÐšÐ°Ñ‡ÐµÑÑ‚Ð²Ð¾ Ð²Ð¸Ð´ÐµÐ¾","Closed Captioning":"ÐšÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ðµ ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ñ‹","Share Video":"ÐŸÐ¾Ð´ÐµÐ»Ð¸Ñ‚ÑŒÑÑ Ð²Ð¸Ð´ÐµÐ¾","Next Track":"Ð¡Ð»ÐµÐ´ÑƒÑŽÑ‰Ð°Ñ Ð´Ð¾Ñ€Ð¾Ð¶ÐºÐ°","Previous Track":"ÐŸÑ€ÐµÐ´Ñ‹Ð´ÑƒÑ‰Ð°Ñ Ð´Ð¾Ñ€Ð¾Ð¶ÐºÐ°","Skip Forward":"ÐŸÐµÑ€ÐµÑ…Ð¾Ð´ Ð²Ð¿ÐµÑ€ÐµÐ´","Skip Backward":"ÐŸÐµÑ€ÐµÑ…Ð¾Ð´ Ð½Ð°Ð·Ð°Ð´","Fast Forward":"ÐŸÐµÑ€ÐµÐ¼Ð¾Ñ‚ÐºÐ° Ð²Ð¿ÐµÑ€ÐµÐ´",Rewind:"ÐŸÐµÑ€ÐµÐ¼Ð¾Ñ‚ÐºÐ° Ð½Ð°Ð·Ð°Ð´","Next Frame":"Ð¡Ð»ÐµÐ´ÑƒÑŽÑ‰Ð¸Ð¹ ÐºÐ°Ð´Ñ€","Previous Frame":"ÐŸÑ€ÐµÐ´Ñ‹Ð´ÑƒÑ‰Ð¸Ð¹ ÐºÐ°Ð´Ñ€",Settings:"ÐŸÐ°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ñ‹",Options:"ÐŸÐ°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ñ‹","More Options":"Ð”Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ðµ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ñ‹",Zoom:"ÐœÐ°ÑÑˆÑ‚Ð°Ð±","Zoom In":"Ð£Ð²ÐµÐ»Ð¸Ñ‡Ð¸Ñ‚ÑŒ","Zoom Out":"Ð£Ð¼ÐµÐ½ÑŒÑˆÐ¸Ñ‚ÑŒ","Audio Only":"Ð¢Ð¾Ð»ÑŒÐºÐ¾ Ð°ÑƒÐ´Ð¸Ð¾","Picture in Picture":"ÐšÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° Ð² ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐµ","Camera Angle":"Ð Ð°ÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ ÐºÐ°Ð¼ÐµÑ€Ñ‹",MEDIA_ERR_ABORTED:"Ð’Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ðµ Ð²Ð¸Ð´ÐµÐ¾ Ð¿Ñ€ÐµÑ€Ð²Ð°Ð½Ð¾.",MEDIA_ERR_NETWORK:"ÐžÑˆÐ¸Ð±ÐºÐ° ÑÐµÑ‚Ð¸ Ð¿Ñ€Ð¸Ð²ÐµÐ»Ð° Ðº ÑÐ±Ð¾ÑŽ Ð² Ð¿Ñ€Ð¾Ñ†ÐµÑÑÐµ Ð·Ð°Ð³Ñ€ÑƒÐ·ÐºÐ¸ Ð²Ð¸Ð´ÐµÐ¾Ð·Ð°Ð¿Ð¸ÑÐ¸. ÐŸÑ€Ð¾Ð²ÐµÑ€ÑŒÑ‚Ðµ ÑÐµÑ‚ÐµÐ²Ð¾Ðµ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ðµ Ð¸Ð»Ð¸ Ð¿Ð¾Ð²Ñ‚Ð¾Ñ€Ð¸Ñ‚Ðµ Ð¿Ð¾Ð¿Ñ‹Ñ‚ÐºÑƒ Ð¿Ð¾Ð·Ð´Ð½ÐµÐµ.",MEDIA_ERR_DECODE:"ÐÐµ ÑƒÐ´Ð°ÐµÑ‚ÑÑ Ð·Ð°Ð³Ñ€ÑƒÐ·Ð¸Ñ‚ÑŒ Ð²Ð¸Ð´ÐµÐ¾Ð·Ð°Ð¿Ð¸ÑÑŒ Ð¸Ð·-Ð·Ð° Ð½ÐµÐ¿Ð¾Ð»Ð°Ð´Ð¾Ðº Ð² Ñ€Ð°Ð±Ð¾Ñ‚Ðµ ÑÐµÑ€Ð²ÐµÑ€Ð° Ð¸Ð»Ð¸ ÑÐµÑ‚Ð¸ Ð¸Ð»Ð¸ Ð¸Ð·-Ð·Ð° Ð½ÐµÐ¿Ð¾Ð´Ð´ÐµÑ€Ð¶Ð¸Ð²Ð°ÐµÐ¼Ð¾Ð³Ð¾ Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð°.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Ð’Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ðµ Ð²Ð¸Ð´ÐµÐ¾Ð·Ð°Ð¿Ð¸ÑÐ¸ Ð±Ñ‹Ð»Ð¾ Ð¿Ñ€ÐµÑ€Ð²Ð°Ð½Ð¾ Ð¸Ð·-Ð·Ð° Ð½ÐµÐ¿Ð¾Ð»Ð°Ð´ÐºÐ¸ Ð¸Ð»Ð¸ Ð² ÑÐ²ÑÐ·Ð¸ Ñ Ñ‚ÐµÐ¼, Ñ‡Ñ‚Ð¾ Ð²Ð¸Ð´ÐµÐ¾Ð·Ð°Ð¿Ð¸ÑÑŒ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÑ‚ Ñ„ÑƒÐ½ÐºÑ†Ð¸Ð¸, ÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ðµ Ð½Ðµ Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶Ð¸Ð²Ð°ÑŽÑ‚ÑÑ Ð² Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ðµ.",MEDIA_ERR_ENCRYPTED:"ÐÐµ ÑƒÐ´Ð°ÐµÑ‚ÑÑ Ñ€Ð°ÑÑˆÐ¸Ñ„Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ Ð·Ð°ÑˆÐ¸Ñ„Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ð¹ Ð¸ÑÑ‚Ð¾Ñ‡Ð½Ð¸Ðº Ð²Ð¸Ð´ÐµÐ¾.",SRC_PLAYER_MISMATCH:"Ð”Ð»Ñ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ¹ ÑÑ€ÐµÐ´Ñ‹ Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ð° ÑÐ¾Ð²Ð¼ÐµÑÑ‚Ð¸Ð¼Ñ‹Ð¹ Ð¸ÑÑ‚Ð¾Ñ‡Ð½Ð¸Ðº Ð½Ðµ Ð½Ð°Ð¹Ð´ÐµÐ½.",MEDIA_ERR_UNKNOWN:"ÐŸÑ€Ð¾Ð¸Ð·Ð¾ÑˆÐ»Ð° Ð½ÐµÐ¸Ð·Ð²ÐµÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°.",SKIP_AD_COUNTDOWN_FORMAT:"ÐŸÑ€Ð¾Ð¿ÑƒÑÑ‚Ð¸Ñ‚ÑŒ Ñ€ÐµÐºÐ»Ð°Ð¼Ñƒ Ñ‡ÐµÑ€ÐµÐ· {0}â€¦",SKIP:"ÐŸÑ€Ð¾Ð¿ÑƒÑÑ‚Ð¸Ñ‚ÑŒ",AD_TIMING_INFO:"Ð ÐµÐºÐ»Ð°Ð¼Ð°: {0} Ñ","Media Player":"ÐŸÑ€Ð¾Ð¸Ð³Ñ€Ñ‹Ð²Ð°Ñ‚ÐµÐ»ÑŒ Ð¼ÑƒÐ»ÑŒÑ‚Ð¸Ð¼ÐµÐ´Ð¸Ð°","Play Video":"Ð’Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÑÑ‚Ð¸ Ð²Ð¸Ð´ÐµÐ¾",Foreground:"Ð¦Ð²ÐµÑ‚",White:"Ð‘ÐµÐ»Ñ‹Ð¹",Black:"Ð§ÐµÑ€Ð½Ñ‹Ð¹",Red:"ÐšÑ€Ð°ÑÐ½Ñ‹Ð¹",Green:"Ð—ÐµÐ»ÐµÐ½Ñ‹Ð¹",Blue:"Ð¡Ð¸Ð½Ð¸Ð¹",Yellow:"Ð–ÐµÐ»Ñ‚Ñ‹Ð¹",Magenta:"ÐŸÑƒÑ€Ð¿ÑƒÑ€Ð½Ñ‹Ð¹",Cyan:"Ð“Ð¾Ð»ÑƒÐ±Ð¾Ð¹",Opaque:"ÐÐµÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹","Semi-Opaque":"ÐŸÐ¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹",Transparent:"ÐŸÑ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹",Window:"ÐžÐºÐ½Ð¾","Font Size":"Ð Ð°Ð·Ð¼ÐµÑ€ ÑˆÑ€Ð¸Ñ„Ñ‚Ð°","Text Edge Style":"Ð¡Ñ‚Ð¸Ð»ÑŒ ÐºÐ¾Ð½Ñ‚ÑƒÑ€Ð° Ñ‚ÐµÐºÑÑ‚Ð°",None:"ÐÐµÑ‚",Raised:"Ð’Ñ‹Ð¿ÑƒÐºÐ»Ñ‹Ð¹",Depressed:"Ð£Ñ‚Ð¾Ð¿Ð»ÐµÐ½Ð½Ñ‹Ð¹",Uniform:"ÐžÐ´Ð½Ð¾Ñ€Ð¾Ð´Ð½Ñ‹Ð¹",Dropshadow:"Ð¡ Ñ‚ÐµÐ½ÑŒÑŽ","Font Family":"Ð¡ÐµÐ¼ÐµÐ¹ÑÑ‚Ð²Ð¾ ÑˆÑ€Ð¸Ñ„Ñ‚Ð¾Ð²","Monospace Serif":"ÐœÐ¾Ð½Ð¾ÑˆÐ¸Ñ€Ð¸Ð½Ð½Ñ‹Ð¹ Ñ Ð·Ð°ÑÐµÑ‡ÐºÐ°Ð¼Ð¸","Proportional Serif":"ÐŸÑ€Ð¾Ð¿Ð¾Ñ€Ñ†Ð¸Ð¾Ð½Ð°Ð»ÑŒÐ½Ñ‹Ð¹ Ñ Ð·Ð°ÑÐµÑ‡ÐºÐ°Ð¼Ð¸","Monospace Sans-Serif":"ÐœÐ¾Ð½Ð¾ÑˆÐ¸Ñ€Ð¸Ð½Ð½Ñ‹Ð¹ Ð±ÐµÐ· Ð·Ð°ÑÐµÑ‡ÐµÐº","Proportional Sans-Serif":"ÐŸÑ€Ð¾Ð¿Ð¾Ñ€Ñ†Ð¸Ð¾Ð½Ð°Ð»ÑŒÐ½Ñ‹Ð¹ Ð±ÐµÐ· Ð·Ð°ÑÐµÑ‡ÐµÐº",Casual:"ÐÐµÑ„Ð¾Ñ€Ð¼Ð°Ð»ÑŒÐ½Ñ‹Ð¹",Script:"Ð¢ÐµÐºÑÑ‚","Small Caps":"ÐœÐ°Ð»Ñ‹Ðµ Ð¿Ñ€Ð¾Ð¿Ð¸ÑÐ½Ñ‹Ðµ",Defaults:"ÐÐ°ÑÑ‚Ñ€Ð¾Ð¹ÐºÐ¸ Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ",Done:"Ð“Ð¾Ñ‚Ð¾Ð²Ð¾",Link:"ÐžÑ‚Ð¿Ñ€Ð°Ð²Ð¸Ñ‚ÑŒ ÑÑÑ‹Ð»ÐºÑƒ",Embed:"Ð’Ð½ÐµÐ´Ñ€Ð¸Ñ‚ÑŒ",Close:"Ð—Ð°ÐºÑ€Ñ‹Ñ‚ÑŒ",Copy:"ÐšÐ¾Ð¿Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ","Copy Url":"ÐšÐ¾Ð¿Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ URL-Ð°Ð´Ñ€ÐµÑ","Embed Code":"ÐžÑ‚Ð¿Ñ€Ð°Ð²Ð¸Ñ‚ÑŒ ÐºÐ¾Ð´ Ð²Ð½ÐµÐ´Ñ€ÐµÐ½Ð¸Ñ",English:"ÐŸÐµÑ€ÐµÐ²Ð¾Ð´ Ñ Ð°Ð½Ð³Ð»Ð¸Ð¹ÑÐºÐ¾Ð³Ð¾","volume level":"ÑƒÑ€Ð¾Ð²ÐµÐ½ÑŒ Ð³Ñ€Ð¾Ð¼ÐºÐ¾ÑÑ‚Ð¸","video progress bar":"Ð¸Ð½Ð´Ð¸ÐºÐ°Ñ‚Ð¾Ñ€ Ð²Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð²Ð¸Ð´ÐµÐ¾","playback speed level":"ÑÐºÐ¾Ñ€Ð¾ÑÑ‚ÑŒ Ð²Ð¾ÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ","Dolby Digital":"Dolby Digital",Stereo:"Ð¡Ñ‚ÐµÑ€ÐµÐ¾","Captions Menu":"ÐœÐµÐ½ÑŽ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐµÐ¹","Subtitles Menu":"ÐœÐµÐ½ÑŽ ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¾Ð²","Need Text":"Ð¢Ñ€ÐµÐ±ÑƒÐµÑ‚ÑÑ Ñ‚ÐµÐºÑÑ‚"}},{"../video.js/src/js/player.js":210}],137:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.sk={Play:"PrehraÅ¥",Pause:"PozastaviÅ¥","Current Time":"AktuÃ¡lny Äas","Duration Time":"ÄŒas trvania","Remaining Time":"ZostÃ¡vajÃºci Äas","Stream Type":"Typ streamu",LIVE:"NAÅ½IVO",Loaded:"NaÄÃ­tanÃ©",Progress:"Priebeh",Fullscreen:"Na celÃº obrazovku","Non-Fullscreen":"Nie na celÃº obrazovku",Mute:"StlmiÅ¥",Unmuted:"So zruÅ¡enÃ½m stlmenÃ­m","Playback Rate":"RÃ½chlosÅ¥ prehrÃ¡vania",Subtitles:"Titulky","Subtitles Off":"vypnutÃ© titulky",Captions:"Popisy","Captions Off":"vypnutÃ© popisy",Chapters:"Kapitoly",Off:"VypnutÃ©",Quality:"Kvalita",Auto:"Automaticky","Audio Tracks":"ZvukovÃ© stopy","default":"predvolenÃ¡ hodnota","Cast To Device":"Vysielanie do zariadenia",Share:"ZdieÄ¾aÅ¥",Volume:"HlasitosÅ¥","Playback Speed":"RÃ½chlosÅ¥ prehrÃ¡vania","Video Quality":"Kvalita videa","Closed Captioning":"SkrytÃ© titulkovanie","Share Video":"ZdieÄ¾aÅ¥ video","Next Track":"NasledujÃºca stopa","Previous Track":"PredchÃ¡dzajÃºca stopa","Skip Forward":"PreskoÄiÅ¥ dopredu","Skip Backward":"PreskoÄiÅ¥ dozadu","Fast Forward":"PosunÃºÅ¥ dopredu",Rewind:"PosunÃºÅ¥ dozadu","Next Frame":"NasledujÃºca snÃ­mka","Previous Frame":"PredchÃ¡dzajÃºca snÃ­mka",Settings:"Nastavenia",Options:"MoÅ¾nosti","More Options":"ÄŽalÅ¡ie moÅ¾nosti",Zoom:"Lupa","Zoom In":"PriblÃ­Å¾iÅ¥","Zoom Out":"VzdialiÅ¥","Audio Only":"Iba zvuk","Picture in Picture":"Obraz vÂ obraze","Camera Angle":"Uhol kamery",MEDIA_ERR_ABORTED:"PrehrÃ¡vanie videa bolo preruÅ¡enÃ©.",MEDIA_ERR_NETWORK:"Chyba siete spÃ´sobila zlyhanie poÄas sÅ¥ahovania videa. Skontrolujte sieÅ¥ovÃ© pripojenie alebo to skÃºste znova neskÃ´r.",MEDIA_ERR_DECODE:"Video sa nepodarilo naÄÃ­taÅ¥. DÃ´vodom je buÄ zlyhanie servera alebo siete, alebo nepodporovanÃ½ formÃ¡t.",MEDIA_ERR_SRC_NOT_SUPPORTED:"PrehrÃ¡vanie videa bolo preruÅ¡enÃ© zÂ dÃ´vodu problÃ©mu spÃ´sobenÃ©ho poÅ¡kodenÃ­m alebo preto, lebo sa vo videu pouÅ¾Ã­vali funkcie, ktorÃ© vÃ¡Å¡ prehliadaÄ nepodporoval.",MEDIA_ERR_ENCRYPTED:"Nie je moÅ¾nÃ© deÅ¡ifrovaÅ¥ zaÅ¡ifrovanÃ½ zdroj videa.",SRC_PLAYER_MISMATCH:"NenaÅ¡iel sa kompatibilnÃ½ zdroj pre aktuÃ¡lne prostredie prehliadaÄa.",MEDIA_ERR_UNKNOWN:"Vyskytla sa neznÃ¡ma chyba",SKIP_AD_COUNTDOWN_FORMAT:"PreskoÄiÅ¥ reklamu o {0}...",SKIP:"PreskoÄiÅ¥",AD_TIMING_INFO:"{0}-sekundovÃ¡ reklama","Media Player":"PrehrÃ¡vaÄ mÃ©diÃ­","Play Video":"PrehraÅ¥ video",Foreground:"Popredie",White:"Biela",Black:"ÄŒierna",Red:"ÄŒervenÃ¡",Green:"ZelenÃ¡",Blue:"ModrÃ¡",Yellow:"Å½ltÃ¡",Magenta:"PurpurovÃ¡",Cyan:"AzÃºrovÃ¡",Opaque:"NepriehÄ¾adnÃ©","Semi-Opaque":"ÄŒiastoÄne priehÄ¾adnÃ©",Transparent:"PriehÄ¾adnÃ©",Window:"Okno","Font Size":"VeÄ¾kosÅ¥ pÃ­sma","Text Edge Style":"Å tÃ½ly okrajov textu",None:"Å½iadny",Raised:"ZvÃ½Å¡enÃ½",Depressed:"ZnÃ­Å¾enÃ½",Uniform:"JednotnÃ½",Dropshadow:"TieÅˆovanÃ½","Font Family":"SÃ©ria pÃ­siem","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"NeformÃ¡lne",Script:"SkriptovÃ©","Small Caps":"KapitÃ¡lky",Defaults:"PredvolenÃ©",Done:"Hotovo",Link:"Prepojenie",Embed:"VloÅ¾iÅ¥",Close:"ZavrieÅ¥",Copy:"KopÃ­rovaÅ¥","Copy Url":"KopÃ­rovaÅ¥ URL adresu","Embed Code":"VloÅ¾iÅ¥ kÃ³d",English:"AngliÄtina","volume level":"ÃºroveÅˆ hlasitosti","video progress bar":"indikÃ¡tor priebehu videa","playback speed level":"ÃºroveÅˆ rÃ½chlosti prehrÃ¡vania","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Ponuka popisov","Subtitles Menu":"Ponuka titulkov","Need Text":"PotrebnÃ½ text"}},{"../video.js/src/js/player.js":210}],138:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.sl={Play:"Predvajaj",Pause:"Premor","Current Time":"Trenutni Äas","Duration Time":"ÄŒas trajanja","Remaining Time":"Preostali Äas","Stream Type":"Vrsta pretoka",LIVE:"V Å½IVO",Loaded:"NaloÅ¾eno",Progress:"Napredek",Fullscreen:"Celozaslonski naÄin","Non-Fullscreen":"Ni v celozaslonskem naÄinu",Mute:"Zvok je izklopljen",Unmuted:"Zvok je vklopljen","Playback Rate":"Hitrost predvajanja",Subtitles:"Podnaslovi","Subtitles Off":"podnaslovi so izklopljeni",Captions:"Napisi","Captions Off":"napisi so izklopljeni",Chapters:"Poglavja",Off:"Izklopljeno",Quality:"Kakovost",Auto:"Samodejno","Audio Tracks":"ZvoÄni posnetki","default":"privzeto","Cast To Device":"Predvajaj v napravo",Share:"Skupna raba",Volume:"Glasnost","Playback Speed":"Hitrost predvajanja","Video Quality":"Kakovost videa","Closed Captioning":"RazÅ¡irjeni podnapisi","Share Video":"Skupna raba videa","Next Track":"Naslednja skladba","Previous Track":"PrejÅ¡nja skladba","Skip Forward":"SkoÄi naprej","Skip Backward":"SkoÄi nazaj","Fast Forward":"Hitro naprej",Rewind:"Hitro nazaj","Next Frame":"Naslednji okvir","Previous Frame":"PrejÅ¡nji okvir",Settings:"Nastavitve",Options:"MoÅ¾nosti","More Options":"Dodatne moÅ¾nosti",Zoom:"PoveÄava","Zoom In":"PoveÄava","Zoom Out":"PomanjÅ¡ava","Audio Only":"Samo zvok","Picture in Picture":"Slika v sliki","Camera Angle":"Kot fotoaparata",MEDIA_ERR_ABORTED:"Preklic predvajanja videa.",MEDIA_ERR_NETWORK:"Zaradi napake omreÅ¾ja je priÅ¡lo med prenosom videa do napake. Preverite omreÅ¾no povezave ali poskusite znova pozneje.",MEDIA_ERR_DECODE:"Videa ni mogoÄe naloÅ¾iti, bodisi zato, ker je priÅ¡lo do napake v streÅ¾niku ali omreÅ¾ju, bodisi zato, ker oblika zapisa ni podprta.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Predvajanje videa je bilo prekinjeno, ker je priÅ¡lo do teÅ¾ave zaradi ali ker video uporablja funkcije, ki jih brskalnik ne podpira.",MEDIA_ERR_ENCRYPTED:"Å ifriranega vira videa ni mogoÄe deÅ¡ifrirati.",SRC_PLAYER_MISMATCH:"Ni mogoÄe najti zdruÅ¾ljivega vira videa za trenutno okolje brskalnika.",MEDIA_ERR_UNKNOWN:"PriÅ¡lo je do neznane napake",SKIP_AD_COUNTDOWN_FORMAT:"PreskoÄi oglas Äez {0} ...",SKIP:"PreskoÄi",AD_TIMING_INFO:"{0}-sekundni oglas","Media Player":"Media Player","Play Video":"Predvajaj video",Foreground:"Ospredje",White:"Bela",Black:"ÄŒrna",Red:"RdeÄa",Green:"Zelena",Blue:"Modra",Yellow:"Rumena",Magenta:"Magenta",Cyan:"Cijan",Opaque:"Neprozorno","Semi-Opaque":"Delno neprozorno",Transparent:"Prosojno",Window:"Okno","Font Size":"Velikost pisave","Text Edge Style":"Slog besedila roba",None:"Brez",Raised:"Dvignjeno",Depressed:"Pritisnjeno",Uniform:"Enotno",Dropshadow:"Spustna senca","Font Family":"DruÅ¾ina pisav","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Vsakdanje",Script:"Skript","Small Caps":"PomanjÅ¡ane velike Ärke",Defaults:"Privzete nastavitve",Done:"DokonÄano",Link:"Povezava",Embed:"Vdelaj",Close:"Zapri",Copy:"Kopiraj","Copy Url":"Kopiraj URL","Embed Code":"Vdelana koda",English:"angleÅ¡Äina","volume level":"glasnost","video progress bar":"vrstica napredovanja videoposnetka","playback speed level":"hitrost predvajanja","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Meni z napisi","Subtitles Menu":"Meni s podnaslovi","Need Text":"Obvezno besedilo"};t["default"].prototype.options_.languages["sl-si"]=t["default"].prototype.options_.languages.sl},{"../video.js/src/js/player.js":210}],139:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages["sr-cyrl-cs"]={Play:"Ð ÐµÐ¿Ñ€Ð¾Ð´ÑƒÐºÑƒÑ˜",Pause:"ÐŸÐ°ÑƒÐ·Ð¸Ñ€Ð°Ñ˜","Current Time":"Ð¢Ñ€ÐµÐ½ÑƒÑ‚Ð½Ð¾ Ð²Ñ€ÐµÐ¼Ðµ","Duration Time":"Ð’Ñ€ÐµÐ¼Ðµ Ñ‚Ñ€Ð°Ñ˜Ð°ÑšÐ°","Remaining Time":"ÐŸÑ€ÐµÐ¾ÑÑ‚Ð°Ð»Ð¾ Ð²Ñ€ÐµÐ¼Ðµ","Stream Type":"Ð’Ñ€ÑÑ‚Ð° ÑÑ‚Ñ€Ð¸Ð¼Ð°",LIVE:"Ð£Ð–Ð˜Ð’Ðž",Loaded:"Ð£Ñ‡Ð¸Ñ‚Ð°Ð½Ð¾",Progress:"Ð¢Ð¾Ðº",Fullscreen:"Ð¦ÐµÐ¾ ÐµÐºÑ€Ð°Ð½","Non-Fullscreen":"ÐÐµ Ð¿Ñ€ÐµÐºÐ¾ Ñ†ÐµÐ»Ð¾Ð³ ÐµÐºÑ€Ð°Ð½Ð°",Mute:"ÐŸÑ€Ð¸Ð²Ñ€ÐµÐ¼ÐµÐ½Ð¾ Ð¸ÑÐºÑ™ÑƒÑ‡Ð¸",Unmuted:"Ð—Ð²ÑƒÐº ÑƒÐºÑ™ÑƒÑ‡ÐµÐ½","Playback Rate":"Ð‘Ñ€Ð·Ð¸Ð½Ð° Ñ€ÐµÐ¿Ñ€Ð¾Ð´ÑƒÐºÑ†Ð¸Ñ˜Ðµ",Subtitles:"Ð¢Ð¸Ñ‚Ð»Ð¾Ð²Ð¸","Subtitles Off":"Ñ‚Ð¸Ñ‚Ð»Ð¾Ð²Ð¸ ÑÑƒ Ð¸ÑÐºÑ™ÑƒÑ‡ÐµÐ½Ð¸",Captions:"ÐÐ°Ñ‚Ð¿Ð¸ÑÐ¸","Captions Off":"Ð½Ð°Ñ‚Ð¿Ð¸ÑÐ¸ ÑÑƒ Ð¸ÑÐºÑ™ÑƒÑ‡ÐµÐ½Ð¸",Chapters:"ÐŸÐ¾Ð³Ð»Ð°Ð²Ñ™Ð°",Off:"Ð˜ÑÐºÑ™ÑƒÑ‡ÐµÐ½Ð¾",Quality:"ÐšÐ²Ð°Ð»Ð¸Ñ‚ÐµÑ‚",Auto:"ÐÑƒÑ‚Ð¾Ð¼Ð°Ñ‚ÑÐºÐ¸","Audio Tracks":"ÐÑƒÐ´Ð¸Ð¾ Ð½ÑƒÐ¼ÐµÑ€Ðµ","default":"Ð¿Ð¾Ð´Ñ€Ð°Ð·ÑƒÐ¼ÐµÐ²Ð°Ð½Ð¾","Cast To Device":"ÐŸÑ€ÐµÐ±Ð°Ñ†Ð¸Ð²Ð°ÑšÐµ Ð½Ð° ÑƒÑ€ÐµÑ’Ð°Ñ˜",Share:"Ð”ÐµÐ»Ð¸",Volume:"ÐˆÐ°Ñ‡Ð¸Ð½Ð° Ð·Ð²ÑƒÐºÐ°","Playback Speed":"Ð‘Ñ€Ð·Ð¸Ð½Ð° Ñ€ÐµÐ¿Ñ€Ð¾Ð´ÑƒÐºÑ†Ð¸Ñ˜Ðµ","Video Quality":"ÐšÐ²Ð°Ð»Ð¸Ñ‚ÐµÑ‚ Ð²Ð¸Ð´ÐµÐ¾ Ð·Ð°Ð¿Ð¸ÑÐ°","Closed Captioning":"Ð¡ÐºÑ€Ð¸Ð²ÐµÐ½Ð¸ Ñ‚Ð¸Ñ‚Ð»Ð¾Ð²Ð¸","Share Video":"Ð”ÐµÐ»Ð¸ Ð²Ð¸Ð´ÐµÐ¾","Next Track":"Ð¡Ð»ÐµÐ´ÐµÑ›Ð° Ð½ÑƒÐ¼ÐµÑ€Ð°","Previous Track":"ÐŸÑ€ÐµÑ‚Ñ…Ð¾Ð´Ð½Ð° Ð½ÑƒÐ¼ÐµÑ€Ð°","Skip Forward":"ÐŸÑ€ÐµÑÐºÐ¾Ñ‡Ð¸ ÑƒÐ½Ð°Ð¿Ñ€ÐµÐ´","Skip Backward":"ÐŸÑ€ÐµÑÐºÐ¾Ñ‡Ð¸ ÑƒÐ½Ð°Ð·Ð°Ð´","Fast Forward":"ÐŸÑ€ÐµÐ¼Ð¾Ñ‚Ð°Ñ˜ ÑƒÐ½Ð°Ð¿Ñ€ÐµÐ´",Rewind:"ÐŸÑ€ÐµÐ¼Ð¾Ñ‚Ð°Ñ˜ ÑƒÐ½Ð°Ð·Ð°Ð´","Next Frame":"Ð¡Ð»ÐµÐ´ÐµÑ›Ð° ÑÐ»Ð¸ÐºÐ° ","Previous Frame":"ÐŸÑ€ÐµÑ‚Ñ…Ð¾Ð´Ð½Ð° ÑÐ»Ð¸ÐºÐ°",Settings:"ÐŸÐ¾ÑÑ‚Ð°Ð²ÐºÐµ",Options:"ÐžÐ¿Ñ†Ð¸Ñ˜Ðµ","More Options":"Ð’Ð¸ÑˆÐµ Ð¾Ð¿Ñ†Ð¸Ñ˜Ð°",Zoom:"Ð—ÑƒÐ¼","Zoom In":"Ð£Ð²ÐµÑ›Ð°Ñ˜","Zoom Out":"Ð£Ð¼Ð°ÑšÐ¸","Audio Only":"Ð¡Ð°Ð¼Ð¾ Ð·Ð²ÑƒÐº","Picture in Picture":"Ð¡Ð»Ð¸ÐºÐ° Ñƒ ÑÐ»Ð¸Ñ†Ð¸","Camera Angle":"Ð£Ð³Ð°Ð¾ ÐºÐ°Ð¼ÐµÑ€Ðµ",MEDIA_ERR_ABORTED:"MEDIA_ERR_ABORTED",MEDIA_ERR_NETWORK:"MEDIA_ERR_NETWORK",MEDIA_ERR_DECODE:"MEDIA_ERR_DECODE",MEDIA_ERR_SRC_NOT_SUPPORTED:"MEDIA_ERR_SRC_NOT_SUPPORTED",MEDIA_ERR_ENCRYPTED:"MEDIA_ERR_ENCRYPTED",SRC_PLAYER_MISMATCH:"SRC_PLAYER_MISMATCH",MEDIA_ERR_UNKNOWN:"MEDIA_ERR_UNKNOWN",SKIP_AD_COUNTDOWN_FORMAT:"ÐŸÑ€ÐµÑÐºÐ¾Ñ‡Ð¸ Ð¾Ð³Ð»Ð°Ñ Ð·Ð° {0}...",SKIP:"ÐŸÑ€ÐµÑÐºÐ¾Ñ‡Ð¸",AD_TIMING_INFO:"ÐžÐ³Ð»Ð°Ñ Ñ‚Ñ€Ð°Ñ˜Ðµ ÑÐµÐºÑƒÐ½Ð´Ð¸: {0}"}},{"../video.js/src/js/player.js":210}],140:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages["sr-latn-rs"]={Play:"Reprodukuj",Pause:"Pauziraj","Current Time":"Trenutno vreme","Duration Time":"Vreme trajanja","Remaining Time":"Preostalo vreme","Stream Type":"Tip toka",LIVE:"UÅ½IVO",Loaded:"UÄitano",Progress:"Tok",Fullscreen:"Preko celog ekrana","Non-Fullscreen":"Nije preko celog ekrana",Mute:"Privremeno iskljuÄi",Unmuted:"Ponovo ukljuÄeno","Playback Rate":"Stopa reprodukcije",Subtitles:"Titl","Subtitles Off":"titl je iskljuÄen",Captions:"Natpisi","Captions Off":"natpisi su iskljuÄeni",Chapters:"Poglavlja",Off:"IskljuÄeno",Quality:"Kvalitet",Auto:"Automatski","Audio Tracks":"Audio zapisi","default":"podrazumevano","Cast To Device":"Prebaci na ureÄ‘aj",Share:"Deli",Volume:"JaÄina zvuka","Playback Speed":"Brzina reprodukcije","Video Quality":"Kvalitet video zapisa","Closed Captioning":"Skriveni titlovi","Share Video":"Deli video","Next Track":"SledeÄ‡i zapis","Previous Track":"Prethodni zapis","Skip Forward":"PreskoÄi unapred","Skip Backward":"PreskoÄi unazad","Fast Forward":"Premotaj unapred",Rewind:"Premotaj unazad","Next Frame":"SledeÄ‡i okvir","Previous Frame":"Prethodni okvir",Settings:"Postavke",Options:"Opcije","More Options":"JoÅ¡ opcija",Zoom:"Zumiraj","Zoom In":"UveÄ‡aj","Zoom Out":"Umanji","Audio Only":"Samo zvuk","Picture in Picture":"Slika u slici","Camera Angle":"Ugao kamere",MEDIA_ERR_ABORTED:"Reprodukcija video zapisa je prekinuta.",MEDIA_ERR_NETWORK:"Usled greÅ¡ke na mreÅ¾i doÅ¡lo je do otkazivanja tokom preuzimanja video zapisa. Proverite mreÅ¾nu vezu ili pokuÅ¡ajte ponovo kasnije.",MEDIA_ERR_DECODE:"Nije moguÄ‡e preuzeti video zbog toga Å¡to je doÅ¡lo do otkazivanja na serveru ili mreÅ¾i ili zbog toga Å¡to format nije podrÅ¾an.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Reprodukcija video zapisa je prekinuta zbog problema sa oÅ¡teÄ‡enjem ili zbog toga Å¡to video koristi funkcije koje pregledaÄ ne podrÅ¾ava.",MEDIA_ERR_ENCRYPTED:"Nije moguÄ‡e deÅ¡ifrovati Å¡ifrovani izvor video zapisa.",SRC_PLAYER_MISMATCH:"Za aktuelno okruÅ¾enje pregledaÄa nije pronaÄ‘en nijedan kompatibilan izvor.",MEDIA_ERR_UNKNOWN:"DoÅ¡lo je do nepoznate greÅ¡ke",SKIP_AD_COUNTDOWN_FORMAT:"PreskoÄi oglas za {0}...",SKIP:"PreskoÄi",AD_TIMING_INFO:"Oglas traje sekundi: {0}","Media Player":"Media Player","Play Video":"Reprodukuj video",Foreground:"Prednji plan",White:"Bela",Black:"Crna",Red:"Crvena",Green:"Zelena",Blue:"Plava",Yellow:"Å½uta",Magenta:"Magenta",Cyan:"Cijan",Opaque:"Neprozirno","Semi-Opaque":"Poluprozirno",Transparent:"Prozirno",Window:"Prozor","Font Size":"VeliÄina fonta","Text Edge Style":"Stil ivice teksta",None:"Nijedno",Raised:"Izdignuto",Depressed:"Utisnuto",Uniform:"Podjednako",Dropshadow:"Efekat senke","Font Family":"Porodica fontova","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Casual",Script:"Skripta","Small Caps":"Mala slova",Defaults:"Podrazumevane vrednosti",Done:"Gotovo",Link:"Veza",Embed:"Ugradi",Close:"Zatvori",Copy:"Kopiranje","Copy Url":"Kopiraj Url","Embed Code":"Ugradi kÃ´d",English:"engleski","volume level":"nivo jaÄine zvuka","video progress bar":"traka toka video snimka","playback speed level":"brzina reprodukcije","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Meni â€žNatpisiâ€œ","Subtitles Menu":"Meni â€žTitlâ€œ","Need Text":"Potreban je tekst"};t["default"].prototype.options_.languages.sr=t["default"].prototype.options_.languages["sr-latn-rs"]},{"../video.js/src/js/player.js":210}],141:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.sv={Play:"Spela upp",Pause:"Pausa","Current Time":"Aktuell tid","Duration Time":"Varaktighet","Remaining Time":"Ã…terstÃ¥ende tid","Stream Type":"StrÃ¶mtyp",LIVE:"LIVE",Loaded:"InlÃ¤st",Progress:"FÃ¶rlopp",Fullscreen:"HelskÃ¤rm","Non-Fullscreen":"Ej helskÃ¤rm",Mute:"Ljud av",Unmuted:"Ljud pÃ¥","Playback Rate":"Uppspelningshastighet",Subtitles:"Textning","Subtitles Off":"Textning av",Captions:"Bildtexter","Captions Off":"Bildtexter av",Chapters:"Kapitel",Off:"Av",Quality:"Kvalitet",Auto:"Auto","Audio Tracks":"LjudspÃ¥r","default":"standard","Cast To Device":"SÃ¤nd till enhet",Share:"Dela",Volume:"Volym","Playback Speed":"Uppspelningshastighet","Video Quality":"Videokvalitet","Closed Captioning":"Textning","Share Video":"Dela video","Next Track":"NÃ¤sta spÃ¥r","Previous Track":"FÃ¶regÃ¥ende spÃ¥r","Skip Forward":"Hoppa framÃ¥t","Skip Backward":"Hoppa bakÃ¥t","Fast Forward":"Snabbspola framÃ¥t",Rewind:"BakÃ¥t","Next Frame":"NÃ¤sta bildruta","Previous Frame":"FÃ¶regÃ¥ende bildruta",Settings:"InstÃ¤llningar",Options:"Alternativ","More Options":"Fler alternativ",Zoom:"Zooma","Zoom In":"Zooma in","Zoom Out":"Zooma ut","Audio Only":"Endast ljud","Picture in Picture":"Bild-i-bild","Camera Angle":"Kameravinkel",MEDIA_ERR_ABORTED:"Videouppspelning avbruten.",MEDIA_ERR_NETWORK:"Ett nÃ¤tverksfel gjorde att hÃ¤mtningen av videon avbrÃ¶ts. Kontrollera din nÃ¤tverksanslutning och fÃ¶rsÃ¶k igen senare.",MEDIA_ERR_DECODE:"Det gick inte att lÃ¤sa in den hÃ¤r videon. Det kan bero pÃ¥ att servern eller nÃ¤tverket inte fungerade eller pÃ¥ att formatet inte stÃ¶ds.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Videouppspelningen avbrÃ¶ts pga att den var skadad eller dÃ¤rfÃ¶r att videon anvÃ¤nder funktioner som din webblÃ¤sare inte stÃ¶der.",MEDIA_ERR_ENCRYPTED:"Det gick inte att dekryptera den krypterade videokÃ¤llan.",SRC_PLAYER_MISMATCH:"Ingen kompatibel kÃ¤lla har hittats fÃ¶r den aktuella webblÃ¤sarmiljÃ¶n.",MEDIA_ERR_UNKNOWN:"Det har uppstÃ¥tt ett ovÃ¤ntat fel.",SKIP_AD_COUNTDOWN_FORMAT:"Hoppa Ã¶ver reklamen om {0}...",SKIP:"Hoppa Ã¶ver",AD_TIMING_INFO:"Reklam {0} sekunder","Media Player":"Media Player","Play Video":"Spela upp video",Foreground:"FÃ¶rgrund",White:"Vit",Black:"Svart",Red:"RÃ¶d",Green:"GrÃ¶n",Blue:"BlÃ¥",Yellow:"Gul",Magenta:"Magenta",Cyan:"Cyan",Opaque:"TÃ¤ckande","Semi-Opaque":"HalvtÃ¤ckande",Transparent:"Transparent",Window:"FÃ¶nster","Font Size":"Teckenstorlek","Text Edge Style":"Textkantsformat",None:"Inget",Raised:"UpphÃ¶jt",Depressed:"NedsÃ¤nkt",Uniform:"Enhetligt",Dropshadow:"Skugga","Font Family":"Teckensnittsfamilj","Monospace Serif":"Fast bredd, serif","Proportional Serif":"Proportionerligt, serif","Monospace Sans-Serif":"Fast bredd, sans-serif","Proportional Sans-Serif":"Proportionerligt, sans-serif",Casual:"Enstaka",Script:"Skript","Small Caps":"KapitÃ¤ler",Defaults:"Standard",Done:"Klart",Link:"LÃ¤nk",Embed:"BÃ¤dda in",Close:"StÃ¤nga",Copy:"Kopiera","Copy Url":"Kopiera URL","Embed Code":"BÃ¤dda in kod",English:"Engelska","volume level":"volymnivÃ¥","video progress bar":"fÃ¶rloppsindikator fÃ¶r video","playback speed level":"hastighetsnivÃ¥ fÃ¶r uppspelning","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"Meny fÃ¶r beskrivningar","Subtitles Menu":"Meny fÃ¶r undertexter","Need Text":"BehÃ¶ver text"};t["default"].prototype.options_.languages["sv-se"]=t["default"].prototype.options_.languages.sv},{"../video.js/src/js/player.js":210}],142:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.th={Play:"à¹€à¸¥à¹ˆà¸™",Pause:"à¸«à¸¢à¸¸à¸”à¸Šà¸±à¹ˆà¸§à¸„à¸£à¸²à¸§","Current Time":"à¹€à¸§à¸¥à¸²à¸›à¸±à¸ˆà¸ˆà¸¸à¸šà¸±à¸™","Duration Time":"à¸£à¸°à¸¢à¸°à¹€à¸§à¸¥à¸²","Remaining Time":"à¹€à¸§à¸¥à¸²à¸—à¸µà¹ˆà¹€à¸«à¸¥à¸·à¸­","Stream Type":"à¸›à¸£à¸°à¹€à¸ à¸—à¸‚à¸­à¸‡à¸ªà¸•à¸£à¸µà¸¡",LIVE:"à¸–à¹ˆà¸²à¸¢à¸—à¸­à¸”à¸ªà¸”",Loaded:"à¹‚à¸«à¸¥à¸”à¹à¸¥à¹‰à¸§",Progress:"à¸„à¸§à¸²à¸¡à¸„à¸·à¸šà¸«à¸™à¹‰à¸²",Fullscreen:"à¹€à¸•à¹‡à¸¡à¸«à¸™à¹‰à¸²à¸ˆà¸­","Non-Fullscreen":"à¹„à¸¡à¹ˆà¹ƒà¸Šà¹ˆà¹à¸šà¸šà¹€à¸•à¹‡à¸¡à¸«à¸™à¹‰à¸²à¸ˆà¸­",Mute:"à¸›à¸´à¸”à¹€à¸ªà¸µà¸¢à¸‡",Unmuted:"à¹€à¸›à¸´à¸”à¹€à¸ªà¸µà¸¢à¸‡à¹à¸¥à¹‰à¸§","Playback Rate":"à¸­à¸±à¸•à¸£à¸²à¹ƒà¸™à¸à¸²à¸£à¹€à¸¥à¹ˆà¸™",Subtitles:"à¸„à¸³à¸šà¸£à¸£à¸¢à¸²à¸¢","Subtitles Off":"à¸›à¸´à¸”à¸„à¸³à¸šà¸£à¸£à¸¢à¸²à¸¢",Captions:"à¸„à¸³à¸­à¸˜à¸´à¸šà¸²à¸¢à¸ à¸²à¸ž","Captions Off":"à¸›à¸´à¸”à¸„à¸³à¸­à¸˜à¸´à¸šà¸²à¸¢à¸ à¸²à¸ž",Chapters:"à¸šà¸—",Off:"à¸›à¸´à¸”",Quality:"à¸„à¸¸à¸“à¸ à¸²à¸ž",Auto:"à¸­à¸±à¸•à¹‚à¸™à¸¡à¸±à¸•à¸´","Audio Tracks":"à¹à¸—à¸£à¹‡à¸à¹€à¸ªà¸µà¸¢à¸‡","default":"à¸„à¹ˆà¸²à¹€à¸£à¸´à¹ˆà¸¡à¸•à¹‰à¸™","Cast To Device":"à¹à¸›à¸¥à¸‡à¹„à¸›à¸¢à¸±à¸‡à¸­à¸¸à¸›à¸à¸£à¸“à¹Œ",Share:"à¹à¸Šà¸£à¹Œ",Volume:"à¸£à¸°à¸”à¸±à¸šà¹€à¸ªà¸µà¸¢à¸‡","Playback Speed":"à¸„à¸§à¸²à¸¡à¹€à¸£à¹‡à¸§à¹ƒà¸™à¸à¸²à¸£à¹€à¸¥à¹ˆà¸™","Video Quality":"à¸„à¸¸à¸“à¸ à¸²à¸žà¸‚à¸­à¸‡à¸§à¸´à¸”à¸µà¹‚à¸­","Closed Captioning":"à¸„à¸³à¸­à¸˜à¸´à¸šà¸²à¸¢à¸ à¸²à¸žà¸›à¸´à¸”à¸­à¸¢à¸¹à¹ˆ","Share Video":"à¹à¸Šà¸£à¹Œà¸§à¸´à¸”à¸µà¹‚à¸­","Next Track":"à¹à¸—à¸£à¹‡à¸à¸–à¸±à¸”à¹„à¸›","Previous Track":"à¹à¸—à¸£à¹‡à¸à¸à¹ˆà¸­à¸™à¸«à¸™à¹‰à¸²","Skip Forward":"à¸‚à¹‰à¸²à¸¡à¹„à¸›à¸‚à¹‰à¸²à¸‡à¸«à¸™à¹‰à¸²","Skip Backward":"à¸‚à¹‰à¸²à¸¡à¹„à¸›à¸‚à¹‰à¸²à¸‡à¸«à¸¥à¸±à¸‡","Fast Forward":"à¸à¸£à¸­à¹„à¸›à¸‚à¹‰à¸²à¸‡à¸«à¸™à¹‰à¸²",Rewind:"à¸à¸£à¸­à¸à¸¥à¸±à¸š","Next Frame":"à¹€à¸Ÿà¸£à¸¡à¸–à¸±à¸”à¹„à¸›","Previous Frame":"à¹€à¸Ÿà¸£à¸¡à¸à¹ˆà¸­à¸™à¸«à¸™à¹‰à¸²",Settings:"à¸à¸²à¸£à¸•à¸±à¹‰à¸‡à¸„à¹ˆà¸²",Options:"à¸•à¸±à¸§à¹€à¸¥à¸·à¸­à¸","More Options":"à¸•à¸±à¸§à¹€à¸¥à¸·à¸­à¸à¹€à¸žà¸´à¹ˆà¸¡à¹€à¸•à¸´à¸¡",Zoom:"à¸¢à¹ˆà¸­/à¸‚à¸¢à¸²à¸¢","Zoom In":"à¸‚à¸¢à¸²à¸¢","Zoom Out":"à¸¢à¹ˆà¸­","Audio Only":"à¹€à¸ªà¸µà¸¢à¸‡à¹€à¸—à¹ˆà¸²à¸™à¸±à¹‰à¸™","Picture in Picture":"à¸§à¸´à¸”à¸µà¹‚à¸­à¹ƒà¸™à¸§à¸´à¸”à¸µà¹‚à¸­","Camera Angle":"à¸¡à¸¸à¸¡à¸à¸¥à¹‰à¸­à¸‡",MEDIA_ERR_ABORTED:"à¸¢à¸à¹€à¸¥à¸´à¸à¸à¸²à¸£à¹€à¸¥à¹ˆà¸™à¸§à¸´à¸”à¸µà¹‚à¸­à¹à¸¥à¹‰à¸§",MEDIA_ERR_NETWORK:"à¸‚à¹‰à¸­à¸œà¸´à¸”à¸žà¸¥à¸²à¸”à¸‚à¸­à¸‡à¹€à¸„à¸£à¸·à¸­à¸‚à¹ˆà¸²à¸¢à¹€à¸›à¹‡à¸™à¸ªà¸²à¹€à¸«à¸•à¸¸à¹ƒà¸«à¹‰à¸à¸²à¸£à¸”à¸²à¸§à¸™à¹Œà¹‚à¸«à¸¥à¸”à¸§à¸´à¸”à¸µà¹‚à¸­à¸¥à¹‰à¸¡à¹€à¸«à¸¥à¸§ à¹‚à¸›à¸£à¸”à¸•à¸£à¸§à¸ˆà¸ªà¸­à¸šà¸à¸²à¸£à¹€à¸Šà¸·à¹ˆà¸­à¸¡à¸•à¹ˆà¸­à¹€à¸„à¸£à¸·à¸­à¸‚à¹ˆà¸²à¸¢à¸‚à¸­à¸‡à¸„à¸¸à¸“à¸«à¸£à¸·à¸­à¸¥à¸­à¸‡à¸­à¸µà¸à¸„à¸£à¸±à¹‰à¸‡à¹ƒà¸™à¸ à¸²à¸¢à¸«à¸¥à¸±à¸‡",MEDIA_ERR_DECODE:"à¹„à¸¡à¹ˆà¸ªà¸²à¸¡à¸²à¸£à¸–à¹‚à¸«à¸¥à¸”à¸§à¸´à¸”à¸µà¹‚à¸­à¹„à¸”à¹‰ à¸­à¸²à¸ˆà¹€à¸™à¸·à¹ˆà¸­à¸‡à¸¡à¸²à¸ˆà¸²à¸à¹€à¸‹à¸´à¸£à¹Œà¸Ÿà¹€à¸§à¸­à¸£à¹Œà¸«à¸£à¸·à¸­à¹€à¸„à¸£à¸·à¸­à¸‚à¹ˆà¸²à¸¢à¸¥à¹‰à¸¡à¹€à¸«à¸¥à¸§ à¸«à¸£à¸·à¸­à¹€à¸™à¸·à¹ˆà¸­à¸‡à¸ˆà¸²à¸à¸£à¸¹à¸›à¹à¸šà¸šà¹„à¸¡à¹ˆà¹„à¸”à¹‰à¸£à¸±à¸šà¸à¸²à¸£à¸ªà¸™à¸±à¸šà¸ªà¸™à¸¸à¸™",MEDIA_ERR_SRC_NOT_SUPPORTED:"à¸à¸²à¸£à¹€à¸¥à¹ˆà¸™à¸§à¸´à¸”à¸µà¹‚à¸­à¸–à¸¹à¸à¸¢à¸à¹€à¸¥à¸´à¸à¹€à¸™à¸·à¹ˆà¸­à¸‡à¸ˆà¸²à¸à¸›à¸±à¸à¸«à¸²à¹€à¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸„à¸§à¸²à¸¡à¹€à¸ªà¸µà¸¢à¸«à¸²à¸¢ à¸«à¸£à¸·à¸­à¹€à¸™à¸·à¹ˆà¸­à¸‡à¸ˆà¸²à¸à¸§à¸´à¸”à¸µà¹‚à¸­à¹ƒà¸Šà¹‰à¸Ÿà¸µà¹€à¸ˆà¸­à¸£à¹Œà¸—à¸µà¹ˆà¹€à¸šà¸£à¸²à¸§à¹Œà¹€à¸‹à¸­à¸£à¹Œà¸‚à¸­à¸‡à¸„à¸¸à¸“à¹„à¸¡à¹ˆà¸ªà¸™à¸±à¸šà¸ªà¸™à¸¸à¸™",MEDIA_ERR_ENCRYPTED:"à¹„à¸¡à¹ˆà¸ªà¸²à¸¡à¸²à¸£à¸–à¸–à¸­à¸”à¸£à¸«à¸±à¸ªà¹à¸«à¸¥à¹ˆà¸‡à¸§à¸´à¸”à¸µà¹‚à¸­à¸—à¸µà¹ˆà¹€à¸‚à¹‰à¸²à¸£à¸«à¸±à¸ªà¸¥à¸±à¸šà¹„à¸§à¹‰à¹„à¸”à¹‰",SRC_PLAYER_MISMATCH:"à¹„à¸¡à¹ˆà¸žà¸šà¹à¸«à¸¥à¹ˆà¸‡à¸—à¸µà¹ˆà¹€à¸‚à¹‰à¸²à¸à¸±à¸™à¹„à¸”à¹‰à¸ªà¸³à¸«à¸£à¸±à¸šà¸ªà¸ à¸²à¸žà¹à¸§à¸”à¸¥à¹‰à¸­à¸¡à¹€à¸šà¸£à¸²à¸§à¹Œà¹€à¸‹à¸­à¸£à¹Œà¸›à¸±à¸ˆà¸ˆà¸¸à¸šà¸±à¸™",MEDIA_ERR_UNKNOWN:"à¸¡à¸µà¸‚à¹‰à¸­à¸œà¸´à¸”à¸žà¸¥à¸²à¸”à¸—à¸µà¹ˆà¹„à¸¡à¹ˆà¸£à¸¹à¹‰à¸ˆà¸±à¸à¹€à¸à¸´à¸”à¸‚à¸¶à¹‰à¸™",SKIP_AD_COUNTDOWN_FORMAT:"à¸‚à¹‰à¸²à¸¡à¹‚à¸†à¸©à¸“à¸²à¹ƒà¸™ {0}...",SKIP:"à¸‚à¹‰à¸²à¸¡",AD_TIMING_INFO:"à¹‚à¸†à¸©à¸“à¸² {0} à¸§à¸´à¸™à¸²à¸—à¸µ","Media Player":"à¹‚à¸›à¸£à¹à¸à¸£à¸¡à¹€à¸¥à¹ˆà¸™à¸ªà¸·à¹ˆà¸­","Play Video":"à¹€à¸¥à¹ˆà¸™à¸§à¸´à¸”à¸µà¹‚à¸­",Foreground:"à¸žà¸·à¹‰à¸™à¸«à¸™à¹‰à¸²",White:"à¸ªà¸µà¸‚à¸²à¸§",Black:"à¸ªà¸µà¸”à¸³",Red:"à¸ªà¸µà¹à¸”à¸‡",Green:"à¸ªà¸µà¹€à¸‚à¸µà¸¢à¸§",Blue:"à¸ªà¸µà¸™à¹‰à¸³à¹€à¸‡à¸´à¸™",Yellow:"à¸ªà¸µà¹€à¸«à¸¥à¸·à¸­à¸‡",Magenta:"à¸ªà¸µà¸šà¸²à¸‡à¹€à¸¢à¹‡à¸™",Cyan:"à¸ªà¸µà¸Ÿà¹‰à¸²",Opaque:"à¸—à¸¶à¸š","Semi-Opaque":"à¸à¸¶à¹ˆà¸‡à¸—à¸¶à¸š",Transparent:"à¹‚à¸›à¸£à¹ˆà¸‡à¹ƒà¸ª",Window:"à¸«à¸™à¹‰à¸²à¸•à¹ˆà¸²à¸‡","Font Size":"à¸‚à¸™à¸²à¸”à¸Ÿà¸­à¸™à¸•à¹Œ","Text Edge Style":"à¸ªà¹„à¸•à¸¥à¹Œà¸‚à¸­à¸šà¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡",None:"à¹„à¸¡à¹ˆà¸¡à¸µ",Raised:"à¸›à¸±à¸”à¹€à¸¨à¸©",Depressed:"à¸à¸”",Uniform:"à¹€à¸„à¸£à¸·à¹ˆà¸­à¸‡à¹à¸šà¸š",Dropshadow:"à¹€à¸‡à¸²à¸•à¸à¸à¸£à¸°à¸—à¸š","Font Family":"à¸„à¸£à¸­à¸šà¸„à¸£à¸±à¸§à¸Ÿà¸­à¸™à¸•à¹Œ","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"Casual",Script:"à¸ªà¸„à¸£à¸´à¸›à¸•à¹Œ","Small Caps":"à¸•à¸±à¸§à¸žà¸´à¸¡à¸žà¹Œà¹ƒà¸«à¸à¹ˆà¸‚à¸™à¸²à¸”à¹€à¸¥à¹‡à¸",Defaults:"à¹ƒà¸Šà¹‰à¸„à¹ˆà¸²à¹€à¸£à¸´à¹ˆà¸¡à¸•à¹‰à¸™",Done:"à¹€à¸ªà¸£à¹‡à¸ˆà¸ªà¸¡à¸šà¸¹à¸£à¸“à¹Œ",Link:"à¸¥à¸´à¸‡à¸à¹Œ",Embed:"à¸à¸±à¸‡",Close:"à¸›à¸´à¸”",Copy:"à¸„à¸±à¸”à¸¥à¸­à¸","Copy Url":"à¸„à¸±à¸”à¸¥à¸­à¸ Url","Embed Code":"à¹‚à¸„à¹‰à¸”à¸à¸±à¸‡à¸•à¸±à¸§",English:"à¸­à¸±à¸‡à¸à¸¤à¸©","volume level":"à¸£à¸°à¸”à¸±à¸šà¹€à¸ªà¸µà¸¢à¸‡","video progress bar":"à¹à¸–à¸šà¸„à¸§à¸²à¸¡à¸„à¸·à¸šà¸«à¸™à¹‰à¸²à¸§à¸´à¸”à¸µà¹‚à¸­","playback speed level":"à¸£à¸°à¸”à¸±à¸šà¸„à¸§à¸²à¸¡à¹€à¸£à¹‡à¸§à¹ƒà¸™à¸à¸²à¸£à¹€à¸¥à¹ˆà¸™","Dolby Digital":"à¹€à¸ªà¸µà¸¢à¸‡ Dolby à¸”à¸´à¸ˆà¸´à¸—à¸±à¸¥",Stereo:"à¸ªà¹€à¸•à¸­à¸£à¸´à¹‚à¸­","Captions Menu":"à¹€à¸¡à¸™à¸¹à¸„à¸³à¸­à¸˜à¸´à¸šà¸²à¸¢à¸ à¸²à¸ž","Subtitles Menu":"à¹€à¸¡à¸™à¸¹à¸„à¸³à¸šà¸£à¸£à¸¢à¸²à¸¢","Need Text":"à¸•à¹‰à¸­à¸‡à¸à¸²à¸£à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡"}},{"../video.js/src/js/player.js":210}],143:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.tl={Play:"I-play",Pause:"I-pause","Current Time":"Kasalukuyang Oras","Duration Time":"Oras ng Tagal","Remaining Time":"Nalalabing Oras","Stream Type":"Uri ng Stream",LIVE:"Live",Loaded:"Loaded",Progress:"Progreso",Fullscreen:"Fullscreen","Non-Fullscreen":"Hindi-Fullscreen",Mute:"I-mute",Unmuted:"I-unmute","Playback Rate":"Rate ng Playback",Subtitles:"Mga subtitle","Subtitles Off":"Naka-off ang subtitle",Captions:"Mga Caption","Captions Off":"Naka-off ang Caption",Chapters:"Mga chapter",Off:"I-off",Quality:"Kalidad",Auto:"Awto","Audio Tracks":"Mga Track ng Audio","default":"default","Cast To Device":"I-Cast Sa Device",Share:"Ibahagi",Volume:"Volume","Playback Speed":"Bilis ng Playback","Video Quality":"Kalidad ng Video","Closed Captioning":"Isara ang Captioning","Share Video":"Ibahagi ang Video","Next Track":"Susunod na Track","Previous Track":"Nakaraang Track","Skip Forward":"I-skip Pauna","Skip Backward":"I-skip Pabalik","Fast Forward":"I-fast forwarf",Rewind:"I-rewind","Next Frame":"Susunod na Frame","Previous Frame":"Nakaraang Frame",Settings:"Mga Setting",Options:"Mga Opsyon","More Options":"Iba Pang Mga Opsyon",Zoom:"I-zoom","Zoom In":"I-zoom in","Zoom Out":"I-zoom out","Audio Only":"Audio Lamang","Picture in Picture":"Larawan sa Larawan","Camera Angle":"Anggulo ng Camera",MEDIA_ERR_ABORTED:"Nahinto ang playback ng video",MEDIA_ERR_NETWORK:"Ang error sa network ang dahilan kung bakit nabigo ang pag-download ng video. Pakitingnan ang konkesyon ng iyong network at subukang muli.",MEDIA_ERR_DECODE:"Hindi mai-load ang video, marahil dahil nabigo ang server o network o dahil hindi suportado ang format.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Nahinto ang playback ng video dahil sa sa pagkasira o dahil hindi suportado ng browser ang video ng ginamit na mga tampok.",MEDIA_ERR_ENCRYPTED:"Hindi ma-decrypt ang source ng naka-encrypt na video.",SRC_PLAYER_MISMATCH:"Walang nakitang tugmang source para sa kasalukuyang browser.",MEDIA_ERR_UNKNOWN:"May nangyaring hindi kilalang error"};t["default"].prototype.options_.languages["tl-ph"]=t["default"].prototype.options_.languages.tl},{"../video.js/src/js/player.js":210}],144:[function(n){"use strict";function t(n){return n&&n.__esModule?n:{"default":n}}var i=n("../video.js/src/js/player.js"),r=t(i);r["default"].prototype.options_.languages.tr={Play:"YÃ¼rÃ¼t",Pause:"Duraklat","Current Time":"GeÃ§erli Zaman","Duration Time":"SÃ¼re","Remaining Time":"Kalan SÃ¼re","Stream Type":"AkÄ±ÅŸ TÃ¼rÃ¼",LIVE:"CANLI",Loaded:"YÃ¼klendi",Progress:"Ä°lerleme Durumu",Fullscreen:"Tam Ekran","Non-Fullscreen":"Tam Ekrandan Ã‡Ä±k",Mute:"Sessiz",Unmuted:"Ses AÃ§Ä±k","Playback Rate":"KayÄ±ttan YÃ¼rÃ¼tme HÄ±zÄ±",Subtitles:"Alt YazÄ±lar","Subtitles Off":"alt yazÄ±lar kapalÄ±",Captions:"AÃ§Ä±klamalÄ± Alt YazÄ±lar","Captions Off":"aÃ§Ä±klamalÄ± alt yazÄ±lar kapalÄ±",Chapters:"BÃ¶lÃ¼mler",Off:"KapalÄ±",Quality:"Kalite",Auto:"Otomatik","Audio Tracks":"Ses ParÃ§alarÄ±","default":"varsayÄ±lan","Cast To Device":"Cihazda YayÄ±nla",Share:"PaylaÅŸ",Volume:"Ses DÃ¼zeyi","Playback Speed":"KayÄ±ttan YÃ¼rÃ¼tme HÄ±zÄ±","Video Quality":"Video Kalitesi","Closed Captioning":"KapalÄ± AÃ§Ä±klamalÄ± Alt YazÄ±","Share Video":"Videoyu PaylaÅŸ","Next Track":"Sonraki parÃ§a","Previous Track":"Ã–nceki ParÃ§a","Skip Forward":"Ä°leri Atla","Skip Backward":"Geri Atla","Fast Forward":"Ä°leri Sar",Rewind:"Geri Sar","Next Frame":"Sonraki Kare","Previous Frame":"Ã–nceki Kare",Settings:"Ayarlar",Options:"SeÃ§enekler","More Options":"TÃ¼m SeÃ§enekler",Zoom:"YakÄ±nlaÅŸtÄ±r","Zoom In":"YakÄ±nlaÅŸtÄ±r","Zoom Out":"UzaklaÅŸtÄ±r","Audio Only":"YalnÄ±zca Ses","Picture in Picture":"Resim Ä°Ã§inde Resim","Camera Angle":"Kamera AÃ§Ä±sÄ±",MEDIA_ERR_ABORTED:"Video kayÄ±ttan yÃ¼rÃ¼tme durduruldu.",MEDIA_ERR_NETWORK:"Video indirme iÅŸlemi bir aÄŸ hatasÄ± nedeniyle kÄ±smen baÅŸarÄ±sÄ±z oldu. LÃ¼tfen aÄŸ baÄŸlantÄ±sÄ±nÄ± kontrol edin veya daha sonra yeniden deneyin.",MEDIA_ERR_DECODE:"Sunucu veya aÄŸ baÅŸarÄ±sÄ±z olduÄŸundan ya da biÃ§im desteklenmediÄŸinden video yÃ¼klenemedi.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Bir bozulma sorunu ya da videoda tarayÄ±cÄ±nÄ±z tarafÄ±ndan desteklenmeyen Ã¶zelliklerin kullanÄ±lmasÄ± nedeniyle video kayÄ±ttan yÃ¼rÃ¼tme durduruldu.",MEDIA_ERR_ENCRYPTED:"Åžifreli video kaynaÄŸÄ±nÄ±n ÅŸifresi Ã§Ã¶zÃ¼lemedi.",SRC_PLAYER_MISMATCH:"GeÃ§erli tarayÄ±cÄ± ortamÄ±yla uyumlu kaynak bulunamadÄ±.",MEDIA_ERR_UNKNOWN:"Bilinmeyen bir hata oluÅŸtu.",SKIP_AD_COUNTDOWN_FORMAT:"{0} sn iÃ§inde reklamÄ± atla",SKIP:"Atla",AD_TIMING_INFO:"Reklam {0} saniye","Media Player":"Media Player","Play Video":"Videoyu Oynat",Foreground:"Ã–n plan",White:"Beyaz",Black:"Siyah",Red:"KÄ±rmÄ±zÄ±",Green:"YeÅŸil",Blue:"Mavi",Yellow:"SarÄ±",Magenta:"Eflatun",Cyan:"CamgÃ¶beÄŸi",Opaque:"Mat","Semi-Opaque":"YarÄ± mat",Transparent:"Saydam",Window:"Pencere","Font Size":"YazÄ± Tipi Boyutu","Text Edge Style":"Metin KenarÄ± Stili",None:"HiÃ§biri",Raised:"YÃ¼kseltilmiÅŸ",Depressed:"BastÄ±rÄ±lmÄ±ÅŸ",Uniform:"TekdÃ¼zen",Dropshadow:"GÃ¶lgeli","Font Family":"YazÄ± Tipi Ailesi","Monospace Serif":"Tek AralÄ±klÄ± TÄ±rnaklÄ±","Proportional Serif":"OrantÄ±lÄ± TÄ±rnaklÄ±","Monospace Sans-Serif":"Tek AralÄ±klÄ± TÄ±rnaksÄ±z","Proportional Sans-Serif":"OrantÄ±lÄ± TÄ±rnaksÄ±z",Casual:"GÃ¼nlÃ¼k",Script:"El YazÄ±sÄ±","Small Caps":"KÃ¼Ã§Ã¼k BÃ¼yÃ¼k Harf",Defaults:"VarsayÄ±lanlar",Done:"Bitti",Link:"BaÄŸlantÄ±",Embed:"Ekle",Close:"Kapat",Copy:"Kopyala","Copy Url":"URLâ€™yi Kopyala","Embed Code":"Ekleme Kodu",English:"Ä°ngilizce","volume level":"ses dÃ¼zeyi","video progress bar":"video ilerleme Ã§ubuÄŸu","playback speed level":"kayÄ±ttan yÃ¼rÃ¼tme hÄ±zÄ±","Dolby Digital":"Dolby Digital",Stereo:"Stereo","Captions Menu":"AÃ§Ä±klamalÄ± Alt YazÄ± MenÃ¼sÃ¼","Subtitles Menu":"Alt YazÄ± MenÃ¼sÃ¼","Need Text":"Metin Gerekiyor"}},{"../video.js/src/js/player.js":210}],145:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.uk={Play:"Ð’Ñ–Ð´Ñ‚Ð²Ð¾Ñ€Ð¸Ñ‚Ð¸",Pause:"ÐŸÑ€Ð¸Ð·ÑƒÐ¿Ð¸Ð½Ð¸Ñ‚Ð¸","Current Time":"ÐŸÐ¾Ñ‚Ð¾Ñ‡Ð½Ð¸Ð¹ Ñ‡Ð°Ñ","Duration Time":"Ð¢Ñ€Ð¸Ð²Ð°Ð»Ñ–ÑÑ‚ÑŒ","Remaining Time":"Ð—Ð°Ð»Ð¸ÑˆÐ¾Ðº Ñ‡Ð°ÑÑƒ","Stream Type":"Ð¢Ð¸Ð¿ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ",LIVE:"LIVE",Loaded:"Ð—Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶ÐµÐ½Ð¾",Progress:"ÐŸÐµÑ€ÐµÐ±Ñ–Ð³ Ð²Ð¸ÐºÐ¾Ð½Ð°Ð½Ð½Ñ",Fullscreen:"Ð Ð¾Ð·Ð³Ð¾Ñ€Ð½ÑƒÑ‚Ð¸","Non-Fullscreen":"Ð’Ñ–Ð´Ð½Ð¾Ð²Ð¸Ñ‚Ð¸",Mute:"Ð’Ð¸Ð¼ÐºÐ½ÑƒÑ‚Ð¸ Ð·Ð²ÑƒÐº",Unmuted:"Ð£Ð²Ñ–Ð¼ÐºÐ½ÑƒÑ‚Ð¸ Ð·Ð²ÑƒÐº","Playback Rate":"Ð¢ÐµÐ¼Ð¿ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ",Subtitles:"Ð¡ÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¸","Subtitles Off":"Ð²Ð¸Ð¼ÐºÐ½ÑƒÑ‚Ð¸ ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¸",Captions:"ÐŸÑ–Ð´Ð¿Ð¸ÑÐ¸","Captions Off":"Ð²Ð¸Ð¼ÐºÐ½ÑƒÑ‚Ð¸ Ð¿Ñ–Ð´Ð¿Ð¸ÑÐ¸",Chapters:"Ð Ð¾Ð·Ð´Ñ–Ð»Ð¸",Off:"Ð’Ð¸Ð¼ÐºÐ½ÑƒÑ‚Ð¸",Quality:"Ð¯ÐºÑ–ÑÑ‚ÑŒ",Auto:"ÐÐ²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ñ‡Ð½Ð¾","Audio Tracks":"ÐÑƒÐ´Ñ–Ð¾Ð´Ð¾Ñ€Ñ–Ð¶ÐºÐ¸","default":"Ð·Ð° Ð·Ð°Ð¼Ð¾Ð²Ñ‡ÑƒÐ²Ð°Ð½Ð½ÑÐ¼","Cast To Device":"ÐŸÐµÑ€ÐµÐºÐ¸Ð½ÑƒÑ‚Ð¸ Ð½Ð° Ð¿Ñ€Ð¸ÑÑ‚Ñ€Ñ–Ð¹",Share:"Ð¡Ð¿Ñ–Ð»ÑŒÐ½Ð¸Ð¹ Ð´Ð¾ÑÑ‚ÑƒÐ¿",Volume:"Ð“ÑƒÑ‡Ð½Ñ–ÑÑ‚ÑŒ","Playback Speed":"Ð¨Ð²Ð¸Ð´ÐºÑ–ÑÑ‚ÑŒ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ","Video Quality":"Ð¯ÐºÑ–ÑÑ‚ÑŒ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ","Closed Captioning":"ÐŸÑ€Ð¸Ñ…Ð¾Ð²Ð°Ð½Ñ– ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ð¸","Share Video":"Ð¡Ð¿Ñ–Ð»ÑŒÐ½Ð¸Ð¹ Ð´Ð¾ÑÑ‚ÑƒÐ¿ Ð´Ð¾ Ð²Ñ–Ð´ÐµÐ¾","Next Track":"ÐÐ°ÑÑ‚ÑƒÐ¿Ð½Ð° Ð´Ð¾Ñ€Ñ–Ð¶ÐºÐ°","Previous Track":"ÐŸÐ¾Ð¿ÐµÑ€ÐµÐ´Ð½Ñ Ð´Ð¾Ñ€Ñ–Ð¶ÐºÐ°","Skip Forward":"ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð²Ð¿ÐµÑ€ÐµÐ´","Skip Backward":"ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð½Ð°Ð·Ð°Ð´","Fast Forward":"ÐŸÐµÑ€ÐµÐ¼Ð¾Ñ‚Ð°Ñ‚Ð¸ Ð²Ð¿ÐµÑ€ÐµÐ´",Rewind:"ÐŸÐµÑ€ÐµÐ¼Ð¾Ñ‚Ð°Ñ‚Ð¸ Ð½Ð°Ð·Ð°Ð´","Next Frame":"ÐÐ°ÑÑ‚ÑƒÐ¿Ð½Ð¸Ð¹ ÐºÐ°Ð´Ñ€","Previous Frame":"ÐŸÐ¾Ð¿ÐµÑ€ÐµÐ´Ð½Ñ–Ð¹ ÐºÐ°Ð´Ñ€",Settings:"ÐÐ°ÑÑ‚Ñ€Ð¾Ð¹ÐºÐ¸",Options:"ÐŸÐ°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð¸","More Options":"Ð”Ð¾Ð´Ð°Ñ‚ÐºÐ¾Ð²Ñ– Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð¸",Zoom:"ÐœÐ°ÑÑˆÑ‚Ð°Ð±","Zoom In":"Ð—Ð±Ñ–Ð»ÑŒÑˆÐ¸Ñ‚Ð¸ Ð¼Ð°ÑÑˆÑ‚Ð°Ð±","Zoom Out":"Ð—Ð¼ÐµÐ½ÑˆÐ¸Ñ‚Ð¸ Ð¼Ð°ÑÑˆÑ‚Ð°Ð±","Audio Only":"Ð¢Ñ–Ð»ÑŒÐºÐ¸ Ð°ÑƒÐ´Ñ–Ð¾","Picture in Picture":"ÐšÐ°Ð´Ñ€ Ñƒ ÐºÐ°Ð´Ñ€Ñ–","Camera Angle":"ÐšÑƒÑ‚ ÐºÐ°Ð¼ÐµÑ€Ð¸",MEDIA_ERR_ABORTED:"Ð’Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ Ð²Ñ–Ð´ÐµÐ¾ Ð·ÑƒÐ¿Ð¸Ð½ÐµÐ½Ð¾.",MEDIA_ERR_NETWORK:"Ð§ÐµÑ€ÐµÐ· Ð¿Ð¾Ð¼Ð¸Ð»ÐºÑƒ Ð¼ÐµÑ€ÐµÐ¶Ñ– Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶ÐµÐ½Ð½Ñ Ð²Ñ–Ð´ÐµÐ¾ Ð½Ðµ Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¾. ÐŸÐµÑ€ÐµÐ²Ñ–Ñ€Ñ‚Ðµ Ð¿Ñ–Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð½Ñ Ð´Ð¾ Ð¼ÐµÑ€ÐµÐ¶Ñ– Ð°Ð±Ð¾ ÑÐ¿Ñ€Ð¾Ð±ÑƒÐ¹Ñ‚Ðµ Ð·Ð½Ð¾Ð²Ñƒ Ð¿Ñ–Ð·Ð½Ñ–ÑˆÐµ.",MEDIA_ERR_DECODE:"ÐÐµ Ð²Ð´Ð°Ð»Ð¾ÑÑ Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶Ð¸Ñ‚Ð¸ Ð²Ñ–Ð´ÐµÐ¾ Ñ‡ÐµÑ€ÐµÐ· Ð¿Ð¾Ð¼Ð¸Ð»ÐºÑƒ ÑÐµÑ€Ð²ÐµÑ€Ð° Ñ‡Ð¸ Ð¼ÐµÑ€ÐµÐ¶Ñ–, Ð°Ð±Ð¾ Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚ Ð½Ðµ Ð¿Ñ–Ð´Ñ‚Ñ€Ð¸Ð¼ÑƒÑ”Ñ‚ÑŒÑÑ.",MEDIA_ERR_SRC_NOT_SUPPORTED:"Ð’Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ Ð²Ñ–Ð´ÐµÐ¾ Ð·ÑƒÐ¿Ð¸Ð½ÐµÐ½Ð¾ Ñ‡ÐµÑ€ÐµÐ· Ð¿Ð¾ÑˆÐºÐ¾Ð´Ð¶ÐµÐ½Ð½Ñ, Ð°Ð±Ð¾ Ñƒ Ð²Ñ–Ð´ÐµÐ¾ Ð¿Ñ€Ð¸ÑÑƒÑ‚Ð½Ñ– Ñ„ÑƒÐ½ÐºÑ†Ñ–Ñ—, ÑÐºÑ– Ð½Ðµ Ð¿Ñ–Ð´Ñ‚Ñ€Ð¸Ð¼ÑƒÑŽÑ‚ÑŒÑÑ Ñƒ Ð²Ð°ÑˆÐ¾Ð¼Ñƒ Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ñ–.",MEDIA_ERR_ENCRYPTED:"ÐÐµ Ð²Ð´Ð°Ð»Ð¾ÑÑ Ð´ÐµÑˆÐ¸Ñ„Ñ€ÑƒÐ²Ð°Ñ‚Ð¸ Ð´Ð¶ÐµÑ€ÐµÐ»Ð¾ Ð·Ð°ÑˆÐ¸Ñ„Ñ€Ð¾Ð²Ð°Ð½Ð¾Ð³Ð¾ Ð²Ñ–Ð´ÐµÐ¾.",SRC_PLAYER_MISMATCH:"Ð—Ð½Ð°Ð¹Ð´ÐµÐ½Ð¾ Ð´Ð¶ÐµÑ€ÐµÐ»Ð¾, Ð½ÐµÑÑƒÐ¼Ñ–ÑÐ½Ðµ Ñ–Ð· ÑÐµÑ€ÐµÐ´Ð¾Ð²Ð¸Ñ‰ÐµÐ¼ Ð¿Ð¾Ñ‚Ð¾Ñ‡Ð½Ð¾Ð³Ð¾ Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ð°.",MEDIA_ERR_UNKNOWN:"Ð¡Ñ‚Ð°Ð»Ð°ÑÑ Ð½ÐµÐ²Ñ–Ð´Ð¾Ð¼Ð° Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°",SKIP_AD_COUNTDOWN_FORMAT:"Ð ÐµÐºÐ»Ð°Ð¼Ñƒ Ð¼Ð¾Ð¶Ð½Ð° Ð¿Ñ€Ð¾Ð¿ÑƒÑÑ‚Ð¸Ñ‚Ð¸ Ñ‡ÐµÑ€ÐµÐ· {0}â€¦",SKIP:"ÐŸÑ€Ð¾Ð¿ÑƒÑÑ‚Ð¸Ñ‚Ð¸",AD_TIMING_INFO:"Ð ÐµÐºÐ»Ð°Ð¼Ð°: {0} Ñ","Media Player":"ÐœÐµÐ´Ñ–Ð°Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð²Ð°Ñ‡","Play Video":"Ð’Ñ–Ð´Ñ‚Ð²Ð¾Ñ€Ð¸Ñ‚Ð¸ Ð²Ñ–Ð´ÐµÐ¾",Foreground:"ÐÐºÑ‚Ð¸Ð²Ð½Ð¸Ð¹",White:"Ð‘Ñ–Ð»Ð¸Ð¹",Black:"Ð§Ð¾Ñ€Ð½Ð¸Ð¹",Red:"Ð§ÐµÑ€Ð²Ð¾Ð½Ð¸Ð¹",Green:"Ð—ÐµÐ»ÐµÐ½Ð¸Ð¹",Blue:"Ð¡Ð¸Ð½Ñ–Ð¹",Yellow:"Ð–Ð¾Ð²Ñ‚Ð¸Ð¹",Magenta:"ÐœÐ°Ð»Ð¸Ð½Ð¾Ð²Ð¸Ð¹",Cyan:"Ð‘Ð»Ð°ÐºÐ¸Ñ‚Ð½Ð¸Ð¹",Opaque:"ÐÐµÐ¿Ñ€Ð¾Ð·Ð¾Ñ€Ð¸Ð¹","Semi-Opaque":"ÐÐ°Ð¿Ñ–Ð²Ð¿Ñ€Ð¾Ð·Ð¾Ñ€Ð¸Ð¹",Transparent:"ÐŸÑ€Ð¾Ð·Ð¾Ñ€Ð¸Ð¹",Window:"Ð’Ñ–ÐºÐ½Ð¾","Font Size":"Ð Ð¾Ð·Ð¼Ñ–Ñ€ ÑˆÑ€Ð¸Ñ„Ñ‚Ñƒ","Text Edge Style":"Ð¡Ñ‚Ð¸Ð»ÑŒ ÐºÑ€Ð°Ñ—Ð² Ñ‚ÐµÐºÑÑ‚Ñƒ",None:"ÐÐµÐ¼Ð°Ñ”",Raised:"ÐŸÑ–Ð´Ð½ÑÑ‚Ð¸Ð¹",Depressed:"Ð’Ñ‚Ð¸ÑÐ½ÐµÐ½Ð¸Ð¹",Uniform:"ÐžÐ´Ð½Ð¾Ñ€Ñ–Ð´Ð½Ð¸Ð¹",Dropshadow:"Ð¢Ñ–Ð½ÑŒ","Font Family":"Ð¡Ñ–Ð¼ÐµÐ¹ÑÑ‚Ð²Ð¾ ÑˆÑ€Ð¸Ñ„Ñ‚Ñ–Ð²","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"ÐÐµÐ¾Ñ„Ñ–Ñ†Ñ–Ð¹Ð½Ð¸Ð¹",Script:"Ð¡Ñ†ÐµÐ½Ð°Ñ€Ñ–Ð¹","Small Caps":"Ð—Ð¼ÐµÐ½ÑˆÐµÐ½Ñ– Ð²ÐµÐ»Ð¸ÐºÑ– Ð±ÑƒÐºÐ²Ð¸",Defaults:"Ð—Ð° Ð·Ð°Ð¼Ð¾Ð²Ñ‡ÑƒÐ²Ð°Ð½Ð½ÑÐ¼",Done:"Ð“Ð¾Ñ‚Ð¾Ð²Ð¾",Link:"ÐŸÐ¾ÑÐ¸Ð»Ð°Ð½Ð½Ñ",Embed:"Ð’Ð±ÑƒÐ´ÑƒÐ²Ð°Ð½Ð½Ñ",Close:"Ð—Ð°ÐºÑ€Ð¸Ñ‚Ð¸",Copy:"ÐšÐ¾Ð¿Ñ–ÑŽÐ²Ð°Ñ‚Ð¸","Copy Url":"ÐšÐ¾Ð¿Ñ–ÑŽÐ²Ð°Ñ‚Ð¸ URL-Ð°Ð´Ñ€ÐµÑÑƒ","Embed Code":"ÐšÐ¾Ð´ Ð²Ð±ÑƒÐ´Ð¾Ð²ÑƒÐ²Ð°Ð½Ð½Ñ",English:"ÐÐ½Ð³Ð»Ñ–Ð¹ÑÑŒÐºÐ°","volume level":"Ñ€Ñ–Ð²ÐµÐ½ÑŒ Ð³ÑƒÑ‡Ð½Ð¾ÑÑ‚Ñ–","video progress bar":"Ð¿Ð°Ð½ÐµÐ»ÑŒ Ð¿Ñ€Ð¾ÐºÑ€ÑƒÑ‡ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ–Ð´ÐµÐ¾","playback speed level":"ÑˆÐ²Ð¸Ð´ÐºÑ–ÑÑ‚ÑŒ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ","Dolby Digital":"Dolby Digital",Stereo:"Ð¡Ñ‚ÐµÑ€ÐµÐ¾","Captions Menu":"ÐœÐµÐ½ÑŽ ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ñ–Ð² (Ð½Ð°Ð¿Ð¸ÑÐ¸)","Subtitles Menu":"ÐœÐµÐ½ÑŽ ÑÑƒÐ±Ñ‚Ð¸Ñ‚Ñ€Ñ–Ð² (Ð·Ð²Ð¸Ñ‡Ð°Ð¹Ð½Ñ–)","Need Text":"ÐŸÐ¾Ñ‚Ñ€Ñ–Ð±ÐµÐ½ Ñ‚ÐµÐºÑÑ‚"};t["default"].prototype.options_.languages["uk-ua"]=t["default"].prototype.options_.languages.uk},{"../video.js/src/js/player.js":210}],146:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.ur={Play:"Ú†Ù„Ø§Ø¦ÛŒÚº",Pause:"Ù…ÙˆÙ‚ÙˆÙ Ú©Ø±ÛŒÚº","Current Time":"Ù…ÙˆØ¬ÙˆØ¯Û ÙˆÙ‚Øª","Duration Time":"Ø¯ÙˆØ±Ø§Ù†ÛŒÛ ÙˆÙ‚Øª","Remaining Time":"Ø¨Ø§Ù‚ÛŒ ÙˆÙ‚Øª","Stream Type":"Ø³Ù„Ø³Ù„Û Ú©ÛŒ Ù‚Ø³Ù…",LIVE:"Ù„Ø§Ø¦ÛŒÙˆ",Loaded:"Ù„ÙˆÚˆ ÛÙˆÚ¯ÛŒØ§",Progress:"Ù¾ÛŒØ´Ø±ÙØª",Fullscreen:"Ù…Ú©Ù…Ù„ Ø§Ø³Ú©Ø±ÛŒÙ†","Non-Fullscreen":"Ù†Ø§Ù…Ú©Ù…Ù„ Ø§Ø³Ú©Ø±ÛŒÙ†",Mute:"Ø®Ø§Ù…ÙˆØ´ Ú©Ø±ÛŒÚº",Unmuted:"ØºÛŒØ± Ø®Ø§Ù…ÙˆØ´ Ú©Ø±Ø¯Û","Playback Rate":"Ù¾Ù„Û’ Ø¨ÛŒÚ© Ú©ÛŒ Ø´Ø±Ø­",Subtitles:"Ø³Ø¨ Ù¹Ø§Ø¦Ù¹Ù„Ø²","Subtitles Off":"Ø³Ø¨ Ù¹Ø§Ø¦Ù¹Ù„Ø² Ø¢Ù",Captions:"Ú©ÛŒØ´Ù†Ø²","Captions Off":"Ú©ÛŒØ´Ù†Ø² Ø¢Ù",Chapters:"Ø§Ø¨ÙˆØ§Ø¨",Off:"Ø¢Ù",Quality:"Ù…Ø¹ÛŒØ§Ø±",Auto:"Ø®ÙˆØ¯Ú©Ø§Ø±","Audio Tracks":"Ø¢ÚˆÛŒÙˆ Ù¹Ø±ÛŒÚ©Ø³","default":"ÚˆÛŒÙØ§Ù„Ù¹","Cast To Device":"Ø¢Ù„Û Ù¾Ø± Ú©Ø§Ø³Ù¹ Ú©Ø±ÛŒÚº",Share:"Ø§Ø´ØªØ±Ø§Ú© Ú©Ø±ÛŒÚº",Volume:"ÙˆØ§Ù„ÛŒÙˆÙ…","Playback Speed":"Ù¾Ù„Û’ Ø¨ÛŒÚ© Ø±ÙØªØ§Ø±","Video Quality":"ÙˆÛŒÚˆÛŒÙˆ Ú©Ø§ Ù…Ø¹ÛŒØ§Ø±","Closed Captioning":"Ø¨Ù†Ø¯ Ø³Ø±Ø®ÛŒ","Share Video":"ÙˆÛŒÚˆÛŒÙˆ Ú©Ø§ Ø§Ø´ØªØ±Ø§Ú© Ú©Ø±ÛŒÚº","Next Track":"Ø§Ú¯Ù„Ø§ Ù¹Ø±ÛŒÚ©","Previous Track":"Ù¾Ú†Ú¾Ù„Ø§ Ù¹Ø±ÛŒÚ©","Skip Forward":"ÙØ§Ø±ÙˆØ±Úˆ Ù¾Ø± Ø¬Ø§Ø¦ÛŒÚº","Skip Backward":"Ù¾ÛŒÚ†Ú¾Û’ Ù¾Ø± Ø¬Ø§Ø¦ÛŒÚº","Fast Forward":"ØªÛŒØ²ÛŒ Ø³Û’ ÙØ§Ø±ÙˆØ±Úˆ Ú©Ø±ÛŒÚº",Rewind:"Ø±ÛŒÙˆØ§Ø¦Ù†Úˆ Ú©Ø±ÛŒÚº","Next Frame":"Ø§Ú¯Ù„Ø§ ÙØ±ÛŒÙ…","Previous Frame":"Ù¾Ú†Ú¾Ù„Ø§ ÙØ±ÛŒÙ…",Settings:"ØªØ±ØªÛŒØ¨Ø§Øª",Options:"Ø§Ø®ØªÛŒØ§Ø±Ø§Øª","More Options":"Ù…Ø²ÛŒØ¯ Ø§Ø®ØªÛŒØ§Ø±Ø§Øª",Zoom:"Ø²ÙˆÙ…","Zoom In":"Ø²ÙˆÙ… Ø§Ù†","Zoom Out":"Ø²ÙˆÙ… Ø¢Ø¤Ù¹","Audio Only":"ØµØ±Ù Ø¢ÚˆÛŒÙˆ","Picture in Picture":"ØªØµÙˆÛŒØ± Ø¯Ø± ØªØµÙˆÛŒØ±","Camera Angle":"Ú©ÛŒÙ…Ø±Ø§ Ø²Ø§ÙˆÛŒÛ",MEDIA_ERR_ABORTED:"ÙˆÛŒÚˆÛŒÙˆ Ù¾Ù„Û’ Ø¨ÛŒÚ© Ú©Ùˆ Ù…Ù†Ø³ÙˆØ® Ú©Ø± Ø¯ÛŒØ§ Ú¯ÛŒØ§Û”",MEDIA_ERR_NETWORK:"Ù†ÛŒÙ¹ ÙˆØ±Ú© Ú©ÛŒ Ø®Ø±Ø§Ø¨ÛŒ Ú©ÛŒ ÙˆØ¬Û Ø³Û’ ÙˆÛŒÚˆÛŒÙˆ ÚˆØ§Ø¤Ù† Ù„ÙˆÚˆ Ù†Ø§Ú©Ø§Ù… ÛÙˆÚ¯ÛŒØ§Û” Ø¨Ø±Ø§Û Ú©Ø±Ù… Ø§Ù¾Ù†Ø§ Ù†ÛŒÙ¹ ÙˆØ±Ú© Ú©Ù†Ú©Ø´Ù† Ú†ÛŒÚ© Ú©Ø±ÛŒÚº ÛŒØ§ Ø¯ÙˆØ¨Ø§Ø±Û Ú©ÙˆØ´Ø´ Ú©Ø±ÛŒÚºÛ”",MEDIA_ERR_DECODE:"ÙˆÛŒÚˆÛŒÙˆ Ù„ÙˆÚˆ Ù†ÛÛŒÚº ÛÙˆ Ø³Ú©ÛŒ Ú©ÛŒÙˆÙ†Ú©Û ÛŒØ§ ØªÙˆ Ø³Ø±ÙˆØ± ÛŒØ§ Ù†ÛŒÙ¹ ÙˆØ±Ú© Ù†Ø§Ú©Ø§Ù… ÛÙˆÚ¯ÛŒØ§ ÛŒØ§ ÙØ§Ø±Ù…ÛŒÙ¹ ØªØ¹Ø§ÙˆÙ† ÛŒØ§ÙØªÛ Ù†ÛÛŒÚº ÛÛ’Û”",MEDIA_ERR_SRC_NOT_SUPPORTED:"Ø®Ø±Ø§Ø¨ÛŒ Ú©Û’ Ø§ÛŒÚ© Ù…Ø³Ø¦Ù„Û Ú©ÛŒ ÙˆØ¬Û Ø³Û’ ÙˆÛŒÚˆÛŒÙˆ Ù¾Ù„Û’ Ø¨ÛŒÚ© Ù…Ù†Ø³ÙˆØ® Ú©Ø± Ø¯ÛŒØ§ Ú¯ÛŒØ§ ÛŒØ§ ÙˆÛŒÚˆÛŒÙˆ Ù†Û’ Ø§ÛŒØ³ÛŒ Ø®ØµÙˆØµÛŒØ§Øª Ø§Ø³ØªØ¹Ù…Ø§Ù„ Ú©ÛŒÚº Ø¬Ù† Ú©Ø§ Ø¢Ù¾ Ú©Û’ Ø¨Ø±Ø§Ø¤Ø²Ø± Ù†Û’ ØªØ¹Ø§ÙˆÙ† Ù†ÛÛŒÚº Ú©ÛŒØ§Û”",MEDIA_ERR_ENCRYPTED:"Ù…Ø±Ù…ÙˆØ² Ú©Ø±Ø¯Û ÙˆÛŒÚˆÛŒÙˆ Ù…Ø§Ø®Ø° Ú©ÛŒ ØºÛŒØ± Ù…Ø±Ù…ÙˆØ² Ú©Ø§Ø±ÛŒ Ú©Ø±Ù†Û’ Ø³Û’ Ù‚Ø§ØµØ±Û”",SRC_PLAYER_MISMATCH:"Ù…ÙˆØ¬ÙˆØ¯Û Ø¨Ø±Ø§Ø¤Ø²Ø± Ù…Ø§Ø­ÙˆÙ„ Ú©ÛŒÙ„Ø¦Û’ Ú©ÙˆØ¦ÛŒ Ù…Ø·Ø§Ø¨Ù‚Øª Ù¾Ø°ÛŒØ± Ù…Ø§Ø®Ø° Ù†ÛÛŒÚº Ù…Ù„Ø§Û”",MEDIA_ERR_UNKNOWN:"Ø§ÛŒÚ© Ù†Ø§Ù…Ø¹Ù„ÙˆÙ… Ø®Ø±Ø§Ø¨ÛŒ Ù¾ÛŒØ´ Ø¢Ú¯Ø¦ÛŒ",SKIP_AD_COUNTDOWN_FORMAT:"Ø§Ø´ØªÛØ§Ø± Ú©Ùˆ {0}... Ù…ÛŒÚº Ú†Ú¾ÙˆÚ‘ÛŒÚº",SKIP:"Ú†Ú¾ÙˆÚ‘ÛŒÚº",AD_TIMING_INFO:"Ø§Ø´ØªÛØ§Ø± {0} Ø³ÛŒÚ©Ù†Úˆ"};t["default"].prototype.options_.languages["ur-pk"]=t["default"].prototype.options_.languages.ur},{"../video.js/src/js/player.js":210}],147:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages.vi={Play:"PhÃ¡t",Pause:"Táº¡m dá»«ng","Current Time":"Thá»i gian Hiá»‡n táº¡i","Duration Time":"Thá»i lÆ°á»£ng","Remaining Time":"Thá»i gian CÃ²n láº¡i","Stream Type":"Kiá»ƒu DÃ²ng",LIVE:"TRá»°C TIáº¾P",Loaded:"ÄÃ£ táº£i",Progress:"Tiáº¿n Ä‘á»™",Fullscreen:"ToÃ n mÃ n hÃ¬nh","Non-Fullscreen":"ThoÃ¡t ToÃ n mÃ n hÃ¬nh",Mute:"Táº¯t tiáº¿ng",Unmuted:"ÄÃ£ báº­t tiáº¿ng","Playback Rate":"Táº§n suáº¥t phÃ¡t láº¡i",Subtitles:"Phá»¥ Ä‘á»","Subtitles Off":"táº¯t phá»¥ Ä‘á»",Captions:"Phá»¥ Ä‘á»","Captions Off":"táº¯t phá»¥ Ä‘á»",Chapters:"ChÆ°Æ¡ng",Off:"Táº¯t",Quality:"Cháº¥t lÆ°á»£ng",Auto:"Tá»± Ä‘á»™ng","Audio Tracks":"RÃ£nh Ã‚m thanh","default":"máº·c Ä‘á»‹nh","Cast To Device":"Truyá»n tá»›i Thiáº¿t bá»‹",Share:"Chia sáº»",Volume:"Ã‚m lÆ°á»£ng","Playback Speed":"Tá»‘c Ä‘á»™ PhÃ¡t láº¡i","Video Quality":"Cháº¥t lÆ°á»£ng Video","Closed Captioning":"Phá»¥ Ä‘á» Chi tiáº¿t","Share Video":"Chia sáº» Video","Next Track":"RÃ£nh Káº¿","Previous Track":"RÃ£nh TrÆ°á»›c","Skip Forward":"Tiáº¿n Nhanh","Skip Backward":"LÃ¹i Nhanh","Fast Forward":"Tiáº¿n Nhanh",Rewind:"Tua láº¡i","Next Frame":"Khung Káº¿","Previous Frame":"Khung TrÆ°á»›c",Settings:"Thiáº¿t Ä‘áº·t ",Options:"TÃ¹y chá»n","More Options":"Xem thÃªm TÃ¹y chá»n",Zoom:"Thu phÃ³ng","Zoom In":"PhÃ³ng to","Zoom Out":"Thu nhá»","Audio Only":"Chá»‰ Ã‚m thanh","Picture in Picture":"áº¢nh lá»“ng áº¢nh","Camera Angle":"GÃ³c MÃ¡y",MEDIA_ERR_ABORTED:"ÄÃ£ há»§y phÃ¡t láº¡i video.",MEDIA_ERR_NETWORK:"Lá»—i máº¡ng gÃ¢y ra do táº£i xuá»‘ng video tháº¥t báº¡i má»™t pháº§n. Vui lÃ²ng kiá»ƒm tra káº¿t ná»‘i máº¡ng cá»§a báº¡n hoáº·c thá»­ láº¡i sau.",MEDIA_ERR_DECODE:"KhÃ´ng thá»ƒ táº£i video do lá»—i mÃ¡y chá»§ hoáº·c lá»—i máº¡ng, hoáº·c do Ä‘á»‹nh dáº¡ng khÃ´ng Ä‘Æ°á»£c há»— trá»£.",MEDIA_ERR_SRC_NOT_SUPPORTED:"ÄÃ£ há»§y phÃ¡t láº¡i video do sá»± cá»‘ há»ng hÃ³c hoáº·c do video sá»­ dá»¥ng cÃ¡c tÃ­nh nÄƒng mÃ  trÃ¬nh duyá»‡t cá»§a báº¡n khÃ´ng há»— trá»£.",MEDIA_ERR_ENCRYPTED:"KhÃ´ng thá»ƒ giáº£i mÃ£ nguá»“n video Ä‘Æ°á»£c mÃ£ hÃ³a.",SRC_PLAYER_MISMATCH:"KhÃ´ng tÃ¬m tháº¥y nguá»“n tÆ°Æ¡ng thÃ­ch vá»›i mÃ´i trÆ°á»ng trÃ¬nh duyá»‡t hiá»‡n táº¡i.",MEDIA_ERR_UNKNOWN:"Xuáº¥t hiá»‡n lá»—i chÆ°a xÃ¡c Ä‘á»‹nh",SKIP_AD_COUNTDOWN_FORMAT:"Bá» qua quáº£ng cÃ¡o trong {0}...",SKIP:"Bá» qua",AD_TIMING_INFO:"Quáº£ng cÃ¡o {0} giÃ¢y","Media Player":"Bá»™ phÃ¡t PhÆ°Æ¡ng tiá»‡n","Play Video":"PhÃ¡t Video",Foreground:"Máº·t trÆ°á»›c",White:"Tráº¯ng",Black:"Äen",Red:"Äá»",Green:"Lá»¥c",Blue:"Lam",Yellow:"VÃ ng",Magenta:"Äá» tÆ°Æ¡i",Cyan:"Lá»¥c lam",Opaque:"Má»","Semi-Opaque":"BÃ¡n Má»",Transparent:"Trong suá»‘t",Window:"Cá»­a sá»•","Font Size":"Cá»¡ PhÃ´ng","Text Edge Style":"Kiá»ƒu Cáº¡nh VÄƒn báº£n",None:"KhÃ´ng cÃ³",Raised:"Ná»•i",Depressed:"NÃ©n",Uniform:"Äá»“ng nháº¥t",Dropshadow:"BÃ³ng tháº£","Font Family":"Há» PhÃ´ng","Monospace Serif":"Monospace Serif","Proportional Serif":"Proportional Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Sans-Serif":"Proportional Sans-Serif",Casual:"ThÃ´ng thÆ°á»ng",Script:"Táº­p lá»‡nh","Small Caps":"ChÆ°Ìƒ hoa NhoÌ‰",Defaults:"Máº·c Ä‘á»‹nh",Done:"HoÃ n táº¥t",Link:"LiÃªn káº¿t",Embed:"NhÃºng",Close:"ÄÃ³ng",Copy:"Sao chÃ©p","Copy Url":"Sao chÃ©p Url","Embed Code":"MÃ£ NhÃºng",English:"Tiáº¿ng Anh","volume level":"má»©c Ã¢m lÆ°á»£ng","video progress bar":"thanh tiáº¿n Ä‘á»™ video","playback speed level":"má»©c tá»‘c Ä‘á»™ phÃ¡t láº¡i","Dolby Digital":"Dolby Digital",Stereo:"Ã‚m thanh ná»•i","Captions Menu":"Menu ChÃº thÃ­ch","Subtitles Menu":"Menu Phá»¥ Ä‘á»","Need Text":"Cáº§n VÄƒn báº£n"};t["default"].prototype.options_.languages["vi-vn"]=t["default"].prototype.options_.languages.vi},{"../video.js/src/js/player.js":210}],148:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages["zh-hans"]={Play:"æ’­æ”¾",Pause:"æš‚åœ","Current Time":"å½“å‰æ—¶é—´","Duration Time":"æŒç»­æ—¶é—´","Remaining Time":"å‰©ä½™æ—¶é—´","Stream Type":"æµç±»åž‹",LIVE:"å®žæ—¶",Loaded:"å·²åŠ è½½",Progress:"è¿›åº¦",Fullscreen:"å…¨å±","Non-Fullscreen":"éžå…¨å±",Mute:"é™éŸ³",Unmuted:"å–æ¶ˆé™éŸ³","Playback Rate":"æ’­æ”¾é€ŸçŽ‡",Subtitles:"å­—å¹•","Subtitles Off":"å…³é—­å­—å¹•",Captions:"æè¿°","Captions Off":"å…³é—­æè¿°",Chapters:"ç« èŠ‚",Off:"å…³é—­",Quality:"è´¨é‡",Auto:"è‡ªåŠ¨","Audio Tracks":"éŸ³é¢‘è½¨é“","default":"é»˜è®¤","Cast To Device":"è½¬æ¢åˆ°è®¾å¤‡",Share:"å…±äº«",Volume:"éŸ³é‡","Playback Speed":"æ’­æ”¾é€Ÿåº¦","Video Quality":"è§†é¢‘è´¨é‡","Closed Captioning":"éšè—å¼å­—å¹•","Share Video":"å…±äº«è§†é¢‘","Next Track":"ä¸‹ä¸€æ›²ç›®","Previous Track":"ä¸Šä¸€æ›²ç›®","Skip Forward":"å¿«è¿›","Skip Backward":"å¿«é€€","Fast Forward":"å¿«è¿›",Rewind:"åŽé€€","Next Frame":"ä¸‹ä¸€å¸§","Previous Frame":"ä¸Šä¸€å¸§",Settings:"è®¾ç½®",Options:"é€‰é¡¹","More Options":"å…¶ä»–é€‰é¡¹",Zoom:"ç¼©æ”¾","Zoom In":"æ”¾å¤§","Zoom Out":"ç¼©å°","Audio Only":"ä»…éŸ³é¢‘","Picture in Picture":"ç”»ä¸­ç”»","Camera Angle":"ç…§ç›¸æœºè§’åº¦",MEDIA_ERR_ABORTED:"å·²ä¸­æ­¢è§†é¢‘æ’­æ”¾ã€‚",MEDIA_ERR_NETWORK:"ç½‘ç»œé”™è¯¯å¯¼è‡´è§†é¢‘ä¸‹è½½ä¸­é€”å¤±è´¥ã€‚è¯·æ£€æŸ¥ä½ çš„ç½‘ç»œè¿žæŽ¥ï¼Œæˆ–ç¨åŽå†è¯•ã€‚",MEDIA_ERR_DECODE:"æ— æ³•åŠ è½½è§†é¢‘ï¼ŒåŽŸå› æ˜¯æœåŠ¡å™¨æˆ–ç½‘ç»œæ•…éšœï¼Œæˆ–è€…æ ¼å¼ä¸å—æ”¯æŒã€‚",MEDIA_ERR_SRC_NOT_SUPPORTED:"è§†é¢‘æ’­æ”¾å·²ä¸­æ­¢ï¼ŒåŽŸå› æ˜¯è§†é¢‘æŸåæˆ–æµè§ˆå™¨ä¸æ”¯æŒè§†é¢‘ä½¿ç”¨çš„åŠŸèƒ½ã€‚",MEDIA_ERR_ENCRYPTED:"æ— æ³•è§£å¯†åŠ å¯†çš„è§†é¢‘æºã€‚",SRC_PLAYER_MISMATCH:"æ‰¾ä¸åˆ°ä¸Žå½“å‰æµè§ˆå™¨çŽ¯å¢ƒå…¼å®¹çš„æºã€‚",MEDIA_ERR_UNKNOWN:"å‘ç”ŸæœªçŸ¥é”™è¯¯ã€‚",SKIP_AD_COUNTDOWN_FORMAT:"{0} åŽè·³è¿‡å¹¿å‘Š...",SKIP:"è·³è¿‡",AD_TIMING_INFO:"å¹¿å‘Š {0} ç§’","Media Player":"åª’ä½“æ’­æ”¾å™¨","Play Video":"æ’­æ”¾è§†é¢‘",Foreground:"å‰æ™¯",White:"ç™½è‰²",Black:"é»‘è‰²",Red:"çº¢è‰²",Green:"ç»¿è‰²",Blue:"è“è‰²",Yellow:"é»„è‰²",Magenta:"æ´‹çº¢è‰²",Cyan:"è“ç»¿è‰²",Opaque:"ä¸é€æ˜Ž","Semi-Opaque":"åŠé€æ˜Ž",Transparent:"é€æ˜Ž",Window:"çª—å£","Font Size":"å­—å·","Text Edge Style":"æ–‡æœ¬è¾¹ç¼˜æ ·å¼",None:"æ— ",Raised:"å‡¸èµ·",Depressed:"å‡¹é™·",Uniform:"ç»Ÿä¸€",Dropshadow:"é˜´å½±","Font Family":"å­—ä½“ç³»åˆ—","Monospace Serif":"ç­‰å®½æœ‰è¡¬çº¿","Proportional Serif":"éžç­‰å®½æœ‰è¡¬çº¿","Monospace Sans-Serif":"ç­‰å®½æ— è¡¬çº¿","Proportional Sans-Serif":"éžç­‰å®½æ— è¡¬çº¿",Casual:"Casual",Script:"ä¸Šä¸‹æ ‡â€‹â€‹","Small Caps":"å°å·å¤§å†™å­—æ¯",Defaults:"é»˜è®¤",Done:"å®Œæˆ",Link:"é“¾æŽ¥",Embed:"åµŒå…¥",Close:"å…³é—­",Copy:"å¤åˆ¶","Copy Url":"å¤åˆ¶ URL","Embed Code":"åµŒå…¥ä»£ç ",English:"è‹±è¯­","volume level":"éŸ³é‡","video progress bar":"è§†é¢‘è¿›åº¦æ ","playback speed level":"æ’­æ”¾é€Ÿåº¦","Dolby Digital":"æœæ¯”æ•°å­—",Stereo:"ç«‹ä½“å£°","Captions Menu":"æ ‡é¢˜èœå•","Subtitles Menu":"å‰¯æ ‡é¢˜èœå•","Need Text":"éœ€è¦æ–‡æœ¬"};t["default"].prototype.options_.languages.zh=t["default"].prototype.options_.languages["zh-hans"];t["default"].prototype.options_.languages["zh-cn"]=t["default"].prototype.options_.languages["zh-hans"]},{"../video.js/src/js/player.js":210}],149:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/player.js"),t=i(r);t["default"].prototype.options_.languages["zh-hant"]={Play:"æ’­æ”¾",Pause:"æš«åœ","Current Time":"ç›®å‰çš„æ™‚é–“","Duration Time":"æŒçºŒæ™‚é–“","Remaining Time":"å‰©é¤˜æ™‚é–“","Stream Type":"ä¸²æµé¡žåž‹",LIVE:"ç¾å ´",Loaded:"å·²è¼‰å…¥",Progress:"é€²åº¦",Fullscreen:"å…¨èž¢å¹•","Non-Fullscreen":"éžå…¨èž¢å¹•",Mute:"éœéŸ³",Unmuted:"å·²å–æ¶ˆéœéŸ³","Playback Rate":"æ’­æ”¾é€ŸçŽ‡",Subtitles:"ç¿»è­¯å­—å¹•","Subtitles Off":"é—œé–‰ç¿»è­¯å­—å¹•",Captions:"å­—å¹•","Captions Off":"é—œé–‰å­—å¹•",Chapters:"æ®µè½",Off:"é—œé–‰",Quality:"ç•«è³ª",Auto:"è‡ªå‹•","Audio Tracks":"æ›²ç›®","default":"é è¨­","Cast To Device":"å‚³é€åˆ°è£ç½®",Share:"åˆ†äº«",Volume:"éŸ³é‡","Playback Speed":"æ’­æ”¾é€Ÿåº¦","Video Quality":"è¦–è¨Šç•«è³ª","Closed Captioning":"éš±è—å¼å­—å¹•","Share Video":"åˆ†äº«è¦–è¨Š","Next Track":"ä¸‹ä¸€é¦–æ›²ç›®","Previous Track":"ä¸Šä¸€é¦–æ›²ç›®","Skip Forward":"å¿«è½‰è·³éŽ","Skip Backward":"å€’è½‰è·³éŽ","Fast Forward":"å‘å‰å¿«è½‰",Rewind:"å€’è½‰","Next Frame":"ä¸‹ä¸€å€‹ç•«é¢","Previous Frame":"ä¸Šä¸€å€‹ç•«é¢",Settings:"è¨­å®š",Options:"é¸é …","More Options":"æ›´å¤šé¸é …",Zoom:"ç¸®æ”¾","Zoom In":"æ”¾å¤§","Zoom Out":"ç¸®å°","Audio Only":"åƒ…éŸ³è¨Š","Picture in Picture":"å­æ¯ç•«é¢","Camera Angle":"æ”å½±æ©Ÿè§’åº¦",MEDIA_ERR_ABORTED:"è¦–è¨Šæ’­æ”¾å·²ä¸­æ­¢ã€‚",MEDIA_ERR_NETWORK:"ç¶²è·¯ç™¼ç”ŸéŒ¯èª¤ï¼Œå°Žè‡´è¦–è¨Šä¸‹è¼‰ä¸­æ–·ã€‚è«‹æª¢æŸ¥æ‚¨çš„ç¶²è·¯é€£æŽ¥ï¼Œç„¶å¾Œå†è©¦ä¸€æ¬¡ã€‚",MEDIA_ERR_DECODE:"è¦–è¨Šç„¡æ³•è¼‰å…¥ã€‚å¯èƒ½æ˜¯ä¼ºæœå™¨æˆ–ç¶²è·¯å¤±æ•—ï¼Œæˆ–æ ¼å¼ä¸å—æ”¯æ´ã€‚",MEDIA_ERR_SRC_NOT_SUPPORTED:"å› ç‚ºç™¼ç”Ÿæ¯€æå•é¡Œï¼Œæˆ–ç€è¦½å™¨ä¸æ”¯æ´è¦–è¨Šæ‰€ä½¿ç”¨çš„åŠŸèƒ½ï¼Œå°Žè‡´æ’­æ”¾å·²ä¸­æ­¢ã€‚",MEDIA_ERR_ENCRYPTED:"ç„¡æ³•è§£å¯†åŠ å¯†çš„è¦–è¨Šä¾†æºã€‚",SRC_PLAYER_MISMATCH:"æ‰¾ä¸åˆ°ä»»ä½•ä¾†æºèˆ‡ç›®å‰çš„ç€è¦½å™¨ç’°å¢ƒç›¸å®¹ã€‚",MEDIA_ERR_UNKNOWN:"ç™¼ç”ŸæœªçŸ¥çš„éŒ¯èª¤ã€‚",SKIP_AD_COUNTDOWN_FORMAT:"{0} å¾Œè·³éŽå»£å‘Šâ€¦",SKIP:"è·³éŽ",AD_TIMING_INFO:"å»£å‘Š {0} ç§’","Media Player":"åª’é«”æ’­æ”¾å™¨","Play Video":"æ’­æ”¾å½±ç‰‡",Foreground:"å‰æ™¯",White:"ç™½è‰²",Black:"é»‘è‰²",Red:"ç´…è‰²",Green:"ç¶ è‰²",Blue:"è—è‰²",Yellow:"é»ƒè‰²",Magenta:"æ´‹ç´…è‰²",Cyan:"é’è‰²",Opaque:"ä¸é€æ˜Ž","Semi-Opaque":"åŠé€æ˜Ž",Transparent:"é€æ˜Žâ€‹â€‹",Window:"è¦–çª—","Font Size":"å­—åž‹å¤§å°","Text Edge Style":"æ–‡å­—é‚Šç·£æ¨£å¼",None:"ç„¡",Raised:"å‡¸èµ·",Depressed:"å‡¹ä¸‹",Uniform:"åˆ¶å¼",Dropshadow:"é™°å½±","Font Family":"å­—åž‹å®¶æ—","Monospace Serif":"ç­‰å¯¬æœ‰è¥¯ç·šå­—åž‹","Proportional Serif":"èª¿å’Œé–“è·æœ‰è¥¯ç·šå­—åž‹","Monospace Sans-Serif":"ç­‰å¯¬ç„¡è¥¯ç·šå­—åž‹","Proportional Sans-Serif":"èª¿å’Œé–“è·ç„¡è¥¯ç·šå­—åž‹",Casual:"éš¨æ„",Script:"ä¸Šä¸‹æ¨™â€‹â€‹","Small Caps":"å°åž‹å¤§å¯«å­—",Defaults:"é è¨­å€¼",Done:"å®Œæˆ",Link:"é€£çµ",Embed:"å…§åµŒ",Close:"é—œé–‰",Copy:"è¤‡è£½","Copy Url":"è¤‡è£½ Url","Embed Code":"å…§åµŒç¨‹å¼ç¢¼",English:"è‹±æ–‡","volume level":"éŸ³é‡å¤§å°","video progress bar":"å½±ç‰‡é€²åº¦åˆ—","playback speed level":"æ’­æ”¾é€Ÿåº¦ç­‰ç´š","Dolby Digital":"Dolby Digital",Stereo:"ç«‹é«”è²","Captions Menu":"å­—å¹•åŠŸèƒ½è¡¨","Subtitles Menu":"å­—å¹•åŠŸèƒ½è¡¨","Need Text":"éœ€è¦æ–‡å­—"};t["default"].prototype.options_.languages["zh-hk"]=t["default"].prototype.options_.languages["zh-hant"];t["default"].prototype.options_.languages["zh-tw"]=t["default"].prototype.options_.languages["zh-hant"]},{"../video.js/src/js/player.js":210}],150:[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}var r=n("../video.js/src/js/tech/tech.js"),u=i(r),f=n("../video.js/src/js/tech/html5.js"),t=i(f);t["default"].prototype.vjsTriggerReady=t["default"].prototype.triggerReady;t["default"].prototype.triggerReady=function(){this.setupTriggers();this.vjsTriggerReady()};t["default"].prototype.setupTriggers=function(){for(var i=this,r=function(n){i.eventHandler(n)},n=t["default"].Events.length-1;n>=0;n--)this.el_.addEventListener(t["default"].Events[n],r)};t["default"].prototype.eventHandler=function(n){"timeupdate"!==n.type&&"progress"!==n.type&&AMP.Logger.verbose(AMP.Logger.Area.html5,"Event: "+n.type);"error"===n.type&&this.error()&&u["default"].raiseError.call(this,"html5",this.error().code<<20)};t["default"].prototype.vjsSetSrc=t["default"].prototype.setSrc;t["default"].prototype.setSrc=function(n){AMP.Logger.setLogConfig(this.options_.playerOptions.traceConfig);this.vjsSetSrc(n)};t["default"].prototype.isLiveStartupError=function(){var n=this.error(),t;return n&&(t=n.code<<20,0===t)?!0:!1};t["default"].prototype.currentAudioStreamList=function(){return this.audioStreamList_||(this.audioStreamList_=new AMP.Html5.AudioStreamList(this)),this.audioStreamList_}},{"../video.js/src/js/tech/html5.js":219,"../video.js/src/js/tech/tech.js":222}],151:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n){var t,e,o,c,s,i,u,h,l,f;void 0===n&&(n=null);t=!1;try{if(e=null,o=!1,r["default"].ActiveXObject)try{e=new r["default"].ActiveXObject("AgControl.AgControl");null===n?t=!0:e.IsVersionSupported(n)&&(t=!0);e=null}catch(a){o=!0}else o=!0;if(o&&(c=r["default"].navigator.plugins["Silverlight Plug-In"],c))if(null===n)t=!0;else{for(s=c.description,"1.0.30226.2"===s&&(s="2.0.30226.2"),i=s.split(".");i.length>3;)i.pop();for(;i.length<4;)i.push(0);for(u=n.split(".");u.length>4;)u.pop();f=0;do h=parseInt(u[f]),l=parseInt(i[f]),f++;while(f<u.length&&h===l);l>=h&&!isNaN(h)&&(t=!0)}}catch(a){t=!1}return t}i.__esModule=!0;i.isSilverlightInstalled=f;var e=n("global/window"),r=u(e)},{"global/window":80}],152:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if("function"!=typeof t&&null!==t)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 p=n("global/window"),w=o(p),b=n("object.assign"),c=o(b),k=n("../video.js/src/js/tech/tech.js"),l=o(k),d=n("../video.js/src/js/tech/html5.js"),a=o(d),g=n("../video.js/src/js/component.js"),nt=o(g),tt=n("../video.js/src/js/player.js"),it=o(tt),rt=n("../video.js/src/js/video.js"),ut=o(rt),ft=n("../video.js/src/js/utils/dom.js"),e=h(ft),et=n("../video.js/src/js/utils/fn.js"),u=h(et),ot=n("../video.js/src/js/utils/browser.js"),s=h(ot),st=n("../ampDefs.js"),f=h(st),r=function(n){function t(i,r){v(this,t);n.call(this,i,r);this.manualTimeUpdatesOff();var u=void 0,f=void 0;this.featuresPlaybackRate=a["default"].canControlPlaybackRate();this.fullscreenResize=!0;this.progressEvents=!1;this.volumeControl=!0;u=i.source;this.setControls(!1);AzureHtml5JSTech.Log.setLoggerFunction(AMP.Logger.writeEntry,AMP.Logger.Area.azureHtml5JS);f=AzureHtml5JSTech.CreateAzureHtml5(this.el_.videoTag_);i.staleDataTimeLimitInSec&&f.setStaleDataTimeLimit(i.staleDataTimeLimitInSec);this.mediaPlayer=f;this.options_.muted&&this.setMuted(!0);this.setupTriggers(f);u&&this.src!==u.src&&this.setSrc(u.src);s.TOUCH_ENABLED&&i.nativeControlsForTouch===!0&&this.setControls(!0);this.options_.playerOptions.traceConfig&&AzureHtml5JSTech.Log.setConsoleOutputByLevel(this.options_.playerOptions.traceConfig.maxLogLevel);this.triggerReady()}return y(t,n),t.prototype.dispose=function(){null!==this.mediaPlayer&&(this.mediaPlayer.dispose(),this.mediaPlayer=null);t.disposeMediaElement(this.el_);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_.tag,i=n,f,h,l,o,r,u,s;for(n&&this.movingMediaElementInDOM!==!1||(n?(f=n.cloneNode(!0),n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=e.createEl("div"),i=e.createEl("video"),h=this.options_.tag&&e.getElAttributes(this.options_.tag),l=c["default"]({},h),e.setElAttributes(i,c["default"](l,{id:this.options_.techId,"class":"vjs-tech"})),n.appendChild(i),n.videoTag_=i)),e.setElAttributes(i,{oncontextmenu:"return false;"}),e.setElAttributes(i,{tabindex:"-1"}),e.setElAttributes(i,{"aria-hidden":"true"}),o=["preload","loop"],r=o.length-1;r>=0;r--)u=o[r],s={},"undefined"!=typeof this.options_[u]&&(s[u]=this.options_[u]),e.setElAttributes(i,s);return n},t.prototype.autoplay=function(){return this.mediaPlayer.autoplay},t.prototype.setAutoplay=function(n){this.options_.autoplay=n},t.prototype.buffered=function(){return this.mediaPlayer.buffered},t.prototype.controls=function(){return this.el_.controls},t.prototype.setControls=function(n){this.el_.controls=!!n},t.prototype.currentSrc=function(){return this.src()},t.prototype.isLive=function(){return this.mediaPlayer.isLive},t.prototype.manifestPlayableWindowLength=function(){return this.mediaPlayer.manifestPlayableWindowLength},t.prototype.currentPlayableWindow=function(){return this.mediaPlayer.currentPlayableWindow},t.prototype.segmentBoundaries=function(){return this.mediaPlayer.segmentBoundaries},t.prototype.setCurrentTime=function(n){this.mediaPlayer.currentTime=n},t.prototype.setCurrentAbsoluteTime=function(n){this.mediaPlayer.currentAbsoluteTime=n},t.prototype.currentTime=function(){return this.mediaPlayer.currentTime},t.prototype.currentAbsoluteTime=function(){return this.mediaPlayer.currentAbsoluteTime},t.prototype.currentMediaTime=function(){return this.mediaPlayer.currentMediaTime},t.prototype.currentType=function(){return this.mediaPlayer.type},t.prototype.currentVideoStreamList=function(){return this.mediaPlayer.currentVideoStreamList},t.prototype.currentAudioStreamList=function(){return this.mediaPlayer.currentAudioStreamList},t.prototype.videoBufferData=function(){return this.mediaPlayer.videoBufferData},t.prototype.audioBufferData=function(){return this.mediaPlayer.audioBufferData},t.prototype.currentDownloadBitrate=function(){return this.mediaPlayer.currentDownloadBitrate},t.prototype.currentPlaybackBitrate=function(){return this.mediaPlayer.currentPlaybackBitrate},t.prototype.duration=function(){return this.mediaPlayer.duration},t.prototype.ended=function(){return this.mediaPlayer.ended},t.prototype.isFullScreen=function(){return this.mediaPlayer.isFullScreen},t.prototype.muted=function(){return this.el_.videoTag_.muted||0===this.mediaPlayer.volume},t.prototype.setMuted=function(n){n?(this.el_.videoTag_.muted=!0,this.setVolume(0)):this.el_.videoTag_.muted=!1},t.prototype.paused=function(){return this.mediaPlayer.paused},t.prototype.seeking=function(){return this.mediaPlayer.seeking},t.prototype.src=function(n){return void 0===n?this.mediaPlayer.src:void this.setSrc(n)},t.prototype.volume=function(){return this.mediaPlayer.volume},t.prototype.setVolume=function(n){this.mediaPlayer.volume=n},t.prototype.height=function(n){return void 0===n?this.mediaPlayer.height:void(this.mediaPlayer.height=n)},t.prototype.width=function(n){return void 0===n?this.mediaPlayer.width:void(this.mediaPlayer.width=n)},t.prototype.videoHeight=function(){return this.mediaPlayer.videoHeight},t.prototype.videoWidth=function(){return this.mediaPlayer.videoWidth},t.prototype.play=function(){this.mediaPlayer.play()},t.prototype.pause=function(){this.mediaPlayer.pause()},t.prototype.setSrc=function(n){var e={type:this.options_.playerOptions.currentType},t,i,r,o,u;if(e=c["default"]({autoPlay:!!this.options_.playerOptions.autoplay},e),e.headers=this.options_.playerOptions.headers,this.updateCurrentPlayerConfigs(),AMP.Logger.setLogConfig(this.options_.playerOptions.traceConfig),this.options_.playerOptions.traceConfig&&AzureHtml5JSTech.Log.setConsoleOutputByLevel(this.options_.playerOptions.traceConfig.maxLogLevel),t={},i=this.options_.currentPlayerConfigs.currentHeuristicConfigs,t.maxBufferInWallClockSec=i.maxBufferInWallClockSec,t.prerollPercent=i.preRollInWallClockSec/i.maxBufferInWallClockSec,t.livePlaybackOffsetPercent=(i.livePlaybackOffsetInWallClockSec-i.preRollInWallClockSec)/i.maxBufferInWallClockSec,t.windowSizeHeuristicsEnabled=i.windowSizeHeuristics,t.useBrowserWindowForWindowSizeRule=i.useBrowserWindowForWindowSizeRule,t.minFragmentsForBandwidthAverage=i.minFragmentsForBandwidthAverage,t.bandwidthTestWithTimeThresholdDuringLive=i.bandwidthTestWithTimeThresholdDuringLive,t.useVariableFragmentSizeMode=i.useVariableFragmentSizeMode,this.options_.maxSkipSegments&&(t.maxSkipSegments=this.options_.maxSkipSegments),this.options_.maxRetryPerSegment&&(t.maxRetryPerSegment=this.options_.maxRetryPerSegment),this.options_.maxTotalRetries&&(t.maxTotalRetries=this.options_.maxTotalRetries),"QuickStart"===this.options_.heuristicProfile&&(t.preFetchDataEnabled=!1),e.userConfig=t,r=this.options_.playerOptions.sourceOptions.protectionInfo,o=null,r){for(u=0;u<r.length;u++)(r[u].type===f.protectionType.PlayReady||r[u].type===f.protectionType.Widevine||r[u].type===f.protectionType.AES)&&r[u].authenticationToken&&(o||(o={}),o[r[u].type]=r[u].authenticationToken);o&&(e=c["default"]({authenticationTokens:o},e))}this.mediaPlayer.setSrc(n,e)},t.prototype.load=function(){},t.prototype.supportsFullScreen=function(){return!0},t.prototype.enterFullScreen=function(){this.mediaPlayer.requestFullScreen()},t.prototype.exitFullScreen=function(){this.mediaPlayer.exitFullscreen()},t.prototype.setXmlHttpRequestFactory=function(n){this.mediaPlayer.setXmlHttpRequestFactory(n)},t.prototype.playbackRate=function(){return this.mediaPlayer.playbackRate()},t.prototype.setPlaybackRate=function(n){this.mediaPlayer.setPlaybackRate(n)},t.prototype.getAdSignalsAndReset=function(){return this.mediaPlayer.getAdSignalsAndReset()},t}(l["default"]);r.isSupported=function(){return!!w["default"].MediaSource};r.canPlaySource=function(n){return it["default"].canSupportFormats(n,this.supportedFormats)};r.supportedFormats={};r.supportedFormats[f.StreamingFormatMimeType.Dash]=[f.protectionType.AES];r._playReadyKeySystemName="com.microsoft.playready";r._widevineKeySystemName="com.widevine.alpha";r._defaultVideoCodecMime='video/mp4; codecs="avc1.42001E"';r._defaultAudioCodecMime='audio/mp4; codecs="mp4a.40.2"';r.CHECK_PENDING="pending";r.CHECK_DONE="done";r._playReadyCheck=null;r._widevineCheck=null;r.drmSupportCheck=function(n){function o(){r.supportedFormats[f.StreamingFormatMimeType.Dash].push(f.protectionType.PlayReady);r._playReadyCheck=r.CHECK_DONE}function h(){r._playReadyCheck=r.CHECK_DONE}function c(){r.supportedFormats[f.StreamingFormatMimeType.Dash].push(f.protectionType.Widevine);r._widevineCheck=r.CHECK_DONE}function l(){r._widevineCheck=r.CHECK_DONE}for(var i,u,e,t=0;n&&t<n.length;t++)for(i=n[t].protectionInfo,u=0;i&&u<i.length;u++){if(e=i[u].type,s.IS_FIREFOX&&s.FIREFOX_VERSION<47||s.IS_MACWEBVIEW)return r._playReadyCheck=r.CHECK_DONE,void(r._widevineCheck=r.CHECK_DONE);r._playReadyCheck||e!==f.protectionType.PlayReady?r._widevineCheck||e!==f.protectionType.Widevine||(AzureHtml5JSTech.EmeUtil.isTypeSupported(r._widevineKeySystemName,r._defaultAudioCodecMime,r._defaultVideoCodecMime).then(c,l),r._widevineCheck=r.CHECK_PENDING):(AzureHtml5JSTech.EmeUtil.isTypeSupported(r._playReadyKeySystemName,r._defaultAudioCodecMime,r._defaultVideoCodecMime).then(o,h),r._playReadyCheck=r.CHECK_PENDING)}};r.setupDone=function(){return r._playReadyCheck!==r.CHECK_PENDING&&r._widevineCheck!==r.CHECK_PENDING};r.prototype.setupTriggers=function(n){n.addEventListener(AzureHtml5JSTech.EventName.volumechange,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.ended,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.timeupdate,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.pause,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.play,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.playing,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.seeking,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.seeked,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.suspend,u.bind(this,r.onSuspend));n.addEventListener(AzureHtml5JSTech.EventName.loadstart,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.loadedmetadata,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.loadeddata,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.fullscreenchange,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.waiting,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.canplaythrough,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.error,u.bind(this,r.onError));n.addEventListener(AzureHtml5JSTech.EventName.durationchange,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.downloadbitratechanged,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.playbackbitratechanged,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.ratechange,u.bind(this,r.onPassthroughHandler));n.addEventListener(AzureHtml5JSTech.EventName.spliceWaiting,u.bind(this,r.onPassthroughHandler))};r.onPassthroughHandler=function(n){this.trigger(n)};r.onSuspend=function(){this.removeClass("vjs-waiting")};r.onError=function(){var n=this.mediaPlayer.error;l["default"].raiseError.call(this,"AzureHtml5JS",n.code,n.message)};r.prototype.isLiveStartupError=function(){var n=this.mediaPlayer.error;return n&&this.isLive()&&n.code===AzureHtml5JSTech.ErrorCode.srcErrLiveNoChunks};r.prototype.movingMediaElementInDOM=!s.IS_IOS;r.disposeMediaElement=function(n){if(n){for(n.parentNode&&n.parentNode.removeChild(n);n.hasChildNodes();)n.removeChild(n.firstChild);a["default"].disposeMediaElement(n.videoTag_);n.videoTag_=null}};ut["default"].options.azureHtml5JS={};nt["default"].registerComponent("AzureHtml5JS",r);l["default"].registerTech("AzureHtml5JS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":97,"../video.js/src/js/component.js":163,"../video.js/src/js/player.js":210,"../video.js/src/js/tech/html5.js":219,"../video.js/src/js/tech/tech.js":222,"../video.js/src/js/utils/browser.js":238,"../video.js/src/js/utils/dom.js":241,"../video.js/src/js/utils/fn.js":243,"../video.js/src/js/video.js":256,"global/window":80,"object.assign":73}],153:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if("function"!=typeof t&&null!==t)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 nt(n){var t=n.charAt(0).toUpperCase()+n.slice(1);b["set"+t]=function(n){return this.el_["set"+t]?this.el_["set"+t](n):null}}function v(n){b[n]=function(){var t=n.charAt(0).toUpperCase()+n.slice(1);return this.el_["get"+t]?this.el_["get"+t]():null}}var o;i.__esModule=!0;for(var tt=n("global/window"),u=e(tt),it=n("global/document"),rt=e(it),ut=n("object.assign"),c=e(ut),ft=n("../video.js/src/js/tech/tech.js"),h=e(ft),et=n("../video.js/src/js/tech/flash.js"),l=e(et),ot=n("../video.js/src/js/component.js"),st=e(ot),ht=n("../video.js/src/js/player.js"),y=e(ht),ct=n("../video.js/src/js/video.js"),lt=e(ct),at=n("../video.js/src/js/utils/time-ranges.js"),vt=n("../video.js/src/js/utils/dom.js"),p=s(vt),yt=n("../video.js/src/js/utils/fn.js"),pt=s(yt),wt=n("../video.js/src/js/utils/browser.js"),w=s(wt),bt=n("../video.js/src/js/utils/url.js"),kt=s(bt),dt=n("../ampDefs.js"),f=s(dt),r=function(n){function t(i,r){var f=this;return d(this,t),n.call(this,i,r),this.manualTimeUpdatesOff(),i.source?(i.startTime&&this.ready(function(){this.load();this.play();this.currentTime(i.startTime)}),u["default"].amp=u["default"].amp||{},u["default"].amp.FlashSS=u["default"].amp.FlashSS||{},u["default"].amp.FlashSS.onEvent=t.onEvent,this.ready(this.setupTriggers),void((w.IS_IE||w.IS_EDGE)&&!function(){var n=pt.bind(f,f.mouseUp);u["default"].addEventListener("mouseup",n,!1);f.on("dispose",function(){u["default"].removeEventListener("mouseup",n)})}())):(AMP.Logger.setLogConfig(this.options_.playerOptions.traceConfig),void this.triggerReady())}return g(t,n),t.prototype.dispose=function(){n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_,s=y["default"].getScriptRootURL(),o,e;!n.swf&&s&&(n.swf=s+"/techs/StrobeMediaPlayback.2.0.swf");var r=n.source,h=n.techId,i=c["default"]({playerId:this.id(),controlBarMode:"none",playButtonOverlay:"false",bufferingOverlay:"false",AdaptiveStreamingPlugin_retryLive:"true",autoPlay:!0,preload:n.preload,loop:n.loop,muted:n.muted,sendRawDataToJS:n.playerOptions.cea708CaptionsSettings&&n.playerOptions.cea708CaptionsSettings.enabled},n.flashVars),a=c["default"]({menu:!1,wmode:"opaque",bgcolor:"#000000"},n.params),v=c["default"]({id:h,name:h,"class":"vjs-tech",tabindex:"-1"},n.attributes);if(this.flashSS=this,this.flashSS.lastSeekTarget_=NaN,this.reset(),r&&(r.src=t.getFullSourceURL(r.src),t._src=r.src,i.src=r.src,r.protectionInfo))for(o=0;o<r.protectionInfo.length;o++)r.protectionInfo[o].type===f.protectionType.AES&&r.protectionInfo[o].authenticationToken&&(i.AdaptiveStreamingPlugin_encryptionKeyToken=r.protectionInfo[o].authenticationToken);if(this.updateCurrentPlayerConfigs(),e=n.currentPlayerConfigs.currentHeuristicConfigs,i.AdaptiveStreamingPlugin_minimumBufferTimeInSeconds=e.preRollInWallClockSec,i.AdaptiveStreamingPlugin_maximumBufferTimeInSeconds=e.maxBufferInWallClockSec,i.AdaptiveStreamingPlugin_livePlaybackOffsetInSecond=e.livePlaybackOffsetInWallClockSec,t._heuristicSettings.minimumBufferTimeInSeconds=e.preRollInWallClockSec,t._heuristicSettings.maximumBufferTimeInSeconds=e.maxBufferInWallClockSec,t._heuristicSettings.livePlaybackOffsetInSecond=e.livePlaybackOffsetInWallClockSec,t._isTraceEnabled=n.isTraceEnabled,AMP.Logger.setLogConfig(n.playerOptions.traceConfig),n.playerOptions.traceConfig&&n.playerOptions.traceConfig.maxLogLevel)switch(i.AdaptiveStreamingPlugin_enableOSMFLogging=!0,u["default"].org.osmf.player.debug.logs=t.onLogMessage,n.playerOptions.traceConfig.maxLogLevel){case 0:i.AdaptiveStreamingPlugin_minimalLogLevel=0;i.AdaptiveStreamingPlugin_enableOSMFLogging=!1;u["default"].org.osmf.player.debug.logs=void 0;break;case 1:i.AdaptiveStreamingPlugin_minimalLogLevel=2;break;case 2:i.AdaptiveStreamingPlugin_minimalLogLevel=1;break;case 3:i.AdaptiveStreamingPlugin_minimalLogLevel=0;break;default:i.AdaptiveStreamingPlugin_minimalLogLevel=0}else i.AdaptiveStreamingPlugin_enableOSMFLogging=!1,u["default"].org.osmf.player.debug.logs=void 0;return t._traceConfig=n.playerOptions.traceConfig,this.el_=l["default"].embed(n.swf,i,a,v),this.el_.tech=this,this.el_},t.prototype.autoplay=function(){return!!this.options_.playerOptions.autoplay},t.prototype.setAutoplay=function(){},t.prototype.isLive=function(){return this.el_.getStreamType&&"dvr"===this.el_.getStreamType()?!0:!1},t.prototype.buffered=function(){return this.el_.getBufferLength?at.createTimeRange(this.currentTime(),this.currentTime()+this.el_.getBufferLength()):null},t.prototype.setCurrentTime=function(n){this.el_.setCurrentTime&&(n=n<=this.duration()?n:this.duration(),n=n>0?n:0,this.lastSeekTarget_=n,this.el_.setCurrentTime(n))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.getCurrentTime?this.el_.getCurrentTime():null},t.prototype.currentAbsoluteTime=function(){return void 0},t.prototype.currentMediaTime=function(){return this.el_.getCurrentMediaTime?this.el_.getCurrentMediaTime():null},t.prototype.currentVideoStreamList=function(){return t._currentVideoStreamList},t.prototype.currentAudioStreamList=function(){return t._currentAudioStreamList},t.prototype.videoBufferData=function(){return t._videoBufferData},t.prototype.audioBufferData=function(){return t._audioBufferData},t.prototype.currentDownloadBitrate=function(){if(t._currentVideoStreamList&&this.el_.getCurrentDynamicStreamIndex){var n=this.el_.getCurrentDynamicStreamIndex();return t._currentVideoStreamList.streams[0].tracks[n].bitrate}return void 0},t.prototype.currentPlaybackBitrate=function(){return void 0},t.prototype.ended=function(){return t._ended},t.prototype.isFullscreen=function(){return this.isFullscreen()},t.prototype.src=function(n){return void 0===n?this.currentSrc():void(this.el_.setAutoPlay&&this.el_.setMediaResourceURL&&(this.reset(),n=t.getFullSourceURL(n),t._src=n,this.mediaError=null,this.el_.setAutoPlay(!0),this.el_.setMediaResourceURL(n)))},t.prototype.currentSrc=function(){return t._src?t._src:this.el_.getCurrentSrc?this.el_.getCurrentSrc():null},t.prototype.load=function(){this.el_.load&&this.el_.load()},t.prototype.play=function(){this.el_.play2&&this.el_.play2()},t.prototype.pause=function(){this.el_.pause&&this.el_.pause()},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(h["default"]),b=r.prototype,a="controls,muted,volume".split(","),k="duration,paused,seeking,videoHeight,videoWidth".split(","),o=0;o<a.length;o++)v(a[o]),nt(a[o]);for(o=0;o<k.length;o++)v(k[o]);"undefined"==typeof u["default"].org&&(u["default"].org={});"undefined"==typeof u["default"].org.osmf&&(u["default"].org.osmf={});"undefined"==typeof u["default"].org.osmf.player&&(u["default"].org.osmf.player={});"undefined"==typeof u["default"].org.osmf.player.debug&&(u["default"].org.osmf.player.debug={});r.onLogMessage=function(n){for(var i=n.split("###"),t=0;t<i.length;t++)AMP.Logger.verbose(AMP.Logger.Area.flashSS,i[t])};r.isSupported=function(){return l["default"].isSupported()};r.isVersionSupported=function(n){return l["default"].isVersionSupported(n)};r.canPlaySource=function(n){return y["default"].canSupportFormats(n,this.supportedFormats)};r.supportedFormats={};r.supportedFormats[f.StreamingFormatMimeType.Smooth]=[f.protectionType.AES];r.prototype.setupTriggers=function(){this.el_.addEventListener("switchingChange","amp.FlashSS.onEvent")};r.prototype.mouseUp=function(n){var t=rt["default"].elementFromPoint(n.clientX,n.clientY);t===this.el()?this.el().parentNode.focus():this.el().parentNode.blur()};r.onReady=function(n){AMP.Logger.verbose(AMP.Logger.Area.flashSS,n+" - Ready");var i=p.getEl(n),t=i&&i.tech;t&&t.el()&&r.checkReady(t)};r.checkReady=function(n){return n.el()?n.el().getBufferTime?(n.triggerReady(),r._videoBufferData=new AMP.FlashSS.BufferData(n.el(),AMP.FlashSS.MediaType.video),r._audioBufferData=new AMP.FlashSS.BufferData(n.el(),AMP.FlashSS.MediaType.audio),!0):(this.setTimeout(function(){r.checkReady(n)},50),!1):!1};r._firstReady=!0;r._src=null;r._ended=!1;r._heuristicSettings={};r._currentVideoStreamList=void 0;r._currentAudioStreamList=void 0;r._videoBufferData=void 0;r._audioBufferData=void 0;r._traceConfig=void 0;r._passThroughEvents=["seeking","durationchange","loadstart","waiting","volumechange"];r.prototype.forcePauseToPlayStateTransition=function(){try{!this.stateTransitionForced&&this.currentTime()>.05&&!this.isLive()&&(AMP.Logger.warning(AMP.Logger.Area.flashSS," Forcing a state transition to play by pausing first."),this.pause(),this.play(),this.stateTransitionForced=!0)}catch(n){}};r.onEvent=function(n,t,i){try{var f=p.getEl(n),u=f&&f.tech;if(!u||!u.el())return void AMP.Logger.warning(AMP.Logger.Area.flashSS," Got an event from stale flashSS tech "+n+" - Event:"+t);if(-1!==r._passThroughEvents.indexOf(t)&&u.trigger(t),!u.firstPlayingOccurredWithAutoplayFalse_&&"timeupdate"===t)return void u.forcePauseToPlayStateTransition();switch(t){case"onJavaScriptBridgeCreated":r.onReady(n);break;case"complete":r._ended=!0;u.trigger("ended");break;case"emptied":r._firstReady&&(r._currentVideoStreamList||(r._currentVideoStreamList=new AMP.FlashSS.VideoStreamList(u.el()),r._currentAudioStreamList=new AMP.FlashSS.AudioStreamList(u.el()),0===r._currentAudioStreamList.streams.length&&(r._currentAudioStreamList=void 0)),u.trigger("loadeddata"),u.trigger("loadedmetadata"),r._firstReady=!1,u.el().setAutoDynamicStreamSwitch(!0));break;case"downloadevent":u.downloadEvent(i);break;case"play":u.options_.playerOptions.autoplay||u.firstPlayingOccurredWithAutoplayFalse_?(u.firstPlayingOccurredWithAutoplayFalse_||(u.trigger("canplaythrough"),u.firstPlayingOccurredWithAutoplayFalse_=!0),u.trigger("play"),u.trigger("playing")):(u.pause(),u.trigger("canplaythrough"),u.firstPlayingOccurredWithAutoplayFalse_=!0);break;case"pause":u.firstPlayingOccurredWithAutoplayFalse_&&u.trigger("pause");break;case"seeked":u.firstPlayingOccurredWithAutoplayFalse_&&u.trigger("seeked");break;case"timeupdate":u.firstPlayingOccurredWithAutoplayFalse_&&u.trigger("timeupdate");break;case"error":u.currentSrc()&&(u.mediaError=i.code,h["default"].raiseError.call(u,"flashss",r.getMediaErrorCode(i.code,i.detail),r.getMediaErrorMsg(i.code)),u.firstPlayingOccurredWithAutoplayFalse_=!1);break;case"switchingChange":u.trigger("downloadbitratechanged")}"timeupdate"!==t&&"progress"!==t&&AMP.Logger.verbose(AMP.Logger.Area.flashSS,n+" - Event:"+t)}catch(e){throw AMP.Logger.error(AMP.Logger.Area.flashSS,n+" - Event:"+t+" - error:"+e),e;}};r.prototype.downloadEvent=function(n){function i(n,t){!n.isAudio&&n.rawData&&(t.mediaDownload.rawSampleTimeScale=n.rawSampleTimeScale,t.mediaDownload.data=e(n.rawData),n.rawSampleTimeScale&&(t.mediaDownload.presentationTimeOffsetInSec=n.presentationTimeOffset/n.rawSampleTimeScale))}function e(n){for(var i=u["default"].atob(n),r=i.length,f=new Uint8Array(r),t=0;r>t;t++)f[t]=i.charCodeAt(t);return f.buffer}if(n&&n.type){var t=void 0;switch(n.type){case"downloadStarted":t=n.isAudio?r._audioBufferData:r._videoBufferData;t.downloadRequested=t.downloadRequested||{};t.downloadRequested.url=n.url;t.downloadRequested.bitrate=n.bitrate;t.downloadRequested.mediaTime=n.mediaTime;t.dispatchEvent(f.bufferDataEventName.downloadrequested);break;case"downloadCompleted":t=n.isAudio?r._audioBufferData:r._videoBufferData;t.downloadCompleted=t.downloadCompleted||{};t.downloadCompleted.measuredBandwidth=8*n.downloadBytes/n.downloadTime;t.downloadCompleted.totalBytes=n.downloadBytes;t.downloadCompleted.totalDownloadMs=1e3*n.downloadTime;t.downloadCompleted.mediaDownload=t.downloadCompleted.mediaDownload||{};t.downloadCompleted.mediaDownload.url=n.url;t.downloadCompleted.mediaDownload.bitrate=n.bitrate;t.downloadCompleted.mediaDownload.mediaTime=n.mediaTime;i(n,t.downloadCompleted);t.dispatchEvent(f.bufferDataEventName.downloadcompleted);break;case"downloadDecrypted":t=n.isAudio?r._audioBufferData:r._videoBufferData;t.decryptionCompleted=t.decryptionCompleted||{};t.decryptionCompleted.mediaDownload=t.downloadCompleted.mediaDownload||{};t.decryptionCompleted.mediaDownload.mediaTime=n.mediaTime;i(n,t.decryptionCompleted);t.dispatchEvent(f.bufferDataEventName.downloaddecrypted);break;case"mediaError":t=n.isAudio?r._audioBufferData:r._videoBufferData;t.downloadFailed=t.downloadFailed||{};t.downloadFailed.code=n.code;t.downloadFailed.message=n.message;t.downloadFailed.mediaDownload=t.downloadFailed.mediaDownload||{};t.downloadFailed.mediaDownload.url=n.url;t.downloadFailed.mediaDownload.bitrate=n.bitrate;t.downloadFailed.mediaDownload.mediaTime=n.mediaTime;t.dispatchEvent(f.bufferDataEventName.downloadfailed);h["default"].raiseError.call(this,"flashss",r.getMediaErrorCode(n.code,n.detail),r.getMediaErrorMsg(n.code))}}};r.getMediaErrorCode=function(n,t){switch(n){case r.errorCodes.OSMF_HTTP_GET_FAILED:case r.errorCodes.OSMF_NETCONNECTION_REJECTED:case r.errorCodes.OSMF_NETCONNECTION_APPLICATION_INVALID:case r.errorCodes.OSMF_NETCONNECTION_FAILED:case r.errorCodes.FRAGMENT_DOWNLOAD_ERROR:case r.errorCodes.MANIFEST_DOWNLOAD_ERROR:return r.getHttpErrorCode(t);case r.errorCodes.OSMF_NETCONNECTION_TIMEOUT:case r.errorCodes.MANIFEST_DOWNLOAD_TIMEOUT:case r.errorCodes.FRAGMENT_DOWNLOAD_TIMEOUT:return f.errorCode.networkErrTimeout;case r.errorCodes.MANIFEST_NOT_SUPPORTED_ELEMENT:case r.errorCodes.MANIFEST_NOT_SUPPORTED_AUDIO_TRACK:case r.errorCodes.MANIFEST_NOT_SUPPORTED_VIDEO_TRACK:case r.errorCodes.VIDEO_STREAM_MISSING:case r.errorCodes.MANIFEST_LIVE_DVRWINDOWLENGTH_TOO_SMALL:case r.errorCodes.TOO_EARLY_TO_JOIN_LIVE_EVENT:return f.errorCode.srcErrUnsupportedPresentation;case r.errorCodes.MANIFEST_PARSE_TIMEOUT:case r.errorCodes.MANIFEST_MAJOR_VERSION_MISSING:case r.errorCodes.MANIFEST_MINOR_VERSION_MISSING:case r.errorCodes.MANIFEST_STREAMINDEX_MISSING:case r.errorCodes.MANIFEST_UNEXPECTED_ROOT_ELEMENT:case r.errorCodes.MANIFEST_UNEXPECTED_ROOT_ATTRIBUTE:case r.errorCodes.MANIFEST_STREAMINFO_TYPE_MISSING:case r.errorCodes.MANIFEST_STREAMINFO_URL_MISSING:case r.errorCodes.MANIFEST_CHUNK_ATTRIBUTE_MISSING:case r.errorCodes.MANIFEST_INVALID_ATTRIBUTE_VALUE:case r.errorCodes.INVALID_SMOOTH_DYNAMIC_RESOURCE:case r.errorCodes.MANIFEST_AUDIO_QUALITYLEVEL_BITRATE_MISSING:case r.errorCodes.MANIFEST_AUDIO_QUALITYLEVEL_AUDIOTAG_MISSING:case r.errorCodes.MANIFEST_VIDEO_QUALITYLEVEL_BITRATE_MISSING:case r.errorCodes.MANIFEST_VIDEO_QUALITYLEVEL_FOURCC_MISSING:case r.errorCodes.MANIFEST_VIDEO_QUALITYLEVEL_MAXWIDTH_MISSING:case r.errorCodes.MANIFEST_VIDEO_QUALITYLEVEL_MAXHEIGHT_MISSING:case r.errorCodes.MANIFEST_UNEXPECTED_PROTECTION_HEADER:case r.errorCodes.MANIFEST_LIVE_LOOKAHEADFRAGMENTCOUNT_MISSING:return f.errorCode.srcErrParsePresentation;case r.errorCodes.OSMF_NETSTREAM_PLAY_FAILED:case r.errorCodes.OSMF_NETSTREAM_FILE_STRUCTURE_INVALID:case r.errorCodes.OSMF_IO_ERROR:case r.errorCodes.OSMF_SECURITY_ERROR:case r.errorCodes.OSMF_ASYNC_ERROR:case r.errorCodes.OSMF_ARGUMENT_ERROR:case r.errorCodes.OSMF_URL_SCHEME_INVALID:case r.errorCodes.OSMF_MEDIA_LOAD_FAILED:case r.errorCodes.OSMF_PLUGIN_VERSION_INVALID:case r.errorCodes.OSMF_PLUGIN_IMPLEMENTATION_INVALID:case r.errorCodes.OSMF_SOUND_PLAY_FAILED:case r.errorCodes.OSMF_NETSTREAM_STREAM_NOT_FOUND:case r.errorCodes.OSMF_DVRCAST_SUBSCRIBE_FAILED:case r.errorCodes.OSMF_DVRCAST_CONTENT_OFFLINE:case r.errorCodes.OSMF_DVRCAST_STREAM_INFO_RETRIEVAL_FAILED:case r.errorCodes.OSMF_F4M_FILE_INVALID:case r.errorCodes.CANNOT_SET_AUDIO_STREAM_INDEX:case r.errorCodes.PLUGIN_INVALID_PARAM:case r.errorCodes.PLUGIN_NULL_PARAM:return f.errorCode.srcErrUnknown;case r.errorCodes.ENCRYPTIONKEY_DOWNLOAD_ERROR:case r.errorCodes.ENCRYPTIONKEY_DOWNLOAD_AUTH_ERROR:case r.errorCodes.ENCRYPTIONKEY_DOWNLOAD_TIMEOUT:case r.errorCodes.ENCRYPTIONKEYURL_TOKEN_VERIFICATION_ERROR:return f.errorCode.encryptErrKeyAcquire;case r.errorCodes.FRAGMENT_DECRYPT_ERROR:return f.errorCode.encryptErrDecryption;default:return f.errorCode.errUnknown}};r.getHttpErrorCode=function(n){var t=f.errorCode.networkErrUnknown,i;return n&&(i=n.match(/^httpStatus:([0-9]+)/),2===i.length&&(t=f.httpErrorCode[i[1]]||t)),t};r.errorCodes={OSMF_IO_ERROR:1,OSMF_SECURITY_ERROR:2,OSMF_ASYNC_ERROR:3,OSMF_ARGUMENT_ERROR:4,OSMF_URL_SCHEME_INVALID:5,OSMF_HTTP_GET_FAILED:6,OSMF_MEDIA_LOAD_FAILED:7,OSMF_PLUGIN_VERSION_INVALID:8,OSMF_PLUGIN_IMPLEMENTATION_INVALID:9,OSMF_SOUND_PLAY_FAILED:10,OSMF_NETCONNECTION_REJECTED:11,OSMF_NETCONNECTION_APPLICATION_INVALID:12,OSMF_NETCONNECTION_FAILED:13,OSMF_NETCONNECTION_TIMEOUT:14,OSMF_NETSTREAM_PLAY_FAILED:15,OSMF_NETSTREAM_STREAM_NOT_FOUND:16,OSMF_NETSTREAM_FILE_STRUCTURE_INVALID:17,OSMF_NETSTREAM_NO_SUPPORTED_TRACK_FOUND:18,OSMF_DRM_SYSTEM_UPDATE_ERROR:19,OSMF_DVRCAST_SUBSCRIBE_FAILED:20,OSMF_DVRCAST_CONTENT_OFFLINE:21,OSMF_DVRCAST_STREAM_INFO_RETRIEVAL_FAILED:22,OSMF_F4M_FILE_INVALID:23,MANIFEST_DOWNLOAD_TIMEOUT:1e3,MANIFEST_PARSE_TIMEOUT:1001,MANIFEST_DOWNLOAD_ERROR:1002,MANIFEST_MAJOR_VERSION_MISSING:1003,MANIFEST_MINOR_VERSION_MISSING:1004,MANIFEST_STREAMINDEX_MISSING:1005,MANIFEST_UNEXPECTED_ROOT_ELEMENT:1006,MANIFEST_UNEXPECTED_ROOT_ATTRIBUTE:1007,MANIFEST_STREAMINFO_TYPE_MISSING:1008,MANIFEST_STREAMINFO_URL_MISSING:1009,MANIFEST_AUDIO_QUALITYLEVEL_BITRATE_MISSING:1010,MANIFEST_AUDIO_QUALITYLEVEL_AUDIOTAG_MISSING:1011,MANIFEST_VIDEO_QUALITYLEVEL_BITRATE_MISSING:1012,MANIFEST_VIDEO_QUALITYLEVEL_FOURCC_MISSING:1013,MANIFEST_VIDEO_QUALITYLEVEL_MAXWIDTH_MISSING:1014,MANIFEST_VIDEO_QUALITYLEVEL_MAXHEIGHT_MISSING:1015,MANIFEST_CHUNK_ATTRIBUTE_MISSING:1016,MANIFEST_NOT_SUPPORTED_ELEMENT:1017,MANIFEST_NOT_SUPPORTED_AUDIO_TRACK:1018,MANIFEST_NOT_SUPPORTED_VIDEO_TRACK:1019,MANIFEST_INVALID_ATTRIBUTE_VALUE:1020,INVALID_SMOOTH_DYNAMIC_RESOURCE:1021,FRAGMENT_DOWNLOAD_TIMEOUT:1022,FRAGMENT_DOWNLOAD_ERROR:1023,CANNOT_SET_AUDIO_STREAM_INDEX:1024,VIDEO_STREAM_MISSING:1025,MANIFEST_LIVE_LOOKAHEADFRAGMENTCOUNT_MISSING:1026,PLUGIN_INVALID_PARAM:1027,PLUGIN_NULL_PARAM:1028,MANIFEST_LIVE_DVRWINDOWLENGTH_TOO_SMALL:1029,TOO_EARLY_TO_JOIN_LIVE_EVENT:1030,MANIFEST_UNEXPECTED_PROTECTION_HEADER:1048,ENCRYPTIONKEY_DOWNLOAD_ERROR:1049,ENCRYPTIONKEY_DOWNLOAD_AUTH_ERROR:1050,ENCRYPTIONKEY_DOWNLOAD_TIMEOUT:1051,ENCRYPTIONKEYURL_TOKEN_VERIFICATION_ERROR:1052,FRAGMENT_DECRYPT_ERROR:1053};r.getMediaErrorMsg=function(n){for(var t in r.errorCodes)if(r.errorCodes.hasOwnProperty(t)&&r.errorCodes[t]===n)return t;return n};r.getFullSourceURL=function(n){return n=kt.getAbsoluteURL(n),0===n.indexOf("//")&&(n=u["default"].location.protocol+n),n};r.prototype.reset=function(){r._firstReady=!0;r._ended=!1;r._src=null;r._currentVideoStreamList=void 0;r._currentAudioStreamList=void 0;this.flashSS.firstPlayingOccurredWithAutoplayFalse_=!1;this.stateTransitionForced=!1};r.prototype.isReloadNeeded=function(){var n=this.options_.currentPlayerConfigs;return null!=r._src&&n&&n.currentHeuristicConfigs&&r._heuristicSettings.minimumBufferTimeInSeconds===n.currentHeuristicConfigs.preRollInWallClockSec&&r._heuristicSettings.maximumBufferTimeInSeconds===n.currentHeuristicConfigs.maxBufferInWallClockSec&&r._heuristicSettings.livePlaybackOffsetInSecond===n.currentHeuristicConfigs.livePlaybackOffsetInWallClockSec&&r._traceConfig===this.options_.traceConfig?!1:!0};r.prototype.isLiveStartupError=function(){return this.mediaError===r.errorCodes.MANIFEST_DOWNLOAD_ERROR?!0:!1};lt["default"].options.flashSS={};st["default"].registerComponent("FlashSS",r);h["default"].registerTech("FlashSS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":97,"../video.js/src/js/component.js":163,"../video.js/src/js/player.js":210,"../video.js/src/js/tech/flash.js":218,"../video.js/src/js/tech/tech.js":222,"../video.js/src/js/utils/browser.js":238,"../video.js/src/js/utils/dom.js":241,"../video.js/src/js/utils/fn.js":243,"../video.js/src/js/utils/time-ranges.js":252,"../video.js/src/js/utils/url.js":255,"../video.js/src/js/video.js":256,"global/document":79,"global/window":80,"object.assign":73}],154:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if("function"!=typeof t&&null!==t)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("../video.js/src/js/tech/tech.js"),f=u(a),v=n("../video.js/src/js/tech/html5.js"),e=u(v),y=n("../video.js/src/js/component.js"),p=u(y),w=n("../video.js/src/js/utils/fn.js"),s=o(w),b=n("global/window"),h=u(b),k=n("../ampDefs.js"),d=o(k),r=function(n){function t(i,r){c(this,t);n.call(this,i,r)}return l(t,n),t.prototype.dispose=function(){this.fairplay&&this.fairplay.dispose();n.prototype.dispose.call(this)},t.prototype.eventHandler=function(n){"timeupdate"!==n.type&&"progress"!==n.type&&AMP.Logger.verbose(AMP.Logger.Area.html5FairplayHLS,"Event: "+n.type);"error"===n.type&&this.error()&&f["default"].raiseError.call(this,"html5FairPlayHLS",this.error().code<<20)},t.prototype.setSrc=function(n){var i,u,r,f;for(AMP.Logger.setLogConfig(this.options_.playerOptions.traceConfig),this.fairplay&&(this.fairplay.dispose(),this.fairplay=null),i=[],this.options_&&this.options_.playerOptions&&this.options_.playerOptions.sourceOptions&&this.options_.playerOptions.sourceOptions.protectionInfo&&(i=this.options_.playerOptions.sourceOptions.protectionInfo),u=null,r=0;r<i.length;r++)if("FairPlay"===i[r].type){u=i[r];break}u&&t.isFairPlaySupported()?(f=new AMP.Html5Fairplay.SrcInfo(n,this.options_.playerOptions.autoplay,u),this.fairplay=new AMP.Html5Fairplay.FairPlay(this.el_,f,s.bind(this,this.handleFairPlayErrors_),s.bind(this,this.handleFairPlayEvent_))):this.handleFairPlayErrors_(d.errorCode.srcPlayerMismatchUnknown,"html5FairPlayHLS tech can only be used with FairPlay protected content")},t.prototype.handleFairPlayErrors_=function(n,t){f["default"].raiseError.call(this,"Html5FairPlayHLS",n,t)},t.prototype.handleFairPlayEvent_=function(n){this.trigger(n)},t.prototype.play=function(){this.fairplay.play()},t}(e["default"]);r.prototype.fairplay=null;r.nativeSourceHandler={};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.canHandleSource=function(n){function i(n){try{return e["default"].TEST_VID.canPlayType(n)}catch(t){return""}}var t=void 0,u=void 0,f=function(n){if(n.protectionInfo)for(var t=0;t<n.protectionInfo.length;t++)if("FairPlay"===n.protectionInfo[t].type)return!0;return!1},o=f(n)&&r.isFairPlaySupported();return o?"application/vnd.apple.mpegurl"===n.type?i(n.type):n.src?(t=n.src.match(/\.([^.\/\?]+)(\?[^\/]+)?$/i),u=t&&t[1],i("video/"+u)):"":""};r.nativeSourceHandler.dispose=function(){};r.sourceHandlers=null;f["default"].withSourceHandlers(r);r.registerSourceHandler(r.nativeSourceHandler);r.isFairPlaySupported=function(){return h["default"].WebKitMediaKeys&&h["default"].WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0","video/mp4")};r.isSupported=function(){return e["default"].isSupported.call(this)};p["default"].registerComponent("Html5FairPlayHLS",r);f["default"].registerTech("Html5FairPlayHLS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":97,"../video.js/src/js/component.js":163,"../video.js/src/js/tech/html5.js":219,"../video.js/src/js/tech/tech.js":222,"../video.js/src/js/utils/fn.js":243,"global/window":80}],155:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){if("function"!=typeof t&&null!==t)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 w=n("global/window"),c=e(w),b=n("global/document"),a=e(b),k=n("object.assign"),l=e(k),d=n("../video.js/src/js/tech/tech.js"),o=e(d),g=n("../video.js/src/js/component.js"),nt=e(g),tt=n("../video.js/src/js/player.js"),v=e(tt),it=n("../video.js/src/js/video.js"),rt=e(it),ut=n("../video.js/src/js/utils/time-ranges.js"),ft=n("../video.js/src/js/utils/dom.js"),et=h(ft),ot=n("../video.js/src/js/utils/fn.js"),f=h(ot),st=n("../video.js/src/js/utils/browser.js"),ht=h(st),ct=n("../ampDefs.js"),u=h(ct),lt=n("./Silverlight.js"),s={Closed:0,Opening:1,Buffering:2,Playing:3,Paused:4,Stopped:5,Individualizing:6,AcquiringLicense:7},r=function(n){function t(i,r){y(this,t);n.call(this,i,r);this.manualTimeUpdatesOff()}return p(t,n),t.prototype.dispose=function(){n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_,s=v["default"].getScriptRootURL(),f,e,c,y;!n.xap&&s&&(n.xap=s+"/techs/SmoothStreamingPlayer.xap");var i=this,r=[],h=n.source;return this.mediaPlayer=null,this.reset(),f=n.techId,e=n.autoplay,void 0!==e&&r.push("Autoplay="+e),c=l["default"]({id:f,name:f,"class":"vjs-tech",tabindex:"-1"},n.attributes),silverlightSSLoaded=function(n){var t=a["default"].getElementById(f);i.mediaPlayer=t.content.mainPlayer;h&&i.src(h.src);i.triggerReady();i.setTriggers(n)},onSilverlightError=function(n,t){var e="";null!=n&&0!==n&&(e=n.getHost().Source);var f=t.ErrorType,s=t.ErrorCode,r="Unhandled Error in Silverlight Application "+e+"\n";r+="Code: "+s+"    \n";r+="Category: "+f+"       \n";r+="Message: "+t.ErrorMessage+"     \n";"ParserError"===f?(r+="File: "+t.xamlFile+"     \n",r+="Line: "+t.lineNumber+"     \n",r+="Position: "+t.charPosition+"     \n"):"RuntimeError"===f&&(0!==t.lineNumber&&(r+="Line: "+t.lineNumber+"     \n",r+="Position: "+t.charPosition+"     \n"),r+="MethodName: "+t.methodName+"     \n");o["default"].raiseError.call(i,"silverlightss",u.errorCode.errUnknown,r)},y=l["default"]({source:n.xap,onError:"onSilverlightError",minRuntimeVersion:"5.0.61118.0",onload:"silverlightSSLoaded",enableHtmlAccess:!0,width:"100%",height:"100%",windowless:"true",wmode:"opaque",bgcolor:"#000000"},n.params),r.push("ScriptableName=mainPlayer"),r.push("IsControlStripVisible=false"),this.el_=t.embed(c,y,r),this.el_.tech=this,this.el_},t.prototype.autoplay=function(){return this.mediaPlayer.AutoPlay},t.prototype.setAutoplay=function(n){this.mediaPlayer.AutoPlay=n},t.prototype.isLive=function(){return this.mediaPlayer.IsLive},t.prototype.buffered=function(){return ut.createTimeRange(this.currentTime(),this.currentTime())},t.prototype.currentSrc=function(){if(t._srcSet)return this.mediaPlayer.MediaSource},t.prototype.setCurrentTime=function(n){try{t._seeking=!0;this.trigger(u.eventName.seeking);this.mediaPlayer.SeekToPosition(n)}catch(i){o["default"].raiseError.call(this,"silverlightss",u.errorCode.srcErrUnknown,i.message)}},t.prototype.currentTime=function(){return this.mediaPlayer.PlaybackPositionSeconds},t.prototype.currentAbsoluteTime=function(){return void 0},t.prototype.currentMediaTime=function(){return void 0},t.prototype.currentVideoStreamList=function(){return void 0},t.prototype.currentAudioStreamList=function(){return void 0},t.prototype.videoBufferData=function(){return void 0},t.prototype.audioBufferData=function(){return void 0},t.prototype.currentDownloadBitrate=function(){return t._downloadBitrate},t.prototype.currentPlaybackBitrate=function(){return t._playbackBitrate},t.prototype.duration=function(){return this.mediaPlayer.EndPositionSeconds-this.mediaPlayer.StartPositionSeconds},t.prototype.ended=function(){return t._ended},t.prototype.isFullscreen=function(){return this.mediaPlayer.isFullscreen},t.prototype.muted=function(){return this.mediaPlayer.IsMuted},t.prototype.setMuted=function(n){this.mediaPlayer.IsMuted=n},t.prototype.paused=function(){return this.mediaPlayer.PlayState===s.Paused||this.mediaPlayer.PlayState===s.Buffering},t.prototype.seeking=function(){return t._seeking},t.prototype.src=function(n){return void 0===n?this.currentSrc():(0===n.indexOf("//")&&(n=c["default"].location.protocol+n),void this.setSrc(n))},t.prototype.volume=function(){return this.mediaPlayer.GetVolume()},t.prototype.setVolume=function(n){this.mediaPlayer.SetVolume(n)},t.prototype.height=function(n){return void 0===n?this.mediaPlayer.height:void(this.mediaPlayer.height=n)},t.prototype.width=function(n){return void 0===n?this.mediaPlayer.width:void(this.mediaPlayer.width=n)},t.prototype.videoHeight=function(){return this.mediaPlayer.VideoHeight},t.prototype.videoWidth=function(){return this.mediaPlayer.VideoWidth},t.prototype.play=function(){t._errored||this.mediaPlayer.Play()},t.prototype.pause=function(){t._errored||this.mediaPlayer.Pause()},t.prototype.setSrc=function(n){var e,o,f,i,r;if(this.reset(),this.mediaPlayer.AutoPlay=!!this.options_.playerOptions.autoplay,this.updateCurrentPlayerConfigs(),e=this.options_.currentPlayerConfigs.currentHeuristicConfigs,this.mediaPlayer.BufferingTime=e.preRollInWallClockSec,this.mediaPlayer.LivePlaybackOffset=e.livePlaybackOffsetInWallClockSec,AMP.Logger.setLogConfig(this.options_.playerOptions.traceConfig),this.mediaPlayer.IsTraceEnabled=this.options_.playerOptions.traceConfig&&this.options_.playerOptions.traceConfig.maxLogLevel&&this.options_.playerOptions.traceConfig.maxLogLevel>0,o=this.mediaPlayer.CreatePlaylist(),f=this.mediaPlayer.CreatePlaylistItem(n,"","",""),f.DeliveryMethod="AdaptiveStreaming",i=this.options_.playerOptions.sourceOptions.protectionInfo,i)for(r=0;r<i.length;r++)i[r].type===u.protectionType.PlayReady&&i[r].authenticationToken&&(f.BearerToken=i[r].authenticationToken);o.AddPlaylistItem(f);this.mediaPlayer.SetPlaylist(o);t._srcSet=!0},t.prototype.load=function(){},t.prototype.supportsFullscreen=function(){return!1},t.prototype.enterFullscreen=function(){},t.prototype.exitFullscreen=function(){},t}(o["default"]);r.embed=function(n,t,i){var u=r.getEmbedCode(n,t,i);return et.createEl("div",{innerHTML:u}).childNodes[0]};r.getEmbedCode=function(n,t,i){var r='<object  data="data:application/x-silverlight-2," type="application/x-silverlight-2" ';return n&&Object.getOwnPropertyNames(n).forEach(function(t){r+=encodeURIComponent(t)+'="'+encodeURIComponent(n[t])+'" '}),r+=">",t=l["default"]({InitParams:i.join(",")},t),Object.getOwnPropertyNames(t).forEach(function(n){r+='<param name="'+encodeURIComponent(n)+'" value="'+encodeURI(t[n])+'" />'}),r+="<\/object>"};r.isSupported=function(){return lt.isSilverlightInstalled("5.0")};r.canPlaySource=function(n){return v["default"].canSupportFormats(n,this.supportedFormats)};r.supportedFormats={};r.supportedFormats[u.StreamingFormatMimeType.Smooth]=[u.protectionType.PlayReady];r._srcSet=!1;r._errored=!1;r._seeking=!1;r._ended=!1;r._opening=!0;r._firstTimeUpdateOccuredAfterOpening=!1;r._adaptiveStreamingError=null;r._networkError="Failed to download";r._licenseError="Unable to acquire license due to a network or protocol error";r._tokenError="Unable to complete operation due to a service specific error coming from a network response";r._parseSegmentError="Too many consecutive chunk parse errors";r._parsePresentationError="Manifest file error";r._unsupportedPresentation="Unrecognized manifest";r._licenseAcquisitionErrorCode="6002";r._licenseAcquisitionServiceSpecificErrorCode="6007";r._downloadBitrate;r._playbackBitrate;r.prototype.setTriggers=function(){var n=this,t;this.mediaPlayer.addEventListener("PlayStateChanged",f.bind(this,this.playStateChangedHandler));this.mediaPlayer.addEventListener("MediaOpened",f.bind(this,this.onMediaOpened));this.mediaPlayer.addEventListener("SeekCompleted",f.bind(this,this.onSeekCompleted));this.mediaPlayer.addEventListener("MediaEnded",f.bind(this,this.onMediaEnded));this.mediaPlayer.addEventListener("PlaybackPositionChanged",f.bind(this,this.onTimeUpdate));this.mediaPlayer.addEventListener("VolumeLevelChanged",f.bind(this,this.onVolumeChanged));this.mediaPlayer.addEventListener("MuteChanged",f.bind(this,this.onVolumeChanged));this.mediaPlayer.addEventListener("MediaFailed",f.bind(this,this.onMediaFailed));this.mediaPlayer.addEventListener("AdaptiveStreamingErrorOccurred",f.bind(this,this.onAdaptiveStreamingErrorOccurred));this.mediaPlayer.addEventListener("ReportDiagTrace",f.bind(this,this.onReportDiagTrace));this.mediaPlayer.addEventListener("DownloadBitrateChanged",f.bind(this,this.onVideoDownloadBitrateChanged));this.mediaPlayer.addEventListener("PlaybackBitrateChanged",f.bind(this,this.onVideoPlaybackBitrateChanged));this.mediaPlayer.addEventListener("FullScreenChanged",f.bind(this,this.onFullScreenChanged));t=void 0;this.mediaPlayer.addEventListener("PlaybackPositionChanged",f.bind(this,function(){this.duration()!==t&&(t=this.duration(),this.trigger(u.eventName.durationchange));r._firstTimeUpdateOccuredAfterOpening||r._opening||(this.trigger(u.eventName.play),this.trigger(u.eventName.playing),r._firstTimeUpdateOccuredAfterOpening=!0)}));ht.IS_IE&&!function(){var t=f.bind(n,n.onMouseUp);c["default"].addEventListener("mouseup",t,!1);n.on("dispose",function(){c["default"].removeEventListener("mouseup",t)})}()};r.prototype.playStateChangedHandler=function(){switch(this.mediaPlayer.PlayState){case s.Playing:r._firstTimeUpdateOccuredAfterOpening&&(this.trigger(u.eventName.play),this.trigger(u.eventName.playing));break;case s.Paused:this.trigger(u.eventName.pause);break;case s.Buffering:r._firstTimeUpdateOccuredAfterOpening||this.trigger(u.eventName.waiting)}};r.prototype.onMediaOpened=function(){r._opening=!1;this.trigger(u.eventName.durationchange);this.trigger(u.eventName.loadstart);this.trigger(u.eventName.loadedmetadata);this.trigger(u.eventName.loadeddata);this.trigger(u.eventName.canplaythrough)};r.prototype.onMediaFailed=function(n,t){var e=t.Result.Message,i=t.Result.Message,f;r._adaptiveStreamingError&&(e+=": "+r._adaptiveStreamingError.Message,i=r._adaptiveStreamingError.Message);f=u.errorCode.errUnknown;-1!==i.indexOf(r._networkError)?f=u.errorCode.networkErrUnknown:-1!==i.indexOf(r._licenseError)||-1!==i.indexOf(r._licenseAcquisitionErrorCode)||-1!==i.indexOf(r._tokenError)||-1!==i.indexOf(r._licenseAcquisitionServiceSpecificErrorCode)?f=u.errorCode.encryptErrLicenseAcquire:-1!==i.indexOf(r._parseSegmentError)?f=u.errorCode.srcErrParseSegment:-1!==i.indexOf(r._parsePresentationError)?f=u.errorCode.srcErrParsePresentation:-1!==i.indexOf(r._unsupportedPresentation)&&(f=u.errorCode.srcErrUnsupportedPresentation);r._errored=!0;o["default"].raiseError.call(this,"silverlightss",f,e)};r.prototype.onAdaptiveStreamingErrorOccurred=function(n,t){r._adaptiveStreamingError=t.Result};r.prototype.onSeekCompleted=function(){r._seeking=!1;this.trigger(u.eventName.seeked)};r.prototype.onMediaEnded=function(){r._ended=!0;this.trigger(u.eventName.ended)};r.prototype.onTimeUpdate=function(){this.trigger(u.eventName.timeupdate)};r.prototype.onFullScreenChanged=function(){this.trigger(u.eventName.fullscreenchange)};r.prototype.onVolumeChanged=function(){this.trigger(u.eventName.volumechange)};r.prototype.onReportDiagTrace=function(n,t){AMP.Logger.verbose(AMP.Logger.Area.silverlightSS,t.Result)};r.prototype.onVideoDownloadBitrateChanged=function(n,t){r._downloadBitrate=t.Result;this.trigger(u.eventName.downloadbitratechanged)};r.prototype.onVideoPlaybackBitrateChanged=function(n,t){r._playbackBitrate=t.Result;this.trigger(u.eventName.playbackbitratechanged)};r.prototype.onMouseUp=function(n){var t=a["default"].elementFromPoint(n.clientX,n.clientY);t===this.el()?this.el().parentNode.focus():this.el().parentNode.blur()};r.prototype.reset=function(){r._srcSet=!1;r._seeking=!1;r._ended=!1;r._opening=!0;r._firstTimeUpdateOccuredAfterOpening=!1;r._adaptiveStreamingError=null;r._errored=!1};rt["default"].options.silverlightSS={};nt["default"].registerComponent("SilverlightSS",r);o["default"].registerTech("SilverlightSS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":97,"../video.js/src/js/component.js":163,"../video.js/src/js/player.js":210,"../video.js/src/js/tech/tech.js":222,"../video.js/src/js/utils/browser.js":238,"../video.js/src/js/utils/dom.js":241,"../video.js/src/js/utils/fn.js":243,"../video.js/src/js/utils/time-ranges.js":252,"../video.js/src/js/video.js":256,"./Silverlight.js":151,"global/document":79,"global/window":80,"object.assign":73}],156:[function(n,t,i){"use strict";i.__esModule=!0;i.ampVersion="2.2.3.1"},{}],157:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("./component"),r=u(s),h=n("object.assign"),c=u(h),f=function(n){function t(i,r){e(this,t);n.call(this,i,r)}return o(t,n),t.prototype.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return n=c["default"]({className:this.buildCSSClass()},n),r["default"].prototype.createEl.call(this,t,n,i)},t.prototype.buildCSSClass=function(){return"vjs-fullscreen-outline "+n.prototype.buildCSSClass.call(this)},t}(r["default"]);r["default"].registerComponent("FullscreenOutline",f);i["default"]=f;t.exports=i["default"]},{"./component":163,"object.assign":73}],158:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("./component"),r=e(h),c=n("./utils/dom.js"),l=f(c),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,["removeSpinner","canplaythrough","canplay","playing","pause","seeked","error"],this.updatePlaying);this.on(i,["sourceset","waiting","seeking"],this.updateWaiting);this.on(i,"fullscreenchange",this.handleFullscreenChange);this.on("focus",this.handleFocus)}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"p",{className:"vjs-screen-reader-text",id:"player-use-for-screen-reader-alert-only"});return t.setAttribute("role","alert"),t.setAttribute("aria-atomic","true"),t},t.prototype.updateWaiting=function(){var n=this;setTimeout(function(){null!=n.el_&&(n.el_.innerHTML=n.htmlEncode(n.localize("video loading")))},0)},t.prototype.updatePlaying=function(){var n=this;setTimeout(function(){null!=n.el_&&(n.el_.innerHTML="")},0)},t.prototype.switchFocusToLastControlForSelectorInControlBar=function(n){for(var r,u,f=n+" .vjs-control",i=this.player_.controlBar.el().querySelectorAll(f),e=i.length,t=e-1;t>=0;t--)if(r=i[t].getAttribute("tabIndex"),u=l.isVisible(i[t]),r>=0&&u)return i[t].focus(),!0;return!1},t.prototype.reverseFocus=function(){for(var t=[".amp-controlbaricons-right",".amp-cotnrolbaricons-middle",".amp-controlbaricons-left"],n=0;n<t.length;n++)if(this.switchFocusToLastControlForSelectorInControlBar(t[n]))return},t.prototype.handleFocus=function(){this.player_.isFullscreen()&&setTimeout(function(n){n.player_.el().focus()},200,this)},t.prototype.handleFullscreenChange=function(){this.player_.isFullscreen()?this.el_.setAttribute("tabIndex",0):this.el_.setAttribute("tabIndex",-1)},t}(r["default"]);r["default"].registerComponent("AriaAlerts",u);i["default"]=u;t.exports=i["default"]},{"./component":163,"./utils/dom.js":241}],159:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./button.js"),s=u(o),h=n("./component.js"),c=u(h),r=function(n){function t(i,r){f(this,t);n.call(this,i,r)}return e(t,n),t.prototype.buildCSSClass=function(){return this.options_.playerOptions.overrideDisabledForBigPlayButton?"vjs-big-play-button override-controls-disabled ":"vjs-big-play-button "},t.prototype.handleClick=function(){this.player_.play()},t}(s["default"]);r.prototype.controlText_="Play Video";c["default"].registerComponent("BigPlayButton",r);i["default"]=r;t.exports=i["default"]},{"./button.js":160,"./component.js":163}],160:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if("function"!=typeof t&&null!==t)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 l=n("./clickable-component.js"),a=r(l),v=n("./component"),f=r(v),y=n("./utils/events.js"),p=(e(y),n("./utils/fn.js")),w=(e(p),n("./utils/log.js")),o=r(w),b=n("global/document"),k=(r(b),n("object.assign")),u=r(k),d=n("./utils/close-other-menu.js"),g=r(d),s=function(n){function t(i,r){h(this,t);n.call(this,i,r)}return c(t,n),t.prototype.createEl=function(){var i=arguments.length<=0||void 0===arguments[0]?"button":arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],t=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r;return n=u["default"]({className:this.buildCSSClass()},n),"button"!==i&&(o["default"].warn("Creating a Button with an HTML element of "+i+" is deprecated; use ClickableComponent instead."),n=u["default"]({tabIndex:0},n),t=u["default"]({role:"button"},t)),t=u["default"]({type:"button","aria-live":"off"},t),r=f["default"].prototype.createEl.call(this,i,n,t),this.createControlTextEl(r),r},t.prototype.addChild=function(n){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=this.constructor.name;return o["default"].warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),f["default"].prototype.addChild.call(this,n,t)},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which||n.prototype.handleKeyPress.call(this,t)},t.prototype.clearOtherMenus=function(){g["default"](this)},t}(a["default"]);f["default"].registerComponent("Button",s);i["default"]=s;t.exports=i["default"]},{"./clickable-component.js":161,"./component":163,"./utils/close-other-menu.js":240,"./utils/events.js":242,"./utils/fn.js":243,"./utils/log.js":249,"global/document":79,"object.assign":73}],161:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if("function"!=typeof t&&null!==t)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("./component"),f=r(v),y=n("./utils/dom.js"),p=u(y),w=n("./utils/events.js"),e=u(w),b=n("./utils/fn.js"),o=u(b),k=n("./utils/log.js"),d=r(k),g=n("global/document"),s=r(g),nt=n("object.assign"),h=r(nt),c=function(n){function t(i,r){l(this,t);n.call(this,i,r);this.emitTapEvents();this.on("tap",this.handleClick);this.on("click",this.handleClick);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur)}return a(t,n),t.prototype.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],u;return i=h["default"]({className:this.buildCSSClass(),tabIndex:0},i),"button"===t&&d["default"].error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=h["default"]({role:"button","aria-live":"off"},r),u=n.prototype.createEl.call(this,t,i,r),this.createControlTextEl(u),u},t.prototype.createControlTextEl=function(n){return this.controlTextEl_=p.createEl("span",{className:"vjs-control-text"}),n&&n.appendChild(this.controlTextEl_),this.controlText(this.controlText_,n),this.controlTextEl_},t.prototype.controlText=function(n){if(arguments.length<=1||void 0===arguments[1]?this.el():arguments[1],!n)return this.controlText_||"Need Text";var t=this.localize(n);return this.controlText_=n,this.controlTextEl_.innerHTML=this.htmlEncode(t),this},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},t.prototype.addChild=function(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.prototype.addChild.call(this,t,i)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),this},t.prototype.handleClick=function(){},t.prototype.handleFocus=function(){e.on(s["default"],"keydown",o.bind(this,this.handleKeyPress));this.el().setAttribute("aria-live","polite")},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(){e.off(s["default"],"keydown",o.bind(this,this.handleKeyPress));this.el().setAttribute("aria-live","off")},t}(f["default"]);f["default"].registerComponent("ClickableComponent",c);i["default"]=c;t.exports=i["default"]},{"./component":163,"./utils/dom.js":241,"./utils/events.js":242,"./utils/fn.js":243,"./utils/log.js":249,"global/document":79,"object.assign":73}],162:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./button"),s=r(o),h=n("./component"),c=r(h),u=function(n){function t(i,r){f(this,t);n.call(this,i,r);this.controlText(r&&r.controlText||this.localize("Close"))}return e(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}(s["default"]);c["default"].registerComponent("CloseButton",u);i["default"]=u;t.exports=i["default"]},{"./button":160,"./component":163}],163:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(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");}i.__esModule=!0;var y=n("global/window"),r=s(y),p=n("./utils/dom.js"),u=o(p),w=n("./utils/fn.js"),f=o(w),b=n("./utils/guid.js"),k=o(b),d=n("./utils/events.js"),e=o(d),g=n("./utils/log.js"),h=s(g),nt=n("./utils/to-title-case.js"),c=s(nt),tt=n("./utils/merge-options.js"),l=s(tt),it=n("./utils/browser.js"),rt=o(it),a=function(){function n(t,i,r){if(v(this,n),this.player_=!t&&this.play?t=this:t,this.options_=l["default"]({},this.options_),i=this.options_=l["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_"+k.newGUID()}this.name_=i.name||null;i.el?this.el_=i.el:i.createEl!==!1&&(this.el_=this.createEl());this.children_=[];this.childIndex_={};this.childNameIndex_={};i.initChildren!==!1&&this.initChildren();this.ready(r);i.reportTouchActivity!==!1&&this.enableTouchActivity()}return n.prototype.dispose=function(){var n,t;if(this.el_&&this.trigger({type:"dispose",bubbles:!1}),this.children_)for(n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose(),t=this.children_[n].name_,t&&this[t]&&delete this[t];this.children_=null;this.childIndex_=null;this.childNameIndex_=null;this.el_&&this.off();this.el_&&this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_);this.contentEl_&&this.contentEl_.parentNode&&this.contentEl_.parentNode.removeChild(this.contentEl_);this.el_&&u.removeElData(this.el_);this.contentEl_&&u.removeElData(this.contentEl_);this.el_=null;this.contentEl_=null;this.player_=null;this.options_=null},n.prototype.player=function(){return this.player_},n.prototype.options=function(n){return h["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),n?(this.options_=l["default"](this.options_,n),this.options_):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){var r=this.player_.language&&this.player_.language(),u=this.player_.languages&&this.player_.languages(),t,f,i;return!r||!u?n:(t=u[r],t&&t[n])?t[n]:(f=r.split("-")[0],i=u[f],i&&i[n]?i[n]:n)},n.prototype.htmlEncode=function(n){var r;if(!n)return"";for(var u=n.length,t=[],i=0;u>i;i++){r=n.charAt(i);switch(r){case"<":t.push("&lt;");break;case">":t.push("&gt;");break;case"&":t.push("&amp;");break;case'"':t.push("&quot;");break;case"'":t.push("&#39;");break;default:t.push(r)}}return t.join("")},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){return this.childNameIndex_[n]},n.prototype.addChild=function(t){var o=this,u=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],i=void 0,f=void 0,s,e,a;if("string"==typeof t){if(f=t,u||(u={}),u===!0&&(h["default"].warn("Initializing a child component with `true` is deprecated. Children should be defined in an array when possible, but if necessary use an object instead of `true`."),u={}),s=u.componentClass||c["default"](f),u.name=f,e=n.getComponent(s),!e)throw new Error("Component "+s+" does not exist");if("function"!=typeof e)return null;i=new e(this.player_||this,u)}else i=t;return(this.children_.splice(l,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),f=f||i.name&&i.name(),f&&(this.childNameIndex_[f]=i),"function"==typeof i.el&&i.el())&&!function(){var t=o.contentEl().children,n=t[l]||null;rt.IS_MSAPPHOST&&r["default"].MSApp&&r["default"].MSApp.execUnsafeLocalFunction?(a=o.contentEl(),r["default"].MSApp.execUnsafeLocalFunction(function(){a.insertBefore(i.el(),n)})):o.contentEl().insertBefore(i.el(),n)}(),i},n.prototype.removeChild=function(n){var i,t,r;if("string"==typeof n&&(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 t=this,i=this.options_.children;i&&!function(){var u=t.options_,f=function(n){var r=n.name,i=n.opts,f;(void 0!==u[r]&&(i=u[r]),i!==!1)&&(i===!0&&(i={}),i.playerOptions=t.options_.playerOptions,f=t.addChild(r,i),f&&(t[r]=f))},r=void 0,e=n.getComponent("Tech");r=Array.isArray(i)?i:Object.keys(i);r.concat(Object.keys(t.options_).filter(function(n){return!r.some(function(t){return"string"==typeof t?n===t:n===t.name})})).map(function(n){var r=void 0,u=void 0;return"string"==typeof n?(r=n,u=i[r]||t.options_[r]||{}):(r=n.name,u=n),{name:r,opts:u}}).filter(function(t){var i=n.getComponent(t.opts.componentClass||c["default"](t.name));return i&&!e.isTech(i)}).forEach(f)}()},n.prototype.buildCSSClass=function(){return""},n.prototype.on=function(n,t,i){var r=this;return"string"==typeof n||Array.isArray(n)?e.on(this.el_,n,f.bind(this,t)):!function(){var u=n,h=t,o=f.bind(r,i),c=function(){return r.off(u,h,o)},s;c.guid=o.guid;r.on("dispose",c);s=function(){return r.off("dispose",c)};s.guid=o.guid;n.nodeName?(e.on(u,h,o),e.on(u,"dispose",s)):"function"==typeof n.on&&(u.on(h,o),u.on("dispose",s))}(),this},n.prototype.off=function(n,t,i){if(!n||"string"==typeof n||Array.isArray(n))e.off(this.el_,n,t);else{var u=n,o=t,r=f.bind(this,i);this.off("dispose",r);n.nodeName?(e.off(u,o,r),e.off(u,"dispose",r)):(u.off(o,r),u.off("dispose",r))}return this},n.prototype.one=function(n,t,i){var r=this,u=arguments;return"string"==typeof n||Array.isArray(n)?e.one(this.el_,n,f.bind(this,t)):!function(){var e=n,o=t,s=f.bind(r,i),h=function c(){r.off(e,o,c);s.apply(null,u)};h.guid=s.guid;r.on(e,o,h)}(),this},n.prototype.trigger=function(n,t){return e.trigger(this.el_,n,t),this},n.prototype.ready=function(n){var t=arguments.length<=1||void 0===arguments[1]?!1:arguments[1];return n&&(this.isReady_?t?n.call(this):this.setTimeout(n,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(n))),this},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.hasElClass(this.el_,n)},n.prototype.addClass=function(n){return u.addElClass(this.el_,n),this},n.prototype.removeClass=function(n){return u.removeElClass(this.el_,n),this},n.prototype.toggleClass=function(n,t){return u.toggleElClass(this.el_,n,t),this},n.prototype.show=function(){return this.removeClass("vjs-hidden"),this},n.prototype.hide=function(){return this.addClass("vjs-hidden"),this},n.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},n.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},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){return this.width(n,!0).height(t)},n.prototype.dimension=function(n,t,i){if(void 0!==t)return(null===t||t!==t)&&(t=0),this.el_.style[n]=-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?t:"auto"===t?"":t+"px",i||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[n],u=r.indexOf("px");return-1!==u?parseInt(r.slice(0,u),10):parseInt(this.el_["offset"+c["default"](n)],10)},n.prototype.currentDimension=function(n){var t=0,i,u;if("width"!==n&&"height"!==n)throw new Error("currentDimension only accepts width or height value");return"function"==typeof r["default"].getComputedStyle?(i=r["default"].getComputedStyle(this.el_),t=i.getPropertyValue(n)||i[n]):this.el_.currentStyle&&(u="offset"+c["default"](n),t=this.el_[u]),parseFloat(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.emitTapEvents=function(){var r=0,n=null,u=10,f=200,t=void 0,i;this.on("touchstart",function(i){1===i.touches.length&&(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;f>u&&(i.preventDefault(),this.trigger("tap"))}})},n.prototype.enableTouchActivity=function(){var n,t,i;if(this.player()&&this.player().reportUserActivity){n=f.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=f.bind(this,n);var i=r["default"].setTimeout(n,t),u=function(){this.clearTimeout(i)};return u.guid="vjs-timeout-"+i,this.on("dispose",u),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=f.bind(this,n);var i=r["default"].setInterval(n,t),u=function(){this.clearInterval(i)};return u.guid="vjs-interval-"+i,this.on("dispose",u),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.registerComponent=function(t,i){return n.components_||(n.components_={}),n.components_[t]=i,i},n.getComponent=function(t){return n.components_&&n.components_[t]?n.components_[t]:r["default"]&&r["default"].videojs&&r["default"].videojs[t]?(h["default"].warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),r["default"].videojs[t]):void 0},n.extend=function(t){var u,i,r;t=t||{};h["default"].warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");u=t.init||t.init||this.prototype.init||this.prototype.init||function(){};i=function(){u.apply(this,arguments)};i.prototype=Object.create(this.prototype);i.prototype.constructor=i;i.extend=n.extend;for(r in t)t.hasOwnProperty(r)&&(i.prototype[r]=t[r]);return i},n}();a.registerComponent("Component",a);i["default"]=a;t.exports=i["default"]},{"./utils/browser.js":238,"./utils/dom.js":241,"./utils/events.js":242,"./utils/fn.js":243,"./utils/guid.js":246,"./utils/log.js":249,"./utils/merge-options.js":250,"./utils/to-title-case.js":254,"global/window":80}],164:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../track-button.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("../../utils/fn.js"),v=(f(a),n("./audio-track-menu-item.js")),y=r(v),u=function(n){function t(i){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];e(this,t);r.tracks=i.audioTracks&&i.audioTracks();n.call(this,i,r);this.el_.setAttribute("aria-label","Audio Menu")}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],i=this.player_.audioTracks&&this.player_.audioTracks(),n,r;if(!i)return t;for(n=0;n<i.length;n++)r=i[n],t.push(new y["default"](this.player_,{selectable:!0,track:r}));return t},t}(h["default"]);l["default"].registerComponent("AudioTrackButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../utils/fn.js":243,"../track-button.js":195,"./audio-track-menu-item.js":165}],165:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../menu/menu-item.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("../../utils/fn.js"),v=f(a),u=function(n){function t(i,r){var o=this,u,f;e(this,t);u=r.track;f=i.audioTracks();r.label=u.label||u.language||"Unknown";r.selected=u.enabled;n.call(this,i,r);this.track=u;f&&!function(){var n=v.bind(o,o.handleTracksChange);f.addEventListener("change",n);o.on("dispose",function(){f.removeEventListener("change",n)})}()}return o(t,n),t.prototype.handleClick=function(t){var r=this.player_.audioTracks(),i,u;if(n.prototype.handleClick.call(this,t),r)for(i=0;i<r.length;i++)u=r[i],u===this.track&&(u.enabled=!0)},t.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},t}(h["default"]);l["default"].registerComponent("AudioTrackMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../menu/menu-item.js":207,"../../utils/fn.js":243}],166:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../component.js"),f=r(s),h=n("./play-toggle.js"),c=(r(h),n("./time-controls/current-time-display.js")),l=(r(c),n("./time-controls/duration-display.js")),a=(r(l),n("./time-controls/time-divider.js")),v=(r(a),n("./time-controls/remaining-time-display.js")),y=(r(v),n("./live-display.js")),p=(r(y),n("./progress-control/progress-control.js")),w=(r(p),n("./fullscreen-toggle.js")),b=(r(w),n("./volume-control/volume-control.js")),k=(r(b),n("./volume-menu-button.js")),d=(r(k),n("./mute-toggle.js")),g=(r(d),n("./text-track-controls/chapters-button.js")),nt=(r(g),n("./text-track-controls/descriptions-button.js")),tt=(r(nt),n("./text-track-controls/subtitles-button.js")),it=(r(tt),n("./text-track-controls/captions-button.js")),rt=(r(it),n("./audio-track-controls/audio-track-button.js")),ut=(r(rt),n("./playback-rate-menu/playback-rate-menu-button.js")),ft=(r(ut),n("./spacer-controls/custom-control-spacer.js")),u=(r(ft),function(n){function t(){e(this,t);n.apply(this,arguments)}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(f["default"]));u.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]};f["default"].registerComponent("ControlBar",u);i["default"]=u;t.exports=i["default"]},{"../component.js":163,"./audio-track-controls/audio-track-button.js":164,"./fullscreen-toggle.js":167,"./live-display.js":168,"./mute-toggle.js":169,"./play-toggle.js":170,"./playback-rate-menu/playback-rate-menu-button.js":171,"./progress-control/progress-control.js":176,"./spacer-controls/custom-control-spacer.js":180,"./text-track-controls/captions-button.js":183,"./text-track-controls/chapters-button.js":184,"./text-track-controls/descriptions-button.js":186,"./text-track-controls/subtitles-button.js":188,"./time-controls/current-time-display.js":191,"./time-controls/duration-display.js":192,"./time-controls/remaining-time-display.js":193,"./time-controls/time-divider.js":194,"./volume-control/volume-control.js":197,"./volume-menu-button.js":199}],167:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("global/window"),h=(r(s),n("../button.js")),c=r(h),l=n("../component.js"),a=r(l),v=n("../utils/browser.js"),u=(f(v),function(n){function t(i,r){e(this,t);n.call(this,i,r);this.on(i,"fullscreenchange",this.handleFullscreenChange);this.on("keydown",this.handleKeyPress);this.on("mouseover",this.clearOtherMenus);this.on("focus",this.clearOtherMenus)}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(){this.controlText(this.player_.isFullscreen()?"Non-Fullscreen":"Fullscreen")},t.prototype.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(c["default"]));u.prototype.controlText_="Fullscreen";a["default"].registerComponent("FullscreenToggle",u);i["default"]=u;t.exports=i["default"]},{"../button.js":160,"../component.js":163,"../utils/browser.js":238,"global/window":80}],168:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../clickable-component.js"),h=r(s),c=n("../component.js"),l=r(c),a=n("../utils/dom.js"),v=f(a),u=function(n){function t(i,r){e(this,t);n.call(this,i,r);this.updateShowing();this.on(this.player(),"durationchange",this.updateShowing)}return o(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=v.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.htmlEncode(this.localize("Stream Type"))+"<\/span>"+this.htmlEncode(this.localize("LIVE"))},{"aria-live":"off"}),t.appendChild(this.contentEl_),t.setAttribute("aria-label",this.htmlEncode(this.localize("LIVE"))),t},t.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},t.prototype.handleClick=function(){this.clickHandler&&this.clickHandler()},t.prototype.setClickHandler=function(n){this.clickHandler=n},t}(h["default"]);l["default"].registerComponent("LiveDisplay",u);i["default"]=u;t.exports=i["default"]},{"../clickable-component.js":161,"../component.js":163,"../utils/dom.js":241}],169:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../button"),c=u(h),l=n("../component"),a=u(l),v=n("../utils/dom.js"),f=e(v),r=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"volumechange",this.update);i.tech_&&i.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden");this.on(i,"loadstart",function(){this.update();i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")});this.on("focus",this.clearOtherMenus)}return s(t,n),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.muted(this.player_.muted()?!1:!0)},t.prototype.update=function(){var i=this.player_.volume(),n=3,r,t;for(0===i||this.player_.muted()?n=0:.33>i?n=1:.67>i&&(n=2),r=this.htmlEncode(this.localize(this.player_.muted()?"Unmute":"Mute")),this.controlText()!==r&&this.controlText(r),t=0;4>t;t++)f.removeElClass(this.el_,"vjs-vol-"+t);f.addElClass(this.el_,"vjs-vol-"+n)},t}(c["default"]);r.prototype.controlText_="Mute";a["default"].registerComponent("MuteToggle",r);i["default"]=r;t.exports=i["default"]},{"../button":160,"../component":163,"../utils/dom.js":241}],170:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("global/window"),h=(r(s),n("../button.js")),c=r(h),l=n("../component.js"),a=r(l),v=n("../utils/browser.js"),u=(f(v),function(n){function t(i,r){e(this,t);n.call(this,i,r);this.on(i,"play",this.handlePlay);this.on(i,"pause",this.handlePause);this.on("keydown",this.handleKeyPress);this.on("mouseover",this.clearOtherMenus);this.on("focus",this.clearOtherMenus)}return o(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-paused");this.addClass("vjs-playing");this.controlText(this.htmlEncode(this.localize("Pause")))},t.prototype.handlePause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.controlText(this.htmlEncode(this.localize("Play")))},t}(c["default"]));u.prototype.controlText_="Play";a["default"].registerComponent("PlayToggle",u);i["default"]=u;t.exports=i["default"]},{"../button.js":160,"../component.js":163,"../utils/browser.js":238,"global/window":80}],171:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../menu/menu-button.js"),h=r(s),c=n("../../menu/menu.js"),l=r(c),a=n("./playback-rate-menu-item.js"),v=r(a),y=n("../../component.js"),p=r(y),w=n("../../utils/dom.js"),b=f(w),u=function(n){function t(i,r){e(this,t);n.call(this,i,r);this.updateVisibility();this.updateLabel();this.on(i,"loadstart",this.updateVisibility);this.on(i,"ratechange",this.updateLabel)}return o(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=b.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.createMenu=function(){var i=new l["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new v["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(),n=this.playbackRates(),i=n[0],t=0;t<n.length;t++)if(n[t]>r){i=n[t];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.htmlEncode(this.player().playbackRate())+"x")},t}(h["default"]);u.prototype.controlText_="Playback Rate";p["default"].registerComponent("PlaybackRateMenuButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../menu/menu-button.js":206,"../../menu/menu.js":208,"../../utils/dom.js":241,"./playback-rate-menu-item.js":172}],172:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("../../menu/menu-item.js"),s=u(o),h=n("../../component.js"),c=u(h),r=function(n){function t(i,r){f(this,t);var u=r.rate,e=parseFloat(u,10);r.label=u;r.selected=1===e;n.call(this,i,r);this.label=u;this.rate=e;this.on(i,"ratechange",this.update)}return e(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}(s["default"]);r.prototype.contentElType="button";c["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":163,"../../menu/menu-item.js":207}],173:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),r=e(h),c=n("../../utils/dom.js"),l=f(c),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"progress",this.update)}return s(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.htmlEncode(this.localize("Loaded"))+"<\/span>: 0%<\/span>"})},t.prototype.update=function(){var t=this.player_.buffered(),o=this.player_.duration(),r=this.player_.bufferedEnd(),u=this.el_.children,f=function(n,t){var i=n/t||0;return 100*(i>=1?1:i)+"%"},n;for(this.el_.style.width=f(r,o),n=0;n<t.length;n++){var e=t.start(n),s=t.end(n),i=u[n];i||(i=this.el_.appendChild(l.createEl()));i.style.left=f(e,r);i.style.width=f(s-e,r)}for(n=u.length;n>t.length;n--)this.el_.removeChild(u[n-1])},t}(r["default"]);r["default"].registerComponent("LoadProgressBar",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241}],174:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if("function"!=typeof t&&null!==t)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 l=n("global/window"),u=r(l),a=n("../../component.js"),o=r(a),v=n("../../utils/dom.js"),f=e(v),y=n("../../utils/fn.js"),p=e(y),w=n("../../utils/format-time.js"),b=r(w),k=n("lodash-compat/function/throttle"),d=r(k),s=function(n){function t(i,r){var u=this;h(this,t);n.call(this,i,r);r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside);this.keepTooltipsInside&&(this.tooltip=f.createEl("div",{className:"vjs-time-tooltip"}),this.el().appendChild(this.tooltip),this.addClass("vjs-keep-tooltips-inside"));this.tooltipSpan=f.createEl("span",{className:"amp-time-tooltip"});this.el().appendChild(this.tooltipSpan);this.update(0,0);i.on("ready",function(){u.on(i.controlBar.progressControl.el(),"mousemove",d["default"](p.bind(u,u.handleMouseMove),25))})}return c(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(n){var t=this.player_.duration(),i=this.calculateDistance(n)*t,r=n.pageX-f.findElPosition(this.el().parentNode).left;this.update(i,r)},t.prototype.update=function(n,t){var i=b["default"](n,this.player_.duration());if(this.el().style.left=t+"px",this.tooltipSpan.innerHtml=this.tooltipSpan.innerText=i,this.clampAmpTooltipPosition_(t),this.keepTooltipsInside){var r=this.clampPosition_(t),f=t-r+1,e=parseFloat(u["default"].getComputedStyle(this.tooltip).width),o=e/2;this.tooltip.innerHTML=i;this.tooltip.style.right="-"+(o-f)+"px"}},t.prototype.calculateDistance=function(n){return f.getPointerPosition(this.el().parentNode,n).x},t.prototype.clampPosition_=function(n){if(!this.keepTooltipsInside)return n;var r=parseFloat(u["default"].getComputedStyle(this.player().el()).width),f=parseFloat(u["default"].getComputedStyle(this.tooltip).width),t=f/2,i=n;return t>n?i=Math.ceil(t):n>r-t&&(i=Math.floor(r-t)),i},t.prototype.clampAmpTooltipPosition_=function(n){var i=parseFloat(u["default"].getComputedStyle(this.player().el()).width),t=this.tooltipSpan.offsetWidth/2,r=n;r=t>n?Math.ceil(this.tooltipSpan.offsetWidth-n):n>i-t?Math.floor(i-n):t;this.tooltipSpan.style.right=-r+"px"},t}(o["default"]);o["default"].registerComponent("MouseTimeDisplay",s);i["default"]=s;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/fn.js":243,"../../utils/format-time.js":245,"global/window":80,"lodash-compat/function/throttle":29}],175:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),f=u(h),c=n("../../utils/fn.js"),l=r(c),a=n("../../utils/dom.js"),v=(r(a),n("../../utils/format-time.js")),y=u(v),e=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.updateDataAttr();this.on(i,"timeupdate",this.updateDataAttr);i.ready(l.bind(this,this.updateDataAttr));r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside);this.keepTooltipsInside&&this.addClass("vjs-keep-tooltips-inside")}return s(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.htmlEncode(this.localize("Progress"))+"<\/span>: 0%<\/span>"})},t.prototype.updateDataAttr=function(){var n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",y["default"](n,this.player_.duration()))},t}(f["default"]);f["default"].registerComponent("PlayProgressBar",e);i["default"]=e;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/fn.js":243,"../../utils/format-time.js":245}],176:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../component.js"),f=r(s),h=n("./seek-bar.js"),c=(r(h),n("./mouse-time-display.js")),u=(r(c),function(n){function t(){e(this,t);n.apply(this,arguments)}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control",tabIndex:-1})},t}(f["default"]));u.prototype.options_={children:["seekBar"]};f["default"].registerComponent("ProgressControl",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"./mouse-time-display.js":174,"./seek-bar.js":177}],177:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if("function"!=typeof t&&null!==t)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 c=n("global/window"),e=r(c),l=n("../../slider/slider.js"),a=r(l),v=n("../../component.js"),y=r(v),p=n("./load-progress-bar.js"),w=(r(p),n("./play-progress-bar.js")),b=(r(w),n("./tooltip-progress-bar.js")),k=(r(b),n("./seek-handle.js")),d=(r(k),n("../../utils/fn.js")),g=f(d),nt=n("../../utils/format-time.js"),o=r(nt),tt=n("object.assign"),it=(r(tt),n("../../utils/browser.js")),rt=f(it),u=function(n){function t(i,r){s(this,t);n.call(this,i,r);this.timeInterval=8e3;this.isIntervalEnabled=!0;this.timerFunction;this.videoWasPlaying=null;this.on(i,"timeupdate",this.updateProgress);this.on(i,"ended",this.playEnded);this.on(i,"play",this.enableAriaUpdate);this.on(i,"seeked",this.handleManualSeeked);this.on(i,"playing",this.handlePlaying);i.ready(g.bind(this,this.updateProgress));r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(this.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside);this.keepTooltipsInside&&(this.tooltipProgressBar=this.addChild("TooltipProgressBar"))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.playEnded=function(){this.isIntervalEnabled=!1;clearTimeout(this.timerFunction);this.updateProgress()},t.prototype.handleManualSeeked=function(){null!==this.videoWasPlaying&&(this.videoWasPlaying?this.player_.play():this.videoWasPlaying=null)},t.prototype.handlePlaying=function(){this.videoWasPlaying=null},t.prototype.enableAriaUpdate=function(){var n=this;this.timerFunction=this.setTimeout(function(){n.isIntervalEnabled=!n.isIntervalEnabled;n.enableAriaUpdate()},this.timeInterval,this)},t.prototype.updateProgress=function(){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_);this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var i=parseFloat(e["default"].getComputedStyle(this.player().el()).width),n=parseFloat(e["default"].getComputedStyle(this.tooltipProgressBar.tooltip).width),t=this.tooltipProgressBar.el().style;t.maxWidth=Math.floor(i-n/2)+"px";t.minWidth=Math.ceil(n/2)+"px";t.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(n){var r;if(this.isIntervalEnabled){if(r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),0===r)n.setAttribute("aria-valuetext","0");else if(rt.IS_SAFARI)n.setAttribute("aria-valuetext",o["default"](r,this.player_.duration()));else{for(var u=o["default"](r,this.player_.duration()),t=u.split(":"),i=0;i<t.length;i++)parseInt(t[i])<10&&(t[i]="0"+parseInt(t[i]));u=2===t.length?"00:"+t[0]+":"+t[1]:t[0]+":"+t[1]+":"+t[2];n.setAttribute("aria-valuetext",u)}this.isIntervalEnabled=!1}},t.prototype.getPercent=function(){var n=this.player_.currentTime()/this.player_.duration();return n>=1?1:n},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0);null===this.videoWasPlaying&&(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-=.1);this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){n.prototype.handleMouseUp.call(this,t);this.player_.scrubbing(!1)},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(a["default"]);u.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar","seekHandle"],barName:"playProgressBar",handleName:"seekHandle"};u.prototype.playerEvent="timeupdate";y["default"].registerComponent("SeekBar",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../slider/slider.js":216,"../../utils/browser.js":238,"../../utils/fn.js":243,"../../utils/format-time.js":245,"./load-progress-bar.js":173,"./play-progress-bar.js":175,"./seek-handle.js":178,"./tooltip-progress-bar.js":179,"global/window":80,"object.assign":73}],178:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),u=e(h),c=n("../../utils/fn.js"),l=r(c),a=n("../../utils/dom.js"),f=(r(a),function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.update);i.ready(l.bind(this,this.update))}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-slider-handle ",innerHTML:'<span class="vjs-control-text">Seekbar Handle<\/span>'})},t.prototype.update=function(){this.player_.controlBar&&this.player_.controlBar.progressControl&&this.player_.controlBar.progressControl.seekBar&&this.player_.controlBar.progressControl.seekBar.playProgressBar&&(this.el().style.left=this.player_.controlBar.progressControl.seekBar.playProgressBar.el_.style.width)},t}(u["default"]));u["default"].registerComponent("SeekHandle",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/fn.js":243}],179:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),f=u(h),c=n("../../utils/fn.js"),l=r(c),a=n("../../utils/dom.js"),v=(r(a),n("../../utils/format-time.js")),y=u(v),e=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.updateDataAttr();this.on(i,"timeupdate",this.updateDataAttr);i.ready(l.bind(this,this.updateDataAttr))}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"><\/div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"<\/span>: 0%<\/span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=y["default"](t,this.player_.duration());this.el_.setAttribute("data-current-time",n);this.tooltip.innerHTML=n},t}(f["default"]);f["default"].registerComponent("TooltipProgressBar",e);i["default"]=e;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/fn.js":243,"../../utils/format-time.js":245}],180:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./spacer.js"),s=r(o),h=n("../../component.js"),c=r(h),u=function(n){function t(){f(this,t);n.apply(this,arguments)}return e(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}(s["default"]);c["default"].registerComponent("CustomControlSpacer",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"./spacer.js":181}],181:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../component.js"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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;t.exports=i["default"]},{"../../component.js":163}],182:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./text-track-menu-item.js"),s=r(o),h=n("../../component.js"),c=r(h),u=function(n){function t(i,r){f(this,t);r.track={kind:r.kind,player:i,label:"Settings",selectable:!1,"default":!1,mode:"disabled"};r.selectable=!1;n.call(this,i,r);this.addClass("vjs-texttrack-settings");this.controlText(", opens "+r.kind+" settings dialog")}return e(t,n),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show();this.player().getChild("textTrackSettings").el_.focus()},t}(s["default"]);c["default"].registerComponent("CaptionSettingsMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"./text-track-menu-item.js":190}],183:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./text-track-button.js"),s=u(o),h=n("../../component.js"),c=u(h),l=n("./caption-settings-menu-item.js"),a=u(l),r=function(n){function t(i,r,u){f(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Captions Menu")}return e(t,n),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(){var t=2;n.prototype.update.call(this);this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(t=1);this.items&&this.items.length>t?this.show():this.hide()},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||t.push(new a["default"](this.player_,{kind:this.kind_})),n.prototype.createItems.call(this,t)},t}(s["default"]);r.prototype.kind_="captions";r.prototype.controlText_="Captions";c["default"].registerComponent("CaptionsButton",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":163,"./caption-settings-menu-item.js":182,"./text-track-button.js":189}],184:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("./text-track-button.js"),c=r(h),l=n("../../component.js"),a=r(l),v=n("./text-track-menu-item.js"),y=r(v),p=n("./chapters-track-menu-item.js"),w=r(p),b=n("../../menu/menu.js"),k=r(b),d=n("../../utils/dom.js"),e=f(d),g=n("../../utils/fn.js"),nt=(f(g),n("../../utils/to-title-case.js")),tt=r(nt),it=n("global/window"),u=(r(it),function(n){function t(i,r,u){o(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Chapters Menu")}return s(t,n),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[],i=this.player_.textTracks(),n,r;if(!i)return t;for(n=0;n<i.length;n++)r=i[n],r.kind===this.kind_&&t.push(new y["default"](this.player_,{track:r}));return t},t.prototype.createMenu=function(){for(var u,i,f,o,s,a=this,h=this.player_.textTracks()||[],n=void 0,r=this.items||[],t=h.length-1;t>=0;t--)if(u=h[t],u.kind===this.kind_){n=u;break}if(i=new k["default"](this.player_),f=e.createEl("li",{className:"vjs-menu-title",innerHTML:tt["default"](this.kind_),tabIndex:-1}),(i.children_.unshift(f),e.insertElFirst(f,i.contentEl()),n&&null==n.cues)&&(n.mode="hidden",o=this.player_.remoteTextTrackEls().getTrackElementByTrack_(n),o&&o.addEventListener("load",function(){return a.update()})),n&&n.cues&&n.cues.length>0)for(var c=n.cues,l=void 0,t=0,v=c.length;v>t;t++)l=c[t],s=new w["default"](this.player_,{track:n,cue:l}),r.push(s),i.addChild(s);return r.length>0&&this.show(),this.items=r,i},t}(c["default"]));u.prototype.kind_="chapters";u.prototype.controlText_="Chapters";a["default"].registerComponent("ChaptersButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../menu/menu.js":208,"../../utils/dom.js":241,"../../utils/fn.js":243,"../../utils/to-title-case.js":254,"./chapters-track-menu-item.js":185,"./text-track-button.js":189,"./text-track-menu-item.js":190,"global/window":80}],185:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../menu/menu-item.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("../../utils/fn.js"),v=f(a),u=function(n){function t(i,r){e(this,t);var f=r.track,u=r.cue,o=i.currentTime();r.label=u.text;r.selected=u.startTime<=o&&o<u.endTime;n.call(this,i,r);this.track=f;this.cue=u;f.addEventListener("cuechange",v.bind(this,this.update))}return o(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}(h["default"]);l["default"].registerComponent("ChaptersTrackMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../menu/menu-item.js":207,"../../utils/fn.js":243}],186:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("./text-track-button.js"),h=u(s),c=n("../../component.js"),l=u(c),a=n("../../utils/fn.js"),v=f(a),r=function(n){function t(i,r,u){var o=this,f;e(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Descriptions Menu");f=i.textTracks();f&&!function(){var n=v.bind(o,o.handleTracksChange);f.addEventListener("change",n);o.on("dispose",function(){f.removeEventListener("change",n)})}()}return o(t,n),t.prototype.handleTracksChange=function(){for(var t,i=this.player().textTracks(),r=!1,n=0,u=i.length;u>n;n++)if(t=i[n],t.kind!==this.kind_&&"showing"===t.mode){r=!0;break}r?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildCSSClass.call(this)},t}(h["default"]);r.prototype.kind_="descriptions";r.prototype.controlText_="Descriptions";l["default"].registerComponent("DescriptionsButton",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":163,"../../utils/fn.js":243,"./text-track-button.js":189}],187:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./text-track-menu-item.js"),s=r(o),h=n("../../component.js"),c=r(h),l=n("../../utils/to-title-case.js"),a=r(l),u=function(n){function t(i,r){f(this,t);r.track={kind:r.kind,player:i,label:a["default"](r.kind)+" Off","default":!1,mode:"disabled"};r.selectable=!0;n.call(this,i,r);this.selected(!0)}return e(t,n),t.prototype.handleTracksChange=function(){for(var t,i=this.player().textTracks(),r=!0,n=0,u=i.length;u>n;n++)if(t=i[n],t.kind===this.track.kind&&"showing"===t.mode){r=!1;break}this.selected(r)},t}(s["default"]);c["default"].registerComponent("OffTextTrackMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../utils/to-title-case.js":254,"./text-track-menu-item.js":190}],188:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./text-track-button.js"),s=u(o),h=n("../../component.js"),c=u(h),r=function(n){function t(i,r,u){f(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Subtitles Menu")}return e(t,n),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(){n.prototype.update.call(this);this.items&&this.items.length>1?this.show():this.hide()},t}(s["default"]);r.prototype.kind_="subtitles";r.prototype.controlText_="Subtitles";c["default"].registerComponent("SubtitlesButton",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":163,"./text-track-button.js":189}],189:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../track-button.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("../../utils/fn.js"),v=(f(a),n("./text-track-menu-item.js")),y=r(v),p=n("./off-text-track-menu-item.js"),w=r(p),u=function(n){function t(i){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];e(this,t);r.tracks=i.textTracks();n.call(this,i,r)}return o(t,n),t.prototype.createItems=function(){var n=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t,i,r;if(n.push(new w["default"](this.player_,{kind:this.kind_})),t=this.player_.textTracks(),!t)return n;for(i=0;i<t.length;i++)r=t[i],r.kind===this.kind_&&n.push(new y["default"](this.player_,{selectable:!0,track:r}));return n},t}(h["default"]);l["default"].registerComponent("TextTrackButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163,"../../utils/fn.js":243,"../track-button.js":195,"./off-text-track-menu-item.js":187,"./text-track-menu-item.js":190}],190:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../menu/menu-item.js"),c=r(h),l=n("../../component.js"),a=r(l),v=n("../../utils/fn.js"),y=e(v),p=n("global/window"),u=r(p),w=n("global/document"),b=r(w),f=function(n){function t(i,r){var s=this,e,f;o(this,t);e=r.track;f=i.textTracks();r.label=e.label||e.language||"Unknown";r.selected=e["default"]||"showing"===e.mode;n.call(this,i,r);this.track=e;f&&!function(){var n=y.bind(s,s.handleTracksChange,s.id_);f.addEventListener("change",n);s.on("dispose",function(){f.removeEventListener("change",n)})}();f&&void 0===f.onchange&&!function(){var n=void 0;s.on(["tap","click"],function(){if("object"!=typeof u["default"].Event)try{n=new u["default"].Event("change")}catch(t){}n||(n=b["default"].createEvent("Event"),n.initEvent("change",!0,!0));f.dispatchEvent(n)})}()}return s(t,n),t.prototype.handleClick=function(t){var f=this.track.kind,u=this.player_.textTracks(),i,r;if(n.prototype.handleClick.call(this,t),u)for(i=0;i<u.length;i++)r=u[i],r.kind===f&&(r.mode=r===this.track?"showing":"disabled")},t.prototype.handleTracksChange=function(){this.selected("showing"===this.track.mode)},t}(c["default"]);a["default"].registerComponent("TextTrackMenuItem",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":163,"../../menu/menu-item.js":207,"../../utils/fn.js":243,"global/document":79,"global/window":80}],191:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),u=r(h),c=n("../../utils/dom.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.updateContent)}return s(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_=l.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">'+this.htmlEncode(this.localize("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=v["default"](t,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.htmlEncode(i)+"<\/span> "+n)},t}(u["default"]);u["default"].registerComponent("CurrentTimeDisplay",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/format-time.js":245}],192:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),u=r(h),c=n("../../utils/dom.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"durationchange",this.updateContent)}return s(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_=l.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.htmlEncode(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=v["default"](n),this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.htmlEncode(t)+"<\/span> "+i)},t}(u["default"]);u["default"].registerComponent("DurationDisplay",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/format-time.js":245}],193:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../../component.js"),u=r(h),c=n("../../utils/dom.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.updateContent);this.on(i,"durationchange",this.updateContent)}return s(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_=l.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.htmlEncode(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=v["default"](this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.htmlEncode(t)+"<\/span> -"+n)}},t}(u["default"]);u["default"].registerComponent("RemainingTimeDisplay",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":163,"../../utils/dom.js":241,"../../utils/format-time.js":245}],194:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../component.js"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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.prototype.blank=function(){this.el().innerHTML="<div><span><\/span><\/div>"},t.prototype.unblank=function(){this.el().innerHTML="<div><span>/<\/span><\/div>"},t}(r["default"]);r["default"].registerComponent("TimeDivider",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":163}],195:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../menu/menu-button.js"),h=r(s),c=n("../component.js"),l=r(c),a=n("../utils/fn.js"),v=f(a),u=function(n){function t(i,r){var u,f;e(this,t);u=r.tracks;(n.call(this,i,r),this.items.length<=1&&this.hide(),u)&&(f=v.bind(this,this.update),u.addEventListener("removetrack",f),u.addEventListener("addtrack",f),this.player_.on("dispose",function(){u.removeEventListener("removetrack",f);u.removeEventListener("addtrack",f)}))}return o(t,n),t}(h["default"]);l["default"].registerComponent("TrackButton",u);i["default"]=u;t.exports=i["default"]},{"../component.js":163,"../menu/menu-button.js":206,"../utils/fn.js":243}],196:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../slider/slider.js"),h=u(s),c=n("../../component.js"),l=u(c),a=n("../../utils/fn.js"),v=f(a),y=n("./volume-level.js"),r=(u(y),function(n){function t(i,r){e(this,t);n.call(this,i,r);this.on(i,"volumechange",this.updateARIAAttributes);i.ready(v.bind(this,this.updateARIAAttributes))}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar "},{"aria-label":"volume level"})},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=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",n);this.el_.setAttribute("aria-valuetext",n+"%")},t}(h["default"]));r.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};r.prototype.playerEvent="volumechange";l["default"].registerComponent("VolumeBar",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":163,"../../slider/slider.js":216,"../../utils/fn.js":243,"./volume-level.js":198}],197:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../component.js"),f=u(s),h=n("./volume-bar.js"),r=(u(h),function(n){function t(i,r){e(this,t);n.call(this,i,r);i.tech_&&i.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden");this.on(i,"loadstart",function(){i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(f["default"]));r.prototype.options_={children:["volumeBar"]};f["default"].registerComponent("VolumeControl",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":163,"./volume-bar.js":196}],198:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../../component.js"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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;t.exports=i["default"]},{"../../component.js":163}],199:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if("function"!=typeof t&&null!==t)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 c=n("../utils/fn.js"),f=o(c),l=n("../component.js"),a=u(l),v=n("../popup/popup.js"),y=u(v),p=n("../popup/popup-button.js"),w=u(p),b=n("./mute-toggle.js"),e=u(b),k=n("./volume-control/volume-bar.js"),d=u(k),r=function(n){function t(i){function u(){i.tech_&&i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];s(this,t);void 0===r.inline&&(r.inline=!0);void 0===r.vertical&&(r.vertical=r.inline?!1:!0);r.volumeBar=r.volumeBar||{};r.volumeBar.vertical=!!r.vertical;n.call(this,i,r);this.on(i,"volumechange",this.volumeUpdate);this.on(i,"loadstart",this.volumeUpdate);u.call(this);this.on(i,"loadstart",u)}return h(t,n),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+n.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var n=new y["default"](this.player_,{contentElType:"div"}),t=new d["default"](this.player_,this.options_.volumeBar);return n.addChild(t),this.menuContent=n,this.volumeBar=t,this.attachVolumeBarEvents(),n},t.prototype.handleClick=function(){e["default"].prototype.handleClick.call(this);this.buttonPressed_=!this.buttonPressed_;n.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],f.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove));this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(w["default"]);r.prototype.volumeUpdate=e["default"].prototype.update;r.prototype.controlText_="Volume";r.prototype.buttonPressed_=!1;r.prototype.unpressButton=function(){this.menuContent.unlockShowing();this.el_.setAttribute("aria-expanded","false");this.buttonPressed_=!1};a["default"].registerComponent("VolumeMenuButton",r);i["default"]=r;t.exports=i["default"]},{"../component.js":163,"../popup/popup-button.js":212,"../popup/popup.js":213,"../utils/fn.js":243,"./mute-toggle.js":169,"./volume-control/volume-bar.js":196}],200:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("./component"),c=r(h),l=n("./modal-dialog"),f=r(l),a=n("./utils/dom"),v=e(a),y=n("./utils/merge-options"),p=r(y),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.contentEl_.setAttribute("tabIndex",0);this.on(i,"error",this.open)}return s(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.prototype.open=function(){n.prototype.open.call(this);this.opened_&&v.textContent(this.descEl_,this.content())},t}(f["default"]);u.prototype.options_=p["default"](f["default"].prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0});c["default"].registerComponent("ErrorDisplay",u);i["default"]=u;t.exports=i["default"]},{"./component":163,"./modal-dialog":209,"./utils/dom":241,"./utils/merge-options":250}],201:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}i.__esModule=!0;var e=n("./utils/events.js"),u=f(e),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;"string"==typeof n&&(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;t.exports=i["default"]},{"./utils/events.js":242}],202:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u=n("./utils/log"),f=r(u),e=function(n,t){if("function"!=typeof t&&null!==t)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&&(n.super_=t)},o=function(n){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=function(){n.apply(this,arguments)},r={},u;"object"==typeof t?("function"==typeof t.init&&(f["default"].warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(i=t.constructor),r=t):"function"==typeof t&&(i=t);e(i,n);for(u in r)r.hasOwnProperty(u)&&(i.prototype[u]=r[u]);return i};i["default"]=o;t.exports=i["default"]},{"./utils/log":249}],203:[function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}var r;i.__esModule=!0;for(var s=n("global/document"),h=o(s),e={},u=[["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"]],c=u[0],f=void 0,r=0;r<u.length;r++)if(u[r][1]in h["default"]){f=u[r];break}if(f)for(r=0;r<f.length;r++)e[c[r]]=f[r];i["default"]=e;t.exports=i["default"]},{"global/document":79}],204:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("./component"),u=r(h),c=n("./utils/dom.js"),l=e(c),a=n("global/document"),f=(r(a),function(n){function t(i,r){o(this,t);n.call(this,i,r)}return s(t,n),t.prototype.createEl=function(){this.contentEl_=l.createEl("span",{});var t=n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return t.appendChild(this.contentEl_),t},t}(u["default"]));u["default"].registerComponent("LoadingSpinner",f);i["default"]=f;t.exports=i["default"]},{"./component":163,"./utils/dom.js":241,"global/document":79}],205:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var u;i.__esModule=!0;var e=n("object.assign"),o=f(e),r=function s(n){"number"==typeof n?this.code=n:"string"==typeof n?this.message=n:"object"==typeof n&&o["default"](this,n);this.message||(this.message=s.defaultMessages[this.code]||"")};for(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;t.exports=i["default"]},{"object.assign":73}],206:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../clickable-component.js"),c=r(h),l=n("../component.js"),a=r(l),v=n("./menu.js"),y=r(v),p=n("../utils/dom.js"),f=u(p),w=n("../utils/fn.js"),b=u(w),k=n("../utils/to-title-case.js"),d=r(k),g=n("../utils/browser.js"),nt=u(g),tt=n("global/window"),it=(r(tt),n("../utils/close-other-menu.js")),rt=r(it),e=function(n){function t(i){var u=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r;o(this,t);n.call(this,i,u);this.update();this.enabled_=!0;this.el_.setAttribute("aria-haspopup","true");this.el_.setAttribute("role","menuitem");this.on("keydown",this.handleSubmenuKeyPress);this.on("mouseover",this.handleMouseOver);this.on("mouseleave",this.handleMouseLeave);this.on("focus",this.clearOtherMenus);r=this;i.on("userinactive",function(){r.buttonPressed_&&r.unpressButton()})}return s(t,n),t.prototype.update=function(){var n=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu));this.menu=n;this.addChild(n);this.buttonPressed_=!1;this.el_.setAttribute("aria-expanded","false");this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createMenu=function(){var n=new y["default"](this.player_),i,t;if(this.options_.title&&(i=f.createEl("li",{className:"vjs-menu-title",innerHTML:this.htmlEncode(d["default"](this.options_.title)),tabIndex:-1}),n.children_.unshift(i),f.insertElFirst(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.buildCSSClass()})},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.hasJustBeenClicked=function(){return!1},t.prototype.handleClick=function(){this.hasJustBeenClicked()||(this.clearOtherMenus(),this.one(this.menu.contentEl(),"mouseleave",b.bind(this,function(){this.unpressButton();this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton())},t.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):n.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(n){(27===n.which||9===n.which)&&(this.buttonPressed_&&this.unpressButton(),9!==n.which&&n.preventDefault())},t.prototype.handleMouseOver=function(){this.clearOtherMenus();this.buttonPressed_||this.pressButton()},t.prototype.handleMouseLeave=function(){this.unpressButton()},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){if(this.enabled_){this.buttonPressed_=!1;this.menu.unlockShowing();this.el_.setAttribute("aria-expanded","false");var n=this.player().getChild("textTrackSettings").el_.className;nt.IS_ANDROID&&n.indexOf("vjs-hidden")>=0&&this.el_.focus()}},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,n.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,n.prototype.enable.call(this)},t.prototype.clearOtherMenus=function(){rt["default"](this)},t}(c["default"]);a["default"].registerComponent("MenuButton",e);i["default"]=e;t.exports=i["default"]},{"../clickable-component.js":161,"../component.js":163,"../utils/browser.js":238,"../utils/close-other-menu.js":240,"../utils/dom.js":241,"../utils/fn.js":243,"../utils/to-title-case.js":254,"./menu.js":208,"global/window":80}],207:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../clickable-component.js"),h=r(s),c=n("../component.js"),l=r(c),a=n("object.assign"),u=r(a),f=function(n){function t(i,r){e(this,t);n.call(this,i,r);this.selectable=r.selectable;this.selected(r.selected);this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return o(t,n),t.prototype.createEl=function(t,i,r){return n.prototype.createEl.call(this,"li",u["default"]({className:"vjs-menu-item",innerHTML:this.htmlEncode(this.localize(this.options_.label)),tabIndex:-1},i),r=u["default"]({"aria-label":this.htmlEncode(this.localize(this.options_.label))},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}(h["default"]);l["default"].registerComponent("MenuItem",f);i["default"]=f;t.exports=i["default"]},{"../clickable-component.js":161,"../component.js":163,"object.assign":73}],208:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if("function"!=typeof t&&null!==t)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 c=n("../component.js"),u=o(c),l=n("../utils/dom.js"),f=r(l),a=n("../utils/fn.js"),v=r(a),y=n("../utils/events.js"),p=r(y),e=function(n){function t(i,r){s(this,t);n.call(this,i,r);this.focusedChild_=-1;this.on("keydown",this.handleKeyPress)}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",v.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;return this.contentEl_=f.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.setAttribute("role","presentation"),t.appendChild(this.contentEl_),p.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()}),t},t.prototype.handleKeyPress=function(n){37===n.which||40===n.which?(n.preventDefault(),this.stepForward()):(38===n.which||39===n.which)&&(n.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var n=0;void 0!==this.focusedChild_&&(n=this.focusedChild_+1);this.focus(n,!0)},t.prototype.stepBack=function(){var n=0;void 0!==this.focusedChild_&&(n=this.focusedChild_-1);this.focus(n,!1)},t.prototype.focus=function(){var n=arguments.length<=0||void 0===arguments[0]?0:arguments[0],i=arguments.length<=1||void 0===arguments[1]?!0:arguments[1],t=this.children().slice(),r=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);r&&t.shift();t.length>0&&(0>n?n=0:n>=t.length&&(n=t.length-1),n=this.getNextVisibleElement(n,t,i),-1!==n&&(this.focusedChild_=n,t[n].el_.focus()))},t.prototype.getNextVisibleElement=function(n,t,i){for(;n>=0&&n<t.length;){if(f.isVisible(t[n].el_))return n;i?n+=1:n-=1}return-1},t}(u["default"]);u["default"].registerComponent("Menu",e);i["default"]=e;t.exports=i["default"]},{"../component.js":163,"../utils/dom.js":241,"../utils/events.js":242,"../utils/fn.js":243}],209:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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");}function l(n,t){if("function"!=typeof t&&null!==t)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("./utils/dom"),r=o(a),v=n("./utils/fn"),s=o(v),y=n("./utils/log"),p=(u(y),n("./component")),h=u(p),w=n("./close-button"),f=(u(w),"vjs-modal-dialog"),b=27,e=function(n){function t(i,u){c(this,t);n.call(this,i,u);this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1;this.closeable(!this.options_.uncloseable);this.content(this.options_.content);this.contentEl_=r.createEl("div",{className:f+"-content"},{role:"document"});this.descEl_=r.createEl("p",{className:f+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")});r.textContent(this.descEl_,this.description());this.el_.appendChild(this.descEl_);this.el_.appendChild(this.contentEl_)}return l(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 f+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(n){n.which===b&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("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();this.trigger("beforemodalopen");this.opened_=!0;(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill();this.wasPlaying_=!n.paused();this.wasPlaying_&&n.pause();this.closeable()&&this.on(this.el_.ownerDocument,"keydown",s.bind(this,this.handleKeyPress));this.playerControlsEnabled_=n.controls();this.playerControlsEnabled_&&n.controls(!1);this.show();this.el().setAttribute("aria-hidden","false");this.trigger("modalopen");this.hasBeenOpened_=!0}return this},t.prototype.opened=function(n){return"boolean"==typeof n&&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_&&n.play();this.closeable()&&this.off(this.el_.ownerDocument,"keydown",s.bind(this,this.handleKeyPress));this.playerControlsEnabled_&&n.controls(!0);this.hide();this.el().setAttribute("aria-hidden","true");this.trigger("modalclose");this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function(n){var i,t,r;return"boolean"==typeof n&&(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())),this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(n){var t=this.contentEl(),i=t.parentNode,u=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i&&i.removeChild(t),this.empty(),r.insertContent(t,n),this.trigger("modalfill"),i&&(u?i.insertBefore(t,u):i.appendChild(t)),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),r.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(n){return"undefined"!=typeof n&&(this.content_=n),this.content_},t}(h["default"]);e.prototype.options_={temporary:!0};h["default"].registerComponent("ModalDialog",e);i["default"]=e;t.exports=i["default"]},{"./close-button":162,"./component":163,"./utils/dom":241,"./utils/fn":243,"./utils/log":249}],210:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 rt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function ut(n,t){if("function"!=typeof t&&null!==t)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 v;i.__esModule=!0;var ft=n("./component.js"),h=r(ft),et=n("global/document"),o=r(et),ot=n("global/window"),y=r(ot),st=n("./utils/events.js"),p=s(st),ht=n("./utils/dom.js"),u=s(ht),ct=n("./utils/fn.js"),l=s(ct),lt=n("./utils/guid.js"),at=s(lt),vt=n("./utils/browser.js"),yt=s(vt),pt=n("./utils/log.js"),e=r(pt),wt=n("./utils/to-camel-case.js"),k=r(wt),bt=n("./utils/to-title-case.js"),w=r(bt),kt=n("./utils/time-ranges.js"),dt=n("./utils/buffer.js"),gt=n("./utils/stylesheet.js"),g=s(gt),ni=n("./fullscreen-api.js"),nt=r(ni),ti=n("./media-error.js"),d=r(ti),ii=n("safe-json-parse/tuple"),tt=r(ii),ri=n("object.assign"),c=r(ri),ui=n("./utils/merge-options.js"),b=r(ui),fi=n("./tracks/text-track-list-converter.js"),it=r(fi),ei=n("./tracks/audio-track-list.js"),oi=r(ei),si=n("./tracks/video-track-list.js"),hi=r(si),ci=n("./tech/loader.js"),li=(r(ci),n("./FullscreenOutline.js")),ai=(r(li),n("./poster-image.js")),vi=(r(ai),n("./tracks/text-track-display.js")),yi=(r(vi),n("./loading-spinner.js")),pi=(r(yi),n("./aria-alerts.js")),wi=(r(pi),n("./big-play-button.js")),bi=(r(wi),n("./control-bar/control-bar.js")),ki=(r(bi),n("./error-display.js")),di=(r(ki),n("./tracks/text-track-settings.js")),gi=(r(di),n("./modal-dialog")),nr=r(gi),tr=n("./utils/highContrastCheck.js"),ir=r(tr),rr=n("./utils/font-checker.js"),ur=r(rr),fr=n("./tech/tech.js"),a=r(fr),er=n("./tech/html5.js"),f=(r(er),function(n){function t(i,r,f,o){var l=this,h,s,a;if(rt(this,t),i.id=i.id||"vjs_video_"+at.newGUID(),r=c["default"](t.getTagSettings(i),r),AMP.Logger.setLogConfig(r.traceConfig),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof i.closest)h=i.closest("[lang]"),h&&(r.language=h.getAttribute("lang"));else for(s=i;s&&1===s.nodeType;){if(u.getElAttributes(s).hasOwnProperty("lang")){r.language=s.getAttribute("lang");break}s=s.parentNode}if(n.call(this,null,r,f),this.multiPlayerContainerDiv=null,this.styleEl_=null,this.sharedStyleAndParentDiv=!1,this.mainPlayer=null,o&&(this.multiPlayerContainerDiv=o.multiPlayerContainerDiv,this.styleEl_=o.styleEl_,this.sharedStyleAndParentDiv=!0,this.mainPlayer=o),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=i;this.tagAttributes=i&&u.getElAttributes(i);this.language(this.options_.language);r.languages?!function(){var n={};Object.getOwnPropertyNames(r.languages).forEach(function(t){n[t.toLowerCase()]=r.languages[t]});l.languages_=n}():this.languages_=t.prototype.options_.languages;this.cache_={};r.muted&&(this.cache_.muted=!0);this.cache_.volume=1;this.poster_=r.poster||"";i.poster="";this.controls_=!!r.controls;this.adClickEnabled_=!!r.adClickEnabled;i.controls=!1;this.scrubbing_=!1;this.el_=this.createEl();a=b["default"](this.options_);this.options_.playerOptions=a;this.initChildren();this.isAudio("audio"===i.nodeName.toLowerCase());this.addClass(this.controls()?"vjs-controls-enabled":"vjs-controls-disabled");this.isAudio()?this.el_.setAttribute("aria-label",r.ariaLabel||"audio player"):this.el_.setAttribute("aria-label",r.ariaLabel||"video player");this.isAudio()&&this.addClass("vjs-audio");this.flexNotSupported_()&&this.addClass("vjs-no-flex");this.addClass("vjs-player");yt.IS_IOS||this.addClass("vjs-workinghover");t.players[this.id_]=this;this.userActive(!0);this.reportUserActivity();this.listenForUserActivity_();this.on("fullscreenchange",this.handleFullscreenChange_);this.on("stageclick",this.handleStageClick_);this.addThrottledWindowResizeListener(function(){this.updateStyleEl_()},200,this);r.plugins&&!function(){var n=r.plugins;Object.getOwnPropertyNames(n).forEach(function(t){if("function"==typeof this[t])try{this[t](n[t])}catch(i){e["default"].error("plugin "+t+" failed:",i)}else e["default"].error("Unable to find plugin:",t)},l)}();this.on("keydown",this.handleKeyPress)}return ut(t,n),t.prototype.dispose=function(){this.el_&&(this.trigger("disposing"),this.trigger("dispose"),this.off("dispose"));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);this.sharedStyleAndParentDiv||(this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),this.multiPlayerContainerDiv&&this.multiPlayerContainerDiv.parentNode&&this.multiPlayerContainerDiv.parentNode.removeChild(this.multiPlayerContainerDiv),this.multiPlayerContainerDiv&&u.removeElData(this.multiPlayerContainerDiv),this.multiPlayerContainerDiv=null)},t.prototype.createEl=function(){var e=!1,i,t,r,o,s,h,c,f,l;for(this.multiPlayerContainerDiv||(this.multiPlayerContainerDiv=n.prototype.createEl.call(this,"div"),this.multiPlayerContainerDiv.playerId=this.tag.id,this.multiPlayerContainerDiv.player=this,e=!0),i=this.el_=n.prototype.createEl.call(this,"div"),t=this.tag,t.removeAttribute("width"),t.removeAttribute("height"),r=u.getElAttributes(t),o=this,(Object.getOwnPropertyNames(r).forEach(function(n){e&&("class"===n?o.multiPlayerContainerDiv.className=r[n]:o.multiPlayerContainerDiv.setAttribute(n,r[n]))}),null===this.mainPlayer?(this.el_.setAttribute("tabIndex",this.multiPlayerContainerDiv.getAttribute("tabIndex")),this.multiPlayerContainerDiv.setAttribute("tabIndex","-1")):this.el_.setAttribute("tabIndex",this.mainPlayer.el_.getAttribute("tabIndex")),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=i.player=this,this.addClass("vjs-paused"),y["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0&&null===this.styleEl_)&&(this.styleEl_=g.createStyleElement("vjs-styles-dimensions"),s=u.$(".vjs-styles-defaults"),h=u.$("head"),h.insertBefore(this.styleEl_,s?s.nextSibling:h.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),c=t.getElementsByTagName("a"),f=0;f<c.length;f++)l=c.item(f),u.addElClass(l,"vjs-hidden"),l.setAttribute("hidden","hidden");return t.initNetworkState_=t.networkState,e&&t.parentNode.insertBefore(this.multiPlayerContainerDiv,t),this.multiPlayerContainerDiv.appendChild(i),u.insertElFirst(t,i),this.children_.unshift(t),this.el_=i,ir["default"](),ur["default"](),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(void 0===t)return-1!==(""+this[i]).indexOf("%")?parseInt(this.multiPlayerContainerDiv["offset"+w["default"](n)],10):this[i]||0;if(""===t)this[i]=void 0;else if(-1!==(""+t).indexOf("%"))this.multiPlayerContainerDiv.style[n]=t,this[i]=t;else if("auto"===t)this._autoDimension=n;else{if(r=parseFloat(t),isNaN(r))return e["default"].error('Improper value "'+t+'" supplied for for '+n),this;this[i]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(n){return void 0===n?!!this.fluid_:(this.fluid_=!!n,void(n?u.addElClass(this.multiPlayerContainerDiv,"vjs-fluid"):u.removeElClass(this.multiPlayerContainerDiv,"vjs-fluid")))},t.prototype.aspectRatio=function(n){if(void 0===n)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 i,n;if(y["default"].VIDEOJS_NO_DYNAMIC_STYLE===!0){var r="number"==typeof this.width_?this.width_:this.options_.width,f="number"==typeof this.height_?this.height_:this.options_.height,t=this.tech_&&this.tech_.el();return void(t&&(r>=0&&(t.width=r),f>=0&&(t.height=f)))}i=20;n=l.bind(this,function(){var o=void 0,h=void 0,t=void 0,r=void 0,s,f,e;void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?t=this.aspectRatio_:this.videoWidth()?(t=this.videoWidth()+":"+this.videoHeight(),1080===this.videoHeight()&&1920===this.videoWidth()&&i--&&this.setTimeout(n,100)):(t="16:9",i--&&this.setTimeout(n,100));s=t.split(":");f=s[1]/s[0];o=void 0!==this.width_?this.dimension("width"):void 0!==this.height_?this.height_/f:this.videoWidth()||300;h=void 0!==this.height_?this.dimension("height"):o*f;e=u.getElAttributes(this.multiPlayerContainerDiv);r=/^[^a-zA-Z]/.test(e.id)?"dimensions-"+e.id:e.id+"-dimensions";null!==this.mainPlayer&&this.mainPlayer.sizeCal||(u.addElClass(this.multiPlayerContainerDiv,r),g.setTextContent(this.styleEl_,"\n                ."+r+" {\n                        width: "+o+"px;\n                        height: "+h+"px;\n                    }\n\n                ."+r+".vjs-fluid {\n                        padding-top: "+100*f+"%;\n                    }\n            "),this.sizeCal=!0)});n()},t.prototype.loadTech_=function(n,t){var f,i,r;this.tech_&&this.unloadTech_();"Html5"!==n&&"Html5FairPlayHLS"!==n&&this.tag&&(a["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null);this.techName_=n;this.isReady_=!1;f=this.id()+"_"+n+"_api_"+parseInt(1e4*Math.random());i=c["default"]({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:t,playerId:this.id(),techId:f,videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"],staleDataTimeLimitInSec:this.options_.staleDataTimeLimitInSec},this.options_[k["default"](n)]);i.playerOptions=c["default"]({},this.options_);this.tag&&(i.tag=this.tag);i.originalTagAttributes=this.tagAttributes;t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(i.startTime=this.cache_.currentTime),this.cache_.src=t.src);r=a["default"].getTech(n);r||(r=h["default"].getComponent(n));this.tech_=new r(i);this.tech_.ready(l.bind(this,this.handleTechReady_),!0);it["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);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_,"progress",this.handleTechProgress_);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_,"suspend",this.handleTechSuspend_);this.on(this.tech_,"abort",this.handleTechAbort_);this.on(this.tech_,"emptied",this.handleTechEmptied_);this.on(this.tech_,"stalled",this.handleTechStalled_);this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_);this.on(this.tech_,"loadeddata",this.handleTechLoadedData_);this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_);this.on(this.tech_,"ratechange",this.handleTechRateChange_);this.on(this.tech_,"volumechange",this.handleTechVolumeChange_);this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_);this.on(this.tech_,"loadedmetadata",this.updateStyleEl_);this.on(this.tech_,"posterchange",this.handleTechPosterChange_);this.on(this.tech_,"textdata",this.handleTechTextData_);this.on(this.tech_,"sourceset",this.handleTechSourceSet_);this.on(this.tech_,"downloadbitratechanged",this.handleTechDownloadBitrateChanged_);this.on(this.tech_,"playbackbitratechanged",this.handleTechPlaybackBitrateChanged_);this.on(this.tech_,"splicewaiting",this.handleTechSpliceWaiting_);this.usingNativeControls(this.techGet_("controls"));(this.controls()&&!this.usingNativeControls()||!this.controls()&&this.adClickEnabled_)&&this.addTechControlsListeners_();this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||u.insertElFirst(this.tech_.el(),this.el());this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks();this.textTracks_=this.textTracks();this.audioTracks_=this.audioTracks();this.textTracksJson_=it["default"].textTracksToJson(this.tech_);this.isReady_=!1;this.tech_.dispose();this.tech_=!1},t.prototype.tech=function(n){if(n&&n.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw y["default"].alert(t),new Error(t);},t.prototype.addTechControlsListeners_=function(){this.tech_&&(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.tech_&&(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.handleTechSourceSet_=function(){this.trigger("sourceset")},t.prototype.handleTechDownloadBitrateChanged_=function(){this.trigger("downloadbitratechanged")},t.prototype.handleTechPlaybackBitrateChanged_=function(){this.trigger("playbackbitratechanged")},t.prototype.handleTechSpliceWaiting_=function(){this.trigger("splicewaiting")},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.error(null);this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(n){return void 0!==n?(this.hasStarted_!==n&&(this.hasStarted_=n,n?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.removeClass("vjs-waiting");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.removeClass("vjs-waiting");this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&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.handleTechProgress_=function(){this.trigger("progress")},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(Math.round(this.techGet_("duration")));var t=function(n,t){null!=n&&(t?n.show():n.hide())},n=isFinite(this.duration());null!=this.controlBar&&(t(this.controlBar.progressControl,n),t(this.controlBar.currentTimeDisplay,n),t(this.controlBar.durationDisplay,n),t(this.controlBar.remainingTimeDisplay,n),n?this.controlBar.timeDivider.unblank():this.controlBar.timeDivider.blank())},t.prototype.handleTechClick_=function(n){0===n.button&&(this.controls()&&(this.paused()?this.play():this.pause()),this.trigger("tech-click"))},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()?(u.addElClass(this.multiPlayerContainerDiv,"vjs-fullscreen"),u.removeElClass(this.multiPlayerContainerDiv,"vjs-fluid")):(this.fluid()&&u.addElClass(this.multiPlayerContainerDiv,"vjs-fluid"),u.removeElClass(this.multiPlayerContainerDiv,"vjs-fullscreen"),this.updateStyleEl_())},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.handleTechSuspend_=function(){this.trigger("suspend")},t.prototype.handleTechAbort_=function(){this.trigger("abort")},t.prototype.handleTechEmptied_=function(){this.trigger("emptied")},t.prototype.handleTechStalled_=function(){this.trigger("stalled")},t.prototype.handleTechLoadedMetaData_=function(){this.error(null);this.trigger("loadedmetadataInternal");this.trigger("loadedmetadata")},t.prototype.handleTechTextData_=function(){var n=null;arguments.length>1&&(n=arguments[1]);this.trigger("textdata",n)},t.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},t.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},t.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},t.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},t.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(n,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[n](t)},!0);else try{this.tech_&&this.tech_[n](t)}catch(i){throw e["default"](i),i;}},t.prototype.techGet_=function(n){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[n]()}catch(t){throw void 0===this.tech_[n]?e["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?(e["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):e["default"](t),t;}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")===!1?!1:!0},t.prototype.scrubbing=function(n){return void 0!==n?(this.scrubbing_=!!n,n?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(n){var i=this.techGet_("currentTime")||0,t;return void 0!==n?(this.trigger("currentTimeChanging",{time:n}),t=this.duration(),0>=n?n=0:n>=t&&(n=t-.1),this.techCall_("setCurrentTime",n),i>n&&this.trigger("rewind"),this):this.cache_.currentTime=i},t.prototype.duration=function(n){return void 0===n?this.cache_.duration||0:(n=parseFloat(n)||0,0>n&&(n=1/0),n!==this.cache_.duration&&(this.cache_.duration=n,n===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function(){var n=this.techGet_("buffered");return n&&n.length||(n=kt.createTimeRange(0,0)),n},t.prototype.bufferedPercent=function(){return dt.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;return void 0!==n?(t=Math.max(0,Math.min(1,parseFloat(n))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(n){return void 0!==n?(n?this.cache_.muted=!0:(this.cache_.muted=!1,void 0!==this.cache_.volume&&this.volume(this.cache_.volume)),this.techCall_("setMuted",n),this.trigger(n?"mute":"unmute"),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(n){return void 0!==n?(this.isFullscreen_=!!n,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var n=nt["default"];return this.isFullscreen(!0),n.requestFullscreen?(p.on(o["default"],n.fullscreenchange,l.bind(this,function t(){this.isFullscreen(o["default"][n.fullscreenElement]);this.isFullscreen()===!1&&p.off(o["default"],n.fullscreenchange,t);this.trigger("fullscreenchange")})),this.multiPlayerContainerDiv[n.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var n=nt["default"];return this.isFullscreen(!1),n.requestFullscreen?o["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=o["default"].documentElement.style.overflow;p.on(o["default"],"keydown",l.bind(this,this.fullWindowOnEscKey));o["default"].documentElement.style.overflow="hidden";u.addElClass(o["default"].body,"vjs-full-window");this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(n){27===n.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1;p.off(o["default"],"keydown",this.fullWindowOnEscKey);o["default"].documentElement.style.overflow=this.docOrigOverflow;u.removeElClass(o["default"].body,"vjs-full-window");this.trigger("exitFullWindow")},t.prototype.canPlayType=function(n){for(var i,t,u=void 0,r=0,f=this.options_.techOrder;r<f.length;r++)if(i=w["default"](f[r]),t=a["default"].getTech(i),t||(t=h["default"].getComponent(i)),t){if(t.isSupported()&&(u=t.canPlayType(n)))return u}else e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.');return""},t.prototype.selectSource=function(n){var f=this,t=this.options_.techOrder.map(w["default"]).map(function(n){return[n,a["default"].getTech(n)||h["default"].getComponent(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_[k["default"](i)]))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){if(void 0===n)return this.techGet_("src");var t=a["default"].getTech(this.techName_);return t||(t=h["default"].getComponent(this.techName_)),Array.isArray(n)?this.sourceList_(n):"string"==typeof n?this.src({src:n}):n instanceof Object&&(n.type&&!t.canPlaySource(n,this.options_[k["default"](this.techName_)])?this.sourceList_([n]):(this.cache_.src=n.src,this.currentType_=n.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",n):this.techCall_("src",n.src);"auto"===this.options_.preload&&this.load();this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(n){var t=this.selectSource(n);t?t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_(w["default"](this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(n){return void 0!==n?(this.techCall_("setPreload",n),this.options_.preload=n,this.techCall_("updatePlayerOptions",this.options_),this):this.techGet_("preload")},t.prototype.autoplay=function(n){return void 0!==n?(this.techCall_("setAutoplay",n),this.options_.autoplay=n,this.techCall_("updatePlayerOptions",this.options_),this):this.techGet_("autoplay",n)},t.prototype.loop=function(n){return void 0!==n?(this.techCall_("setLoop",n),this.options_.loop=n,this.techCall_("updatePlayerOptions",this.options_),this):this.techGet_("loop")},t.prototype.poster=function(n){return void 0===n?this.poster_:(n||(n=""),this.poster_=n,this.techCall_("setPoster",n),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(n){return void 0!==n?(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_())),this):!!this.controls_},t.prototype.usingNativeControls=function(n){return void 0!==n?(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"))),this):!!this.usingNativeControls_},t.prototype.error=function(n){var t,i;return void 0===n?this.error_||null:(t=0,null!==n&&(t=n.code||0),null===n)?(this.error_=n,this.removeClass("vjs-error"),this.controlBar&&this.controlBar.volumeControl&&this.controlBar.volumeControl.volumeBar&&this.controlBar.volumeControl.volumeBar.el_.setAttribute("tabIndex",0),this.errorDisplay&&this.errorDisplay.close(),this):(this.retryPlayerLoad(t)||(this.error_=n instanceof d["default"]?n:new d["default"](n),this.checkWidewineHttpErrorScenario(n),this.addClass("vjs-error"),this.controlBar&&this.controlBar.volumeControl&&this.controlBar.volumeControl.volumeBar&&this.controlBar.volumeControl.volumeBar.el_.setAttribute("tabIndex",-1),e["default"].error((this.getFullAmpVersion?this.getFullAmpVersion():"")+" (CODE:"+this.error_.code+" "+d["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_),i=this,setTimeout(function(){i.trigger("error")},50)),this)},t.prototype.ended=function(){return this.techGet_("ended")},t.prototype.seeking=function(){return this.techGet_("seeking")},t.prototype.seekable=function(){return this.techGet_("seekable")},t.prototype.reportUserActivity=function(){this.userActivity_=!0},t.prototype.userActive=function(n){var t=u.hasElClass(this.multiPlayerContainerDiv,"vjs-user-active");return void 0!==n?(n=!!n,n!==t&&(n?(this.userActivity_=!0,u.removeElClass(this.multiPlayerContainerDiv,"vjs-user-inactive"),u.addElClass(this.multiPlayerContainerDiv,"vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(n){n.stopPropagation();n.preventDefault()}),u.removeElClass(this.multiPlayerContainerDiv,"vjs-user-active"),u.addElClass(this.multiPlayerContainerDiv,"vjs-user-inactive"),this.trigger("userinactive"))),this):t},t.prototype.listenForUserActivity_=function(){var t=void 0,r=void 0,u=void 0,n=l.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.isVisible()){this.userActivity_=!1;this.userActive(!0);this.clearTimeout(i);var n=this.options_.inactivityTimeout;n>0&&(i=this.setTimeout(function(){!this.userActivity_&&this.isVisible()&&this.userActive(!1)},n))}},250)},t.prototype.playbackRate=function(n){return void 0!==n?(this.techCall_("setPlaybackRate",n),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(n){return void 0!==n?(this.isAudio_=!!n,this):!!this.isAudio_},t.prototype.handleKeyPress=function(n){if(this.controls()&&this.isFullscreen()&&n.target===this.el_&&n.shiftKey&&9===n.which&&this.controls_){n.preventDefault();var t=this;setTimeout(function(){t.ariaAlerts.reverseFocus()},250)}},t.prototype.networkState=function(){return this.techGet_("networkState")},t.prototype.readyState=function(){return this.techGet_("readyState")},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new hi["default"],this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new oi["default"],this.audioTracks_)},t.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(n,t,i){return this.tech_&&this.tech_.addTextTrack(n,t,i)},t.prototype.addRemoteTextTrack=function(n){return this.tech_&&this.tech_.addRemoteTextTrack(n)},t.prototype.removeRemoteTextTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.track,i=void 0===n?arguments[0]:n;this.tech_&&this.tech_.removeRemoteTextTrack(i)},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){return void 0===n?this.language_:(this.language_=(""+n).toLowerCase(),this)},t.prototype.languages=function(){return t.prototype.options_.languagesMutated&&(t.prototype.options_.languagesMutated=!1,this.languages_=b["default"](t.prototype.options_.languages,this.languages_)),this.languages_},t.prototype.toJSON=function(){var i=b["default"](this.options_),r=i.tracks,n,t;for(i.tracks=[],n=0;n<r.length;n++)t=r[n],t=b["default"](t),t.player=void 0,i.tracks[n]=t;return i},t.prototype.createModal=function(n,t){var r=this,i;return t=t||{},t.content=n||"",i=new nr["default"](r,t),r.addChild(i),i.on("dispose",function(){r.removeChild(i)}),i.open()},t.getTagSettings=function(n){var t={sources:[],tracks:[]},f=u.getElAttributes(n),s=f["data-setup"];if(null!==s){var h=tt["default"](s||"{}"),i=h[0],l=h[1];i&&e["default"].error(i);c["default"](f,l)}if(c["default"](t,f),n.hasChildNodes())for(var a=n.childNodes,o=0,b=a.length;b>o;o++){var v=a[o],y=v.nodeName.toLowerCase(),r=u.getElAttributes(v),p=r["data-setup"];if(null!==p){var w=tt["default"](p||"{}"),i=w[0],l=w[1];i&&e["default"].error(i);c["default"](r,l)}"source"===y?t.sources.push(r):"track"===y&&t.tracks.push(r)}return t},t}(h["default"]));f.players={};v=y["default"].navigator;f.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:5e3,playbackRates:[],children:["mediaLoader","fullscreenOutline","posterImage","textTrackDisplay","loadingSpinner","bigPauseButton","bigPlayButton","controlBar","errorDisplay","textTrackSettings","ariaAlerts"],language:v.languages&&v.languages[0]||v.userLanguage||v.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",plugins:{},manifestFetchAutoRetryForLive:!1,maxRetryCountForLive:5,retryIntervalForLiveInMSec:2e3,playerStartupTimeoutInMSec:1e4,playerStartupTimeoutTimer:!1};f.prototype.handleTechLoadStart_;f.prototype.handleLoadedMetaData_;f.prototype.handleTextData_;f.prototype.handleLoadedData_;f.prototype.handleUserActive_;f.prototype.handleUserInactive_;f.prototype.handleTimeUpdate_;f.prototype.handleTechEnded_;f.prototype.handleVolumeChange_;f.prototype.handleError_;f.prototype.flexNotSupported_=function(){var n=o["default"].createElement("i");return!("flexBasis"in n.style||"webkitFlexBasis"in n.style||"mozFlexBasis"in n.style||"msFlexBasis"in n.style||"msFlexOrder"in n.style)};h["default"].registerComponent("Player",f);i["default"]=f;t.exports=i["default"]},{"./FullscreenOutline.js":157,"./aria-alerts.js":158,"./big-play-button.js":159,"./component.js":163,"./control-bar/control-bar.js":166,"./error-display.js":200,"./fullscreen-api.js":203,"./loading-spinner.js":204,"./media-error.js":205,"./modal-dialog":209,"./poster-image.js":214,"./tech/html5.js":219,"./tech/loader.js":220,"./tech/tech.js":222,"./tracks/audio-track-list.js":223,"./tracks/text-track-display.js":228,"./tracks/text-track-list-converter.js":229,"./tracks/text-track-settings.js":231,"./tracks/video-track-list.js":236,"./utils/browser.js":238,"./utils/buffer.js":239,"./utils/dom.js":241,"./utils/events.js":242,"./utils/fn.js":243,"./utils/font-checker.js":244,"./utils/guid.js":246,"./utils/highContrastCheck.js":247,"./utils/log.js":249,"./utils/merge-options.js":250,"./utils/stylesheet.js":251,"./utils/time-ranges.js":252,"./utils/to-camel-case.js":253,"./utils/to-title-case.js":254,"global/document":79,"global/window":80,"object.assign":73,"safe-json-parse/tuple":76}],211:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u=n("./player.js"),f=r(u),e=function(n,t){f["default"].prototype[n]=t};i["default"]=e;t.exports=i["default"]},{"./player.js":210}],212:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../clickable-component.js"),h=r(s),c=n("../component.js"),l=r(c),a=n("./popup.js"),v=(r(a),n("../utils/dom.js")),y=(u(v),n("../utils/fn.js")),p=(u(y),n("../utils/to-title-case.js")),f=(r(p),function(n){function t(i){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];e(this,t);n.call(this,i,r);this.update()}return o(t,n),t.prototype.update=function(){var n=this.createPopup();this.popup&&this.removeChild(this.popup);this.popup=n;this.addChild(n);this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},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}(h["default"]));l["default"].registerComponent("PopupButton",f);i["default"]=f;t.exports=i["default"]},{"../clickable-component.js":161,"../component.js":163,"../utils/dom.js":241,"../utils/fn.js":243,"../utils/to-title-case.js":254,"./popup.js":213}],213:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("../component.js"),u=e(h),c=n("../utils/dom.js"),l=r(c),a=n("../utils/fn.js"),v=r(a),y=n("../utils/events.js"),p=r(y),f=function(n){function t(){o(this,t);n.apply(this,arguments)}return s(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",v.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;return this.contentEl_=l.createEl(i,{className:"vjs-menu-content"}),t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}),t.appendChild(this.contentEl_),p.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()}),t},t}(u["default"]);u["default"].registerComponent("Popup",f);i["default"]=f;t.exports=i["default"]},{"../component.js":163,"../utils/dom.js":241,"../utils/events.js":242,"../utils/fn.js":243}],214:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if("function"!=typeof t&&null!==t)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 c=n("./clickable-component.js"),l=f(c),a=n("./component.js"),v=f(a),y=n("./utils/fn.js"),e=r(y),p=n("./utils/dom.js"),u=r(p),w=n("./utils/browser.js"),b=(r(w),n("./utils/url.js")),k=r(b),d=n("./utils/log.js"),g=f(d),o=function(n){function t(i,r){s(this,t);n.call(this,i,r);this.update();i.on("posterchange",e.bind(this,this.update));i.on("fullscreenchange",e.bind(this,this.updateCss));i.addThrottledWindowResizeListener(e.bind(this,this.updateCss),50)}return h(t,n),t.prototype.dispose=function(){this.player().off("posterchange",this.update);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=u.createEl("div",{className:"vjs-poster",tabIndex:-1});return this.span=u.createEl("span",{className:"vjs-poster-span",tabIndex:-1}),n.appendChild(this.span),this.fallbackImg_=u.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){var t,i;(n&&(n=k.getAbsoluteURL(n),-1===n.search(/^(https?:)?\/\//i)&&(g["default"].warn("ignoring invalid poster URL"),n="")),this.fallbackImg_)?(t=this,this.fallbackImg_.onload=function(){t.updateCss()},this.fallbackImg_.src=n,this.fallbackImg_.style.display="none",this.addCrossOriginPolicy(this.player().options().corsPolicy,this.fallbackImg_),setTimeout(function(){t.updateCss()},500)):(i="",n&&(i='url("'+n+'")'),this.el_.style.backgroundImage=i)},t.prototype.updateCss=function(){var n,t,i,r,f,e;this.fallbackImg_.style.display="inline";n="100%";t="auto";this.fallbackImg_.naturalHeight&&this.fallbackImg_.naturalWidth&&this.fallbackImg_.parentElement&&(i=this.fallbackImg_.parentElement.clientWidth,r=this.fallbackImg_.parentElement.clientHeight,r&&i?(f=i/r,e=this.fallbackImg_.naturalWidth/this.fallbackImg_.naturalHeight,f>e&&(t="100%",n="auto")):this.fallbackImg_.naturalHeight>this.fallbackImg_.naturalWidth&&(t="100%",n="auto"));u.setElAttributes(this.fallbackImg_,{width:n,height:t})},t.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t}(l["default"]);v["default"].registerComponent("PosterImage",o);i["default"]=o;t.exports=i["default"]},{"./clickable-component.js":161,"./component.js":163,"./utils/browser.js":238,"./utils/dom.js":241,"./utils/fn.js":243,"./utils/log.js":249,"./utils/url.js":255}],215:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}var h;i.__esModule=!0;var l=n("./utils/events.js"),a=c(l),v=n("global/document"),u=e(v),y=n("global/window"),p=e(y),r=!1,o=void 0,s=function(){var s=u["default"].getElementsByTagName("video"),h=u["default"].getElementsByTagName("audio"),t=[],n,i,e,c;if(s&&s.length>0)for(n=0,i=s.length;i>n;n++)t.push(s[n]);if(h&&h.length>0)for(n=0,i=h.length;i>n;n++)t.push(h[n]);if(t&&t.length>0)for(n=0,i=t.length;i>n;n++){if(e=t[n],!e||!e.getAttribute){f(1);break}void 0===e.player&&(c=e.getAttribute("data-setup"),null!==c&&o(e))}else r||f(1)},f=function(n,t){t&&(o=t);setTimeout(s,n)};"complete"===u["default"].readyState?r=!0:a.one(p["default"],"load",function(){r=!0});h=function(){return r};i.autoSetup=s;i.autoSetupTimeout=f;i.hasLoaded=h},{"./utils/events.js":242,"global/document":79,"global/window":80}],216:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if("function"!=typeof t&&null!==t)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 l=n("../component.js"),f=u(l),a=n("../utils/dom.js"),r=s(a),v=n("object.assign"),e=u(v),o=function(n){function t(i,r){h(this,t);n.call(this,i,r);this.bar=this.getChild(this.options_.barName);this.seekHandle=this.getChild(this.options_.handleName);i.controls_&&this.vertical(!!this.options_.vertical);this.on("mousedown",this.handleMouseDown);this.on("touchstart",this.handleMouseDown);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur);this.on("click",this.handleClick);this.on(i,"controlsvisible",this.update);this.on(i,this.playerEvent,this.update)}return c(t,n),t.prototype.createEl=function(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return i.className=i.className+" vjs-slider",i=e["default"]({tabIndex:0},i),r=e["default"]({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;this.el_&&(n=this.getPercent(),t=this.bar,t&&(("number"!=typeof n||n!==n||0>n||n===1/0)&&(n=0),i=(100*n).toFixed(2)+"%",this.vertical()?t.el().style.height=i:t.el().style.width=i,this.seekHandle&&this.seekHandle.update()))},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){37===n.which||40===n.which?(n.preventDefault(),this.stepBack()):(38===n.which||39===n.which)&&(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){return void 0===n?this.vertical_||!1:(this.vertical_=!!n,this.addClass(this.vertical_?"vjs-slider-vertical":"vjs-slider-horizontal"),this)},t}(f["default"]);f["default"].registerComponent("Slider",o);i["default"]=o;t.exports=i["default"]},{"../component.js":163,"../utils/dom.js":241,"object.assign":73}],217:[function(n,t,i){"use strict";function r(n){return n.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},n.streamFromParts=function(n,t){return n+"&"+t},n.streamToParts=function(n){var r={connection:"",stream:""},t,i;return n?(t=n.search(/&(?!\w+=)/),i=void 0,-1!==t?i=t+1:(t=i=n.lastIndexOf("/")+1,0===t&&(t=i=n.length)),r.connection=n.substring(0,t),r.stream=n.substring(i,n.length),r):r},n.isStreamingType=function(t){return t in n.streamingFormats},n.RTMP_RE=/^rtmp[set]?:\/\//i,n.isStreamingSrc=function(t){return n.RTMP_RE.test(t)},n.rtmpSourceHandler={},n.rtmpSourceHandler.canPlayType=function(t){return n.isStreamingType(t)?"maybe":""},n.rtmpSourceHandler.canHandleSource=function(t){var i=n.rtmpSourceHandler.canPlayType(t.type);return i?i:n.isStreamingSrc(t.src)?"maybe":""},n.rtmpSourceHandler.handleSource=function(t,i){var r=n.streamToParts(t.src);i.setRtmpConnection(r.connection);i.setRtmpStream(r.stream)},n.registerSourceHandler(n.rtmpSourceHandler),n}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],218:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(n,t){if("function"!=typeof t&&null!==t)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 g(n){var t=n.charAt(0).toUpperCase()+n.slice(1);w["set"+t]=function(t){return this.el_.vjs_setProperty(n,t)}}function v(n){w[n]=function(){return this.el_.vjs_getProperty(n)}}var f;i.__esModule=!0;for(var nt=n("./tech"),c=e(nt),tt=n("../utils/dom.js"),s=a(tt),it=n("../utils/url.js"),y=a(it),h=n("../utils/time-ranges.js"),p=n("./swfobject.js"),rt=n("./flash-rtmp"),ut=e(rt),ft=n("../component"),et=e(ft),ot=n("global/window"),u=e(ot),st=n("object.assign"),o=e(st),r=(u["default"].navigator,function(n){function t(i,r){k(this,t);n.call(this,i,r);i.source&&this.ready(function(){this.setSource(i.source)},!0);i.startTime&&this.ready(function(){this.load();this.play();this.currentTime(i.startTime)},!0);u["default"].videojs=u["default"].videojs||{};u["default"].videojs.Flash=u["default"].videojs.Flash||{};u["default"].videojs.Flash.onReady=t.onReady;u["default"].videojs.Flash.onEvent=t.onEvent;u["default"].videojs.Flash.onError=t.onError;this.on("seeked",function(){this.lastSeekTarget_=void 0})}return d(t,n),t.prototype.createEl=function(){var n=this.options_,i=n.techId,r=o["default"]({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:n.autoplay,preload:n.preload,loop:n.loop,muted:n.muted},n.flashVars),u=o["default"]({wmode:"opaque",bgcolor:"#000000"},n.params),f=o["default"]({id:i,name:i,"class":"vjs-tech"},n.attributes);return this.el_=t.embed(n.swf,r,u,f),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0);this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(n){return void 0===n?this.currentSrc():this.setSrc(n)},t.prototype.setSrc=function(n){if(n=y.getAbsoluteURL(n),this.el_.vjs_src(n),this.autoplay()){var t=this;this.setTimeout(function(){t.play()},0)}},t.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},t.prototype.setCurrentTime=function(t){var i=this.seekable();i.length&&(t=t>i.start(0)?t:i.start(0),t=t<i.end(i.length-1)?t:i.end(i.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),n.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function(){if(0===this.readyState())return NaN;var n=this.el_.vjs_getProperty("duration");return n>=0?n:1/0},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var n=this.duration();return 0===n?h.createTimeRange():h.createTimeRange(0,n)},t.prototype.buffered=function(){var n=this.el_.vjs_getProperty("buffered");return 0===n.length?h.createTimeRange():h.createTimeRange(n[0][0],n[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(c["default"])),w=r.prototype,l="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),b="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),f=0;f<l.length;f++)v(l[f]),g(l[f]);for(f=0;f<b.length;f++)v(b[f]);r.isSupported=function(){return p.swfobject.hasFlashPlayerVersion("11.4")};r.isVersionSupported=function(n){return p.swfobject.hasFlashPlayerVersion(n)};c["default"].withSourceHandlers(r);r.nativeSourceHandler={};r.nativeSourceHandler.canPlayType=function(n){return n in r.formats?"maybe":""};r.nativeSourceHandler.canHandleSource=function(n){function i(n){var t=y.getFileExtension(n);return t?"video/"+t:""}var t;return t=n.type?n.type.replace(/;.*/,"").toLowerCase():i(n.src),r.nativeSourceHandler.canPlayType(t)};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);r.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};r.onReady=function(n){var i=s.getEl(n),t=i&&i.tech;t&&t.el()&&r.checkReady(t)};r.checkReady=function(n){n.el()&&(n.el().vjs_getProperty?n.triggerReady():this.setTimeout(function(){r.checkReady(n)},50))};r.onEvent=function(n,t){var i=s.getEl(n).tech;i.trigger(t,Array.prototype.slice.call(arguments,2))};r.onError=function(n,t){var i=s.getEl(n).tech;return"srcnotfound"===t?i.error(4):void i.error("FLASH: "+t)};r.embed=function(n,t,i,u){var f=r.getEmbedCode(n,t,i,u);return s.createEl("div",{innerHTML:f}).childNodes[0]};r.getEmbedCode=function(n,t,i,r){var u="",f="",e="";return t&&Object.getOwnPropertyNames(t).forEach(function(n){u+=encodeURIComponent(n)+"="+encodeURIComponent(t[n])+"&amp;"}),delete i.flashvars,i=o["default"]({movie:n,flashvars:u,allowScriptAccess:"always",allowNetworking:"all"},i),Object.getOwnPropertyNames(i).forEach(function(n){f+='<param name="'+encodeURIComponent(n)+'" value="'+("flashvars"!==n?encodeURI(i[n]):i[n])+'" />'}),r=o["default"]({data:n,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(n){e+=encodeURIComponent(n)+'="'+encodeURI(r[n])+'" '}),'<object type="application/x-shockwave-flash" '+e+">"+f+"<\/object>"};ut["default"](r);et["default"].registerComponent("Flash",r);c["default"].registerTech("Flash",r);i["default"]=r;t.exports=i["default"]},{"../component":163,"../utils/dom.js":241,"../utils/time-ranges.js":252,"../utils/url.js":255,"./flash-rtmp":217,"./swfobject.js":221,"./tech":222,"global/window":80,"object.assign":73}],219:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if("function"!=typeof t&&null!==t)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 k(n,t){return n.raw=t,n}var h;i.__esModule=!0;var d=k(["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."]),g=n("./tech.js"),a=u(g),nt=n("../component"),tt=u(nt),it=n("../utils/dom.js"),c=s(it),rt=n("../utils/url.js"),v=s(rt),ut=n("../utils/fn.js"),o=s(ut),ft=n("../utils/log.js"),y=u(ft),et=n("tsml"),ot=u(et),st=n("../../../src/js/tracks/text-track.js"),ht=(u(st),n("../utils/browser.js")),f=s(ht),ct=n("global/document"),l=u(ct),lt=n("global/window"),at=u(lt),vt=n("object.assign"),yt=u(vt),pt=n("../utils/merge-options.js"),wt=u(pt),bt=n("../utils/to-title-case.js"),p=u(bt),kt=n("../utils/guid.js"),dt=s(kt),r=function(n){function t(i,r){var u=this,s,h,e,nt,l,tt,b;if(w(this,t),n.call(this,i,r),s=i.source,h=!1,s&&(this.el_.currentSrc!==s.src||i.tag&&3===i.tag.initNetworkState_)?this.setSource(s):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var k=this.el_.childNodes,g=k.length,a=[];g--;)e=k[g],nt=e.nodeName.toLowerCase(),"track"===nt&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(e),this.remoteTextTracks().addTrack_(e.track),h||this.el_.hasAttribute("crossorigin")||!v.isCrossOrigin(e.src)||(h=!0)):a.push(e));for(l=0;l<a.length;l++)this.el_.removeChild(a[l])}tt=["audio","video"];tt.forEach(function(n){var i=p["default"](n),t;u["featuresNative"+i+"Tracks"]&&(t=u.el()[n+"Tracks"],t&&t.addEventListener&&(t.addEventListener("change",o.bind(u,u["handle"+i+"TrackChange_"])),t.addEventListener("addtrack",o.bind(u,u["handle"+i+"TrackAdd_"])),t.addEventListener("removetrack",o.bind(u,u["handle"+i+"TrackRemove_"])),u.on("loadstart",u["removeOld"+i+"Tracks_"])))});this.featuresNativeTextTracks&&(h&&y["default"].warn(ot["default"](d)),this.handleTextTrackChange_=o.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=o.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=o.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_());(f.TOUCH_ENABLED||f.IS_IPHONE||f.IS_NATIVE_ANDROID)&&i.nativeControlsForTouch===!0&&this.setControls(!0);b="auto";"auto"!==c.getElAttributes(this.el_).preload&&(b="none");c.setElAttributes(this.el_,{oncontextmenu:"return false;",preload:b,tabindex:"-1"});this.setPoster(this.options_.playerOptions.poster||"");this.triggerReady()}return b(t,n),t.prototype.dispose=function(){var i=this;["audio","video","text"].forEach(function(n){var r=p["default"](n),t=i.el_[n+"Tracks"];t&&t.removeEventListener&&(t.removeEventListener("change",i["handle"+r+"TrackChange_"]),t.removeEventListener("addtrack",i["handle"+r+"TrackAdd_"]),t.removeEventListener("removetrack",i["handle"+r+"TrackRemove_"]));t&&i.off("loadstart",i["removeOld"+r+"Tracks_"])});t.disposeMediaElement(this.el_);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_.tag,u,h,e,o,i,r,s;for(n&&this.movingMediaElementInDOM!==!1||(n?(u=n.cloneNode(!0),n.parentNode.insertBefore(u,n),t.disposeMediaElement(n),n=u):(n=l["default"].createElement("video"),h=this.options_.originalTagAttributes,e=wt["default"]({},h),f.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,c.setElAttributes(n,yt["default"](e,{id:this.options_.techId,"class":"vjs-tech"})))),o=["autoplay","preload","loop","muted"],i=o.length-1;i>=0;i--)r=o[i],s={},"undefined"!=typeof this.options_[r]&&(s[r]=this.options_[r]),c.setElAttributes(n,s);return n},t.prototype.handleLateInit_=function(n){var i=this,r,t;if(0!==n.networkState&&3!==n.networkState){if(0===n.readyState&&(r=function(){var n=!1,r=function(){n=!0},t;i.on("loadstart",r);return t=function(){n||this.trigger("loadstart")},i.on("loadedmetadata",t),i.ready(function(){this.off("loadstart",r);this.off("loadedmetadata",t);n||this.trigger("loadstart")}),{v:void 0}}(),"object"==typeof r))return r.v;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.proxyNativeTextTracks_=function(){var n=this.el().textTracks,t;if(n){for(t=0;t<n.length;t++)this.textTracks().addTrack_(n[t]);n.addEventListener&&(n.addEventListener("change",this.handleTextTrackChange_),n.addEventListener("addtrack",this.handleTextTrackAdd_),n.addEventListener("removetrack",this.handleTextTrackRemove_));this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(){var n=this.textTracks();this.textTracks().trigger({type:"change",target:n,currentTarget:n,srcElement:n})},t.prototype.handleTextTrackAdd=function(n){this.textTracks().addTrack_(n.track)},t.prototype.handleTextTrackRemove=function(n){this.textTracks().removeTrack_(n.track)},t.prototype.handleVideoTrackChange_=function(){var n=this.videoTracks();this.videoTracks().trigger({type:"change",target:n,currentTarget:n,srcElement:n})},t.prototype.handleVideoTrackAdd_=function(n){this.videoTracks().addTrack_(n.track)},t.prototype.handleVideoTrackRemove_=function(n){this.videoTracks().removeTrack_(n.track)},t.prototype.handleAudioTrackChange_=function(){var n=this.audioTracks();this.audioTracks().trigger({type:"change",target:n,currentTarget:n,srcElement:n})},t.prototype.handleAudioTrackAdd_=function(n){this.audioTracks().addTrack_(n.track)},t.prototype.handleAudioTrackRemove_=function(n){this.audioTracks().removeTrack_(n.track)},t.prototype.removeOldTracks_=function(n,t){var r=[],i,o;if(t){for(i=0;i<n.length;i++){for(var f=n[i],e=!1,u=0;u<t.length;u++)if(t[u]===f){e=!0;break}e||r.push(f)}for(i=0;i<r.length;i++)o=r[i],n.removeTrack_(o)}},t.prototype.removeOldTextTracks_=function(){var n=this.textTracks(),t=this.el().textTracks;this.removeOldTracks_(n,t)},t.prototype.removeOldAudioTracks_=function(){var n=this.audioTracks(),t=this.el().audioTracks;this.removeOldTracks_(n,t)},t.prototype.removeOldVideoTracks_=function(){var n=this.videoTracks(),t=this.el().videoTracks;this.removeOldTracks_(n,t)},t.prototype.play=function(){var n=this.el_.play();void 0!==n&&"function"==typeof n.then&&n.then(null,function(){})},t.prototype.pause=function(){this.el_.pause()},t.prototype.paused=function(){return this.el_.paused},t.prototype.currentTime=function(){return this.el_.currentTime},t.prototype.currentAbsoluteTime=function(){return void 0},t.prototype.currentMediaTime=function(){return void 0},t.prototype.setCurrentTime=function(n){try{this.el_.currentTime=n}catch(t){y["default"](t,"Video is not ready. (Video.js)")}},t.prototype.currentVideoStreamList=function(){return void 0},t.prototype.currentAudioStreamList=function(){return void 0},t.prototype.videoBufferData=function(){return void 0},t.prototype.audioBufferData=function(){return void 0},t.prototype.currentDownloadBitrate=function(){return void 0},t.prototype.currentPlaybackBitrate=function(){return void 0},t.prototype.duration=function(){return this.el_.duration||0},t.prototype.buffered=function(){return this.el_.buffered},t.prototype.isLive=function(){return this.duration()===1/0||this.duration()===Number.MAX_VALUE?!0:!1},t.prototype.volume=function(){return this.el_.volume},t.prototype.setVolume=function(n){this.el_.volume=n},t.prototype.muted=function(){return this.el_.muted},t.prototype.setMuted=function(n){this.el_.muted=n},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var n=at["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_;"webkitDisplayingFullscreen"in n&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})});this.trigger("fullscreenchange",{isFullscreen:!0})});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){return void 0===n?this.el_.src:void this.setSrc(n)},t.prototype.setSrc=function(n){this.addCrossOriginPolicy(this.options_.playerOptions.corsPolicy);this.setAutoplay(this.options_.playerOptions.autoplay);this.el_.src=n},t.prototype.load=function(){this.el_.load()},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.poster=function(){return this.el_.poster},t.prototype.setPoster=function(n){(void 0===n||""===n)&&this.el_.removeAttribute("poster");this.trigger("posterchange")},t.prototype.preload=function(){return this.el_.preload},t.prototype.setPreload=function(n){this.el_.preload=n},t.prototype.autoplay=function(){return this.el_.autoplay},t.prototype.setAutoplay=function(n){this.el_.autoplay=n},t.prototype.controls=function(){return this.el_.controls},t.prototype.setControls=function(n){this.el_.controls=!!n},t.prototype.loop=function(){return this.el_.loop},t.prototype.setLoop=function(n){this.el_.loop=n},t.prototype.error=function(t){return void 0===t?this.error_||this.el_.error:void n.prototype.error.call(this,t)},t.prototype.seeking=function(){return this.el_.seeking},t.prototype.seekable=function(){return this.el_.seekable},t.prototype.ended=function(){return this.el_.ended},t.prototype.defaultMuted=function(){return this.el_.defaultMuted},t.prototype.playbackRate=function(){return this.el_.playbackRate},t.prototype.played=function(){return this.el_.played},t.prototype.setPlaybackRate=function(n){this.el_.playbackRate=n},t.prototype.networkState=function(){return this.el_.networkState},t.prototype.readyState=function(){return this.el_.readyState},t.prototype.videoWidth=function(){return this.el_.videoWidth},t.prototype.videoHeight=function(){return this.el_.videoHeight},t.prototype.textTracks=function(){return n.prototype.textTracks.call(this)},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.addRemoteTextTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],i;return this.featuresNativeTextTracks?(i=l["default"].createElement("track"),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||(t.id="vjs_track_"+dt.newGUID()),t.id&&(i.id=t.id),t.src&&(i.src=t.src),this.el().appendChild(i),this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack_(i.track),i):n.prototype.addRemoteTextTrack.call(this,t)},t.prototype.removeRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.removeRemoteTextTrack.call(this,t);var i=void 0,r=void 0,u=this.remoteTextTrackEls().getTrackElementByTrack_(t);for(this.remoteTextTrackEls().removeTrackElement_(u),this.remoteTextTracks().removeTrack_(t),i=this.$$("track"),r=i.length;r--;)(t===i[r]||t===i[r].track)&&this.el().removeChild(i[r])},t}(a["default"]);r.TEST_VID=l["default"].createElement("video");h=l["default"].createElement("track");h.kind="captions";h.srclang="en";h.label="English";r.TEST_VID.appendChild(h);r.isSupported=function(){try{r.TEST_VID.volume=.5}catch(n){return!1}return!!r.TEST_VID.canPlayType};a["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){var i,t;if(n.protectionInfo&&n.protectionInfo.length>0)for(t=0;t<n.protectionInfo.length;t++)if("PlayReady"===n.protectionInfo[t].type||"Widevine"===n.protectionInfo[t].type||"FairPlay"===n.protectionInfo[t].type)return"";return n.type?r.nativeSourceHandler.canPlayType(n.type):n.src?(i=v.getFileExtension(n.src),r.nativeSourceHandler.canPlayType("video/"+i)):""};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);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(){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.isPreloadSupported=function(){return f.IS_IOS&&f.IS_SAFARI?!1:!0};r.supportsNativeTextTracks=function(){var n;return n=!!r.TEST_VID.textTracks,n&&r.TEST_VID.textTracks.length>0&&(n="number"!=typeof r.TEST_VID.textTracks[0].mode),n&&f.IS_FIREFOX&&(n=!1),!n||"onremovetrack"in r.TEST_VID.textTracks||(n=!1),n};r.supportsNativeVideoTracks=function(){return!!r.TEST_VID.videoTracks};r.supportsNativeAudioTracks=function(){return!!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","volumechange"];r.prototype.featuresVolumeControl=r.canControlVolume();r.prototype.featuresPlaybackRate=r.canControlPlaybackRate();r.prototype.featuresPreload=r.isPreloadSupported();r.prototype.movingMediaElementInDOM=!f.IS_IOS;r.prototype.featuresFullscreenResize=!0;r.prototype.featuresProgressEvents=!0;r.prototype.featuresNativeTextTracks=r.supportsNativeTextTracks();r.prototype.featuresNativeVideoTracks=r.supportsNativeVideoTracks();r.prototype.featuresNativeAudioTracks=r.supportsNativeAudioTracks();var e=void 0,gt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,ni=/^video\/mp4/i;r.patchCanPlayType=function(){f.ANDROID_VERSION>=4&&(e||(e=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&gt.test(n)?"maybe":e.call(this,n)});f.IS_OLD_ANDROID&&(e||(e=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&ni.test(n)?"maybe":e.call(this,n)})};r.unpatchCanPlayType=function(){var n=r.TEST_VID.constructor.prototype.canPlayType;return r.TEST_VID.constructor.prototype.canPlayType=e,e=null,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");"function"==typeof n.load&&!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");"function"==typeof n.load&&!function(){try{n.load()}catch(t){}}()}};tt["default"].registerComponent("Html5",r);a["default"].registerTech("Html5",r);i["default"]=r;t.exports=i["default"]},{"../../../src/js/tracks/text-track.js":232,"../component":163,"../utils/browser.js":238,"../utils/dom.js":241,"../utils/fn.js":243,"../utils/guid.js":246,"../utils/log.js":249,"../utils/merge-options.js":250,"../utils/to-title-case.js":254,"../utils/url.js":255,"./tech.js":222,"global/document":79,"global/window":80,"object.assign":73,tsml:77}],220:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("../component.js"),u=r(s),h=n("./tech.js"),c=r(h),l=n("global/window"),a=(r(l),n("../utils/to-title-case.js")),v=r(a),f=function(n){function t(i,r,f){var s,l,o,h;if(e(this,t),n.call(this,i,r,f),r.playerOptions.sources&&0!==r.playerOptions.sources.length)i.src(r.playerOptions.sources);else for(s=0,l=r.playerOptions.techOrder;s<l.length;s++)if(o=v["default"](l[s]),h=c["default"].getTech(o),o||(h=u["default"].getComponent(o)),h&&h.isSupported()){i.loadTech_(o);break}}return o(t,n),t}(u["default"]);u["default"].registerComponent("MediaLoader",f);i["default"]=f;t.exports=i["default"]},{"../component.js":163,"../utils/to-title-case.js":254,"./tech.js":222,"global/window":80}],221:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var f=n("global/window"),u=r(f),e=n("global/document"),o=r(e),s=function(){function n(n){return parseInt(n,10)}function l(t){t+="";var r=c.pv,i=t.split(".");return i[0]=n(i[0]),i[1]=n(i[1])||0,i[2]=n(i[2])||0,i[3]=n(i[3])||0,r[0]>i[0]||r[0]===i[0]&&r[1]>i[1]||r[0]===i[0]&&r[1]===i[1]&&r[2]>i[2]||r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2]&&r[3]>=i[3]?!0:!1}var i="undefined",a="object",f="Shockwave Flash",v="ShockwaveFlash.ShockwaveFlash",r="application/x-shockwave-flash",s=u["default"],e=o["default"],t=u["default"].navigator,h=!1,c=function(){var b=typeof e.getElementById!==i&&typeof e.getElementsByTagName!==i&&typeof e.createElement!==i,l=t.userAgent.toLowerCase(),y=t.platform.toLowerCase(),k=/win/.test(y?y:l),d=/mac/.test(y?y:l),g=/webkit/.test(l)?parseFloat(l.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,p="Microsoft Internet Explorer"===t.appName,o=[0,0,0,145],u=null,c,w;if(typeof t.plugins!==i&&typeof t.plugins[f]===a)(u=t.plugins[f].version,u&&typeof t.mimeTypes!==i&&t.mimeTypes[r]&&t.mimeTypes[r].enabledPlugin)?(h=!0,p=!1,c=u.split("."),o[0]=n(c[0]),o[1]=n(c[1]),o[2]=n(c[2]),o[3]=n(c[3])):(u=t.plugins[f].description,u&&typeof t.mimeTypes!==i&&t.mimeTypes[r]&&t.mimeTypes[r].enabledPlugin&&(h=!0,p=!1,u=u.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),o[0]=n(u.replace(/^(.*)\..*$/,"$1")),o[1]=n(u.replace(/^.*\.(.*)\s.*$/,"$1")),o[2]=/[a-zA-Z]/.test(u)?n(u.replace(/^.*[a-zA-Z]+(.*)$/,"$1")):0));else if(typeof s.ActiveXObject!==i)try{w=new s.ActiveXObject(v);w&&(u=w.GetVariable("$version"),u&&(p=!0,u=u.split(" ")[1].split(","),o=[n(u[0]),n(u[1]),n(u[2])]))}catch(nt){}return{w3:b,pv:o,wk:g,ie:p,win:k,mac:d}}();return{ua:c,hasFlashPlayerVersion:l}}();i.swfobject=s},{"global/document":79,"global/window":80}],222:[function(n,t,i){"use strict";function v(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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("function"!=typeof t&&null!==t)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 a;i.__esModule=!0;var w=n("../component"),e=u(w),b=n("../tracks/html-track-element"),k=u(b),d=n("../tracks/html-track-element-list"),g=u(d),nt=n("../utils/merge-options.js"),tt=u(nt),it=n("../tracks/text-track"),rt=u(it),ut=n("../tracks/text-track-list"),h=u(ut),ft=n("../tracks/video-track"),et=(u(ft),n("../tracks/video-track-list")),ot=u(et),st=n("../tracks/audio-track-list"),ht=u(st),ct=n("../tracks/audio-track"),lt=(u(ct),n("../utils/fn.js")),o=v(lt),at=n("../utils/log.js"),c=u(at),s=n("../utils/time-ranges.js"),vt=n("../utils/buffer.js"),yt=n("../media-error.js"),l=u(yt),pt=n("global/window"),f=u(pt),wt=n("global/document"),bt=u(wt),r=function(n){function t(){var i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1];y(this,t);i.reportTouchActivity=!1;n.call(this,null,i,r);this.hasStarted_=!1;this.on("playing",function(){this.hasStarted_=!0});this.on("loadstart",function(){this.hasStarted_=!1});this.textTracks_=i.textTracks;this.videoTracks_=i.videoTracks;this.audioTracks_=i.audioTracks;this.featuresProgressEvents||this.manualProgressOn();this.featuresTimeupdateEvents||this.manualTimeUpdatesOn();(i.nativeCaptions===!1||i.nativeTextTracks===!1)&&(this.featuresNativeTextTracks=!1);this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks);this.initTextTrackListeners();this.initTrackListeners();this.emitTapEvents()}return p(t,n),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);this.manualProgress=!0;this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(o.bind(this,function(){var n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress");this.bufferedPercent_=n;1===n&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(){this.duration_=this.duration()},t.prototype.buffered=function(){return s.createTimeRange(0,0)},t.prototype.bufferedPercent=function(){return vt.bufferedPercent(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime);this.one("timeupdate",function(n){n.manuallyTriggered||(this.featuresTimeupdateEvents=!0,this.manualTimeUpdatesOff())})},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(["audio","video","text"]);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();n.prototype.dispose.call(this)},t.prototype.clearTracks=function(n){var t=this;n=[].concat(n);n.forEach(function(n){for(var u,i=t[n+"Tracks"]()||[],r=i.length;r--;)u=i[r],"text"===n&&t.removeRemoteTextTrack(u),i.removeTrack_(u)})},t.prototype.reset=function(){},t.prototype.error=function(n){return void 0!==n&&(this.error_=n instanceof l["default"]?n:new l["default"](n),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?s.createTimeRange(0,0):s.createTimeRange()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var t=o.bind(this,function(){this.trigger("texttrackchange")}),n=this.textTracks();n&&(n.addEventListener("removetrack",t),n.addEventListener("addtrack",t),this.on("dispose",o.bind(this,function(){n.removeEventListener("removetrack",t);n.removeEventListener("addtrack",t)})))},t.prototype.initTrackListeners=function(){var n=this;["video","audio"].forEach(function(t){var i=function(){n.trigger(t+"trackchange")},r=n[t+"Tracks"]();r.addEventListener("removetrack",i);r.addEventListener("addtrack",i);n.on("dispose",function(){r.removeEventListener("removetrack",i);r.removeEventListener("addtrack",i)})})},t.prototype.emulateTextTracks=function(){var n=this,t=this.textTracks(),i,r;t&&(f["default"].WebVTT||null==this.el().parentNode||!function(){var t=bt["default"].createElement("script");t.src=n.options_["vtt.js"]||"../node_modules/videojs-vtt.js/dist/vtt.js";t.onload=function(){n.trigger("vttjsloaded")};t.onerror=function(){n.trigger("vttjserror")};n.on("dispose",function(){t.onload=null;t.onerror=null});f["default"].WebVTT=!0;n.el().parentNode.appendChild(t)}(),i=function(){return n.trigger("texttrackchange")},r=function(){var n,r;for(i(),n=0;n<t.length;n++)r=t[n],r.removeEventListener("cuechange",i),"showing"===r.mode&&r.addEventListener("cuechange",i)},r(),t.addEventListener("change",r),this.on("dispose",function(){t.removeEventListener("change",r)}))},t.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new ot["default"],this.videoTracks_},t.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new ht["default"],this.audioTracks_},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new h["default"],this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new h["default"],this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new g["default"],this.remoteTextTrackEls_},t.prototype.addTextTrack=function(n,t,i){if(!n)throw new Error("TextTrack kind is required but was not provided");return a(this,n,t,i)},t.prototype.addRemoteTextTrack=function(n){var i=tt["default"](n,{tech:this}),t=new k["default"](i);return this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),this.textTracks().addTrack_(t.track),t},t.prototype.removeRemoteTextTrack=function(n){this.textTracks().removeTrack_(n);var t=this.remoteTextTrackEls().getTrackElementByTrack_(n);this.remoteTextTrackEls().removeTrackElement_(t);this.remoteTextTracks().removeTrack_(n)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(n){return n.prototype instanceof t||n instanceof t||n===t},t.registerTech=function(n,i){if(t.techs_||(t.techs_={}),!t.isTech(i))throw new Error("Tech "+n+" must be a Tech");return t.techs_[n]=i,i},t.getTech=function(n){return t.techs_&&t.techs_[n]?t.techs_[n]:f["default"]&&f["default"].videojs&&f["default"].videojs[n]?(c["default"].warn("The "+n+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),f["default"].videojs[n]):void 0},t}(e["default"]);r.prototype.textTracks_;r.prototype.audioTracks_;r.prototype.videoTracks_;a=function(n,t,i,r){var u=arguments.length<=4||void 0===arguments[4]?{}:arguments[4],e=n.textTracks(),f;return u.kind=t,i&&(u.label=i),r&&(u.language=r),u.tech=n,f=new rt["default"](u),e.addTrack_(f),f};r.prototype.featuresVolumeControl=!0;r.prototype.featuresFullscreenResize=!1;r.prototype.featuresPlaybackRate=!1;r.prototype.featuresPreload=!0;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=[]);void 0===i&&(i=r.length);r.splice(i,0,t)};n.canPlayType=function(t){for(var r=n.sourceHandlers||[],u=void 0,i=0;i<r.length;i++)if(u=r[i].canPlayType(t))return u;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))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];"function"==typeof t&&(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_);return i||(n.nativeSourceHandler?i=n.nativeSourceHandler:c["default"].error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),i!==n.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",n.prototype.firstLoadStartListener_)),this.sourceHandler_=i.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this};n.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.successiveLoadStartListener_=function(){this.currentSource_=null;this.disposeSourceHandler();this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&(this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose(),this.sourceHandler_=null)}};e["default"].registerComponent("Tech",r);e["default"].registerComponent("MediaTechController",r);r.registerTech("Tech",r);i["default"]=r;t.exports=i["default"]},{"../component":163,"../media-error.js":205,"../tracks/audio-track":224,"../tracks/audio-track-list":223,"../tracks/html-track-element":226,"../tracks/html-track-element-list":225,"../tracks/text-track":232,"../tracks/text-track-list":230,"../tracks/video-track":237,"../tracks/video-track-list":236,"../utils/buffer.js":239,"../utils/fn.js":243,"../utils/log.js":249,"../utils/merge-options.js":250,"../utils/time-ranges.js":252,"global/document":79,"global/window":80}],223:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("./track-list"),r=f(h),c=n("../utils/browser.js"),l=e(c),a=n("global/document"),v=f(a),u=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].enabled=!1)},y=function(n){function t(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],i,s,f;for(o(this,t),i=void 0,s=e.length-1;s>=0;s--)if(e[s].enabled){u(e,e[s]);break}if(l.IS_IE8){i=v["default"].createElement("custom");for(f in r["default"].prototype)"constructor"!==f&&(i[f]=r["default"].prototype[f]);for(f in t.prototype)"constructor"!==f&&(i[f]=t.prototype[f])}return i=n.call(this,e,i),i.changing_=!1,i}return s(t,n),t.prototype.addTrack_=function(t){var i=this;t.enabled&&u(this,t);n.prototype.addTrack_.call(this,t);t.addEventListener&&t.addEventListener("enabledchange",function(){i.changing_||(i.changing_=!0,u(i,t),i.changing_=!1,i.trigger("change"))})},t.prototype.addTrack=function(n){this.addTrack_(n)},t.prototype.removeTrack=function(t){n.prototype.removeTrack_.call(this,t)},t}(r["default"]);i["default"]=y;t.exports=i["default"]},{"../utils/browser.js":238,"./track-list":234,"global/document":79}],224:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./track-enums"),s=n("./track"),h=r(s),c=n("../utils/merge-options"),l=r(c),a=n("../utils/browser.js"),v=u(a),y=function(n){function t(){var s=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r;f(this,t);var u=l["default"](s,{kind:o.AudioTrackKind[s.kind]||""}),i=n.call(this,u),e=!1;if(v.IS_IE8)for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"enabled",{get:function(){return e},set:function(n){"boolean"==typeof n&&n!==e&&(e=n,this.trigger("enabledchange"))}}),u.enabled&&(i.enabled=u.enabled),i.loaded_=!0,i}return e(t,n),t}(h["default"]);i["default"]=y;t.exports=i["default"]},{"../utils/browser.js":238,"../utils/merge-options":250,"./track":235,"./track-enums":233}],225:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var o=n("../utils/browser.js"),r=f(o),s=n("global/document"),h=u(s),c=function(){function n(){var f=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t,i,u,o;if(e(this,n),t=this,r.IS_IE8){t=h["default"].createElement("custom");for(i in n.prototype)"constructor"!==i&&(t[i]=n.prototype[i])}for(t.trackElements_=[],Object.defineProperty(t,"length",{get:function(){return this.trackElements_.length}}),u=0,o=f.length;o>u;u++)t.addTrackElement_(f[u]);if(r.IS_IE8)return t}return n.prototype.addTrackElement_=function(n){this.trackElements_.push(n)},n.prototype.getTrackElementByTrack_=function(n){for(var i=void 0,t=0,r=this.trackElements_.length;r>t;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;i>t;t++)if(n===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},n}();i["default"]=c;t.exports=i["default"]},{"../utils/browser.js":238,"global/document":79}],226:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if("function"!=typeof t&&null!==t)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 l=n("../utils/browser.js"),f=s(l),a=n("global/document"),v=u(a),y=n("../event-target"),p=u(y),w=n("../tracks/text-track"),b=u(w),e=0,o=2,r=function(n){function t(){var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],u,i,s,r;if(h(this,t),n.call(this),u=void 0,i=this,f.IS_IE8){i=v["default"].createElement("custom");for(s in t.prototype)"constructor"!==s&&(i[s]=t.prototype[s])}return r=new b["default"](c),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 u}}),Object.defineProperty(i,"track",{get:function(){return r}}),u=e,r.addEventListener("loadeddata",function(){u=o;i.trigger({type:"load",target:i})}),f.IS_IE8?i:void 0}return c(t,n),t}(p["default"]);r.prototype.allowedEvents_={load:"load"};r.NONE=e;r.LOADING=1;r.LOADED=o;r.ERROR=3;i["default"]=r;t.exports=i["default"]},{"../event-target":201,"../tracks/text-track":232,"../utils/browser.js":238,"global/document":79}],227:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var o=n("../utils/browser.js"),r=f(o),s=n("global/document"),h=u(s),c=function(){function n(t){var i,u;if(e(this,n),i=this,r.IS_IE8){i=h["default"].createElement("custom");for(u in n.prototype)"constructor"!==u&&(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]}})},r>i)for(t=i;r>t;t++)u.call(this,t)},n.prototype.getCueById=function(n){for(var i,r=null,t=0,u=this.length;u>t;t++)if(i=this[t],i.id===n){r=i;break}return r},n}();i["default"]=c;t.exports=i["default"]},{"../utils/browser.js":238,"global/document":79}],228:[function(n,t,i){"use strict";function b(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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("function"!=typeof t&&null!==t)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){var i=[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)];return t?"rgba("+i.join(",")+","+t+")":"rgb("+i.join(",")+")"}function s(n,t,i){try{n.style[t]=i}catch(r){}}function l(n,t,i,r){var u,f;try{for(u=0;u<n.length;u++)f=n[u],(!r||r(f))&&f.style.setProperty(t,i,"important")}catch(e){}}function a(n,t,i,r){function l(n){return u["default"].getComputedStyle?u["default"].getComputedStyle(n,""):n.currentStyle}function a(n){var t=[parseInt(n[1]+n[2],16),parseInt(n[3]+n[4],16),parseInt(n[5]+n[6],16)];return"rgb("+t.join(",")+")"}for(var o,f,s,c,e=0;e<n.length;e++)if(o=n[e],!r||r(o)){if(f=l(o)[t],f.indexOf("rgb")<0&&(f=a(f)),s=h(f),!s)return;s[3]=i;c="rgba("+s.join(",")+")";try{o.style.setProperty(t,c,"important")}catch(v){}}}function h(n){var t=/rgba?\((\d+,\s*\d+,\s*\d+(?:,\s*[\d\.]+)?)\)/.exec(n);return!t||t.length<2?null:t[1].split(/,\s*/)}function c(n,t){for(var r=h(n),u=h(t),i=0;3>i;i++)if(r[i]!==u[i])return!1;return!0}function v(n){return n&&n.className&&n.className.indexOf("bg_")>=0}i.__esModule=!0;var g=n("../component"),y=f(g),nt=n("../menu/menu.js"),tt=(f(nt),n("../menu/menu-item.js")),it=(f(tt),n("../menu/menu-button.js")),rt=(f(it),n("../utils/fn.js")),o=b(rt),ut=n("global/document"),ft=(f(ut),n("global/window")),u=f(ft),r="#222",p="#ccc",et={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'},w=function(n){function t(i,r,u){k(this,t);n.call(this,i,r,u);i.on("loadstart",o.bind(this,this.toggleDisplay));i.on("texttrackchange",o.bind(this,this.updateDisplay));i.ready(o.bind(this,function(){var f,n,t;if(i.tech_&&i.tech_.featuresNativeTextTracks)return void this.hide();i.on("fullscreenchange",o.bind(this,this.updateDisplay));for(f=this.options_.playerOptions.tracks||[],n=0;n<f.length;n++)t=f[n],this.player_.addRemoteTextTrack(t);var s={captions:1,subtitles:1},e=this.player_.textTracks(),r=void 0,u=void 0;if(e){for(n=0;n<e.length;n++)t=e[n],t["default"]&&("descriptions"!==t.kind||r?t.kind in s&&!u&&(u=t):r=t);u?u.mode="showing":r&&(r.mode="showing")}}))}return d(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":"assertive","aria-atomic":"true",role:"description"})},t.prototype.clearDisplay=function(){"function"==typeof u["default"].WebVTT&&u["default"].WebVTT.processCues(u["default"],[],this.el_)},t.prototype.updateDisplay=function(){var t=this.player_.textTracks(),n;if(this.clearDisplay(),t){for(var i=null,r=null,u=t.length;u--;)n=t[u],"showing"===n.mode&&("descriptions"===n.kind?i=n:r=n);r?this.updateForTrack(r):i&&this.updateForTrack(i)}},t.prototype.updateForTrack=function(n){var y,w,i,f,k,b,d,g,nt,tt;if("function"==typeof u["default"].WebVTT&&n.activeCues){for(var t=this.player_.textTrackSettings.getValues(),o=[],h=0;h<n.activeCues.length;h++)o.push(n.activeCues[h]);for(u["default"].WebVTT.processCues(u["default"],o,this.el_),y=o.length;y--;)w=o[y],w&&(i=w.displayState,f=this.changedByUser?i.firstChild.querySelectorAll("span"):[],t.color&&(k=i.firstChild.style.color,i.firstChild.style.color=t.color,this.changedByUser&&!c(e(t.color),k)&&l(f,"color",t.color)),t.textOpacity&&(s(i.firstChild,"color",e(t.color||"#fff",t.textOpacity)),this.changedByUser&&a(f,"color",t.textOpacity)),b=i.firstChild.style.backgroundColor,(t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor,this.changedByUser&&!c(e(t.backgroundColor),b)&&l(f,"background-color",t.backgroundColor,v)),t.backgroundOpacity)&&(d=e(t.backgroundColor||"#000",t.backgroundOpacity),(s(i.firstChild,"backgroundColor",d),this.changedByUser)&&(g=!c(e(t.backgroundColor),b),nt=g?0:t.backgroundOpacity,a(f,"background-color",nt,v))),(t.windowColor&&(t.windowOpacity?s(i,"backgroundColor",e(t.windowColor,t.windowOpacity)):i.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?i.firstChild.style.textShadow="2px 2px 3px "+r+", 2px 2px 4px "+r+", 2px 2px 5px "+r:"raised"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px "+r+", 2px 2px "+r+", 3px 3px "+r:"depressed"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px "+p+", 0 1px "+p+", -1px -1px "+r+", 0 -1px "+r:"uniform"===t.edgeStyle&&(i.firstChild.style.textShadow="0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r)),t.fontPercent&&1!==t.fontPercent)&&(tt=u["default"].parseFloat(i.style.fontSize),i.style.fontSize=tt*t.fontPercent+"px",i.style.height="auto",i.style.top="auto",i.style.bottom="2px"),t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?i.firstChild.style.fontVariant="small-caps":i.firstChild.style.fontFamily=et[t.fontFamily]),t.justification&&(i.style.textAlign=t.justification))}},t.prototype.setAsChangedByUser=function(){this.changedByUser=!0},t}(y["default"]);y["default"].registerComponent("TextTrackDisplay",w);i["default"]=w;t.exports=i["default"]},{"../component":163,"../menu/menu-button.js":206,"../menu/menu-item.js":207,"../menu/menu.js":208,"../utils/fn.js":243,"global/document":79,"global/window":80}],229:[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-1===i.indexOf(n)}).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};t.exports=i["default"]},{}],230:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if("function"!=typeof t&&null!==t)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 s=n("./track-list"),r=f(s),h=n("../utils/fn.js"),c=u(h),l=n("../utils/browser.js"),a=u(l),v=n("global/document"),y=f(v),p=function(n){function t(){var f=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],u,i;if(e(this,t),u=void 0,a.IS_IE8){u=y["default"].createElement("custom");for(i in r["default"].prototype)"constructor"!==i&&(u[i]=r["default"].prototype[i]);for(i in t.prototype)"constructor"!==i&&(u[i]=t.prototype[i])}return n.call(this,f,u)}return o(t,n),t.prototype.addTrack_=function(t){n.prototype.addTrack_.call(this,t);t.addEventListener("modechange",c.bind(this,function(){this.trigger("change")}))},t.prototype.removeTrack_=function(n){for(var t=void 0,i=0,r=this.length;r>i;i++)if(this[i]===n){t=this[i];t.off&&t.off();this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(n){for(var i,r=null,t=0,u=this.length;u>t;t++)if(i=this[t],i.id===n){r=i;break}return r},t}(r["default"]);i["default"]=p;t.exports=i["default"]},{"../utils/browser.js":238,"../utils/fn.js":243,"./track-list":234,"global/document":79}],231:[function(n,t,i){"use strict";function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if("function"!=typeof t&&null!==t)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 r(n){var t=void 0;return n.selectedOptions?t=n.selectedOptions[0]:n.options&&(t=n.options[n.options.selectedIndex]),t.value}function u(n,t){var i,r;if(t){for(i=void 0,i=0;i<n.options.length;i++)if(r=n.options[i],r.value===t)break;n.selectedIndex=i}}function v(n,t,i){return'\n    <div role="document">\n      <div role="heading" aria-level="1" id="'+t+'" class="vjs-control-text">Captions Settings Dialog<\/div>\n      <div id="'+i+'" class="vjs-control-text">Beginning of dialog window. Escape will cancel and close the window.<\/div>\n      <div class="vjs-tracksettings">\n        <div class="vjs-tracksettings-colors">\n          <fieldset class="vjs-fg-color vjs-tracksetting">\n            <legend>'+this.htmlEncode(this.localize("Text"))+'<\/legend>\n            <label class="vjs-label" for="captions-foreground-color-'+n+'">'+this.htmlEncode(this.localize("Text color"))+'<\/label>\n            <select id="captions-foreground-color-'+n+'">\n              <option value="#FFF" selected>'+this.htmlEncode(this.localize("White"))+'<\/option>\n              <option value="#000">'+this.htmlEncode(this.localize("Black"))+'<\/option>\n              <option value="#F00">'+this.htmlEncode(this.localize("Red"))+'<\/option>\n              <option value="#0F0">'+this.htmlEncode(this.localize("Green"))+'<\/option>\n              <option value="#00F">'+this.htmlEncode(this.localize("Blue"))+'<\/option>\n              <option value="#FF0">'+this.htmlEncode(this.localize("Yellow"))+'<\/option>\n              <option value="#F0F">'+this.htmlEncode(this.localize("Magenta"))+'<\/option>\n              <option value="#0FF">'+this.htmlEncode(this.localize("Cyan"))+'<\/option>\n            <\/select>\n            <span class="vjs-text-opacity vjs-opacity">\n             <label class="vjs-label" for="captions-foreground-opacity-'+n+'">'+this.htmlEncode(this.localize("Text opacity"))+'<\/label>\n              <select id="captions-foreground-opacity-'+n+'">\n                <option value="1" selected>'+this.htmlEncode(this.localize("Opaque"))+'<\/option>\n                <option value="0.5">'+this.htmlEncode(this.localize("Semi-Opaque"))+'<\/option>\n              <\/select>\n            <\/span>\n          <\/fieldset>\n          <fieldset class="vjs-bg-color vjs-tracksetting">\n            <legend>'+this.htmlEncode(this.localize("Background"))+'<\/legend>\n            <label class="vjs-label" for="captions-background-color-'+n+'">'+this.htmlEncode(this.localize("Background Color"))+'<\/label>\n            <select id="captions-background-color-'+n+'">\n              <option value="#000" selected>'+this.htmlEncode(this.localize("Black"))+'<\/option>\n              <option value="#FFF">'+this.htmlEncode(this.localize("White"))+'<\/option>\n              <option value="#F00">'+this.htmlEncode(this.localize("Red"))+'<\/option>\n              <option value="#0F0">'+this.htmlEncode(this.localize("Green"))+'<\/option>\n              <option value="#00F">'+this.htmlEncode(this.localize("Blue"))+'<\/option>\n              <option value="#FF0">'+this.htmlEncode(this.localize("Yellow"))+'<\/option>\n              <option value="#F0F">'+this.htmlEncode(this.localize("Magenta"))+'<\/option>\n              <option value="#0FF">'+this.htmlEncode(this.localize("Cyan"))+'<\/option>\n            <\/select>\n            <span class="vjs-bg-opacity vjs-opacity">\n              <label class="vjs-label" for="captions-background-opacity-'+n+'">'+this.htmlEncode(this.localize("Background opacity"))+'<\/label>\n              <select id="captions-background-opacity-'+n+'">\n                <option value="1" selected>'+this.htmlEncode(this.localize("Opaque"))+'<\/option>\n                <option value="0.5">'+this.htmlEncode(this.localize("Semi-Transparent"))+'<\/option>\n                <option value="0">'+this.htmlEncode(this.localize("Transparent"))+'<\/option>\n              <\/select>\n            <\/span>\n          <\/fieldset>\n          <fieldset class="window-color vjs-tracksetting">\n            <legend>'+this.htmlEncode(this.localize("Window"))+'<\/legend>\n            <label class="vjs-label" for="captions-window-color-'+n+'">'+this.htmlEncode(this.localize("Window Color"))+'<\/label>\n            <select id="captions-window-color-'+n+'">\n              <option value="#000" selected>'+this.htmlEncode(this.localize("Black"))+'<\/option>\n              <option value="#FFF">'+this.htmlEncode(this.localize("White"))+'<\/option>\n              <option value="#F00">'+this.htmlEncode(this.localize("Red"))+'<\/option>\n              <option value="#0F0">'+this.htmlEncode(this.localize("Green"))+'<\/option>\n              <option value="#00F">'+this.htmlEncode(this.localize("Blue"))+'<\/option>\n              <option value="#FF0">'+this.htmlEncode(this.localize("Yellow"))+'<\/option>\n              <option value="#F0F">'+this.htmlEncode(this.localize("Magenta"))+'<\/option>\n              <option value="#0FF">'+this.htmlEncode(this.localize("Cyan"))+'<\/option>\n            <\/select>\n            <span class="vjs-window-opacity vjs-opacity">\n              <label class="vjs-label" for="captions-window-opacity-'+n+'">'+this.htmlEncode(this.localize("Transparency"))+'<\/label>\n              <select id="captions-window-opacity-'+n+'">\n                <option value="0" selected>'+this.htmlEncode(this.localize("Transparent"))+'<\/option>\n                <option value="0.5">'+this.htmlEncode(this.localize("Semi-Transparent"))+'<\/option>\n                <option value="1">'+this.htmlEncode(this.localize("Opaque"))+'<\/option>\n              <\/select>\n            <\/span>\n          <\/fieldset>\n        <\/div> <!-- vjs-tracksettings-colors -->\n        <div class="vjs-tracksettings-font">\n          <div class="vjs-font-percent vjs-tracksetting">\n            <label class="vjs-label" for="captions-font-size-'+n+'">'+this.htmlEncode(this.localize("Font Size"))+'<\/label>\n            <select id="captions-font-size-'+n+'">\n              <option value="0.50">50%<\/option>\n              <option value="0.75">75%<\/option>\n              <option value="1.00" selected>100%<\/option>\n              <option value="1.25">125%<\/option>\n              <option value="1.50">150%<\/option>\n              <option value="1.75">175%<\/option>\n              <option value="2.00">200%<\/option>\n              <option value="3.00">300%<\/option>\n              <option value="4.00">400%<\/option>\n            <\/select>\n          <\/div>\n          <div class="vjs-edge-style vjs-tracksetting">\n            <label class="vjs-label" for="captions-edge-style-'+n+'">'+this.htmlEncode(this.localize("Text Edge Style"))+'<\/label>\n            <select id="captions-edge-style-'+n+'">\n              <option value="none" selected>'+this.htmlEncode(this.localize("None"))+'<\/option>\n              <option value="raised">'+this.htmlEncode(this.localize("Raised"))+'<\/option>\n              <option value="depressed">'+this.htmlEncode(this.localize("Depressed"))+'<\/option>\n              <option value="uniform">'+this.htmlEncode(this.localize("Uniform"))+'<\/option>\n              <option value="dropshadow">'+this.htmlEncode(this.localize("Dropshadow"))+'<\/option>\n            <\/select>\n          <\/div>\n          <div class="vjs-font-family vjs-tracksetting">\n            <label class="vjs-label" for="captions-font-family-'+n+'">'+this.htmlEncode(this.localize("Font Family"))+'<\/label>\n            <select id="captions-font-family-'+n+'">\n              <option value="proportionalSansSerif" selected>'+this.htmlEncode(this.localize("Proportional Sans-Serif"))+'<\/option>\n              <option value="monospaceSansSerif">'+this.htmlEncode(this.localize("Monospace Sans-Serif"))+'<\/option>\n              <option value="proportionalSerif">'+this.htmlEncode(this.localize("Proportional Serif"))+'<\/option>\n              <option value="monospaceSerif">'+this.htmlEncode(this.localize("Monospace Serif"))+'<\/option>\n              <option value="casual">'+this.htmlEncode(this.localize("Casual"))+'<\/option>\n              <option value="script">'+this.htmlEncode(this.localize("Script"))+'<\/option>\n              <option value="small-caps">'+this.htmlEncode(this.localize("Small Caps"))+'<\/option>\n            <\/select>\n          <\/div>\n        <\/div> <!-- vjs-tracksettings-font -->\n        <div class="vjs-tracksettings-controls">\n          <button class="vjs-default-button">'+this.htmlEncode(this.localize("Defaults"))+'<\/button>\n          <button class="vjs-done-button">'+this.htmlEncode(this.localize("Done"))+'<\/button>\n        <\/div>\n      <\/div> <!-- vjs-tracksettings -->\n    <\/div> <!--  role="document" -->'}i.__esModule=!0;var y=n("../component"),s=f(y),p=n("../utils/fn.js"),w=(c(p),n("../utils/log.js")),o=f(w),b=n("safe-json-parse/tuple"),k=f(b),d=n("global/window"),e=f(d),h=function(n){function t(i,r){var u=this,f;l(this,t);n.call(this,i,r);this.hide();void 0===r.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings);f="center";this.hiddenSettings={justification:f};this.on(this.$(".vjs-done-button"),"click",function(){u.saveSettings();u.hide()});this.on(this.$(".vjs-default-button"),"click",function(){u.$(".vjs-fg-color > select").selectedIndex=0;u.$(".vjs-bg-color > select").selectedIndex=0;u.$(".window-color > select").selectedIndex=0;u.$(".vjs-text-opacity > select").selectedIndex=0;u.$(".vjs-bg-opacity > select").selectedIndex=0;u.$(".vjs-window-opacity > select").selectedIndex=0;u.$(".vjs-edge-style select").selectedIndex=0;u.$(".vjs-font-family select").selectedIndex=0;u.$(".vjs-font-percent select").selectedIndex=2;u.updateDisplay()});this.on(this.$(".vjs-fg-color > select"),"change",this.updateDisplay);this.on(this.$(".vjs-bg-color > select"),"change",this.updateDisplay);this.on(this.$(".window-color > select"),"change",this.updateDisplay);this.on(this.$(".vjs-text-opacity > select"),"change",this.updateDisplay);this.on(this.$(".vjs-bg-opacity > select"),"change",this.updateDisplay);this.on(this.$(".vjs-window-opacity > select"),"change",this.updateDisplay);this.on(this.$(".vjs-font-percent select"),"change",this.updateDisplay);this.on(this.$(".vjs-edge-style select"),"change",this.updateDisplay);this.on(this.$(".vjs-font-family select"),"change",this.updateDisplay);this.options_.persistTextTrackSettings&&this.restoreSettings()}return a(t,n),t.prototype.createEl=function(){var t=this.id_,i="TTsettingsDialogLabel-"+t,r="TTsettingsDialogDescription-"+t;return n.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:v.call(this,t,i,r),tabIndex:-1},{role:"dialog","aria-labelledby":i,"aria-describedby":r})},t.prototype.getValues=function(){var i=r(this.$(".vjs-edge-style select")),u=r(this.$(".vjs-font-family select")),f=r(this.$(".vjs-fg-color > select")),o=r(this.$(".vjs-text-opacity > select")),s=r(this.$(".vjs-bg-color > select")),h=r(this.$(".vjs-bg-opacity > select")),c=r(this.$(".window-color > select")),l=r(this.$(".vjs-window-opacity > select")),a=e["default"].parseFloat(r(this.$(".vjs-font-percent > select"))),n={backgroundOpacity:h,textOpacity:o,windowOpacity:l,edgeStyle:i,fontFamily:u,color:f,backgroundColor:s,windowColor:c,fontPercent:a,justification:this.hiddenSettings.justification};for(var t in n)(""===n[t]||"none"===n[t]||"fontPercent"===t&&1===n[t])&&delete n[t];return n},t.prototype.setValues=function(n){u(this.$(".vjs-edge-style select"),n.edgeStyle);u(this.$(".vjs-font-family select"),n.fontFamily);u(this.$(".vjs-fg-color > select"),n.color);u(this.$(".vjs-text-opacity > select"),n.textOpacity);u(this.$(".vjs-bg-color > select"),n.backgroundColor);u(this.$(".vjs-bg-opacity > select"),n.backgroundOpacity);u(this.$(".window-color > select"),n.windowColor);u(this.$(".vjs-window-opacity > select"),n.windowOpacity);var t=n.fontPercent;t&&(t=t.toFixed(2));u(this.$(".vjs-font-percent > select"),t);n.justification&&(this.hiddenSettings.justification=n.justification)},t.prototype.restoreSettings=function(){var n=void 0,t=void 0,i;try{i=k["default"](e["default"].localStorage.getItem("vjs-text-track-settings"));n=i[0];t=i[1];n&&o["default"].error(n)}catch(r){o["default"].warn(r)}t&&this.setValues(t)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var n=this.getValues();try{Object.getOwnPropertyNames(n).length>0?e["default"].localStorage.setItem("vjs-text-track-settings",JSON.stringify(n)):e["default"].localStorage.removeItem("vjs-text-track-settings")}catch(t){o["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&(n.updateDisplay(),n.setAsChangedByUser())},t}(s["default"]);s["default"].registerComponent("TextTrackSettings",h);i["default"]=h;t.exports=i["default"]},{"../component":163,"../utils/fn.js":243,"../utils/log.js":249,"global/window":80,"safe-json-parse/tuple":76}],232:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if("function"!=typeof t&&null!==t)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 y=n("./text-track-cue-list"),s=r(y),p=n("../utils/fn.js"),h=o(p),f=n("./track-enums"),w=n("../utils/log.js"),e=r(w),b=n("global/document"),k=(r(b),n("global/window")),u=r(k),d=n("./track.js"),g=r(d),nt=n("../utils/url.js"),tt=n("xhr"),it=r(tt),rt=n("../utils/merge-options"),ut=r(rt),ft=n("../utils/browser.js"),et=o(ft),c=function(n,t){var i=new u["default"].WebVTT.Parser(u["default"],u["default"].vttjs,u["default"].WebVTT.StringDecoder()),r=[];i.oncue=function(n){t.addCue(n)};i.onparsingerror=function(n){r.push(n)};i.onflush=function(){t.trigger({type:"loadeddata",target:t})};i.parse(n);r.length>0&&(console.groupCollapsed,r.forEach(function(n){return e["default"].error(n)}),console.groupEnd);i.flush()},ot=function(n,t,i){var r={uri:n},f=nt.isCrossOrigin(n);f&&(r.withCredentials=i);it["default"](r,h.bind(this,function(n,i,r){return n?e["default"].error(n,i):(t.loaded_=!0,void("function"!=typeof u["default"].WebVTT?t.tech_&&!function(){var n=function(){return c(r,t)};t.tech_.on("vttjsloaded",n);t.tech_.on("vttjserror",function(){e["default"].error("vttjs failed to load, stopping trying to process "+t.src);t.tech_.off("vttjsloaded",n)})}():c(r,t)))}))},l=function(n){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],i,l;if(a(this,t),!e.tech)throw new Error("A tech was not provided.");var r=ut["default"](e,{kind:f.TextTrackKind[e.kind]||"subtitles",language:e.language||e.srclang||""}),o=f.TextTrackMode[r.mode]||"disabled",p=r["default"];if(("metadata"===r.kind||"chapters"===r.kind)&&(o="hidden"),i=n.call(this,r),i.tech_=r.tech,et.IS_IE8)for(l in t.prototype)"constructor"!==l&&(i[l]=t.prototype[l]);i.cues_=[];i.activeCues_=[];var w=new s["default"](i.cues_),v=new s["default"](i.activeCues_),c=!1,y=h.bind(i,function(){this.activeCues;c&&(this.trigger("cuechange"),c=!1)});return"disabled"!==o&&i.tech_.on("timeupdate",y),Object.defineProperty(i,"default",{get:function(){return p},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return o},set:function(n){f.TextTrackMode[n]&&(o=n,"showing"===o&&this.tech_.on("timeupdate",y),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?w:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){var n,t;if(!this.loaded_)return null;if(0===this.cues.length)return v;for(var r=this.tech_.currentAbsoluteTime()||this.tech_.currentTime(),i=[],t=0,u=this.cues.length;u>t;t++)n=this.cues[t],n.startTime<=r&&n.endTime>=r?i.push(n):n.startTime===n.endTime&&n.startTime<=r&&n.startTime+.5>=r&&i.push(n);if(c=!1,i.length!==this.activeCues_.length)c=!0;else for(t=0;t<i.length;t++)-1===this.activeCues_.indexOf(i[t])&&(c=!0);return this.activeCues_=i,v.setCues_(this.activeCues_),v},set:function(){}}),r.src?(i.src=r.src,ot(r.src,i,r.tech.options_.playerOptions.corsPolicy===u["default"].videojs.CorsConfig.UseCredentials)):i.loaded_=!0,i}return v(t,n),t.prototype.addCue=function(n){var i=this.tech_.textTracks(),t;if(i)for(t=0;t<i.length;t++)i[t]!==this&&i[t].removeCue(n);this.cues_.push(n);this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(n){for(var r,i=!1,t=0,u=this.cues_.length;u>t;t++)r=this.cues_[t],r===n&&(this.cues_.splice(t,1),i=!0);i&&this.cues.setCues_(this.cues_)},t}(g["default"]);l.prototype.allowedEvents_={cuechange:"cuechange"};i["default"]=l;t.exports=i["default"]},{"../utils/browser.js":238,"../utils/fn.js":243,"../utils/log.js":249,"../utils/merge-options":250,"../utils/url.js":255,"./text-track-cue-list":227,"./track-enums":233,"./track.js":235,"global/document":79,"global/window":80,xhr:85}],233:[function(n,t,i){"use strict";i.__esModule=!0;i["default"]={VideoTrackKind:{alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},AudioTrackKind:{alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},TextTrackKind:{subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},TextTrackMode:{disabled:"disabled",hidden:"hidden",showing:"showing"}};t.exports=i["default"]},{}],234:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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 h=n("../event-target"),c=f(h),l=n("../utils/fn.js"),a=(u(l),n("../utils/browser.js")),v=u(a),y=n("global/document"),p=f(y),r=function(n){function t(){var f=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],i=arguments.length<=1||void 0===arguments[1]?null:arguments[1],r,u;if(o(this,t),n.call(this),!i&&(i=this,v.IS_IE8)){i=p["default"].createElement("custom");for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r])}for(i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}}),u=0;u<f.length;u++)i.addTrack_(f[u]);return i}return s(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]}});-1===this.tracks_.indexOf(n)&&(this.tracks_.push(n),this.trigger({track:n,type:"addtrack"}))},t.prototype.removeTrack_=function(n){for(var t=void 0,i=0,r=this.length;r>i;i++)if(this[i]===n){t=this[i];t.off&&t.off();this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(n){for(var i,r=null,t=0,u=this.length;u>t;t++)if(i=this[t],i.id===n){r=i;break}return r},t}(c["default"]);r.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(e in r.prototype.allowedEvents_)r.prototype["on"+e]=null;i["default"]=r;t.exports=i["default"]},{"../event-target":201,"../utils/browser.js":238,"../utils/fn.js":243,"global/document":79}],235:[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={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("../utils/browser.js"),s=u(o),h=n("global/document"),c=r(h),l=n("../utils/guid.js"),a=u(l),v=n("../event-target"),y=r(v),p=function(n){function t(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],i,u,e,o,h;if(f(this,t),n.call(this),i=this,s.IS_IE8){i=c["default"].createElement("custom");for(u in t.prototype)"constructor"!==u&&(i[u]=t.prototype[u])}e={id:r.id||"vjs_track_"+a.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""};o=function(n){Object.defineProperty(i,n,{get:function(){return e[n]},set:function(){}})};for(h in e)o(h);return i}return e(t,n),t}(y["default"]);i["default"]=p;t.exports=i["default"]},{"../event-target":201,"../utils/browser.js":238,"../utils/guid.js":246,"global/document":79}],236:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if("function"!=typeof t&&null!==t)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("./track-list"),r=f(h),c=n("../utils/browser.js"),l=e(c),a=n("global/document"),v=f(a),u=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].selected=!1)},y=function(n){function t(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],i,s,f;for(o(this,t),i=void 0,s=e.length-1;s>=0;s--)if(e[s].selected){u(e,e[s]);break}if(l.IS_IE8){i=v["default"].createElement("custom");for(f in r["default"].prototype)"constructor"!==f&&(i[f]=r["default"].prototype[f]);for(f in t.prototype)"constructor"!==f&&(i[f]=t.prototype[f])}return i=n.call(this,e,i),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(){}}),i}return s(t,n),t.prototype.addTrack_=function(t){var i=this;t.selected&&u(this,t);n.prototype.addTrack_.call(this,t);t.addEventListener&&t.addEventListener("selectedchange",function(){i.changing_||(i.changing_=!0,u(i,t),i.changing_=!1,i.trigger("change"))})},t.prototype.addTrack=function(n){this.addTrack_(n)},t.prototype.removeTrack=function(t){n.prototype.removeTrack_.call(this,t)},t}(r["default"]);i["default"]=y;t.exports=i["default"]},{"../utils/browser.js":238,"./track-list":234,"global/document":79}],237:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if("function"!=typeof t&&null!==t)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 o=n("./track-enums"),s=n("./track"),h=r(s),c=n("../utils/merge-options"),l=r(c),a=n("../utils/browser.js"),v=u(a),y=function(n){function t(){var s=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r;f(this,t);var u=l["default"](s,{kind:o.VideoTrackKind[s.kind]||""}),i=n.call(this,u),e=!1;if(v.IS_IE8)for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"selected",{get:function(){return e},set:function(n){"boolean"==typeof n&&n!==e&&(e=n,this.trigger("selectedchange"))}}),u.selected&&(i.selected=u.selected),i}return e(t,n),t}(h["default"]);i["default"]=y;t.exports=i["default"]},{"../utils/browser.js":238,"../utils/merge-options":250,"./track":235,"./track-enums":233}],238:[function(n,t,i){"use strict";function w(n){return n&&n.__esModule?n:{"default":n}}var l,a,k,d,e,o,g,nt,s,tt,it,rt,ut,v,ft,y,et,h,p,ot,st,ht,ct,lt;i.__esModule=!0;var at=n("global/document"),f=w(at),vt=n("global/window"),u=w(vt),r=u["default"].navigator.userAgent,b=/AppleWebKit\/([\d.]+)/i.exec(r),yt=b?parseFloat(b.pop()):null,c=/iPad/i.test(r);i.IS_IPAD=c;l=/iPhone/i.test(r)&&!c;i.IS_IPHONE=l;a=/iPod/i.test(r);i.IS_IPOD=a;k=l||c||a;i.IS_IOS=k;d=function(){var n=r.match(/OS (\d+)_/i);if(n&&n[1])return n[1]}();i.IOS_VERSION=d;e=/Android/i.test(r);i.IS_ANDROID=e;o=function(){var t,i,n=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/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}();i.ANDROID_VERSION=o;g=e&&/webkit/i.test(r)&&2.3>o;i.IS_OLD_ANDROID=g;nt=e&&5>o&&537>yt;i.IS_NATIVE_ANDROID=nt;s=/Edge/i.test(r);i.IS_EDGE=s;tt=!!f["default"].documentMode;i.IS_IE=tt;it=/MSIE\s8\.0/.test(r);i.IS_IE8=it;rt=/MSIE\s9\.0/.test(r);i.IS_IE9=rt;ut=!!u["default"].MSInputMethodContext&&!!f["default"].documentMode;i.IS_IE11=ut;v=/IEMobile\/([0-9.]*)/.test(r);i.IS_IEMOBILE=v;ft=function(n){return n&&parseFloat(n[1])}(/MSIE\s(\d+)\.\d/.exec(r));i.IE_VERSION=ft;y=/Firefox/i.test(r);i.IS_FIREFOX=y;et=function(){var n=r.match(/Firefox\/([0-9.]*)/i);if(n&&n[1])return n[1]}();i.FIREFOX_VERSION=et;h=!s&&/Chrome/i.test(r);i.IS_CHROME=h;p=/Safari/i.test(r)&&!h&&!s&&!v;i.IS_SAFARI=p;ot=/Macintosh/i.test(r)&&/AppleWebKit/i.test(r)&&!p&&!y&&!h;i.IS_MACWEBVIEW=ot;st=!!("ontouchstart"in u["default"]||u["default"].DocumentTouch&&f["default"]instanceof u["default"].DocumentTouch);i.TOUCH_ENABLED=st;ht="backgroundSize"in f["default"].createElement("video").style;i.BACKGROUND_SIZE_SUPPORTED=ht;ct=/android|webos|windows phone|iphone|ipad|ipod|blackBerry|iemobile|opera mini/i.test(r.toLowerCase());i.IS_MOBILE=ct;lt=/MSAppHost/.test(r);i.IS_MSAPPHOST=lt},{"global/document":79,"global/window":80}],239:[function(n,t,i){"use strict";function r(n,t){var f,r,e=0,i;if(!t)return 0;for(n&&n.length||(n=u.createTimeRange(0,0)),i=0;i<n.length;i++)f=n.start(i),r=n.end(i),r>t&&(r=t),e+=r-f;return e/t}i.__esModule=!0;i.bufferedPercent=r;var u=n("./time-ranges.js")},{"./time-ranges.js":252}],240:[function(n,t,i){"use strict";function r(n){var i=n,t=n.player_.controlBar;t&&Object.getOwnPropertyNames(t).forEach(function(n){t[n]!==i&&t[n].el_&&t[n].el_.className&&(-1!==t[n].el_.className.indexOf("vjs-menu-button")||-1!==t[n].el_.className.indexOf("vjs-volume-control"))&&t[n].buttonPressed_&&t[n].unpressButton()})}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],241:[function(n,t,i){"use strict";function nt(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 tt(n,t){return n.raw=t,n}function it(n){return"hidden"===h["default"].getComputedStyle(n).visibility?!1:!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)}function c(n){return"string"==typeof n&&/\S/.test(n)}function l(n){if(/\s/.test(n))throw new Error("class has illegal whitespace characters");}function rt(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function a(n){return function(t,i){return c(t)?(c(i)&&(i=r["default"].querySelector(i)),(s(i)?i:r["default"])[n](t)):r["default"][n](null)}}function ut(n){return 0===n.indexOf("#")&&(n=n.slice(1)),r["default"].getElementById(n)}function ft(){var u=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],t=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=r["default"].createElement(u);return Object.getOwnPropertyNames(i).forEach(function(t){var r=i[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(ri["default"].warn(fi["default"](kt,t,r)),n.setAttribute(t,r)):n[t]=r}),Object.getOwnPropertyNames(t).forEach(function(i){t[i];n.setAttribute(i,t[i])}),n}function et(n,t){"undefined"==typeof n.textContent?n.innerText=t:n.textContent=t}function ot(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function st(n){var t=n[u];return t||(t=n[u]=ti.newGUID()),f[t]||(f[t]={}),f[t]}function ht(n){var t=n[u];return t?!!Object.getOwnPropertyNames(f[t]).length:!1}function ct(n){var t=n[u];if(t){delete f[t];try{delete n[u]}catch(i){n.removeAttribute?n.removeAttribute(u):n[u]=null}}}function o(n,t){return n.classList?n.classList.contains(t):(l(t),rt(t).test(n.className))}function v(n,t){return"undefined"!=typeof t&&null!==t&&t.length>0&&(n.classList?n.classList.add(t):o(n,t)||(n.className=(n.className+" "+t).trim())),n}function y(n,t){return n.classList?n.classList.remove(t):(l(t),n.className=n.className.split(/\s+/).filter(function(n){return n!==t}).join(" ")),n}function lt(n,t,i){var r=o(n,t);return"function"==typeof i&&(i=i(n,t)),"boolean"!=typeof i&&(i=!r),i!==r?(i?v(n,t):y(n,t),n):void 0}function at(n,t){Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];null===r||"undefined"==typeof r||r===!1?n.removeAttribute(i):n.setAttribute(i,r===!0?"":r)})}function vt(n){var f,e,i,r,u,t;if(f={},e=",autoplay,controls,loop,muted,default,",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,("boolean"==typeof n[r]||-1!==e.indexOf(","+r+","))&&(u=null!==u?!0:!1),f[r]=u;return f}function yt(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function pt(){r["default"].onselectstart=function(){return!0}}function p(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,f=u.clientLeft||i.clientLeft||0,e=h["default"].pageXOffset||i.scrollLeft,o=t.left+e-f,s=u.clientTop||i.clientTop||0,c=h["default"].pageYOffset||i.scrollTop,l=t.top+c-s;return{left:Math.round(o),top:Math.round(l)}}function wt(n,t){var i={},r=p(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 s(n){return!!n&&"object"==typeof n&&1===n.nodeType}function w(n){return!!n&&"object"==typeof n&&3===n.nodeType}function b(n){for(;n.firstChild;)n.removeChild(n.firstChild);return n}function k(n){return"function"==typeof n&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return"function"==typeof n&&(n=n()),s(n)||w(n)?n:"string"==typeof n&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function d(n,t){return k(t).forEach(function(t){return n.appendChild(t)}),n}function bt(n,t){return d(b(n),t)}var g;i.__esModule=!0;i.isVisible=it;i.getEl=ut;i.createEl=ft;i.textContent=et;i.insertElFirst=ot;i.getElData=st;i.hasElData=ht;i.removeElData=ct;i.hasElClass=o;i.addElClass=v;i.removeElClass=y;i.toggleElClass=lt;i.setElAttributes=at;i.getElAttributes=vt;i.blockTextSelection=yt;i.unblockTextSelection=pt;i.findElPosition=p;i.getPointerPosition=wt;i.isEl=s;i.isTextNode=w;i.emptyEl=b;i.normalizeContent=k;i.appendContent=d;i.insertContent=bt;var kt=tt(["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 ","."]),dt=n("global/document"),r=e(dt),gt=n("global/window"),h=e(gt),ni=n("./guid.js"),ti=nt(ni),ii=n("./log.js"),ri=e(ii),ui=n("tsml"),fi=e(ui),f={},u="vdata"+(new Date).getTime(),ei=a("querySelector");i.$=ei;g=a("querySelectorAll");i.$$=g},{"./guid.js":246,"./log.js":249,"global/document":79,"global/window":80,tsml:77}],242:[function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}}function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n,t,i){if(Array.isArray(t))return o(u,n,t,i);var f=r.getElData(n);f.handlers||(f.handlers={});f.handlers[t]||(f.handlers[t]=[]);i.guid||(i.guid=y.newGUID());f.handlers[t].push(i);f.dispatcher||(f.disabled=!1,f.dispatcher=function(t,i){var r;if(!f.disabled&&(t=e(t),r=f.handlers[t.type],r))for(var o=r.slice(0),u=0,s=o.length;s>u&&!t.isImmediatePropagationStopped();u++)o[u].call(n,t,i)});1===f.handlers[t].length&&(n.addEventListener?n.addEventListener(t,f.dispatcher):n.attachEvent&&n.attachEvent("on"+t,f.dispatcher))}function f(n,t,i){var u,h,e,s,c;if(r.hasElData(n)&&(u=r.getElData(n),u.handlers)){if(Array.isArray(t))return o(f,n,t,i);if(h=function(t){u.handlers[t]=[];v(n,t)},t){if(e=u.handlers[t],e){if(!i)return void h(t);if(i.guid)for(s=0;s<e.length;s++)e[s].guid===i.guid&&e.splice(s--,1);v(n,t)}}else for(c in u.handlers)h(c)}}function l(n,t,i,u,f){var h=r.hasElData(n)?r.getElData(n):{},o=n.parentNode||n.ownerDocument,s;return("string"==typeof t&&(t={type:t,target:n,clip:u,time:f}),t=e(t),h.dispatcher&&h.dispatcher.call(n,t,i),o&&!t.isPropagationStopped()&&t.bubbles===!0)?l.call(null,o,t,i):o||t.defaultPrevented||(s=r.getElData(t.target),t.target[t.type]&&(s.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),s.disabled=!1)),!t.defaultPrevented}function a(n,t,i){if(Array.isArray(t))return o(a,n,t,i);var r=function e(){f(n,t,e);i.apply(this,arguments)};r.guid=i.guid=i.guid||y.newGUID();u(n,t,r)}function e(n){function f(){return!0}function e(){return!1}var t,i,r,u;if(!n||!n.isPropagationStopped){t=n||k["default"].event;n={};for(i in t)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&("returnValue"===i&&t.preventDefault||(n[i]=t[i]));(n.target||(n.target=n.srcElement||s["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=f},n.isPropagationStopped=e,n.stopImmediatePropagation=function(){t.stopImmediatePropagation&&t.stopImmediatePropagation();n.isImmediatePropagationStopped=f;n.stopPropagation()},n.isImmediatePropagationStopped=e,null!=n.clientX)&&(r=s["default"].documentElement,u=s["default"].body,n.pageX=n.clientX+(r&&r.scrollLeft||u&&u.scrollLeft||0)-(r&&r.clientLeft||u&&u.clientLeft||0),n.pageY=n.clientY+(r&&r.scrollTop||u&&u.scrollTop||0)-(r&&r.clientTop||u&&u.clientTop||0));n.which=n.charCode||n.keyCode;null!=n.button&&(n.button=1&n.button?0:4&n.button?1:2&n.button?2:0)}return n}function v(n,t){var i=r.getElData(n);0===i.handlers[t].length&&(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);0===Object.getOwnPropertyNames(i).length&&r.removeElData(n)}function o(n,t,i,r){i.forEach(function(i){n(t,i,r)})}i.__esModule=!0;i.on=u;i.off=f;i.trigger=l;i.one=a;i.fixEvent=e;var p=n("./dom.js"),r=c(p),w=n("./guid.js"),y=c(w),b=n("global/window"),k=h(b),d=n("global/document"),s=h(d)},{"./dom.js":241,"./guid.js":246,"global/document":79,"global/window":80}],243:[function(n,t,i){"use strict";i.__esModule=!0;var r=n("./guid.js"),u=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};i.bind=u},{"./guid.js":246}],244:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(){var t=["monospace","sans-serif","serif"],e=r["default"].document.getElementsByTagName("body")[0],n=r["default"].document.createElement("span"),h,c,o,i,l;n.style.fontSize="72px";n.style.position="absolute";n.style.top="-9999px";n.style.left="-9999px";n.innerHTML="mmmmmmmmmmlli";h={};c={};for(i in t)n.style.fontFamily=t[i],e.appendChild(n),h[t[i]]=n.offsetWidth,c[t[i]]=n.offsetHeight,e.removeChild(n);o=!1;for(i in t)n.style.fontFamily="Segoe UI,"+t[i],e.appendChild(n),l=n.offsetWidth!==h[t[i]]||n.offsetHeight!==c[t[i]],e.removeChild(n),o=o||l;if(!o){var a=r["default"].document.createElement("style"),v=r["default"].document.getElementsByTagName("head")[0],u="/skins/amp-default/assets/fonts/segoeui/",f=s["default"].getScriptRootURL();a.appendChild(r["default"].document.createTextNode('@font-face{font-family:"Segoe UI";src: url("'+f+u+'segoeui.eot");src: url("'+f+u+'segoeui.eot?#iefix") format("embedded-opentype"),url("'+f+u+'segoeui.woff") format("woff"), url("'+f+u+'segoeui.ttf") format("truetype"), url("'+f+u+'segoeui.svg#Segoe") format("svg");font-weight: normal;font-style: normal;}'));v.appendChild(a)}}i.__esModule=!0;var e=n("global/window"),r=u(e),o=n("../player.js"),s=u(o);i["default"]=f;t.exports=i["default"]},{"../player.js":210,"global/window":80}],245:[function(n,t,i){"use strict";function r(n){var t=arguments.length<=1||void 0===arguments[1]?n:arguments[1];return function(){n=0>n?0:n;var i=Math.floor(n%60),r=Math.floor(n/60%60),u=Math.floor(n/3600),f=Math.floor(t/60%60),e=Math.floor(t/3600);return(isNaN(n)||n===1/0)&&(u=r=i="-"),u=u>0||e>0?u+":":"",r=((u||f>=10)&&10>r?"0"+r:r)+":",i=10>i?"0"+i:i,u+r+i}()}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],246:[function(n,t,i){"use strict";function r(){return u++}i.__esModule=!0;i.newGUID=r;var u=1},{}],247:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(){var n=void 0,t=void 0,i;n=r["default"].document.createElement("div");n.style.color="rgb(31, 41, 59)";r["default"].document.body.appendChild(n);t=r["default"].document.defaultView?r["default"].document.defaultView.getComputedStyle(n,null).color:n.currentStyle.color;t=t.replace(/ /g,"");r["default"].document.body.removeChild(n);String.prototype.includes||(String.prototype.includes=function(){return-1!==String.prototype.indexOf.apply(this,arguments)});i="rgb(31,41,59)"!==t;i&&!r["default"].document.body.className.includes("high-contrast-enabled")?r["default"].document.body.className=r["default"].document.body.className+" high-contrast-enabled ":i||(r["default"].document.body.className=r["default"].document.body.className.replace("high-contrast-enabled",""))}i.__esModule=!0;var e=n("global/window"),r=u(e);i["default"]=f;t.exports=i["default"]},{"global/window":80}],248:[function(n,t,i){"use strict";function r(){return{ab:{name:"Abkhaz",nativeName:"Ð°Ò§ÑÑƒÐ°"},aa:{name:"Afar",nativeName:"Afaraf"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"},sq:{name:"Albanian",nativeName:"Shqip"},am:{name:"Amharic",nativeName:"áŠ áˆ›áˆ­áŠ›"},ar:{name:"Arabic",nativeName:"Ø§Ù„Ø¹Ø±Ø¨ÙŠØ©"},an:{name:"Aragonese",nativeName:"AragonÃ©s"},hy:{name:"Armenian",nativeName:"Õ€Õ¡ÕµÕ¥Ö€Õ¥Õ¶"},as:{name:"Assamese",nativeName:"à¦…à¦¸à¦®à§€à¦¯à¦¼à¦¾"},av:{name:"Avaric",nativeName:"Ð°Ð²Ð°Ñ€ Ð¼Ð°Ñ†Ó€, Ð¼Ð°Ð³Ó€Ð°Ñ€ÑƒÐ» Ð¼Ð°Ñ†Ó€"},ae:{name:"Avestan",nativeName:"avesta"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azÉ™rbaycan dili"},bm:{name:"Bambara",nativeName:"bamanankan"},ba:{name:"Bashkir",nativeName:"Ð±Ð°ÑˆÒ¡Ð¾Ñ€Ñ‚ Ñ‚ÐµÐ»Ðµ"},eu:{name:"Basque",nativeName:"euskara, euskera"},be:{name:"Belarusian",nativeName:"Ð‘ÐµÐ»Ð°Ñ€ÑƒÑÐºÐ°Ñ"},bn:{name:"Bangla",nativeName:"à¦¬à¦¾à¦‚à¦²à¦¾"},bh:{name:"Bihari",nativeName:"à¤­à¥‹à¤œà¤ªà¥à¤°à¥€"},bi:{name:"Bislama",nativeName:"Bislama"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},br:{name:"Breton",nativeName:"brezhoneg"},bg:{name:"Bulgarian",nativeName:"Ð±ÑŠÐ»Ð³Ð°Ñ€ÑÐºÐ¸ ÐµÐ·Ð¸Ðº"},my:{name:"Burmese",nativeName:"á€—á€™á€¬á€…á€¬"},ca:{name:"Catalan; Valencian",nativeName:"CatalÃ "},ch:{name:"Chamorro",nativeName:"Chamoru"},ce:{name:"Chechen",nativeName:"Ð½Ð¾Ñ…Ñ‡Ð¸Ð¹Ð½ Ð¼Ð¾Ñ‚Ñ‚"},ny:{name:"Chichewa; Chewa; Nyanja",nativeName:"chiCheÅµa, chinyanja"},zh:{name:"Chinese",nativeName:"ä¸­æ–‡ (ZhÅngwÃ©n), æ±‰è¯­, æ¼¢èªž"},cv:{name:"Chuvash",nativeName:"Ñ‡Ó‘Ð²Ð°Ñˆ Ñ‡Ó—Ð»Ñ…Ð¸"},kw:{name:"Cornish",nativeName:"Kernewek"},co:{name:"Corsican",nativeName:"corsu, lingua corsa"},cr:{name:"Cree",nativeName:"á“€á¦áƒá”­ááá£"},hr:{name:"Croatian",nativeName:"hrvatski"},cs:{name:"Czech",nativeName:"ÄeÅ¡tina"},da:{name:"Danish",nativeName:"dansk"},dv:{name:"Divehi; Dhivehi; Maldivian;",nativeName:"Þ‹Þ¨ÞˆÞ¬Þ€Þ¨"},nl:{name:"Dutch",nativeName:"Nederlands"},en:{name:"English",nativeName:"English"},eo:{name:"Esperanto",nativeName:"Esperanto"},et:{name:"Estonian",nativeName:"eesti"},ee:{name:"Ewe",nativeName:"EÊ‹egbe"},fo:{name:"Faroese",nativeName:"fÃ¸royskt"},fj:{name:"Fijian",nativeName:"vosa Vakaviti"},fi:{name:"Finnish",nativeName:"suomi"},fr:{name:"French",nativeName:"franÃ§ais"},ff:{name:"Fula; Fulah; Pulaar; Pular",nativeName:"Fulfulde, Pulaar, Pular"},gl:{name:"Galician",nativeName:"Galego"},ka:{name:"Georgian",nativeName:"áƒ¥áƒáƒ áƒ—áƒ£áƒšáƒ˜"},de:{name:"German",nativeName:"Deutsch"},el:{name:"Greek, Modern",nativeName:"Î•Î»Î»Î·Î½Î¹ÎºÎ¬"},gn:{name:"GuaranÃ­",nativeName:"AvaÃ±eáº½"},gu:{name:"Gujarati",nativeName:"àª—à«àªœàª°àª¾àª¤à«€"},ht:{name:"Haitian; Haitian Creole",nativeName:"KreyÃ²l ayisyen"},ha:{name:"Hausa",nativeName:"Hausa, Ù‡ÙŽÙˆÙØ³ÙŽ"},he:{name:"Hebrew (modern)",nativeName:"×¢×‘×¨×™×ª"},hz:{name:"Herero",nativeName:"Otjiherero"},hi:{name:"Hindi",nativeName:"à¤¹à¤¿à¤¨à¥à¤¦à¥€, à¤¹à¤¿à¤‚à¤¦à¥€"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hu:{name:"Hungarian",nativeName:"Magyar"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Bahasa Indonesia"},ie:{name:"Interlingue",nativeName:"Interlingue"},ga:{name:"Irish",nativeName:"Gaeilge"},ig:{name:"Igbo",nativeName:"Asá»¥sá»¥ Igbo"},ik:{name:"Inupiaq",nativeName:"IÃ±upiaq"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Ãslenska"},it:{name:"Italian",nativeName:"Italiano"},iu:{name:"Inuktitut",nativeName:"áƒá“„á’ƒá‘Žá‘á‘¦"},ja:{name:"Japanese",nativeName:"æ—¥æœ¬èªž"},jv:{name:"Javanese",nativeName:"basa Jawa"},kl:{name:"Kalaallisut, Greenlandic",nativeName:"kalaallisut, kalaallit oqaasii"},kn:{name:"Kannada",nativeName:"à²•à²¨à³à²¨à²¡"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"à¤•à¤¶à¥à¤®à¥€à¤°à¥€, ÙƒØ´Ù…ÙŠØ±ÙŠâ€Ž"},kk:{name:"Kazakh",nativeName:"ÒšÐ°Ð·Ð°Ò› Ñ‚Ñ–Ð»Ñ–"},km:{name:"Khmer",nativeName:"áž—áž¶ážŸáž¶ážáŸ’áž˜áŸ‚ážš"},ki:{name:"Kikuyu, Gikuyu",nativeName:"GÄ©kÅ©yÅ©"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},ky:{name:"Kirghiz, Kyrgyz",nativeName:"ÐºÑ‹Ñ€Ð³Ñ‹Ð· Ñ‚Ð¸Ð»Ð¸"},kv:{name:"Komi",nativeName:"ÐºÐ¾Ð¼Ð¸ ÐºÑ‹Ð²"},kg:{name:"Kongo",nativeName:"KiKongo"},ko:{name:"Korean",nativeName:"í•œêµ­ì–´ (éŸ“åœ‹èªž), ì¡°ì„ ë§ (æœé®®èªž)"},ku:{name:"Kurdish",nativeName:"ÙƒÙˆØ±Ø¯ÛŒâ€Ž"},kj:{name:"Kwanyama, Kuanyama",nativeName:"Kuanyama"},la:{name:"Latin",nativeName:"latine"},lb:{name:"Luxembourgish, Letzeburgesch",nativeName:"LÃ«tzebuergesch"},lg:{name:"Luganda",nativeName:"Luganda"},li:{name:"Limburgish, Limburgan, Limburger",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"LingÃ¡la"},lo:{name:"Lao",nativeName:"àºžàº²àºªàº²àº¥àº²àº§"},lt:{name:"Lithuanian",nativeName:"lietuviÅ³ kalba"},lu:{name:"Luba-Katanga",nativeName:""},lv:{name:"Latvian",nativeName:"latvieÅ¡u valoda"},gv:{name:"Manx",nativeName:"Gaelg, Gailck"},mk:{name:"Macedonian",nativeName:"Ð¼Ð°ÐºÐµÐ´Ð¾Ð½ÑÐºÐ¸ Ñ˜Ð°Ð·Ð¸Ðº"},mg:{name:"Malagasy",nativeName:"Malagasy fiteny"},ms:{name:"Malay",nativeName:"bahasa Melayu, Ø¨Ù‡Ø§Ø³ Ù…Ù„Ø§ÙŠÙˆâ€Ž"},ml:{name:"Malayalam",nativeName:"à´®à´²à´¯à´¾à´³à´‚"},mt:{name:"Maltese",nativeName:"Malti"},mi:{name:"MÄori",nativeName:"te reo MÄori"},mr:{name:"Marathi (MarÄá¹­hÄ«)",nativeName:"à¤®à¤°à¤¾à¤ à¥€"},mh:{name:"Marshallese",nativeName:"Kajin MÌ§ajeÄ¼"},mn:{name:"Mongolian",nativeName:"Ð¼Ð¾Ð½Ð³Ð¾Ð»"},na:{name:"Nauru",nativeName:"EkakairÅ© Naoero"},nv:{name:"Navajo, Navaho",nativeName:"DinÃ© bizaad, DinÃ©kÊ¼ehÇ°Ã­"},nb:{name:"Norwegian BokmÃ¥l",nativeName:"Norsk bokmÃ¥l"},nd:{name:"North Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"à¤¨à¥‡à¤ªà¤¾à¤²à¥€"},ng:{name:"Ndonga",nativeName:"Owambo"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},ii:{name:"Nuosu",nativeName:"ê†ˆêŒ ê’¿ Nuosuhxop"},nr:{name:"South Ndebele",nativeName:"isiNdebele"},oc:{name:"Occitan",nativeName:"Occitan"},oj:{name:"Ojibwe, Ojibwa",nativeName:"áŠá“‚á”‘á“ˆá¯á’§áŽá“"},cu:{name:"Old Church Slavonic, Church Slavic, Church Slavonic, Old Bulgarian, Old Slavonic",nativeName:"Ñ©Ð·Ñ‹ÐºÑŠ ÑÐ»Ð¾Ð²Ñ£Ð½ÑŒÑÐºÑŠ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Odia",nativeName:"à¬“à¬¡à¬¼à¬¿à¬†"},os:{name:"Ossetian, Ossetic",nativeName:"Ð¸Ñ€Ð¾Ð½ Ã¦Ð²Ð·Ð°Ð³"},pa:{name:"Panjabi, Punjabi",nativeName:"à¨ªà©°à¨œà¨¾à¨¬à©€, Ù¾Ù†Ø¬Ø§Ø¨ÛŒâ€Ž"},pi:{name:"PÄli",nativeName:"à¤ªà¤¾à¤´à¤¿"},fa:{name:"Persian",nativeName:"ÙØ§Ø±Ø³ÛŒ"},pl:{name:"Polish",nativeName:"polski"},ps:{name:"Pashto, Pushto",nativeName:"Ù¾ÚšØªÙˆ"},pt:{name:"Portuguese",nativeName:"PortuguÃªs"},qu:{name:"Quechua",nativeName:"Runa Simi, Kichwa"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"kiRundi"},ro:{name:"Romanian, Moldovans, Moldovan",nativeName:"romÃ¢nÄƒ"},ru:{name:"Russian",nativeName:"Ñ€ÑƒÑÑÐºÐ¸Ð¹"},sa:{name:"Sanskrit (Saá¹ská¹›ta)",nativeName:"à¤¸à¤‚à¤¸à¥à¤•à¥ƒà¤¤à¤®à¥"},sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"à¤¸à¤¿à¤¨à¥à¤§à¥€, Ø³Ù†ÚŒÙŠØŒ Ø³Ù†Ø¯Ú¾ÛŒâ€Ž"},se:{name:"Northern Sami",nativeName:"DavvisÃ¡megiella"},sm:{name:"Samoan",nativeName:"gagana faa Samoa"},sg:{name:"Sango",nativeName:"yÃ¢ngÃ¢ tÃ® sÃ¤ngÃ¶"},sr:{name:"Serbian",nativeName:"ÑÑ€Ð¿ÑÐºÐ¸ Ñ˜ÐµÐ·Ð¸Ðº"},gd:{name:"Scottish Gaelic; Gaelic",nativeName:"GÃ idhlig"},sn:{name:"Shona",nativeName:"chiShona"},si:{name:"Sinhala, Sinhalese",nativeName:"à·ƒà·’à¶‚à·„à¶½"},sk:{name:"Slovak",nativeName:"slovenÄina"},sl:{name:"Slovene",nativeName:"slovenÅ¡Äina"},so:{name:"Somali",nativeName:"Soomaaliga, af Soomaali"},st:{name:"Southern Sotho",nativeName:"Sesotho"},es:{name:"Spanish",nativeName:"espaÃ±ol"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sw:{name:"Swahili",nativeName:"Kiswahili"},ss:{name:"Swati",nativeName:"SiSwati"},sv:{name:"Swedish",nativeName:"svenska"},ta:{name:"Tamil",nativeName:"à®¤à®®à®¿à®´à¯"},te:{name:"Telugu",nativeName:"à°¤à±†à°²à±à°—à±"},tg:{name:"Tajik",nativeName:"ØªØ§Ø¬ÛŒÚ©ÛŒâ€Ž"},th:{name:"Thai",nativeName:"à¹„à¸—à¸¢"},ti:{name:"Tigrinya",nativeName:"á‰µáŒáˆ­áŠ›"},bo:{name:"Tibetan Standard, Tibetan, Central",nativeName:"à½–à½¼à½‘à¼‹à½¡à½²à½‚"},tk:{name:"Turkmen",nativeName:"TÃ¼rkmen"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga (Tonga Islands)",nativeName:"faka Tonga"},tr:{name:"Turkish",nativeName:"TÃ¼rkÃ§e"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"ØªØ§ØªØ§Ø±Ú†Ø§â€Ž"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uighur, Uyghur",nativeName:"Ø¦Û‡ÙŠØºÛ‡Ø±Ú†Û•â€Ž"},uk:{name:"Ukrainian",nativeName:"ÑƒÐºÑ€Ð°Ñ—Ð½ÑÑŒÐºÐ°"},ur:{name:"Urdu",nativeName:"Ø§Ø±Ø¯Ùˆ"},uz:{name:"Uzbek",nativeName:"zbek, ÐŽÐ·Ð±ÐµÐº, Ø£Û‡Ø²Ø¨ÛÙƒâ€Ž"},ve:{name:"Venda",nativeName:"Tshivená¸“a"},vi:{name:"Vietnamese",nativeName:"Tiáº¿ng Viá»‡t"},vo:{name:"VolapÃ¼k",nativeName:"VolapÃ¼k"},wa:{name:"Walloon",nativeName:"Walon"},cy:{name:"Welsh",nativeName:"Cymraeg"},wo:{name:"Wolof",nativeName:"Wollof"},fy:{name:"Western Frisian",nativeName:"Frysk"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"×™×™Ö´×“×™×©"},yo:{name:"Yoruba",nativeName:"YorÃ¹bÃ¡"},za:{name:"Zhuang, Chuang",nativeName:"SaÉ¯ cueÅ‹Æ…, Saw cuengh"},mis:{name:"uncoded languages",nativeName:"uncoded languages"},mul:{name:"multiple languages",nativeName:"multiple languages"},und:{name:"undetermined",nativeName:"undetermined"},zxx:{name:"no linguistic content/not applicable",nativeName:"no linguistic content/not applicable"}}}function u(n){return{aar:"aa",abk:"ab",ave:"ae",afr:"af",aka:"ak",amh:"am",ara:"ar",asm:"as",ava:"av",aym:"ay",aze:"az",bak:"ba",bel:"be",bul:"bg",bih:"bh",bis:"bi",bam:"bm",ben:"bn",bod:"bo",tib:"bo",bre:"br",bos:"bs",cat:"ca",che:"ce",cha:"ch",cos:"co",cre:"cr",ces:"cs",cze:"cs",chu:"cu",chv:"cv",cym:"cy",wel:"cy",dan:"da",deu:"de",ger:"de",div:"dv",dzo:"dz",ewe:"ee",ell:"el",gre:"el",eng:"en",epo:"eo",spa:"es",est:"et",baq:"eu",eus:"eu",fas:"fa",per:"fa",ful:"ff",fin:"fi",fij:"fj",fao:"fo",fre:"fr",fra:"fr",fry:"fy",gle:"ga",gla:"gd",glg:"gl",grn:"gn",glv:"gv",guj:"gu",hau:"ha",heb:"he",hin:"hi",hmo:"ho",hrv:"hr",hat:"ht",hun:"hu",arm:"hy",hye:"hy",her:"hz",ina:"ia",ind:"id",ile:"ie",ibo:"ig",iii:"ii",ipk:"ik",ido:"io",ice:"is",isl:"is",ita:"it",iku:"iu",jpn:"ja",jav:"jv",geo:"ka",kat:"ka",kon:"kg",kik:"ki",kua:"kj",kaz:"kk",kal:"kl",khm:"km",kan:"kn",kor:"ko",kau:"kr",kas:"ks",kur:"ku",kom:"kv",cor:"kw",kir:"ky",lat:"la",ltz:"lb",lug:"lg",lim:"li",lin:"ln",lao:"lo",lit:"lt",lub:"lu",lav:"lv",mlg:"mg",mah:"mh",mao:"mi",mri:"mi",mac:"mk",mkd:"mk",mal:"ml",mon:"mn",mar:"mr",may:"ms",msa:"ms",mlt:"mt",bur:"my",mya:"my",nau:"na",nob:"nb",nde:"nd",nep:"ne",ndo:"ng",dut:"nl",nld:"nl",nno:"nn",nor:"no",nbl:"nr",nav:"nv",nya:"ny",oci:"oc",oji:"oj",orm:"om",ori:"or",oss:"os",pan:"pa",pli:"pi",pol:"pl",pus:"ps",por:"pt",que:"qu",roh:"rm",run:"rn",ron:"ro",rum:"ro",rus:"ru",kin:"rw",san:"sa",srd:"sc",snd:"sd",sme:"se",sag:"sg",sin:"si",slk:"sk",slo:"sk",slv:"sl",smo:"sm",sna:"sn",som:"so",alb:"sq",sqi:"sq",srp:"sr",ssw:"ss",sot:"st",sun:"su",swe:"sv",swa:"sw",tam:"ta",tel:"te",tgk:"tg",tha:"th",tir:"ti",tuk:"tk",tgl:"tl",tsn:"tn",ton:"to",tur:"tr",tso:"ts",tat:"tt",twi:"tw",tah:"ty",uig:"ug",ukr:"uk",urd:"ur",uzb:"uz",ven:"ve",vie:"vi",vol:"vo",wln:"wa",wol:"wo",xho:"xh",yid:"yi",yor:"yo",zha:"za",chi:"zh",zho:"zh",zul:"zu"}[n]}i.__esModule=!0;i.getIsoLangs=r;i.get2LetterLangCode=u},{}],249:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function r(){for(var t=arguments.length,i=Array(t),n=0;t>n;n++)i[n]=arguments[n];u.logByType("log",i)}i.__esModule=!0;var o=n("global/window"),s=e(o),f=n("./browser"),u={};i.Log=u;u.logByType=function(n,t){var e=arguments.length<=2||void 0===arguments[2]?!!f.IE_VERSION&&f.IE_VERSION<11:arguments[2],i=s["default"].console,u=i&&i[n]||function(){};"log"!==n&&t.unshift(n.toUpperCase()+":");r.history.push(t);t.unshift("VIDEOJS:");e&&(t=t.map(function(n){if(n&&"object"==typeof n||Array.isArray(n))try{return JSON.stringify(n)}catch(t){}return String(n)}).join(" "));u.apply?u[Array.isArray(t)?"apply":"call"](i,t):u(t)};r.history=[];r.error=function(){for(var t=arguments.length,i=Array(t),n=0;t>n;n++)i[n]=arguments[n];return u.logByType("error",i)};r.warn=function(){for(var t=arguments.length,i=Array(t),n=0;t>n;n++)i[n]=arguments[n];return u.logByType("warn",i)};i["default"]=r},{"./browser":238,"global/window":80}],250:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function r(n){return!!n&&"object"==typeof n&&"[object Object]"===n.toString()&&n.constructor===Object}function u(){var n=Array.prototype.slice.call(arguments);return n.unshift({}),n.push(s),o["default"].apply(null,n),n[0]}i.__esModule=!0;i["default"]=u;var e=n("lodash-compat/object/merge"),o=f(e),s=function(n,t){return r(t)?r(n)?void 0:u(t):t};t.exports=i["default"]},{"lodash-compat/object/merge":62}],251:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}var r;i.__esModule=!0;var f=n("global/document"),e=u(f),o=function(n){var t=e["default"].createElement("style");return t.className=n,t};i.createStyleElement=o;r=function(n,t){n.styleSheet?n.styleSheet.cssText=t:n.textContent=t};i.setTextContent=r},{"global/document":79}],252:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){return Array.isArray(n)?r(n):void 0===n||void 0===t?r():r([[n,t]])}function r(n){return void 0===n||0===n.length?{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:f.bind(null,"start",0,n),end:f.bind(null,"end",1,n)}}function f(n,t,i,r){return void 0===r&&(h["default"].warn("DEPRECATED: Function '"+n+"' on 'TimeRanges' called without an index argument."),r=0),o(n,r,i.length-1),i[r][t]}function o(n,t,i){if(0>t||t>i)throw new Error("Failed to execute '"+n+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+i+").");}i.__esModule=!0;i.createTimeRanges=u;var s=n("./log.js"),h=e(s);i.createTimeRange=u},{"./log.js":249}],253:[function(n,t,i){"use strict";function r(n){return n.charAt(0).toLowerCase()+n.slice(1)}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],254:[function(n,t,i){"use strict";function r(n){return n.charAt(0).toUpperCase()+n.slice(1)}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],255:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var u,h,c,l;i.__esModule=!0;var a=n("global/document"),r=f(a),v=n("global/window"),y=f(v),e=function(n){var e=["protocol","hostname","port","pathname","search","hash","host"],u,o,i,t,f;for(n=encodeURI(n),u=r["default"].createElement("a"),u.href=n,o=""===u.host&&"file:"!==u.protocol,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"http:"===t.protocol&&(t.host=t.host.replace(/:80$/,"")),"https:"===t.protocol&&(t.host=t.host.replace(/:443$/,"")),o&&r["default"].body.removeChild(i),t};i.parseUrl=e;var o=/^[=&;\/]{1}/,p=/([=&;\/]{1})/,s=function(n){var r=n.indexOf("?"),u={hierarchical:decodeURI(n),query:[]};if(-1!==r){u.hierarchical=decodeURI(n.slice(0,r));for(var f=n.slice(r+1),i=f.split(p),t=0;t<i.length;t++)u.query.push(i[t].match(o)?i[t]:decodeURIComponent(i[t]))}return u};i.decodeURL=s;u=function(n){var i="",t;if(n.query&&n.query.length)for(i="?",t=0;t<n.query.length;t++)i+=n.query[t].match(o)?n.query[t]:encodeURIComponent(n.query[t]);return encodeURI(n.hierarchical)+i};i.encodeURL=u;h=function(n){var t=s(n),i;return t.hierarchical.match(/^(https?:)?\/\//i)?n=u(t):(i=r["default"].createElement("div"),i.innerHTML='<a href="'+u(t)+'">x<\/a>',n=i.firstChild.href),n};i.getAbsoluteURL=h;c=function(n){if("string"==typeof n){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(n);if(t)return t.pop().toLowerCase()}return""};i.getFileExtension=c;l=function(n){var t=y["default"].location,i=e(n),r=":"===i.protocol?t.protocol:i.protocol;return r+i.host!==t.protocol+t.host};i.isCrossOrigin=l},{"global/document":79,"global/window":80}],256:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)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 r(n,t,i){var u=void 0;if("string"==typeof n){if(0===n.indexOf("#")&&(n=n.slice(1)),r.getPlayers()[n])return t&&a["default"].warn('Player "'+n+'" is already initialised. Options will not be applied.'),i&&r.getPlayers()[n].ready(i),r.getPlayers()[n];u=f.getEl(n)}else u=n;if(!u||!u.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return u.player||o["default"].players[u.playerId]||new o["default"](u,t,i)}var s,y;i.__esModule=!0;var k=n("global/window"),d=u(k),g=n("global/document"),c=u(g),nt=n("./setup"),tt=e(nt),it=n("./utils/stylesheet.js"),p=e(it),rt=n("./component"),l=u(rt),ut=n("./event-target"),ft=u(ut),et=n("./utils/events.js"),h=e(et),ot=n("./player"),o=u(ot),st=n("./plugins.js"),ht=u(st),ct=n("../../src/js/utils/merge-options.js"),lt=u(ct),at=n("./utils/fn.js"),vt=e(at),yt=n("./tracks/text-track.js"),pt=u(yt),wt=n("./tracks/audio-track.js"),bt=u(wt),kt=n("./tracks/video-track.js"),dt=u(kt),gt=n("./utils/time-ranges.js"),ni=n("./utils/format-time.js"),ti=u(ni),ii=n("./utils/log.js"),a=u(ii),ri=n("./utils/dom.js"),f=e(ri),ui=n("./utils/browser.js"),w=e(ui),fi=n("./utils/url.js"),b=e(fi),ei=n("./extend.js"),oi=u(ei),si=n("lodash-compat/object/merge"),hi=u(si),ci=n("xhr"),li=u(ci),ai=n("./tech/tech.js"),v=u(ai),vi=n("./tech/html5.js"),yi=(u(vi),n("./tech/flash.js"));u(yi);("undefined"==typeof HTMLVideoElement&&(c["default"].createElement("video"),c["default"].createElement("audio"),c["default"].createElement("track")),d["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0)&&(s=f.$(".vjs-styles-defaults"),s||(s=p.createStyleElement("vjs-styles-defaults"),y=f.$("head"),y.insertBefore(s,y.firstChild),p.setTextContent(s,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")));tt.autoSetupTimeout(1,r);r.VERSION="2.1.8.0";r.options=o["default"].prototype.options_;r.getPlayers=function(){return o["default"].players};r.players=o["default"].players;r.getComponent=l["default"].getComponent;r.registerComponent=function(n,t){v["default"].isTech(t)&&a["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");l["default"].registerComponent.call(l["default"],n,t)};r.getTech=v["default"].getTech;r.registerTech=v["default"].registerTech;r.browser=w;r.TOUCH_ENABLED=w.TOUCH_ENABLED;r.extend=oi["default"];r.mergeOptions=lt["default"];r.bind=vt.bind;r.plugin=ht["default"];r.addLanguage=function(n,t){var i;return n=(""+n).toLowerCase(),o["default"].prototype.options_.languagesMutated=!0,hi["default"](r.options.languages,(i={},i[n]=t,i))[n]};r.log=a["default"];r.createTimeRange=r.createTimeRanges=gt.createTimeRanges;r.formatTime=ti["default"];r.parseUrl=b.parseUrl;r.isCrossOrigin=b.isCrossOrigin;r.EventTarget=ft["default"];r.on=h.on;r.one=h.one;r.off=h.off;r.trigger=h.trigger;r.xhr=li["default"];r.TextTrack=pt["default"];r.AudioTrack=bt["default"];r.VideoTrack=dt["default"];r.isEl=f.isEl;r.isTextNode=f.isTextNode;r.createEl=f.createEl;r.hasClass=f.hasElClass;r.addClass=f.addElClass;r.removeClass=f.removeElClass;r.toggleClass=f.toggleElClass;r.setAttributes=f.setElAttributes;r.getAttributes=f.getElAttributes;r.emptyEl=f.emptyEl;r.appendContent=f.appendContent;r.insertContent=f.insertContent;"object"==typeof i&&"object"==typeof t&&(t.exports=r);i["default"]=r;t.exports=i["default"]},{"../../src/js/utils/merge-options.js":250,"./component":163,"./event-target":201,"./extend.js":202,"./player":210,"./plugins.js":211,"./setup":215,"./tech/flash.js":218,"./tech/html5.js":219,"./tech/tech.js":222,"./tracks/audio-track.js":224,"./tracks/text-track.js":232,"./tracks/video-track.js":237,"./utils/browser.js":238,"./utils/dom.js":241,"./utils/events.js":242,"./utils/fn.js":243,"./utils/format-time.js":245,"./utils/log.js":249,"./utils/stylesheet.js":251,"./utils/time-ranges.js":252,"./utils/url.js":255,"global/document":79,"global/window":80,"lodash-compat/object/merge":62,xhr:85}]},{},[96]);amp.utils=amp.utils||{};amp.utils.getBitrateByUnit=function(n){var t=n+"bps";return n>=1e6?(n=amp.utils.roundToOneDecimal(n/1e6),t=n+"Mbps"):n>=1e3&&(n=amp.utils.roundToOneDecimal(n/1e3),t=n+"Kbps"),t};amp.utils.getSizeByUnit=function(n){var t=n;return n>=1048576?(n=amp.utils.roundToOneDecimal(n/1048576),t=n+"MB"):n>=1024&&(n=amp.utils.roundToOneDecimal(n/1024),t=n+"KB"),t};amp.utils.roundToOneDecimal=function(n){return+(Math.round(n+"e+1")+"e-1")},function(n){"use strict";var t=amp.getComponent("MenuButton"),i=t.prototype.addChild;t.prototype.addChild=function(t){i.call(this,t);t.hasClass("vjs-menu")&&this.trigger(n.internalEventName.menuadded)}}(window.amp),function(n){"use strict";n.plugin("responsive",function(t){function r(n){return"number"==typeof n?n:"string"!=typeof n||isNaN(parseInt(n,10))?!1:parseInt(n,10)}function a(n){for(var f,e,t={},h=Object.keys(n),o=0;o<h.length;o++){var i=h[o],u=n[i],s=r(u);s!==!1?t[i]={from:s,to:s}:(u.from||u.to)&&(f=r(u.from),e=r(u.to),(f!==!1||e!==!1)&&(t[i]={}),f!==!1&&(t[i].from=f),e!==!1&&(t[i].to=e))}return t}function h(n){n.playerContainer().style.fontSize=n.playerContainer().offsetWidth+"px"}function v(){var n=this.getCurrentTextTrack();n&&this.textTrackDisplay.updateForTrack(n)}function u(){for(var i=this.playerContainer().offsetWidth,n=[],e=0;e<l.length;e++){var t=l[e],r=s[t].from,u=s[t].to;void 0!==r&&void 0!==u?i>=r&&u>=i&&n.push(t):void 0!==r&&i>=r?n.push(t):void 0!==u&&u>=i&&n.push(t)}n.length>0&&(n=n.join(" "),f!==n&&(this.removeElClass(this.playerContainer(),f),this.addElClass(this.playerContainer(),n),f=n));h(this)}function c(){for(var t,r=i.el().offsetHeight-i.controlBar.el().offsetHeight,u=r-20,n=0;n<o.length;n++)t=o[n],t.style.maxHeight=u+"px"}var f,i=this,e=200,o=[],s=a(n.mergeOptions(t.sizeClasses,{"amp-size-es":{from:189,to:229},"amp-size-s":{from:230,to:399},"amp-size-m":{from:400,to:799},"amp-size-l":{from:800}})),l=Object.keys(s);h(i);i.addThrottledWindowResizeListener(n.bind(i,u),e);i.one(n.eventName.loadstart,function(){n.TOUCH_ENABLED&&i.addClass("amp-touch-enabled")});i.ready(n.bind(i,function(){this.addThrottledWindowResizeListener(n.bind(this,v),e);u.call(this);var t=this;this.addThrottledWindowResizeListener(c,e);i.on("fullscreenchange",function(){u.call(t)});this.on(n.internalEventName.menuadded,function(){o=this.controlBar.el().querySelectorAll(".vjs-menu-content");c()})}))})}(window.amp),function(n){"use strict";n.plugin("ampAudioTracks",function(t){function h(n){var u=i.controlBar.audioTracksButton,f=r,t=u.items.indexOf(n),e=i.currentAudioStreamList();!e||0>t||(e.switchIndex(t),f!==t&&(f<u.items.length&&u.items[f].selected(!1),n.selected(!0),r=t))}function y(n){var r=n.currentAudioStreamList(),t,u,i;if(!r)return[];for(p(n),u=[],i=0;i<r.streams.length;i++)t=r.streams[i],tt(t.codec)==e&&u.push({text:t.title?t.title:t.name});return u}function p(t){var r=t.currentAudioStreamList(),u,i;if(v)for(i=0;i<r.streams.length;i++)r.streams[i].title=r.streams[i].name;else{var e=l(r.streams,function(n){var t=d(n.language);return t||(t=n.language),t}),o=l(r.streams,function(t){return n.utils.getBitrateByUnit(t.bitrate)}),f=[];for(nt(e)?f=e:(u=[],o.forEach(function(n,t){var i=e[t]?e[t]:"Track"+t;u.push(i+" - "+o[t])}),f=u.slice(),u.forEach(function(n,t){var i=u.indexOf(n);t>i&&(f[i]=u[i]+" ("+i+")",f[t]=u[t]+" ("+t+")")})),i=0;i<r.streams.length;i++)r.streams[i].title=f[i]}}function w(){var t=this.player_.currentAudioStreamList();t&&t.addEventListener(n.streamListEventName.streamselected,n.bind(this,b));this.refresh();r=void 0;k(this.player_)}function b(){var i=this.player_.currentAudioStreamList(),n=this.player_.controlBar.audioTracksButton,t=r;t!==i.enabledIndices[0]&&(t<n.items.length&&n.items[t].selected(!1),r=i.enabledIndices[0],r<n.items.length&&n.items[r].selected(!0))}function k(n){var t=n.currentAudioStreamList(),i,u;t&&(i=n.controlBar.audioTracksButton,u=r,u!=t.enabledIndices[0]&&h(i.items[t.enabledIndices[0]]))}function d(n){if(!n)return null;var t=null;return 3==n.length&&(t=amp.get2LetterLangCode(n)),u&&t&&u[t]?u[t].nativeName:u&&n&&u[n]?u[n].nativeName:null}function g(n){return n.filter(function(n,t,i){return i.indexOf(n)===t})}function nt(n){return g(n).length==n.length}function tt(n){return null==n?e:(n=n.toLowerCase(),c(["dtse","ac-3","ec-3"],n)?rt:c(["aac","mp4a"],n)?e:void 0)}function c(n,t){for(var i=0;i<n.length;i++)if(t.indexOf(n[i])>-1)return!0;return!1}function l(n,t){var i=[];return n.forEach(function(n,r){i.push(t(n,r))}),i}var i=this,u=n.getIsoLangs(),a=t&&t.menuTitle?t.menuTitle:"Audio Tracks",r=t&&t.selectedItem?t.selectedItem:0,it="amp-audiotracks-control",rt=this.htmlEncode(this.localize("Dolby Digital")),e=this.htmlEncode(this.localize("Stereo")),o=!0,v=!1,s,f;i.options_.skinConfig&&i.options_.skinConfig.audioTracksMenu&&("undefined"!=typeof i.options_.skinConfig.audioTracksMenu.enabled&&(o=i.options_.skinConfig.audioTracksMenu.enabled),v=i.options_.skinConfig.audioTracksMenu.useManifestForLabel||!1);s=n.getComponent("MenuItem");n.AudioTrackskMenuItem=n.extend(s,{init:function(n,t){var i={label:t.text,selected:t.selected,selectable:!0};s.call(this,n,i);this.addClass("amp-menu-item")}});n.AudioTrackskMenuItem.prototype.handleClick=function(){h(this)};n.registerComponent("AudioTrackskMenuItem",n.AudioTrackskMenuItem);f=n.getComponent("MenuButton");n.AudioTracksButton=n.extend(f,{init:function(t,i){o&&(i=i||{},i.name="audioTracksButton",f.call(this,t,i),t.addEventListener(AzureHtml5JS.Common.isSafari?n.eventName.loadeddata:n.eventName.loadedmetadata,n.bind(this,w)))}});n.AudioTracksButton.prototype.refresh=function(){if(this.removeChild(this.menu),null!=this.menu&&this.menu.dispose(),this.menu=this.createMenu(),!this.items||this.items.length<=1)return void this.hide();this.addChild(this.menu);var t=n.getComponent("Component"),r=new t(i,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(a)),tabindex:-1})});this.menu.prependItem(r);this.show()};n.AudioTracksButton.prototype.buttonText=a;n.AudioTracksButton.prototype.createItems=function(){for(var u,i=y(this.player_)||[],r=[],t=0;t<i.length;t++)u=new n.AudioTrackskMenuItem(this.player_,i[t]),r.push(u);return r};n.AudioTracksButton.prototype.buildCSSClass=function(){return it+" "+f.prototype.buildCSSClass.call(this)};n.registerComponent("AudioTracksButton",n.AudioTracksButton);i.ready(function(){var t=new n.AudioTracksButton(i,{selectedItemIndex:r});i.controlBar.audioTracksButton=i.controlBar.addChild(t);o&&i.controlBar.audioTracksButton.el_.setAttribute("aria-label","Audio Tracks Menu")})})}(window.amp),function(n){"use strict";var t=n.getComponent("CaptionSettingsMenuItem"),r=t.prototype.onClick,i=n.getComponent("TextTrackSettings"),u=i.prototype.saveSettings;n.plugin("closedCaption",function(f){var e=this,o=f&&f.menuTitle?f.menuTitle:"Closed Captioning";e.addEventListener(n.eventName.loadedmetadata,function(){e.controlBar.captionsButton.el().className+=" amp-closedcaption-control";e.controlBar.captionsButton.buttonText=o;var t=n.getComponent("Component"),i=new t(e,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(o)),tabindex:-1})});e.controlBar.captionsButton.menu.prependItem(i)});t.prototype.onClick=function(){r.apply(this);this.player().addClass("amp-showing-texttrack-settings")};i.prototype.saveSettings=function(){u.apply(this);this.player().removeClass("amp-showing-texttrack-settings")};e.on("dispose",function(){t.prototype.onClick=r;i.prototype.saveSettings=u})})}(window.amp),function(n){"use strict";n.plugin("contentTitle",function(t){function f(n,t,i){var e="amp-logo",o,f,s;if(r&&null!==i.currentClip()&&i.currentClip().isAd){var u="",h=i.currentClip().clickThrough||"",c=parseInt(i.duration()-i.currentTime());c>=0&&i.currentTime()>0&&(u=AMP.Misc.formatString(i.localize("AD_TIMING_INFO"),c),h.length>0&&(u=i.htmlEncode(u)+' | <a onclick=" return true" class="aboutLink">'+i.htmlEncode(h)+"<\/a>"),t=u);e="amp-logo-ad"}else t=i.htmlEncode(t);return o=null,o=n?['<div class="logo-title-row">','<div class="title"><h4>'+i.htmlEncode(n)+"<\/h4><\/div>",'<div class="'+e+'"><\/div>',"<\/div>"]:['<div class="logo-title-row">','<div class="title"><\/div>','<div class="'+e+'"><\/div>',"<\/div>"],f=null,t&&(f='<div class="description">'+t+"<\/div>"),s=o.join(""),null!=f&&(s+=f),s}function e(){var o=f(this.title_||this.options_.title,this.options_.description,this),e,t,u;void 0!==i.contentTitleElement&&(i.contentTitleElement.innerHTML=o,e=i.options().logo?!!i.options().logo.enabled:!0,t=r?"amp-logo-ad":"amp-logo",e&&i.el().getElementsByClassName(t).length>0&&(u=new n.Logo(i),i.el().getElementsByClassName(t)[0].appendChild(u.el()),i.on("dispose",function(){u.dispose()})))}var i=this,r=i.options_.isAdPlayer||!1,u=n.bind(i,e);i.ready(function(){var u=f(t.title,t.description,i),e="";e=r?n.createEl("div",{className:"amp-content-title-ad",innerHTML:u}):n.createEl("div",{className:"amp-content-title",innerHTML:u});i.contentTitleElement=i.el().appendChild(e);r&&(i.contentTitleElement.onclick=function(){i.trigger("tech-click")})});i.on("firstplay",u);i.on("presentationUpdate",u);r&&i.on("timeupdate",u);i.on("dispose",function(){i.contentTitleElement&&(i.contentTitleElement.parentElement&&i.contentTitleElement.parentElement.removeChild(i.contentTitleElement),i.contentTitleElement=null)})})}(window.amp),function(n){"use strict";n.plugin("controlBarIcons",function(t){function f(n){for(var t=0;t<i.length;t++)if(n===i[t].name())return i[t];return null}function u(t,i){var u=i.replace("amp-controlbaricons-",""),e;u="controlBarIcons"+(u[0].toUpperCase()+u.slice(1));for(var h=n.getComponent("Component"),s=new h(r,{name:u,el:n.createEl("div",{className:i})}),o=0;o<t.length;o++)e=f(t[o]),e&&(s.addChild(e),r.controlBar.removeChild(e));r.controlBar.addChild(s)}var r=this,e=t&&t.leftIcons?t.leftIcons:[],o=t&&t.middleIcons?t.middleIcons:[],s=t&&t.rightIcons?t.rightIcons:[],h=t?!!t.removeOtherIcons:!1,i=[];r.ready(function(){if(i=r.controlBar.children().slice(),h)for(var n=0;n<i.length;n++)r.controlBar.removeChild(i[n]);u(e,"amp-controlbaricons-left");u(o,"amp-controlbaricons-middle");u(s,"amp-controlbaricons-right")});r.on("dispose",function(){setTimeout(function(){for(var n=0;n<i.length;n++)i[n]&&i[n].dispose&&(i[n].dispose(),i[n]=null)},0)})})}(window.amp);!function(n){!function(){"use strict";var t=function(){function n(n,t){this.languageCode=n;this.languageName=t;this.files=[]}return n}(),i=function(){function i(n,t,i){this.mediaPlayer=n;this.player=t;this.playerElement=i;this.visible=!1;this.languagesInFiles={};this.languageCount=0;this.selectedFile=null}return i.prototype.options=function(i){var e,r,f,o=this.mediaPlayer.getIsoLangs(),s=this.visible,u;if(this.removeDialogElement(),!(i&&i instanceof Array))return void n.Logger.error(5,"Download plugin: downloadable media options are invalid.");for(this.languagesInFiles={},this.languageCount=0,e=0;e<i.length;e++)u=i[e],u.lang&&"string"==typeof u.lang&&(r=null,f=null,o[u.lang]?(r=u.lang,f=o[u.lang]):(r=u.lang.split("-")[0],r&&o[r]&&(f=o[r])),r&&f&&(this.languagesInFiles[r]?this.languagesInFiles[r].files.push(u):(this.languagesInFiles[r]=new t(r,f),this.languagesInFiles[r].files.push(u),this.languageCount++)));s&&this.languageCount>0&&this.show();s&&0===this.languageCount&&this.closeCallback&&this.closeCallback()},i.prototype.show=function(){this.visible||(this.dialogElement||this.createDialogElement(),this.dialogElement.style.display="block",this.visible=!0,this.dialogElement.focus())},i.prototype.createDialogElement=function(){var e,r,t,o,h,u=this,f=this.playerElement.id,l=f+"_dlclose",a=f+"_dl",v=f+"_sel",y=f+"_dlglbl",p=f+"_dlgdesc",c,i,w,s;this.dialogElement=document.createElement("div");this.dialogElement.style.display="none";this.dialogElement.className="amp-download-dialog";this.dialogElement.tabIndex=-1;this.dialogElement.setAttribute("role","dialog");this.dialogElement.setAttribute("aria-labelledby",y);this.dialogElement.setAttribute("aria-describedby",p);this.dialogElement.onkeydown=function(n){27==n.keyCode&&u.hide()};r=this.dialogElement.appendChild(document.createElement("div"));r.setAttribute("role","document");t=r.appendChild(document.createElement("div"));t.id=y;t.className="vjs-control-text";t.setAttribute("role","heading");t.setAttribute("aria-level","1");t.innerText=this.player.localize("Media Download Dialog");o=r.appendChild(document.createElement("div"));o.id=p;o.className="vjs-control-text";o.innerText=this.player.localize("Media Download Description");h=r.appendChild(document.createElement("div"));h.className="outline-enabled";h.innerHTML="<div id='"+l+"' class='amp-download-close vjs-control outline-enabled-control' role='button' tabindex=0><span class='vjs-control-text'>"+this.player.localize("Close")+"<\/span><\/div><div class='amp-download-container'><div class='amp-download-header'><div class='amp-download-header-title'>"+this.player.localize("Download")+"<\/div><\/div><div class='amp-download-body'><div class='amp-download-left-col'><form><\/form><\/div><div class='amp-download-right-col'><label class='amp-download-label' for='"+v+"' >"+this.player.localize("Language")+"<\/label><select id='"+v+"'><\/select><\/div><div class='amp-clear'><\/div><\/div><div class='amp-download-footer'><a id='"+a+"' class='amp-download-button amp-download-disabled' download>"+this.player.localize("Download")+"<\/a><\/div><\/div>";c=this.dialogElement.getElementsByTagName("form")[0];i=this.dialogElement.getElementsByTagName("select")[0];for(e in this.languagesInFiles)this.languagesInFiles.hasOwnProperty(e)&&(w=this.languagesInFiles[e],s=document.createElement("option"),s.value=e,s.innerText=w.languageName.nativeName,i.add(s));i.selectedIndex=0;i.onchange=function(){u.refreshMediaList(c,i)};this.refreshMediaList(c,i);this.playerElement.appendChild(this.dialogElement);document.getElementById(l).onclick=function(){u.hide()};this.downloadButton=document.getElementById(a);this.downloadButton.onclick=function(){u.selectedFile&&n.Logger.verbose(5,"Download plugin: Starting download file: "+u.selectedFile.uri)}},i.prototype.removeDialogElement=function(){this.dialogElement&&(this.playerElement.removeChild(this.dialogElement),this.dialogElement=null);this.visible=!1},i.prototype.refreshMediaList=function(n,t){var i,u,r,f=this;for(this.unselectFile();n.firstChild;)n.removeChild(n.firstChild);if(t.selectedIndex>=0&&t[t.selectedIndex]&&(u=t[t.selectedIndex],r=this.languagesInFiles[u.value]))for(i=0;i<r.files.length;i++)!function(t){var u=document.createElement("input"),i;u.type="radio";u.name="fileselect";u.onchange=function(){f.selectFile(r.files[t])};i=document.createElement("label");i.className="amp-download-label";i.appendChild(u);i.appendChild(document.createTextNode(f.getLabel(r.files[t])));n.appendChild(i)}(i)},i.prototype.hide=function(){this.visible&&(this.dialogElement.style.display="none",this.visible=!1,this.closeCallback&&this.closeCallback())},i.prototype.onClose=function(n){this.closeCallback=n},i.prototype.selectFile=function(n){this.selectedFile=n;this.downloadButton&&(this.downloadButton.className="amp-download-button",this.downloadButton.href=n.uri)},i.prototype.unselectFile=function(){this.selectedFile=null;this.downloadButton&&(this.downloadButton.className="amp-download-button amp-download-disabled",this.downloadButton.removeAttribute("href"))},i.prototype.getLabel=function(t){var r="";switch(t.type){case amp.downloadableMediaType.video:r=i.videoWithoutCCLabel;break;case amp.downloadableMediaType.videoWithCC:r=i.videoWithCCLabel;break;case amp.downloadableMediaType.audio:r=i.audioLabel;break;case amp.downloadableMediaType.transcript:r=i.transciptLabel;break;default:n.Logger.error(5,"Download plugin: Unrecognized media type: "+t.type);r=t.type}return r=this.player.localize(r),t.bitrate&&(r=r+", "+amp.utils.getBitrateByUnit(t.bitrate)),t.size&&(r=r+", "+amp.utils.getSizeByUnit(t.size)),r},i.videoWithCCLabel="Video with Closed Caption",i.videoWithoutCCLabel="Video without Closed Caption",i.audioLabel="Audio",i.transciptLabel="Transcript",i}(),r=function(){function n(n,t){this.mediaPlayer=n;this.player=t;var u="Download",r=n.getComponent("Button"),f="amp-download-control";n.DownloadButton=n.extend(r,{init:function(n,t){t=t||{};t.name="downloadButton";r.call(this,n,t);this.controlText(u);this.buttonText=u;this.dialogVisible=!1;this.dialog=null;this.pused=!1}});n.DownloadButton.prototype.buildCSSClass=function(){return f+" "+r.prototype.buildCSSClass.call(this).trim()};n.DownloadButton.prototype.handleClick=function(){var t=this;this.dialog||(this.dialog=new i(n,this.player_,this.player_.el()),this.dialog.onClose(function(){t.dialogVisible=!1;t.paused&&(t.player_.play(),t.paused=!1)}),this.dialog.options(this.player_.downloadableMedia()));this.dialogVisible?(this.dialog.hide(),this.dialogVisible=!1):(this.dialog.show(),this.dialogVisible=!0,this.player_.paused()||(this.player_.pause(),this.paused=!0))};n.registerComponent("DownloadButton",n.DownloadButton);t.ready(function(){var u=new n.DownloadButton(t),i=t.downloadableMedia(),r;t.controlBar.downloadButton=t.controlBar.addChild(u);i&&i instanceof Array&&0!==i.length||(t.controlBar.downloadButton.el().style.display="none");t.addEventListener("play",function(){t.controlBar.downloadButton.dialogVisible&&t.pause()});r=function(){var n=t.downloadableMedia(),i=!!n&&n instanceof Array&&n.length>0;t.controlBar.downloadButton.dialog&&t.controlBar.downloadButton.dialog.options(n);i?t.addClass("amp-showing-download-control"):t.removeClass("amp-showing-download-control")};t.addEventListener("downloadableMediaChanged",r);r()})}return n}();!function(n,t){amp.plugin("download",function(){new r(t,this)})}(window,window.amp)}(n.Plugins||(n.Plugins={}));n.Plugins}(AMP||(AMP={})),function(n){"use strict";n.plugin("live",function(t){function w(){b();i.currentTime(i.duration());f=!1}function ht(){i.isLive()?(e="LowLatency"==i.currentHeuristicProfile(),e&&(u=0,f=!1,p=bt,i.addEventListener(amp.internalEventName.currentTimeChanging,d)),i.addEventListener(n.eventName.seeked,r),i.addEventListener(n.eventName.seeking,r),i.addEventListener(n.eventName.timeupdate,a),tt(),y()):(i.removeEventListener(n.eventName.seeked,r),i.removeEventListener(n.eventName.seeking,r),i.removeEventListener(n.eventName.timeupdate,a),c(),it());e||(p=ft,i.removeEventListener(amp.internalEventName.currentTimeChanging,d))}function ct(){"Html5"==i.currentTechName()&&i.isLive()&&(tt(),y())}function b(){i.canControlPlaybackRate()&&i.playbackRate()>1&&k()}function lt(){i.canControlPlaybackRate()&&i.playbackRate()<1&&k()}function k(){i.playbackRate(1);l=!0;et=1;o=!1;s=!1;h=!1;i.one(n.eventName.timeupdate,r)}function at(){i.canControlPlaybackRate()&&et!==i.playbackRate()&&(l=!1,f=!0)}function a(){if(i.isLive()){var t=v();t?(c(),nt(),e&&setTimeout(function(){!i.paused()&&!f&&Date.now()-u>kt&&(AMP.Logger.warning(AMP.Logger.Area.plugin,"amplive plugin: player drifted from live edge. Attempting to move to live edge.."),u=0,w())},50),!l&&g()&&lt()):(e&&0==u&&(u=Date.now()),l||b())}else i.removeEventListener(n.eventName.seeked,r),i.removeEventListener(n.eventName.seeking,r),i.removeEventListener(n.eventName.timeupdate,a),c(),it()}function d(n,t){t.time<i.duration()&&(f=!0,u=0)}function r(){i.isLive()&&(v()?(c(),nt()):(y(),vt()))}function v(){var n=i.currentPlayerSettingValue("livePlaybackOffsetInWallClockSec");return i.currentTime()<i.duration()-p-n}function g(){return i.currentTime()<dt}function y(){i.addClass(ut)}function vt(){o||(o=!0,s=!1,h=!1,i.trigger(n.internalEventName.playingAtLiveDVREdge))}function nt(){g()?yt():pt()}function yt(){h||(o=!1,s=!1,h=!0,i.trigger(n.internalEventName.playingAtStartDVREdge))}function pt(){s||(o=!1,s=!0,h=!1,i.trigger(n.internalEventName.playingInDVR))}function c(){i.removeClass(ut)}function tt(){i.controlBar.liveDisplay.addClass(rt);i.controlBar.liveDisplay.show()}function it(){i.controlBar.liveDisplay.removeClass(rt);i.controlBar.liveDisplay.hide()}var i=this,wt=t&&t.controlText?t.controlText:"LIVE",rt="amp-live-control",ut="amp-live-on",ft=5,p=ft,bt=2,u=0,kt=3e4,f=!1,e=!1,l=!1,et=1,dt=5,o=!1,s=!1,h=!1,ot=n.getComponent("Component"),st;n.LiveEdgeProgressBar=n.extend(ot,{init:function(n,t){ot.call(this,n,t)}});n.LiveEdgeProgressBar.prototype.createEl=function(){return n.createEl("div",{className:"amp-live-edge-progress",tabIndex:0})};n.registerComponent("LiveEdgeProgressBar",n.LiveEdgeProgressBar);st=function(){v()&&w()};i.ready(function(){i.addEventListener(n.eventName.ratechange,at);i.addEventListener(n.eventName.loadedmetadata,ht);i.addEventListener(n.eventName.durationchange,ct);i.controlBar.liveDisplay.off(i,"durationchange",i.controlBar.liveDisplay.updateShowing);i.controlBar.liveDisplay.setClickHandler(st);var t=n.createEl("div",{className:"amp-livetimeindicator",innerHTML:this.htmlEncode(this.localize(wt))});i.controlBar.currentTimeDisplay.el().appendChild(t)})})}(window.amp),function(n){"use strict";n.plugin("logo",function(t){var f=t.enabled,e=t.opacity,o="https://microsoft.com",i=t.targetUrl,r="amp-logo",u=n.getComponent("Component");n.Logo=n.extend(u,{init:function(n,t){u.call(this,n,t)}});n.Logo.prototype.createEl=function(){var t,f="/skins/amp-default/assets/icons/amslogo.svg",s=n.getComponent("Player"),h=window.document.body.className.includes("high-contrast-enabled"),u,r;return i?(r=n.decodeURL(i),u=r.hierarchical.match(/^((ftp:\/\/)|(javascript:))/i)?o:r.hierarchical.match(/^(https?:)?\/\//i)?n.encodeURL(r):n.createEl("div",{innerHTML:'<a href="'+n.encodeURL(r)+'"><\/a>'}).firstChild.href,t=(amp.browser.IS_FIREFOX||amp.browser.IS_IE11||amp.browser.IS_EDGE)&&h?n.createEl("span",{innerHTML:'<img src="'+s.getScriptRootURL()+f+'"><a target="_blank" href="'+u+'"><\/a>'}):n.createEl("span",{innerHTML:'<a target="_blank" href="'+u+'"><\/a>'})):t=(amp.browser.IS_FIREFOX||amp.browser.IS_IE11||amp.browser.IS_EDGE)&&h?n.createEl("div",{innerHTML:'<img src="'+s.getScriptRootURL()+f+'">'}):n.createEl("div"),t.style.opacity=e,this.container=t,t};n.registerComponent("Logo",n.Logo);this.ready(function(){var t=this,i;f&&t.el().getElementsByClassName(r).length>0&&(i=new n.Logo(t),t.el().getElementsByClassName(r)[0].appendChild(i.el()),t.on("dispose",function(){i.dispose()}))})})}(window.amp),function(n){"use strict";n.plugin("moreOptions",function(t){function o(n,t){var r;if(y=t,t){for(r=0;r<i.length;r++)i[r].control.el().tabIndex=-1,i[r].control.addClass("amp-control-disabled");n.controlBar.moreOptionsButton.el().tabIndex=0;n.controlBar.moreOptionsButton.removeClass("amp-control-disabled");n.controlBar.moreOptionsButton.el().setAttribute("aria-hidden","false")}else{for(r=0;r<i.length;r++)i[r].control.el().tabIndex=0,i[r].control.removeClass("amp-control-disabled"),i[r].control.menu&&(i[r].control.el().style.position="",i[r].control.el().style.left="");n.controlBar.moreOptionsButton.el().tabIndex=-1;n.controlBar.moreOptionsButton.addClass("amp-control-disabled");n.controlBar.moreOptionsButton.el().setAttribute("aria-hidden","true")}n.toggleClass("amp-showing-more-options-button",t)}function w(n){n.controlBar.moreOptionsButton.menu.el().style.display="";for(var t=0;t<i.length;t++)i[t].control.menu&&(i[t].control.menu.el().style.display="")}function b(n){var t=function(t,i){for(var r,u=0;u<t.length;u++)r=n.controlBar[t[u]],r&&r.el()&&i.push({control:r,text:r.buttonText,className:r.el().className})};return i=[],t(d,i),t(n.options_.plugins.moreOptions.controls,i),i}function k(n){var r=n.controlBar.el(),e,t;for(u={left:r.querySelector(".amp-controlbaricons-left"),middle:r.querySelector(".amp-controlbaricons-middle"),right:r.querySelector(".amp-controlbaricons-right")},l=u.right.offsetWidth,e=window.getComputedStyle(u.middle),f=parseInt(e.minWidth,10),isNaN(f)&&(f=0),u.middle.style.minWidth="0",c=[],t=0;t<i.length;t++)i[t].control.hasClass("vjs-hidden")||c.push(i[t]);c.length>1?(n.addThrottledWindowResizeListener(function(){s(n)},nt),s(n)):o(n,!1)}function s(n){if(0==n.controlBar.width())o(n,n.width()<f);else if(null!==u){var t=u.middle.offsetWidth;y&&(t=u.middle.offsetWidth-(l-u.right.offsetWidth));o(n,f+1>t)}}var l,a=n.getComponent("Component"),r=this,f=0,d=t&&t.controls?t.controls:[],h=t&&t.menuTitle?t.menuTitle:"More Options",g="amp-moreoptions-control",i=[],c=[],v=Date.now(),nt=200,u=null,y=!1,p=n.getComponent("MenuItem"),e;n.MoreOptionsMenuItem=n.extend(p,{init:function(n,t){var i={label:t.text,value:t.value,selected:t.selected};p.call(this,n,i);this.control=t.control;this.addClass("amp-menu-item");t.className.split(" ").forEach(function(n){this.addClass(n)},this);this.control.menu&&this.control.menu.on("mouseleave",function(){this.el().style.display=""})}});n.MoreOptionsMenuItem.prototype.handleClick=function(){this.control.handleClick();v=Date.now()};n.registerComponent("MoreOptionsMenuItem",n.MoreOptionsMenuItem);e=n.getComponent("MenuButton");n.MoreOptionsButton=n.extend(e,{init:function(t,i){if(i=i||{},i.name="moreOptionsButton",e.call(this,t,i),t.addEventListener(amp.eventName.loadedmetadata,n.bind(this,function(){this.refresh()})),this.on("mouseover",function(){w(t)}),this.items.length>0){var r=new a(t,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(h)),tabindex:-1})});this.menu.prependItem(r)}this.el().tabIndex=-1;this.addClass("amp-control-disabled");this.el().setAttribute("aria-hidden","true");this.el().setAttribute("aria-label","More Options")}});n.MoreOptionsButton.prototype.buttonText=h;n.MoreOptionsButton.prototype.createItems=function(){for(var u,i=b(this.player_)||[],r=[],t=0;t<i.length;t++)u=new n.MoreOptionsMenuItem(this.player_,i[t]),r.push(u);return r};n.MoreOptionsButton.prototype.buildCSSClass=function(){return g+" "+e.prototype.buildCSSClass.call(this)};n.MoreOptionsButton.prototype.refresh=function(){if(this.removeChild(this.menu),null!=this.menu&&this.menu.dispose(),this.menu=this.createMenu(),this.addChild(this.menu),this.items.length>0){var t=new a(this.player_,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(h)),tabindex:-1})});this.menu.prependItem(t)}};n.MoreOptionsButton.prototype.hasJustBeenClicked=function(){return Date.now()-v<500};n.MoreOptionsButton.prototype.onClick=function(n){this.hasJustBeenClicked()||e.prototype.onClick.call(this,n)};n.MoreOptionsButton.prototype.isSubMenuVisible=function(){var r=this,t=this.player_.controlBar,i,n;if(t)for(i=Object.getOwnPropertyNames(t),n=0;n<i.length;n++)if(t[i[n]]!==r&&t[i[n]].el_&&t[i[n]].el_.className&&-1!==t[i[n]].el_.className.indexOf("vjs-menu-button")&&t[i[n]].buttonPressed_)return!0;return!1};n.MoreOptionsButton.prototype.vjsHandleMouseLeave=n.MoreOptionsButton.prototype.handleMouseLeave;n.MoreOptionsButton.prototype.handleMouseLeave=function(){this.isSubMenuVisible()||this.vjsHandleMouseLeave()};n.registerComponent("MoreOptionsButton",n.MoreOptionsButton);r.ready(function(){var i=new n.MoreOptionsButton(r,t);r.controlBar.moreOptionsButton=r.controlBar.addChild(i);r.addEventListener(amp.eventName.loadedmetadata,function(){k(r)});r.on("fullscreenchange",function(){o(r,r.controlBar.width()<f)});r.on("visibilityChange",function(){s(r)});r.on("dispose",function(){u=null})})})}(window.amp),function(n){"use strict";n.plugin("quality",function(t){function s(n){var t=n.player_.controlBar.qualityButton,f=i,r=t.items.indexOf(n);if(f!==r){t.items[f].selected(!1);n.selected(!0);i=r;e(t,r);var u=n.player_.currentVideoStreamList(),o=u.selectedIndex,s=u.streams[o].tracks;u.streams[o].selectTrackByIndex(0==i?-1:s.length-i)}}function h(t){var e=t.currentVideoStreamList(),u,o;if(e){var s=e.selectedIndex,r=e.streams[s].tracks,f=[];for(f[0]={text:y,selectable:!0},u=1;u<=r.length;u++)o=r[r.length-u].bitrate,f[u]={text:r[r.length-u].height+"p-"+n.utils.getBitrateByUnit(o),selectable:r[r.length-u].selectable};return i>=0&&i<f.length&&(f[i].selected=!0),f}}function e(n,t){var i,r,u;0==t?r=4:(i=n.items[t].options_.label.split("-")[0].replace("p",""),r=4,r=i>720?4:720>=i&&i>480?3:480>=i&&i>360?2:1);u=n.el().className.match(/quality-\d/);n.el().className=n.el().className.replace(u,"quality-"+r)}function c(){this.refresh();l(this.player_)}function l(t){var i=t.currentVideoStreamList(),r;if(i&&i.streams)for(r=0;r<i.streams.length;r++)i.streams[r].addEventListener(amp.streamEventName.trackselected,n.bind(t,a))}function a(){var n=this.controlBar.qualityButton,u=this.currentVideoStreamList(),r;if(u){for(var h=u.selectedIndex,f=u.streams[h].tracks,o=-1,s=0,t=0;t<f.length;t++)f[t].selectable&&(o=t,s++);r=-1;r=s>1?0:f.length-o;r!==i&&(i<n.items.length&&n.items[i].selected(!1),i=r,n.items[i].selected(!0),e(n,i))}}var r=this,f=t&&t.menuTitle?t.menuTitle:"Quality",i=t&&t.selectedItem?t.selectedItem:0,v="amp-quality-control",y=t&&t.autoMenuItemLabel?t.autoMenuItemLabel:"Auto",o=n.getComponent("MenuItem"),u;n.QualityMenuItem=n.extend(o,{init:function(n,t){var i={label:t.text,value:t.value,selected:t.selected,selectable:t.selectable};o.call(this,n,i);this.addClass("amp-menu-item")}});n.QualityMenuItem.prototype.handleClick=function(){s(this)};n.registerComponent("QualityMenuItem",n.QualityMenuItem);u=n.getComponent("MenuButton");n.QualityButton=n.extend(u,{init:function(t,r){if(r=r||{},r.name="qualityButton",u.call(this,t,r),t.addEventListener("loadedmetadataInternal",n.bind(this,c)),void 0!=this.items&&this.items.length>0){var e=n.getComponent("Component"),o=new e(t,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(f)),tabindex:-1})});this.menu.prependItem(o);this.el().className+=" quality-"+(4-i)}else this.hide()}});n.QualityButton.prototype.buttonText=f;n.QualityButton.prototype.createItems=function(){for(var u,i=h(this.player_)||[],r=[],t=0;t<i.length;t++)u=new n.QualityMenuItem(this.player_,i[t]),r.push(u);return r};n.QualityButton.prototype.buildCSSClass=function(){return v+" "+u.prototype.buildCSSClass.call(this)};n.registerComponent("QualityButton",n.QualityButton);r.ready(function(){var t=new n.QualityButton(r,{selectedItemIndex:i});r.controlBar.qualityButton=r.controlBar.addChild(t);r.controlBar.qualityButton.el_.setAttribute("aria-label","Video Quality Menu")});n.QualityButton.prototype.refresh=function(){if(this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=this.createMenu(),this.addChild(this.menu),void 0!=this.items&&this.items.length>0){var t=n.getComponent("Component"),u=new t(r,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(f)),tabindex:-1})});this.menu.prependItem(u);null==this.el().className.match(/quality-\d/)&&(this.el().className+=" quality-"+(4-i));this.show()}else this.hide()}})}(window.amp),function(n){"use strict";n.plugin("subtitles",function(t){var i=this,r=t&&t.menuTitle?t.menuTitle:"Subtitles",u=t&&t.offMenuItemLabel?t.offMenuItemLabel:"Off";i.addEventListener(amp.eventName.loadedmetadata,function(){i.controlBar.subtitlesButton.el().className+=" amp-subtitles-control";i.controlBar.subtitlesButton.menu.children()[0].el().innerHTML=this.htmlEncode(this.localize(u));i.controlBar.subtitlesButton.buttonText=r;var t=n.getComponent("Component"),f=new t(i,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(r)),tabindex:-1})});i.controlBar.subtitlesButton.menu.prependItem(f)})})}(window.amp),function(n){"use strict";n.plugin("outline",function(n){function i(n){n.clientX&&0!==n.clientX&&n.clientY&&0!==n.clientY&&t.removeClass(u)}function e(n){n.classList.add(h);n.removeEventListener("click",i);n.addEventListener("click",i);t.on("dispose",function(){n.removeEventListener("click",i)})}function o(){for(var r,i=t.el().querySelectorAll(y),n=0;n<i.length;n++)e(i[n]);if(v)for(r=t.controlBar.el().querySelectorAll(p),n=0;n<r.length;n++)e(r[n]);c()}function c(){var n=t.el().querySelector(s);null!==n&&(n.classList.add(h),n.removeEventListener("mousedown",r),n.addEventListener("mousedown",r),t.on("dispose",function(){var n=t.el().querySelector(s);n&&n.removeEventListener("mousedown",r)}))}function l(){t.addClass(u);o()}function r(){i();t.controls()&&(t.paused()?t.play():t.pause())}function a(){t.addClass(u);f&&(f=!1,o())}var t=this,v=!!n&&!!n.displayOnMenuItems,y=".vjs-control",s=".vjs-fullscreen-outline",p=".vjs-menu-item",u="outline-enabled",h="outline-enabled-control",f=!0;t.ready(function(){l();t.controlBar.on("keydown",a)});t.on("sourceset",function(){f=!0})})}(window.amp),function(n){"use strict";n.plugin("ampV2timelineMarkers",function(t){function f(){!i.isDisposed()&&i.duration()>0&&(l=i.duration(),e(),s(),i.isLive()&&r&&r.length>0&&setTimeout(f,1e3))}function e(){for(var n=0;n<u.length;n++)i.controlBar.progressControl.seekBar.removeChild(u[n]);u=[]}function s(){for(var f,t=0;t<r.length;t++)f=new n.Marker(i,r[t]),f.el().tabIndex=0,u.push(f),i.controlBar.progressControl.seekBar.addChild(f)}var i=this,r=t&&t.markers?t.markers:[],h="#ffd800",c="amp-timeline-marker",l=0,u=[],o=n.getComponent("Button"),a=n.getComponent("Component");n.Marker=n.extend(o,{init:function(n,t){var u=n.duration(),i=t.time>0?t.time:0,f=t.color?t.color:h,r;o.call(this,n,videojs.mergeOptions({el:a.prototype.createEl.call(this,"div",{innerHTML:" ",className:c})},t));i=n.currentTime()+i-n.currentMediaTime();r=i/u*100;r>0&&100>r&&(this.el_.style.left=i/u*100+"%",this.el_.style.backgroundColor=f,this.on("click",this.onClick))}});n.Marker.prototype.onClick=function(){this.player().currentTime(this.options().time)};i.ready(function(){r&&(f(),i.on("sourceset",function(){r=[];e()}),i.on("midrollAdded",function(){var n,t;if(this.scheduler&&(n=this.scheduler.getMidRolls(),n)){for(r=[],t=0;t<n.length;t++)r.push({time:n[t].splice.startOffset});f()}}))})})}(window.amp),function(n){"use strict";n.plugin("ampVolumeMenuButton",function(t){var i=this,u=NaN,f=t.hideVolumeBarOnInActivity,r,e;void 0===f&&(f=!0);r=n.getComponent("MuteToggle");n.AmpVolumeMenuButton=n.extend(r,{init:function(n,t){t=t||{};t.name="ampVolumeMenuButton";r.call(this,n,t);this.buttonTouched=!1}});n.AmpVolumeMenuButton.prototype.clearOtherMenus=function(){this.volumeControl.buttonPressed_&&this.volumeControl.unpressButton();r.prototype.clearOtherMenus.call(this)};n.AmpVolumeMenuButton.prototype.setVolumeControl=function(n){this.volumeControl=n};n.AmpVolumeMenuButton.prototype.handleClick=function(){this.clearOtherMenus();this.buttonTouched=!this.buttonTouched;this.buttonTouched&&this.volumeControl.trigger("mouseover");r.prototype.handleClick.call(this)};e=n.getComponent("Component");n.VolumeControl=n.extend(e,{init:function(t,i){i=i||{};i.name="volumeControl";i.el=n.createEl("div",{className:"vjs-volume-control"});e.call(this,t,i);this.on(t,"loadstart",function(){t.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")});this.createChildElements();this.setUpEventHandlers()}});n.VolumeControl.prototype.setUpEventHandlers=function(){var n=this;this.on("mouseover",function(){n.handleMouseOver()});this.on("mouseleave",function(){n.handleMouseLeave()});this.on(i,this.volumeBar.playerEvent,function(){n.updateVolumeHandle()})};n.VolumeControl.prototype.createChildElements=function(){this.createVolumeMenuButton();this.createVolumeBar()};n.VolumeControl.prototype.createVolumeMenuButton=function(){var r=new n.AmpVolumeMenuButton(i,t);this.ampVolumeMenuButton=this.addChild(r);r.setVolumeControl(this)};n.VolumeControl.prototype.unpressButton=function(){this.popUp.unlockShowing();this.el_.setAttribute("aria-expanded","false");this.buttonPressed_=!1};n.VolumeControl.prototype.pressButton=function(){this.ampVolumeMenuButton.clearOtherMenus();this.popUp.lockShowing();this.el_.setAttribute("aria-expanded","true");this.buttonPressed_=!0};n.VolumeControl.prototype.handleMouseLeave=function(){this.unpressButton()};n.VolumeControl.prototype.handleMouseOver=function(){this.pressButton()};n.VolumeControl.prototype.handleFocusOnVolumeBar=function(){this.pressButton()};n.VolumeControl.prototype.createVolumeBar=function(){var e=n.getComponent("Popup"),u=new e(i,{contentElType:"div"}),o=n.getComponent("VolumeBar"),r=new o(i,t||{}),f=this.createVolumeSliderHandle();r.el_.appendChild(f);r.on("focus",function(){i.controlBar.volumeControl.handleFocusOnVolumeBar()});this.volumeBar=u.addChild(r);this.popUp=this.addChild(u);this.volumeHandle=f};n.VolumeControl.prototype.updateVolumeHandle=function(){var n=this.volumeBar,i;n.bar&&n.bar.el_&&(t&&t.vertical===!1?(this.volumeHandle.style.left=n.bar.el_.style.width,i=this.volumeHandle.style.left):(this.volumeHandle.style.top=n.bar.el_.style.height,i=this.volumeHandle.style.top),this.volumeHandle.innerHTML='<span class="vjs-control-text">'+i+"<\/span>")};n.VolumeControl.prototype.createVolumeSliderHandle=function(){var t=n.getComponent("Component");return t.prototype.createEl.call(this,"div",{className:"vjs-volume-handle vjs-control"})};n.registerComponent("AmpVolumeMenuButton",n.AmpVolumeMenuButton);n.registerComponent("VolumeControl",n.VolumeControl);i.ready(function(){var e=new n.VolumeControl(i,{}),t,r;i.controlBar.volumeControl=i.controlBar.addChild(e);t=i.controlBar.volumeControl;r=function(){isNaN(u)||(clearTimeout(u),u=NaN)};f&&(i.on("userinactive",function(){t.popUp&&t.volumeBar.el_===document.activeElement&&(r(),u=setTimeout(function(){t.volumeBar.el_!==document.activeElement||i.userActive()||t.ampVolumeMenuButton.el().focus()},1e3));t.el_.setAttribute("aria-expanded","false")}),i.on("useractive",r));t.updateVolumeHandle();this.one(i,"timeupdate",function(){t.volumeBar.update();t.updateVolumeHandle()})})})}(window.amp),function(n){"use strict";n.plugin("playbackSpeed",function(t){function g(){r.sort(function(n,t){return t.value-n.value})}function nt(){for(var n=0;n<r.length;n++)if(1===r[n].value)return;r.push({selected:!1,name:i.htmlEncode(i.localize("1.0x")),value:1})}function c(){o(function(){return!0})}function o(n){for(u=[],f=0;f<r.length;f++)r[f].name&&r[f].value>=.5&&r[f].value<=4&&n(r[f].value)&&u.push({selected:!1,name:r[f].name,value:r[f].value})}function tt(){o(function(n){return 1>=n})}function it(){o(function(n){return n>=1})}function l(){nt();g();c()}function a(n,t){t.canControlPlaybackRate()&&t.playbackRate(n)}function v(n){var t=n.controlBar.playbackSpeedButton.currentSpeedIndex||0===n.controlBar.playbackSpeedButton.currentSpeedIndex?u[n.controlBar.playbackSpeedButton.currentSpeedIndex].value:1;n.controlBar.playbackSpeedButton.removeClass(h);n.controlBar.playbackSpeedButton.removeClass(k);n.controlBar.playbackSpeedButton.removeClass(d);n.controlBar.playbackSpeedButton.addClass(t>1?k:1>t?d:h)}function y(n,t,i){var r=i||n.player_,e=r.controlBar.playbackSpeedButton,o=r.controlBar.playbackSpeedButton.currentSpeedIndex,f=p(t||n.options().value);o!==f&&(rt(e),e.items[f].selected(!0),ut(e,f),a(u[f].value,r),r.controlBar.playbackSpeedButton.currentSpeedIndex=f,v(r))}function rt(n){for(var t=0;t<n.items.length;t++)n.items[t].selected(!1)}function ut(n,t){1===u[t].value}function p(n){for(var t=0;t<u.length;t++)if(Math.abs(u[t].value-n)<.001)return t;return null}var ft=n.getComponent("Component"),w=n.getComponent("MenuItem"),s=n.getComponent("MenuButton");if(t&&t.enabled){var e,i=this,r=t.speedLevels?t.speedLevels.slice(0):[{name:"2.0x",value:2},{name:"1.0x",value:1},{name:"0.5x",value:.5}].slice(0),u=[],b="Playback Speed",h="amp-playbackspeed-control-normal",k="amp-playbackspeed-control-fast",d="amp-playbackspeed-control-slow",f=0;l();e=p(t.initialSpeed?t.initialSpeed:1);null!==e?(u[e].selected=!0,a(u[e].value,i)):AMP.Logger.error(AMP.Logger.Area.plugin,"PlaybackSpeed plugin: cannot identify speed index for initial speed.");n.PlaybackSpeedMenuItem=n.extend(w,{init:function(n,t){var i={label:t.name,value:t.value,selected:t.selected,selectable:!0};w.call(this,n,i);this.addClass("amp-menu-item");this.on("click",this.handleClick);this.value=t.value}});n.PlaybackSpeedMenuItem.prototype.handleClick=function(){y(this)};n.registerComponent("PlaybackSpeedMenuItem",n.PlaybackSpeedMenuItem);n.PlaybackSpeedButton=n.extend(s,{init:function(t,i){i=i||{};i.name="playbackSpeedButton";s.call(this,t,i);t.addEventListener(n.eventName.loadedmetadata,n.bind(this,n.PlaybackSpeedButton.prototype.refresh));var r=new ft(t,{el:n.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(b)),tabindex:-1})});this.menu.prependItem(r);t.canControlPlaybackRate()?(this.addDVRPlaybackEventCallbacks(),this.show()):this.hide()}});n.PlaybackSpeedButton.prototype.addDVRPlaybackEventCallbacks=function(){var t=this;i.addEventListener(n.internalEventName.playingAtLiveDVREdge,function(){t.handleLiveEdgePlayback()});i.addEventListener(n.internalEventName.playingAtStartDVREdge,function(){t.handleStartEdgePlayback()});i.addEventListener(n.internalEventName.playingInDVR,function(){t.handlePlayingInDVR()})};n.PlaybackSpeedButton.prototype.buttonText=b;n.PlaybackSpeedButton.prototype.createItems=function(){for(var r,i=[],t=0;t<u.length;t++)r=new n.PlaybackSpeedMenuItem(this.player_,u[t]),i.push(r);return i};n.PlaybackSpeedButton.prototype.buildCSSClass=function(){return h+" "+s.prototype.buildCSSClass.call(this).trim()};n.PlaybackSpeedButton.prototype.refresh=function(){this.player_.canControlPlaybackRate()?this.show():this.hide()};n.PlaybackSpeedButton.prototype.setInitialValues=function(){this.player_.controlBar.playbackSpeedButton.currentSpeedIndex=e;this.player_.controlBar.playbackSpeedButton.el_.setAttribute("aria-label","Playback Speed");v(this.player_)};n.PlaybackSpeedButton.prototype.handleLiveEdgePlayback=function(){tt();this.updateMenuItemsAndUi()};n.PlaybackSpeedButton.prototype.handleStartEdgePlayback=function(){it();this.updateMenuItemsAndUi()};n.PlaybackSpeedButton.prototype.handlePlayingInDVR=function(){c();this.updateMenuItemsAndUi()};n.PlaybackSpeedButton.prototype.updateMenuItemsAndUi=function(){this.update();this.selectMenuItemWithValue(this.player_.playbackRate())};n.PlaybackSpeedButton.prototype.selectMenuItemWithValue=function(n){for(var t=0;t<this.items.length;t++)this.items[t].selected(this.items[t].value===n?!0:!1)};n.registerComponent("PlaybackSpeedButton",n.PlaybackSpeedButton);i.on("sourceset",function(){i.controlBar.playbackSpeedButton&&(l(),i.controlBar.playbackSpeedButton.updateMenuItemsAndUi())});i.ready(function(){var t=new n.PlaybackSpeedButton(i);i.controlBar.playbackSpeedButton=i.controlBar.addChild(t);i.controlBar.playbackSpeedButton.setInitialValues();i.addEventListener(amp.eventName.ratechange,function(){i.canControlPlaybackRate()&&y(void 0,i.playbackRate(),i)})})}})}(window.amp);amp.AmpSkinPlugin=amp.extend(amp.getComponent("Component"),{init:function(n){"use strict";var t=n.options_.logo,r=t&&void 0!==t.enabled?t.enabled:!0,u=t&&t.opacity?t.opacity:.5,f=t&&t.targetUrl?t.targetUrl:null,i=(t&&t.horizontalPosition?t.horizontalPosition:"left",t&&t.verticalPosition?t.verticalPosition:"top",{contentTitle:{title:n.options_.title||"",description:n.options_.description||""},logo:{enabled:r,opacity:u,targetUrl:f},responsive:{sizeClasses:n.options_.sizeClasses||{}},live:{controlText:"LIVE"},ampAudioTracks:{menuTitle:"Audio Tracks"},closedCaption:{menuTitle:"Closed Captioning"},subtitles:{menuTitle:"Subtitles",offMenuItemLabel:"Off"},quality:{menuTitle:"Quality",selectedItem:0},playbackSpeed:n.options_.playbackSpeed||{enabled:!1},download:n.options_.download||{},ampVolumeMenuButton:{vertical:!0,hideVolumeBarOnInActivity:!0},moreOptions:{controls:["qualityButton","captionsButton","subtitlesButton","audioTracksButton","castToDeviceButton","shareButton","playbackSpeedButton","downloadButton","nextTrackButton","skipForwardButton","fastForwardButton","rewindButton","skipBackwardButton","previousTrackButton"]},controlBarIcons:{leftIcons:["playToggle","previousTrackButton","skipBackwardButton","rewindButton","fastForwardButton","skipForwardButton","nextTrackButton","playbackRateMenuButton","liveDisplay","chaptersButton"],middleIcons:["liveIndicator","currentTimeDisplay","progressControl","timeDivider","durationDisplay","remainingTimeDisplay"],rightIcons:["shareButton","playbackSpeedButton","downloadButton","castToDeviceButton","audioTracksButton","subtitlesButton","captionsButton","qualityButton","volumeControl","moreOptionsButton","fullscreenToggle"],removeOtherIcons:!1},outline:{displayOnMenuItems:!0},ampV2timelineMarkers:{}});n.options_.plugins.moreOptions={controls:[]};Object.getOwnPropertyNames(i).forEach(function(t){n[t]&&n[t](i[t])});n.addEventListener(amp.eventName.loadedmetadata,function(){var t=n.controlBar.options();t.children.volumeMenuButton&&t.children.volumeMenuButton.volumeBar&&t.children.volumeMenuButton.volumeBar.vertical&&n.addClass("amp-vertical-volume-slider")})}});amp.AmpSkinPlugin.prototype.dispose=function(){};amp.registerComponent("AmpSkinPlugin",amp.AmpSkinPlugin);amp.getComponent("ControlBar").prototype.options_={loadEvent:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},subtitlesButton:{},captionsButton:{},chaptersButton:{},ampSkinPlugin:{}}},function(n){"use strict";window.videojs_hotkeys={version:"0.2.16"};var t=function(t){function d(n){return 32===n.which||179===n.which}function g(n){return 37===n.which||177===n.which}function nt(n){return 39===n.which||176===n.which}function tt(n){return 38===n.which}function it(n){return 40===n.which}function rt(n){return 77===n.which}function ut(n){return 70===n.which}var i=this,r=i.el(),u=document,ft={volumeStep:.1,seekStep:5,enableMute:!0,enableVolumeScroll:!0,enableFullscreen:!0,enableNumbers:!0,enableJogStyle:!1,alwaysCaptureHotkeys:!1,enableModifiersForNumbers:!0,enableSeek:!0,enablePlayPause:!0,playPauseKey:d,rewindKey:g,forwardKey:nt,volumeUpKey:tt,volumeDownKey:it,muteKey:rt,fullscreenKey:ut,customKeys:{}},s=1,h=2,c=3,l=4,a=5,v=6,y=7,et=n.mergeOptions||n.util.mergeOptions;t=et(ft,t||{});var f=t.volumeStep,o=t.seekStep,ot=t.enableMute,st=t.enableVolumeScroll,p=t.enableFullscreen,ht=t.enableNumbers,w=t.enableJogStyle,e=t.alwaysCaptureHotkeys,ct=t.enableModifiersForNumbers,b=t.enableSeek,lt=t.enablePlayPause;r.hasAttribute("tabIndex")||r.setAttribute("tabIndex","1");(e||!i.autoplay())&&i.one("play",function(){r.focus()});i.on("userinactive",function(){var n=function(){clearTimeout(t)},t=setTimeout(function(){i.off("useractive",n);u.activeElement&&u.activeElement.parentElement==r.querySelector(".vjs-control-bar")&&r.focus()},10);i.one("useractive",n)});i.on("play",function(){var n=r.querySelector(".iframeblocker");n&&""===n.style.display&&(n.style.display="block",n.style.bottom="39px")});var at=function(n){var d,g=n.which,k=n.preventDefault,tt,it,rt,ut,nt;if(i.controls()&&(tt=u.activeElement,e||tt==r||tt==r.querySelector(".vjs-tech")||tt==r.querySelector(".vjs-control-bar")||tt==r.querySelector(".iframeblocker")))switch(yt(n,i)){case s:lt&&(k(),e&&n.stopPropagation(),i.paused()?i.play():i.pause());break;case h:b&&(k(),d=i.currentTime()-o,i.currentTime()<=o&&(d=0),i.currentTime(d));break;case c:b&&(k(),i.currentTime(i.currentTime()+o));break;case a:k();w?(d=i.currentTime()-1,i.currentTime()<=1&&(d=0),i.currentTime(d)):i.volume(i.volume()-f);break;case l:k();w?i.currentTime(i.currentTime()+1):i.volume(i.volume()+f);break;case v:ot&&i.muted(!i.muted());break;case y:p&&(i.isFullscreen()?i.exitFullscreen():i.requestFullscreen());break;default:(g>47&&59>g||g>95&&106>g)&&(ct||!(n.metaKey||n.ctrlKey||n.altKey))&&ht&&(it=48,g>95&&(it=96),rt=g-it,k(),i.currentTime(i.duration()*rt*.1));for(ut in t.customKeys)nt=t.customKeys[ut],nt&&nt.key&&nt.handler&&nt.key(n)&&(k(),nt.handler(i,t))}},vt=function(n){if(i.controls()){var t=n.relatedTarget||n.toElement||u.activeElement;(t==r||t==r.querySelector(".vjs-tech")||t==r.querySelector(".iframeblocker"))&&p&&(i.isFullscreen()?i.exitFullscreen():i.requestFullscreen())}},k=function(n){var t,o;i.controls()&&(t=n.relatedTarget||n.toElement||u.activeElement,(e||t==r||t==r.querySelector(".vjs-tech")||t==r.querySelector(".iframeblocker")||t==r.querySelector(".vjs-control-bar"))&&st&&(n=window.event||n,o=Math.max(-1,Math.min(1,n.wheelDelta||-n.detail)),n.preventDefault?n.preventDefault():n.returnValue=!1,1==o?i.volume(i.volume()+f):-1==o&&i.volume(i.volume()-f)))},yt=function(n,i){return t.playPauseKey(n,i)?s:t.rewindKey(n,i)?h:t.forwardKey(n,i)?c:t.volumeUpKey(n,i)?l:t.volumeDownKey(n,i)?a:t.muteKey(n,i)?v:t.fullscreenKey(n,i)?y:void 0};return i.on("keydown",at),i.on("dblclick",vt),i.on("mousewheel",k),i.on("DOMMouseScroll",k),this};n.plugin("hotKeys",t)}(window.videojs);amp.AmpInlinePlugins=amp.extend(amp.getComponent("Component"),{init:function(n,t){"use strict";var i={hotKeys:{},ampAds:{}};Object.getOwnPropertyNames(i).forEach(function(r){if(n[r]){var u=i[r];t&&t.playerOptions&&t.playerOptions[r]&&(u=t.playerOptions[r]);n[r](u)}})}});amp.registerComponent("AmpInlinePlugins",amp.AmpInlinePlugins);amp.getComponent("Player").prototype.options_.children.push("AmpInlinePlugins");!function(n){var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self);t.ADSVAST=n()}(function(){return function n(t,i,r){function u(f,o){var h,s;if(!i[f]){if(!t[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);throw new Error("Cannot find module '"+f+"'");}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.exports,n,t,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t){function i(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function r(n){return"function"==typeof n}function e(n){return"number"==typeof n}function u(n){return"object"==typeof n&&null!==n}function f(n){return void 0===n}t.exports=i;i.EventEmitter=i;i.prototype._events=void 0;i.prototype._maxListeners=void 0;i.defaultMaxListeners=10;i.prototype.setMaxListeners=function(n){if(!e(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this};i.prototype.emit=function(n){var s,i,e,o,t,h;if(this._events||(this._events={}),"error"===n&&(!this._events.error||u(this._events.error)&&!this._events.error.length))throw s=arguments[1],s instanceof Error?s:TypeError('Uncaught, unspecified "error" event.');if(i=this._events[n],f(i))return!1;if(r(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:for(e=arguments.length,o=new Array(e-1),t=1;e>t;t++)o[t-1]=arguments[t];i.apply(this,o)}else if(u(i)){for(e=arguments.length,o=new Array(e-1),t=1;e>t;t++)o[t-1]=arguments[t];for(h=i.slice(),e=h.length,t=0;e>t;t++)h[t].apply(this,o)}return!0};i.prototype.addListener=function(n,t){var e;if(!r(t))throw TypeError("listener must be a function");return(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,r(t.listener)?t.listener:t),this._events[n]?u(this._events[n])?this._events[n].push(t):this._events[n]=[this._events[n],t]:this._events[n]=t,u(this._events[n])&&!this._events[n].warned)&&(e=f(this._maxListeners)?i.defaultMaxListeners:this._maxListeners,e&&e>0&&this._events[n].length>e&&(this._events[n].warned=!0)),this};i.prototype.on=i.prototype.addListener;i.prototype.once=function(n,t){function i(){this.removeListener(n,i);u||(u=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var u=!1;return i.listener=t,this.on(n,i),this};i.prototype.removeListener=function(n,t){var i,e,o,f;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[n])return this;if(i=this._events[n],o=i.length,e=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[n],this._events.removeListener&&this.emit("removeListener",n,t);else if(u(i)){for(f=o;f-->0;)if(i[f]===t||i[f].listener&&i[f].listener===t){e=f;break}if(0>e)return this;1===i.length?(i.length=0,delete this._events[n]):i.splice(e,1);this._events.removeListener&&this.emit("removeListener",n,t)}return this};i.prototype.removeAllListeners=function(n){var i,t;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[n]&&delete this._events[n],this;if(0===arguments.length){for(i in this._events)"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events={},this}if(t=this._events[n],r(t))this.removeListener(n,t);else for(;t.length;)this.removeListener(n,t[t.length-1]);return delete this._events[n],this};i.prototype.listeners=function(n){return this._events&&this._events[n]?r(this._events[n])?[this._events[n]]:this._events[n].slice():[]};i.listenerCount=function(n,t){return n._events&&n._events[t]?r(n._events[t])?1:n._events[t].length:0}},{}],2:[function(n,t){var i;i=function(){function n(){this.errorURLTemplates=[];this.impressionURLTemplates=[];this.creatives=[];this.adTitle=""}return n}();t.exports=i},{}],3:[function(n,t){var i,r,u;r=n("./parser.coffee");u=n("./util.coffee");i=function(){function n(){}return n.cappingFreeLunch=0,n.cappingMinimumTimeInterval=0,n.timeout=0,n.get=function(n,t,i){var u;return u=+new Date,this.totalCallsTimeout<u?(this.totalCalls=1,this.totalCallsTimeout=u+36e5):this.totalCalls++,this.cappingFreeLunch>=this.totalCalls?void t(null):u-this.lastSuccessfullAd<this.cappingMinimumTimeInterval?void t(null):r.parse(n,function(){return function(n){return t(n)}}(this),i)},function(){var i,t;t=u.storage;i=Object.defineProperty;["lastSuccessfullAd","totalCalls","totalCallsTimeout"].forEach(function(r){i(n,r,{get:function(){return t.getItem(r)},set:function(n){return t.setItem(r,n)},configurable:!1,enumerable:!0})});null==n.totalCalls&&(n.totalCalls=0);null==n.totalCallsTimeout&&(n.totalCallsTimeout=0)}(),n}();t.exports=i},{"./parser.coffee":8,"./util.coffee":14}],4:[function(n,t){var i;i=function(){function n(){this.id=null;this.width=0;this.height=0;this.type=null;this.staticResource=null;this.companionClickThroughURLTemplate=null;this.trackingEvents={}}return n}();t.exports=i},{}],5:[function(n,t){var i,r,u,f,o={}.hasOwnProperty,e=function(n,t){function r(){this.constructor=n}for(var i in t)o.call(t,i)&&(n[i]=t[i]);return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n};i=function(){function n(){this.trackingEvents={};this.progressOffsets=[]}return n}();u=function(n){function t(){t.__super__.constructor.apply(this,arguments);this.type="linear";this.duration=0;this.skipDelay=null;this.mediaFiles=[];this.videoClickThroughURLTemplate=null;this.videoClickTrackingURLTemplate=null}return e(t,n),t}(i);f=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return e(t,n),t}(i);r=function(){function n(){this.type="companion";this.variations=[]}return n}();t.exports={VASTCreativeLinear:u,VASTCreativeNonLinear:f,VASTCreativeCompanion:r}},{}],6:[function(n,t){t.exports={client:n("./client.coffee"),tracker:n("./tracker.coffee"),parser:n("./parser.coffee"),util:n("./util.coffee")}},{"./client.coffee":3,"./parser.coffee":8,"./tracker.coffee":10,"./util.coffee":14}],7:[function(n,t){var i;i=function(){function n(){this.fileURL=null;this.deliveryType="progressive";this.mimeType=null;this.codec=null;this.bitrate=0;this.minBitrate=0;this.maxBitrate=0;this.width=0;this.height=0}return n}();t.exports=i},{}],8:[function(n,t){var r,u,f,e,o,s,h,c,i,l=[].indexOf||function(n){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===n)return t;return-1};r=n("./urlhandler.coffee");c=n("./response.coffee");u=n("./ad.coffee");i=n("./util.coffee");o=n("./creative.coffee").VASTCreativeLinear;e=n("./creative.coffee").VASTCreativeCompanion;s=n("./mediafile.coffee");f=n("./companionad.coffee");h=function(){function n(){}var t;return t=[],n.addURLTemplateFilter=function(n){"function"==typeof n&&t.push(n)},n.removeURLTemplateFilter=function(){return t.pop()},n.countURLTemplateFilters=function(){return t.length},n.clearUrlTemplateFilters=function(){return t=[]},n.parse=function(n,t,i){return this._parse(n,null,function(n,i){return t(i)},i)},n._parse=function(n,u,f,e){for(var s,o=0,h=t.length;h>o;o++)s=t[o],n=s(n);return null==u&&(u=[]),u.push(n),r.get(n,function(t){return function(r,e){var s,a,p,h,o,v,y,k,d,w,b;if(null!=r)return f(r);if(o=new c,null==(null!=e?e.documentElement:void 0)||"VAST"!==e.documentElement.nodeName)return f();for(w=e.documentElement.childNodes,v=0,k=w.length;k>v;v++)h=w[v],"Error"===h.nodeName&&o.errorURLTemplates.push(t.parseNodeText(h));for(b=e.documentElement.childNodes,y=0,d=b.length;d>y;y++)h=b[y],"Ad"===h.nodeName&&(s=t.parseAdElement(h),null!=s?o.ads.push(s):(AMP.Logger.error(AMP.Logger.Area.plugin,"Ads plugin: Ad element parsing failed."),i.track(o.errorURLTemplates,{ERRORCODE:101})));for(a=function(){var n,r,t;if(o){for(t=o.ads,n=0,r=t.length;r>n;n++)if(s=t[n],null!=s.nextWrapperURL)return;return 0===o.ads.length&&(AMP.Logger.error(AMP.Logger.Area.plugin,"Ads plugin: No Ads."),i.track(o.errorURLTemplates,{ERRORCODE:303}),o=null),f(null,o)}},p=o.ads.length;p--;)s=o.ads[p],null!=s.nextWrapperURL&&!function(r){var f,e;return u.length>=10||(e=r.nextWrapperURL,l.call(u,e)>=0)?(AMP.Logger.error(AMP.Logger.Area.plugin,"Ads plugin: Reached maximum wrapper length of 10 and no Ads found."),i.track(r.errorURLTemplates,{ERRORCODE:302}),o.ads.splice(o.ads.indexOf(r),1),void a()):(-1===r.nextWrapperURL.indexOf("://")&&(f=n.slice(0,n.lastIndexOf("/")),r.nextWrapperURL=""+f+"/"+r.nextWrapperURL),t._parse(r.nextWrapperURL,u,function(n,t){var f,e,l,u,w,s,b,k,d,h,c,v,y,p;if(null!=n)AMP.Logger.error(AMP.Logger.Area.plugin,"Ads plugin: Wrapper URi fetch timeout."),i.track(r.errorURLTemplates,{ERRORCODE:301}),o.ads.splice(o.ads.indexOf(r),1);else if(null==t)AMP.Logger.error(AMP.Logger.Area.plugin,"Ads plugin: No wrapped response."),i.track(r.errorURLTemplates,{ERRORCODE:303}),o.ads.splice(o.ads.indexOf(r),1);else for(o.errorURLTemplates=o.errorURLTemplates.concat(t.errorURLTemplates),l=o.ads.indexOf(r),o.ads.splice(l,1),v=t.ads,s=0,b=v.length;b>s;s++){if(u=v[s],u.errorURLTemplates=r.errorURLTemplates.concat(u.errorURLTemplates),u.impressionURLTemplates=r.impressionURLTemplates.concat(u.impressionURLTemplates),null!=r.trackingEvents)for(y=u.creatives,h=0,k=y.length;k>h;h++)for(f=y[h],p=Object.keys(r.trackingEvents),c=0,d=p.length;d>c;c++)e=p[c],f.trackingEvents=f.trackingEvents||{},(w=f.trackingEvents)[e]||(w[e]=[]),f.trackingEvents[e]=f.trackingEvents[e].concat(r.trackingEvents[e]);o.ads.splice(l,0,u)}return delete r.nextWrapperURL,a()}))}(s);return a()}}(this),e)},n.childByName=function(n,t){var r,i,f,u;for(u=n.childNodes,i=0,f=u.length;f>i;i++)if(r=u[i],r.nodeName===t)return r},n.childsByName=function(n,t){var r,u,i,e,f;for(u=[],f=n.childNodes,i=0,e=f.length;e>i;i++)r=f[i],r.nodeName===t&&u.push(r);return u},n.parseAdElement=function(n){var t,i,u,r;for(r=n.childNodes,i=0,u=r.length;u>i;i++){if(t=r[i],"Wrapper"===t.nodeName)return this.parseWrapperElement(t);if("InLine"===t.nodeName)return this.parseInLineElement(t)}},n.parseWrapperElement=function(n){var t,i,r;return t=this.parseInLineElement(n),r=this.childByName(n,"VASTAdTagURI"),null!=r&&(t.nextWrapperURL=this.parseNodeText(r)),i=t.creatives[0],null!=i&&null!=i.trackingEvents&&(t.trackingEvents=i.trackingEvents),null!=t.nextWrapperURL?t:void 0},n.parseInLineElement=function(n){var t,i,a,f,r,e,o,s,v,y,p,h,c,l;for(t=new u,h=n.childNodes,e=0,v=h.length;v>e;e++)switch(r=h[e],r.nodeName){case"AdTitle":t.adTitle=this.parseNodeText(r);break;case"Error":t.errorURLTemplates.push(this.parseNodeText(r));break;case"Impression":t.impressionURLTemplates.push(this.parseNodeText(r));break;case"Creatives":for(c=this.childsByName(r,"Creative"),o=0,y=c.length;y>o;o++)for(a=c[o],l=a.childNodes,s=0,p=l.length;p>s;s++)switch(f=l[s],f.nodeName){case"Linear":i=this.parseCreativeLinearElement(f);i&&t.creatives.push(i);break;case"CompanionAds":i=this.parseCompanionAd(f);i&&t.creatives.push(i)}}return t},n.parseCreativeLinearElement=function(n){var i,r,u,f,nt,tt,e,h,it,c,l,a,v,y,p,w,rt,ut,ft,et,b,k,d,g,t;if(i=new o,i.duration=this.parseDuration(this.parseNodeText(this.childByName(n,"Duration"))),-1===i.duration&&"Wrapper"!==n.parentNode.parentNode.parentNode.nodeName)return null;for(e=n.getAttribute("skipoffset"),null==e?i.skipDelay=null:"%"===e.charAt(e.length-1)?(tt=parseInt(e,10),i.skipDelay=i.duration*(tt/100)):i.skipDelay=this.parseDuration(e),l=this.childByName(n,"VideoClicks"),null!=l&&(i.videoClickThroughURLTemplate=this.parseNodeText(this.childByName(l,"ClickThrough")),i.videoClickTrackingURLTemplate=this.parseNodeText(this.childByName(l,"ClickTracking"))),b=this.childsByName(n,"TrackingEvents"),v=0,rt=b.length;rt>v;v++)for(it=b[v],k=this.childsByName(it,"Tracking"),y=0,ut=k.length;ut>y;y++)if(h=k[y],r=h.getAttribute("event"),c=this.parseNodeText(h),null!=r&&null!=c)if("progress"===r){if(t=h.getAttribute("offset"),-1!==t.indexOf("%"))t=t.trim().substring(0,t.indexOf("%"));else if(t=t.trim().split(":"),4==t.length||3==t.length){var ot=t[0],st=t[1],ht=t[2];t=3600*ot+60*st+ht;t=t/i.duration*100}t=parseInt(t);r=r+"-"+t;null==(a=i.trackingEvents)[r]&&(a[r]=[]);i.trackingEvents[r].push(c);i.progressOffsets.push(t)}else null==(a=i.trackingEvents)[r]&&(a[r]=[]),i.trackingEvents[r].push(c);for(d=this.childsByName(n,"MediaFiles"),p=0,ft=d.length;ft>p;p++)for(nt=d[p],g=this.childsByName(nt,"MediaFile"),w=0,et=g.length;et>w;w++)f=g[w],u=new s,u.fileURL=this.parseNodeText(f),u.deliveryType=f.getAttribute("delivery"),u.codec=f.getAttribute("codec"),u.mimeType=f.getAttribute("type"),u.bitrate=parseInt(f.getAttribute("bitrate")||0),u.minBitrate=parseInt(f.getAttribute("minBitrate")||0),u.maxBitrate=parseInt(f.getAttribute("maxBitrate")||0),u.width=parseInt(f.getAttribute("width")||0),u.height=parseInt(f.getAttribute("height")||0),i.mediaFiles.push(u);return i},n.parseCompanionAd=function(n){var t,i,c,r,l,a,k,v,d,u,o,s,h,g,nt,tt,it,y,p,w,b;for(c=new e,y=this.childsByName(n,"Companion"),u=0,g=y.length;g>u;u++){for(i=y[u],t=new f,t.id=i.getAttribute("id")||null,t.width=i.getAttribute("width"),t.height=i.getAttribute("height"),p=this.childsByName(i,"StaticResource"),o=0,nt=p.length;nt>o;o++)l=p[o],t.type=l.getAttribute("creativeType")||0,t.staticResource=this.parseNodeText(l);for(w=this.childsByName(i,"TrackingEvents"),s=0,tt=w.length;tt>s;s++)for(k=w[s],b=this.childsByName(k,"Tracking"),h=0,it=b.length;it>h;h++)a=b[h],r=a.getAttribute("event"),v=this.parseNodeText(a),null!=r&&null!=v&&(null==(d=t.trackingEvents)[r]&&(d[r]=[]),t.trackingEvents[r].push(v));t.companionClickThroughURLTemplate=this.parseNodeText(this.childByName(i,"CompanionClickThrough"));c.variations.push(t)}return c},n.parseDuration=function(n){var t,f,r,i,u;return null==n?-1:(t=n.split(":"),3!==t.length?-1:(u=t[2].split("."),i=parseInt(u[0]),2===u.length&&(i+=parseFloat("0."+u[1])),r=parseInt(60*t[1]),f=parseInt(3600*t[0]),isNaN(f||isNaN(r||isNaN(i||r>3600||i>60)))?-1:f+r+i))},n.parseNodeText=function(n){return n&&(n.textContent||n.text)},n}();t.exports=h},{"./ad.coffee":2,"./companionad.coffee":4,"./creative.coffee":5,"./mediafile.coffee":7,"./response.coffee":9,"./urlhandler.coffee":11,"./util.coffee":14}],9:[function(n,t){var i;i=function(){function n(){this.ads=[];this.errorURLTemplates=[]}return n}();t.exports=i},{}],10:[function(n,t){var r,u,f,e,i,o={}.hasOwnProperty,s=function(n,t){function r(){this.constructor=n}for(var i in t)o.call(t,i)&&(n[i]=t[i]);return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n};u=n("./client.coffee");i=n("./util.coffee");f=n("./creative.coffee").VASTCreativeLinear;r=n("events").EventEmitter;e=function(n){function t(n,t){var i,e,r;if(this.ad=n,this.creative=t,this.muted=!1,this.impressed=!1,this.skipable=!1,this.skipDelayDefault=-1,this.trackingEvents={},this.progressOffsets=[],this.emitAlwaysEvents=["creativeView","start","firstQuartile","midpoint","thirdQuartile","complete","rewind","skip","mute","unmute","pause","rewind","resume","fullscreen","exitFullscreen","closeLinear","close","skip","click","progress"],t){r=t.trackingEvents;for(i in r)e=r[i],this.trackingEvents[i]=e.slice(0);this.progressOffsets=t.progressOffsets||[];this.progressOffsets.sort(function(n,t){return n-t})}t instanceof f?(this.assetDuration=t.duration,this.quartiles={firstQuartile:Math.round(25*this.assetDuration)/100,midpoint:Math.round(50*this.assetDuration)/100,thirdQuartile:Math.round(75*this.assetDuration)/100},this.skipDelay=t.skipDelay,this.linear=!0,this.clickThroughURLTemplate=t.videoClickThroughURLTemplate,this.clickTrackingURLTemplate=t.videoClickTrackingURLTemplate):(this.skipDelay=-1,this.linear=!1);this.on("start",function(){u.lastSuccessfullAd=+new Date})}return s(t,n),t.prototype.resetTrackingEventsInfo=function(){if(this.creative){var n,t,i=this.creative.trackingEvents;for(n in i)t=i[n],this.trackingEvents[n]=t.slice(0);this.impressed=!1}},t.prototype.setProgress=function(n){var s,t,h,f,r,e,u,c,o,i;if(r=null===this.skipDelay?this.skipDelayDefault:this.skipDelay,-1===r||this.skipable||(r>n?this.emit("skip-countdown",r-n):(this.skipable=!0,this.emit("skip-countdown",0))),this.linear&&this.assetDuration>0){if(t=[],n>0){if(t.push("start"),h=Math.round(n/this.assetDuration*100),this.progressOffsets.length>0)for(i=this.progressOffsets.length-1;i>=0;i--)if(this.progressOffsets[i]<=h){t.push("progress-"+this.progressOffsets[i]);break}o=this.quartiles;for(f in o)e=o[f],n>=e&&e+1>=n&&t.push(f)}for(u=0,c=t.length;c>u;u++)s=t[u],this.track(s,!0);n<this.progress&&this.track("rewind")}return this.progress=n},t.prototype.setMuted=function(n){return this.muted!==n&&this.track(n?"muted":"unmuted"),this.muted=n},t.prototype.setPaused=function(n){return this.paused!==n&&this.track(n?"pause":"resume"),this.paused=n},t.prototype.setFullscreen=function(n){return this.fullscreen!==n&&this.track(n?"fullscreen":"exitFullscreen"),this.fullscreen=n},t.prototype.setSkipDelay=function(n){if("number"==typeof n)return this.skipDelay=n},t.prototype.load=function(){if(!this.impressed)return(this.impressed=!0,this.trackURLs(this.ad.impressionURLTemplates),this.track("creativeView"))},t.prototype.errorWithCode=function(n){return this.trackURLs(this.ad.errorURLTemplates,{ERRORCODE:n})},t.prototype.complete=function(){this.track("complete");this.resetTrackingEventsInfo()},t.prototype.stop=function(){return this.track(this.linear?"closeLinear":"close")},t.prototype.skip=function(){this.track("skip");this.trackingEvents=[];this.resetTrackingEventsInfo()},t.prototype.click=function(){var n,t;return null!=this.clickTrackingURLTemplate&&this.trackURLs([this.clickTrackingURLTemplate]),null!=this.clickThroughURLTemplate?(this.linear&&(t={CONTENTPLAYHEAD:this.progressFormated()}),n=i.resolveURLTemplates([this.clickThroughURLTemplate],t)[0],this.emit("clickthrough",n)):void 0},t.prototype.setAssetFileUri=function(n){this.assetFileUri=encodeURIComponent(n)},t.prototype.track=function(n,t){var i,r;null==t&&(t=!1);"closeLinear"===n&&null==this.trackingEvents[n]&&null!=this.trackingEvents.close&&(n="close");r=this.trackingEvents[n];i=this.emitAlwaysEvents.indexOf(n);null!=r?(this.emit(n,""),this.trackURLs(r)):-1!==i&&this.emit(n,"");t===!0&&(delete this.trackingEvents[n],i>-1&&this.emitAlwaysEvents.splice(i,1))},t.prototype.trackURLs=function(n,t){return null==t&&(t={}),this.linear&&(t.CONTENTPLAYHEAD=this.progressFormated(),t.ASSETURI=this.assetFileUri),i.track(n,t)},t.prototype.progressFormated=function(){var t,n,u,r,i;return i=parseInt(this.progress),t=i/3600,t.length<2&&(t="0"+t),n=i/60%60,n.length<2&&(n="0"+n),r=i%60,r.length<2&&(r="0"+n),u=parseInt(100*(this.progress-i)),""+t+":"+n+":"+r+"."+u},t}(r);t.exports=e},{"./client.coffee":3,"./creative.coffee":5,"./util.coffee":14,events:1}],11:[function(n,t){var u,i,r;r=n("./urlhandlers/xmlhttprequest.coffee");i=n("./urlhandlers/flash.coffee");u=function(){function t(){}return t.get=function(t,u,f){return"undefined"==typeof window||null===window?n("./urlhandlers/node.coffee").get(t,u):r.supported()?r.get(t,u,f):i.supported()?i.get(t,u):u()},t}();t.exports=u},{"./urlhandlers/flash.coffee":12,"./urlhandlers/xmlhttprequest.coffee":13}],12:[function(n,t){var i;i=function(){function n(){}return n.xdr=function(){var n;return window.XDomainRequest&&(n=new XDomainRequest),n},n.supported=function(){return!!this.xdr()},n.get=function(n,t){function u(){return t(null,null)}var i,r;return(r="function"==typeof ActiveXObject?new window.ActiveXObject("Microsoft.XMLDOM"):void 0)?(r.async=!1,i=this.xdr(),i.open("GET",n),i.send(),i.onerror=u,i.ontimeout=u,i.onload=function(){return r.loadXML(i.responseText),t(null,r)}):t()},n}();t.exports=i},{}],13:[function(n,t){var i;i=function(){function n(){}return n.xhr=function(){var n;return n=new window.XMLHttpRequest,"withCredentials"in n?n:void 0},n.supported=function(){return!!this.xhr()},n.get=function(n,t,i){function u(){return t(null,null)}var r;return r=this.xhr(),r.open("GET",n),r.timeout=i,r.ontimeout=u,r.onerror=u,r.send(),r.onreadystatechange=function(){if(4===r.readyState)return t(null,r.responseXML)}},n}();t.exports=i},{}],14:[function(n,t){var i;i=function(){function n(){}return n.track=function(n,t){var f,r,e,i,o,u;for(r=this.resolveURLTemplates(n,t),u=[],i=0,o=r.length;o>i;i++)f=r[i],"undefined"!=typeof window&&null!==window&&(e=new Image,u.push(e.src=f));return u},n.resolveURLTemplates=function(n,t){var o,f,r,s,h,i,e,u,c;for(f=[],null==t&&(t={}),("CACHEBUSTING"in t)||(t.CACHEBUSTING=Math.round(1e10*Math.random())),t.random=t.CACHEBUSTING,u=0,c=n.length;c>u;u++)if(o=n[u],i=o){for(r in t)e=t[r],s="["+r+"]",h="%%"+r+"%%",i=i.replace(s,e),i=i.replace(h,e);f.push(i)}return f},n.storage=function(){var n,i,t,r;try{t="undefined"!=typeof window&&null!==window?window.localStorage||window.sessionStorage:null}catch(u){r=u;t=null}return i=function(n){var i,t;try{if(t="__VASTUtil__",n.setItem(t,t),n.getItem(t)!==t)return!0}catch(r){return i=r,!0}return!1},(null==t||i(t))&&(n={},t={length:0,getItem:function(t){return n[t]},setItem:function(t,i){n[t]=i;this.length=Object.keys(n).length},removeItem:function(t){delete n[t];this.length=Object.keys(n).length},clear:function(){n={};this.length=0}}),t}(),n}();t.exports=i},{}]},{},[6])(6)});!function(n){!function(t){!function(t){"use strict";var u=function(){function n(){}return n.creativeView="creativeView",n.start="start",n.firstQuartile="firstQuartile",n.midpoint="midpoint",n.thirdQuartile="thirdQuartile",n.complete="complete",n.mute="mute",n.unmute="unmute",n.pause="pause",n.rewind="rewind",n.resume="resume",n.fullscreen="fullscreen",n.exitFullscreen="exitFullscreen",n.expand="expand",n.collapse="collapse",n.acceptInvitationLinear="acceptInvitationLinear",n.closeLinear="closeLinear",n.skip="skip",n.progress="progress",n.click="click",n.error="error",n}(),i,r;t.TrackingEvents=u;i=function(){function n(){}return n.XML_PARSING_ERROR=100,n.VAST_SCHEMA_VALIDATION_ERROR=101,n.VAST_VERSION_OF_RESPONSE_NOT_SUPPORTED=102,n.TRAFFICKING_ERROR=200,n.VIDE0_PLAYER_EXPECTED_DIFFERENT_LINEARITY=201,n.VIDE0_PLAYER_EXPECTED_DIFFERENT_DURATION=202,n.VIDE0_PLAYER_EXPECTED_DIFFERENT_SIZE=203,n.GENERAL_RESPONSE_ERROR=300,n.TIMEOUT_OF_URI_PROVIDED_IN_WRAPPER=301,n.WRAPPER_LIMIT_REACHED=302,n.NO_ADS_RESPONSE_AFTER_WRAPPERS=303,n.GENERAL_LINEAR_ERROR=400,n.TIMEOUT_MEDIA_URI=402,n.NO_MEDIA_FILE_SUPPORTED=403,n.PROBLEM_PLAYING_MEDIA_FILE=405,n.UNDEFINED_ERROR=900,n}();t.VastErrorsCodes=i;r=function(){function t(){}return t.prototype.get=function(t,i,r){var u=this,f=window.ADSVAST.client;n.Logger.verbose(5,"Ads plugin: Fetching ads");f.get(t,function(t){n.Logger.verbose(5,"Ads plugin: Ads fetch response VastFile = "+JSON.stringify(t));null!=t?(n.Logger.verbose(5,"Ads plugin: Ads Fetched"),u.addTrackerForCreatives(t),i.call(u,t)):(n.Logger.verbose(5,"Ads plugin: Failed to fetch the ads"),i.call(u))},r)},t.prototype.addTrackerForCreatives=function(n){for(var u,r,i,t=0;t<n.ads.length;t++)for(u=n.ads[t].creatives,i=null,i=new window.ADSVAST.tracker(n.ads[t]),n.ads[t].tracker=i,r=0;r<u.length;r++)i=null,i=new window.ADSVAST.tracker(n.ads[t],u[r]),u[r].tracker=i},t}();t.VastSourceHandler=r}(t.vast||(t.vast={}));t.vast}(n.ads||(n.ads={}));n.ads}(AMP||(AMP={}));!function(n){!function(n){!function(n){!function(n){var t=function(){function n(){}return n.maxdur="{maxdur}",n.mindur="{mindur}",n.maxbr="{maxbr}",n.DEFAULT_MAX_DUR_SEC=30,n.DEFAULT_MIN_DUR_SEC=15,n.DEFAULT_MAX_BITRATE_KBPS=600,n}(),i;n.UrlKeys=t;i=function(){function n(){}return n.formatVastFileUrl=function(n,i,r,u){for(var e=n,o=[t.maxbr,t.mindur,t.maxdur],s=[r,u,i],f=0;f<o.length;f++)e=e.replace(o[f],""+s[f]);return e},n}();n.VastUrlFormatter=i}(n.UrlFormatter||(n.UrlFormatter={}));n.UrlFormatter}(n.vast||(n.vast={}));n.vast}(n.ads||(n.ads={}));n.ads}(AMP||(AMP={}));!function(n){!function(t){"use strict";function o(n){new e(n,this)}var r=function(){function n(n,t,i){this.source=n;this.tracks=t;this.name=i}return n}(),i,u,f,e;t.AssetImpl=r;i=function(){function n(n,t,i,r,u,f,e){this.name=n;this.parent=t;this.offset=i;this.controls=r;this.timedReturn=u;this.clickThrough=f;this.skippable=e;this.isAd=!1}return n}();t.ClipImpl=i;u=function(){function n(){this.pauseTimeline=!1;this.clips=[]}return n.prototype.add=function(n){return this.clips.push(n)},n}();t.PlayListImpl=u;f=function(){function n(n,t,i){this.clip=n;this.ad=t;this.creative=i}return n}();t.ClipAdTrackerMap=f;amp.plugin("ampAds",o);e=function(){function t(t,i){this.player=i;this.refreshPresentationLayout(t);this.registerForPresentationUpdate();this.vastSourceHandler=new n.ads.vast.VastSourceHandler}return t.prototype.registerForPresentationUpdate=function(){var n=this;this.player.addEventListener("presentationUpdate",function(){n.refreshPresentationLayout(n.player.presentationLayout())})},t.prototype.refreshPresentationLayout=function(n){this.reset();this.processPresentationLayout(n)},t.prototype.reset=function(){this.preRoll=null;this.midRolls=[];this.postRoll=null;this.inBandSourceUri=null;this.mainProgram=null;this.adsFetched=[];this.preRoll=null;this.postRoll=null;this.postRollClip=null;this.preRollClip=null;this.preRollFetchFailed=!1;this.postRollFetchFailed=!1;this.adTrackerInfo=[];this.requestedBitrate=300},t.prototype.init=function(){var n=this;setTimeout(function(){n.initializePlaylist()},10)},t.prototype.initializePlaylist=function(){var n=!1;this.preRoll&&this.preRoll.sourceUri&&(this.fetchAdForAdElement(this.preRoll),n=!0);this.postRoll&&this.postRoll.sourceUri&&(this.fetchAdForAdElement(this.postRoll),n=!0);!n&&this.mainProgram&&this.mainProgram.source&&this.checkPlayListAvailabilityAndStartPlayback()},t.prototype.handleAdFetchSuccess=function(n,t){if(!this.player.isDisposed()){if(this.overrideAdOptions(n,t),n===this.preRoll)this.preRollClip=this.getClipForAdElement(n,t);else{if(n!==this.postRoll){var r=this.getClipForAdElement(n,t),i={clip:r,splice:null};return n.splice&&(i.splice=n.splice),void this.player.addMidRoll(i)}this.postRollClip=this.getClipForAdElement(n,t)}this.checkPlayListAvailabilityAndStartPlayback()}},t.prototype.checkPlayListAvailabilityAndStartPlayback=function(){var t=!0,i=!0,n;null===this.preRoll||null!==this.preRollClip||this.preRollFetchFailed||(t=!1);null===this.postRoll||null!==this.postRollClip||this.postRollFetchFailed||(i=!1);n=null;t&&i&&(n=new u,null!==this.preRoll&&null!==this.preRollClip&&n.add(this.preRollClip),n.add(this.getClipForMainProgram()),null!==this.postRoll&&null!==this.postRollClip&&n.add(this.postRollClip),n.pauseTimeline=!0,this.player.isDisposed()||this.player.playlist(n))},t.prototype.getClipForAdElement=function(t,u){for(var s,c,l,h,e=null,o=0;o<u.ads[0].creatives.length;o++)if("linear"===u.ads[0].creatives[o].type){e=u.ads[0].creatives[o];break}if(null==e&&(n.Logger.error(5,"Ads plugin: No Linear creative found"),u.ads[0].tracker.errorWithCode(n.ads.vast.VastErrorsCodes.VIDE0_PLAYER_EXPECTED_DIFFERENT_LINEARITY)),s=null,c=["video/mp4","video/mpeg"],e){for(o=0;o<e.mediaFiles.length;o++)-1!==c.indexOf(e.mediaFiles[o].mimeType)&&(null!==s?s.bitrate<e.mediaFiles[o].bitrate&&e.mediaFiles[o].bitrate<=this.requestedBitrate?s=e.mediaFiles[o]:s.bitrate>e.mediaFiles[o].bitrate&&e.mediaFiles[o].bitrate>=this.requestedBitrate&&(s=e.mediaFiles[o]):s=e.mediaFiles[o]);null===s&&(n.Logger.error(5,"Ads plugin: No supported Media file can be found."),e.tracker.errorWithCode(n.ads.vast.VastErrorsCodes.NO_MEDIA_FILE_SUPPORTED))}return null!==e&&null!=s?(s.fileURL=s.fileURL.trim(),e.tracker.setAssetFileUri(s.fileURL),l=new r({src:s.fileURL,type:s.mimeType},null,u.ads[0].adTitle),h=new i(u.ads[0].adTitle,l,0,!0),this.strictSchedule&&(h.timedReturn=!0),e.videoClickThroughURLTemplate&&e.videoClickThroughURLTemplate.length>0&&(h.clickThrough=e.videoClickThroughURLTemplate),t.options&&t.options.skipAd&&t.options.skipAd.enabled&&(h.skippable=t.options.skipAd.offset),h.ad=u,h.isAd=!0,this.adTrackerInfo.push(new f(h,u,e)),h):(t===this.preRoll?this.preRollFetchFailed=!0:t===this.postRoll&&(this.postRollFetchFailed=!0),null)},t.prototype.getTrackerMapInfoForClip=function(n){for(var t=0;t<this.adTrackerInfo.length;t++)if(n===this.adTrackerInfo[t].clip)return this.adTrackerInfo[t];return null},t.prototype.getClipForMainProgram=function(){var n="Main Program",u=new r(this.mainProgram.source,this.mainProgram.tracks,n),t=new i(n,u,0,!0,!1);return t.isAd=!1,t},t.prototype.overrideAdOptions=function(n,t){var i,r;if(n.options&&n.options.skipAd&&n.options.skipAd.enabled)for(i=0;i<t.ads.length;i++)for(r=0;r<t.ads[i].creatives.length;r++)t.ads[i].creatives[r].skipDelay=n.options.skipAd.offset},t.prototype.handleAdFetchError=function(t){n.Logger.verbose(5,"Ads plugin: Ads fetch failed for Uri = "+t.sourceUri);t===this.preRoll&&(this.preRollFetchFailed=!0,this.checkPlayListAvailabilityAndStartPlayback());t===this.postRoll&&(this.postRollFetchFailed=!0,this.checkPlayListAvailabilityAndStartPlayback())},t.prototype.getFormattedUrl=function(t){var u=t.splice&&t.splice.duration?t.splice.duration:n.ads.vast.UrlFormatter.UrlKeys.DEFAULT_MAX_DUR_SEC,i=this.player.videoBufferData(),r=n.ads.vast.UrlFormatter.UrlKeys.DEFAULT_MAX_BITRATE_KBPS;return i&&i.downloadCompleted&&(r=i.downloadCompleted.mediaDownload.bitrate/1024,this.requestedBitrate=r),n.ads.vast.UrlFormatter.VastUrlFormatter.formatVastFileUrl(t.sourceUri,u,r,n.ads.vast.UrlFormatter.UrlKeys.DEFAULT_MIN_DUR_SEC)},t.prototype.fetchAdForAdElement=function(i){if(i.sourceUri){var r={manager:this,adElement:i},u=this.getFormattedUrl(i);this.vastSourceHandler.get(u,amp.bind(r,function(n){var t=this.manager.adsFetched.indexOf(this.adElement);n&&n.ads&&n.ads.length>0&&-1!==t?this.manager.handleAdFetchSuccess(this.adElement,n):this.manager.handleAdFetchError(this.adElement);this.manager.adsFetched.splice(t,1)}),t.DefaultTimeoutVal);this.adsFetched.push(i)}else n.Logger.error(5,"Ads plugin: fetchAdForAdElement ad missing sourceUri")},t.prototype.addListenersForPlayerEvents=function(){for(var i=this,t=[amp.eventName.playing,amp.eventName.timeupdate,amp.eventName.loadeddata,amp.eventName.splicewaiting,amp.eventName.start,amp.eventName.firstquartile,amp.eventName.midpoint,amp.eventName.thirdquartile,amp.eventName.complete,amp.eventName.mute,amp.eventName.unmute,amp.eventName.resume,amp.eventName.pause,amp.eventName.fullscreen,amp.eventName.exitfullscreen,amp.eventName.click,amp.eventName.skip,amp.eventName.errorInPlayingAd,amp.eventName.disposing],n=0;n<t.length;n++)this.player.addEventListener(t[n],function(n){i.handlePlayerEvent(n)})},t.prototype.fetchAllStaticMidRolls=function(){if(null!==this.midRolls)for(var n=0;n<this.midRolls.length;n++)this.midRolls[n].startTime>=0&&(this.midRolls[n].splice={id:-1,startOffset:this.midRolls[n].startTime},this.fetchAdForAdElement(this.midRolls[n]))},t.prototype.handlePlayerEvent=function(t){var i,r,f,u;switch(t.type){case amp.eventName.loadeddata:u=t.clip;u&&!u.isAd&&this.fetchAllStaticMidRolls();break;case amp.eventName.splicewaiting:for(i=this.player.spliceWaiting(),i.sort(function(n,t){return n.startOffset-t.startOffset}),r=0;r<i.length;r++)i[r].out?(n.Logger.error(5,"ads-plugin : Fetching ad for splice OUT with Id = "+i[r].id+" duration ="+i[r].duration+" startOffset = "+i[r].startOffset),f={sourceUri:this.inBandSourceUri,startTime:i[r].startOffset,splice:i[r]},this.fetchAdForAdElement(f)):(n.Logger.error(5,"ads-plugin : Processing splice Cancel or IN with Id = "+i[r].id+" duration ="+i[r].duration),this.player.addMidRoll({splice:i[r]}));break;case amp.eventName.complete:case amp.eventName.start:case amp.eventName.errorInPlayingAd:case amp.eventName.skip:case amp.eventName.firstquartile:case amp.eventName.midpoint:case amp.eventName.thirdquartile:case amp.eventName.mute:case amp.eventName.unmute:case amp.eventName.resume:case amp.eventName.pause:case amp.eventName.fullscreen:case amp.eventName.exitfullscreen:case amp.eventName.timeupdate:case amp.eventName.playing:case amp.eventName.click:u=t.clip;this.processPlayerEventForClip(u,t,this.player)}},t.prototype.processPlayerEventForClip=function(t,i){var u=this.mapAmpEventNameToVastEventName(i.type),r;t&&t.isAd&&null!==u&&(r=this.getTrackerMapInfoForClip(t),null!==r&&r.creative.tracker&&(u!==n.ads.vast.TrackingEvents.error?(r.creative.tracker.setProgress(i.time),u===n.ads.vast.TrackingEvents.creativeView?r.creative.tracker.load():u===n.ads.vast.TrackingEvents.click?(r.creative.videoClickThroughURLTemplate&&window.open(r.creative.videoClickThroughURLTemplate),r.creative.tracker.click()):u!==n.ads.vast.TrackingEvents.progress&&r.creative.tracker.track(u)):(n.Logger.error(5,"Ads plugin: Ads playback Error."),r.creative.tracker.errorWithCode(n.ads.vast.VastErrorsCodes.PROBLEM_PLAYING_MEDIA_FILE)),(u===n.ads.vast.TrackingEvents.skip||u===n.ads.vast.TrackingEvents.complete||u===n.ads.vast.TrackingEvents.error)&&r.creative.tracker.resetTrackingEventsInfo()))},t.prototype.compareAdStartTime=function(n,t){var i=0;return n<t.startTime-10?i=-1:n>t.startTime&&(i=1),i},t.prototype.handleTimeUpdateAndFetchMidRoll=function(n){var i=t.binarySearchThroughMidRolls(n,this.midRolls,this.compareAdStartTime);-1!==i&&-1!==this.adsFetched.indexOf(this.midRolls[i])&&this.fetchAdForAdElement(this.midRolls[i])},t.prototype.processPresentationLayout=function(n){var u=this,t,r,i;if(null!==n&&void 0!==n){if(t=!1,n.preRoll){if(!n.preRoll.sourceUri)throw"preRoll without sourceUri is not valid";this.preRoll=n.preRoll;t=!0}if(n.midRoll&&n.midRoll.length>0)for(r=0;r<n.midRoll.length;r++){if(i=n.midRoll[r],!i.sourceUri)throw"midRoll entry without sourceUri is not valid";if(i.sourceUri&&!i.startTime){if(this.inBandSourceUri)throw"multiple midRoll entries without starTime are not valid.";this.inBandSourceUri=i.sourceUri;t=!0}else{if(i.startTime<0)throw"midRoll starTime cannot be nagative.";this.midRolls.push(i);t=!0}}if(n.postRoll){if(!n.postRoll.sourceUri)throw"postRoll without sourceUri is not valid";this.postRoll=n.postRoll;t=!0}if(n.mainProgram){if(!n.mainProgram.source)throw"ads-plugin needs a valid presentationLayout.mainProgram definition.";this.mainProgram=n.mainProgram;t=!0}this.midRolls.length>1&&this.midRolls.sort(function(n,t){return n.startTime-t.startTime});this.strictSchedule=!!n.strictSchedule;t&&(this.player.showBusy(),this.player.ready(function(){u.addListenersForPlayerEvents()}),this.init())}},t.prototype.mapAmpEventNameToVastEventName=function(t){switch(t){case amp.eventName.playing:return n.ads.vast.TrackingEvents.creativeView;case amp.eventName.errorInPlayingAd:return n.ads.vast.TrackingEvents.error;case amp.eventName.start:return n.ads.vast.TrackingEvents.start;case amp.eventName.firstquartile:return n.ads.vast.TrackingEvents.progress;case amp.eventName.midpoint:return n.ads.vast.TrackingEvents.progress;case amp.eventName.thirdquartile:return n.ads.vast.TrackingEvents.progress;case amp.eventName.complete:return n.ads.vast.TrackingEvents.complete;case amp.eventName.mute:return n.ads.vast.TrackingEvents.mute;case amp.eventName.unmute:return n.ads.vast.TrackingEvents.unmute;case amp.eventName.resume:return n.ads.vast.TrackingEvents.resume;case amp.eventName.fullscreen:return n.ads.vast.TrackingEvents.fullscreen;case amp.eventName.exitfullscreen:return n.ads.vast.TrackingEvents.exitFullscreen;case amp.eventName.click:return n.ads.vast.TrackingEvents.click;case amp.eventName.skip:return n.ads.vast.TrackingEvents.skip;case amp.eventName.pause:return n.ads.vast.TrackingEvents.pause;case amp.eventName.resume:return n.ads.vast.TrackingEvents.resume;case amp.eventName.rewind:return n.ads.vast.TrackingEvents.rewind;case amp.eventName.timeupdate:return n.ads.vast.TrackingEvents.progress}return null},t.DefaultTimeoutVal=5e3,t.binarySearchThroughMidRolls=AzureHtml5JS.Common.binarySearch,t}()}(n.ads||(n.ads={}));n.ads}(AMP||(AMP={}));!function(n){!function(t){"use strict";function r(n){return new i(n)}t.createScheduler=r;var i=function(){function t(t){var i=this;this._eventsToRoute=[amp.eventName.canplaythrough,amp.eventName.timeupdate,amp.eventName.start,amp.eventName.firstquartile,amp.eventName.midpoint,amp.eventName.thirdquartile,amp.eventName.ended,amp.eventName.mute,amp.eventName.unmute,amp.eventName.rewind,amp.eventName.resume,amp.eventName.pause,amp.eventName.fullscreen,amp.eventName.exitfullscreen,amp.eventName.click,amp.eventName.skip,amp.eventName.error,amp.eventName.play,amp.eventName.playing];this._player=t;this._adPlaybackStrategy=n.Scheduler.Strategy.getStrategy(this._player);this._midRolls=[];this._currentClipIndexInPlayList=-1;this.addListenersForAllPlayerEvents();this._currentPreloadPlayIndexInMidRolls=-1;this._lastMidRollPlayed=null;this._lastMainContentTime=-1;this._adPlayMonitorTimerId=NaN;this._nextClipPreloaded=!1;this._adPlayStartTime=NaN;this._playList=null;this._player.addEventListener("presentationUpdate",function(){null!==i._playList&&i._adPlaybackStrategy.updateAutoPlay(!0);i.reset();i._adPlaybackStrategy.presentationUpdated()})}return t.prototype.setPlaylist=function(n){var t=this;this._playList=n;this.startPlaybackWithNextInPlayList();this._player.one(amp.eventName.play,function(){t.handleFirstPlay(t._player)})},t.prototype.playlist=function(){return this._playList},t.prototype.reset=function(){this._midRolls=[];this._currentClipIndexInPlayList=-1;this._currentPreloadPlayIndexInMidRolls=-1;this._lastMidRollPlayed=null;this._lastMainContentTime=-1;this._nextClipPreloaded=!1;this._adPlayStartTime=NaN;this.stopAdPlayTimer();this._playList=null},t.prototype.dispose=function(){this.stopRoutingAdEvents();this._adPlaybackStrategy&&this._adPlaybackStrategy.dispose();this.stopAdPlayTimer()},t.prototype.startPlaybackWithNextInPlayList=function(){if(this._currentClipIndexInPlayList++,this._playList.clips.length>0&&this._currentClipIndexInPlayList<this._playList.clips.length){var t=this._playList.clips[this._currentClipIndexInPlayList];t.isAd?(n.Logger.verbose(9,"Playing ad CLip with src ="+t.parent.source.src),this._nextClipPreloaded=!1,this._adPlaybackStrategy.playAdClip(t)):(n.Logger.verbose(9,"Starting Main Content play."),this._adPlaybackStrategy.setMainContent(t),this.resumeMainContent());this.preloadMainContent()}else this._adPlaybackStrategy.isPlayingAd()&&this._adPlaybackStrategy.handlePostRollCompleted()},t.prototype.preloadMainContent=function(){var n,i,t;if(0===this._currentClipIndexInPlayList&&this._adPlaybackStrategy.isPlayingAd()){if(n=this._currentClipIndexInPlayList+1,i=this._playList.clips.length,n>i)return;for(t=this._playList.clips[n],n+=1;t.isAd&&i-1>n;)t=this._playList.clips[n++];if(!t.isAd)return this._adPlaybackStrategy.setMainContent(t),void this._adPlaybackStrategy.preloadMainContent()}},t.prototype.addListenersForAllPlayerEvents=function(){var n=this._adPlaybackStrategy.getAdPlayer();this._player!==n&&(this.startRoutingAdEvents(n),this.addEventListeners(n));this.addEventListeners(this._player)},t.prototype.addEventListeners=function(n){var t=this;n.addEventListener(amp.eventName.timeupdate,function(){t.playerTimeUpdate(n)});n.addEventListener(amp.eventName.seeked,function(){t.playerSeeked(n)});n.addEventListener(amp.eventName.ended,function(){t.handleEnded(n)})},t.prototype.startRoutingAdEvents=function(n){var t=this;this._eventsToRoute.forEach(function(i){n.addEventListener(i,t.adEventHandler.bind(t))})},t.prototype.stopRoutingAdEvents=function(){var t=this._adPlaybackStrategy.getAdPlayer(),n;this._player!==t&&(n=this,this._eventsToRoute.forEach(function(i){t.removeEventListener(i,n.adEventHandler.bind(n))}))},t.prototype.adEventHandler=function(n){if(this._adPlaybackStrategy.isPlayingAd()){var t,i=this._adPlaybackStrategy.getAdPlayer();switch(n.type){case amp.eventName.error:if(!this._adPlaybackStrategy.isPlayingAd())return;t=amp.eventName.errorInPlayingAd;this._adPlaybackStrategy.updateAutoPlay(!0);break;case amp.eventName.ended:t=amp.eventName.complete;break;case amp.eventName.pause:if(t=amp.eventName.pause,i.ended())return;break;case amp.eventName.click:if(t=amp.eventName.click,i.paused())return void i.play();i.pause();this.stopAdPlayTimer();break;default:t=n.type}this._player.trigger(t,null,i.currentClip(),i.currentTime());(t===amp.eventName.errorInPlayingAd||t===amp.eventName.skip)&&this.handleEnded(i)}},t.prototype.resumeMainContent=function(n){this.stopAdPlayTimer();(this.isTimeToResumeMainContent()||n)&&(this._currentPreloadPlayIndexInMidRolls=-1,this._adPlaybackStrategy.resumeMainContent(),this._adPlayStartTime=NaN,this.removeObsoleteMidRollsForLiveStreaming())},t.prototype.handleFirstPlay=function(n){this._adPlaybackStrategy.isPlayingAd()||(this._mainContentLive=n.isLive(),this._mainContentLive&&(this.removeStaticMidRolls(),this._player.trigger("midrollAdded"),this._currentPreloadPlayIndexInMidRolls=-1))},t.prototype.removeStaticMidRolls=function(){var t=[],n;if(this._midRolls.length>0){for(n=0;n<this._midRolls.length;n++)this._midRolls[n].splice.id>0&&t.push(this._midRolls[n]);this._midRolls=t}},t.prototype.playerSeeked=function(){var t=this,n;!this._adPlaybackStrategy.isPlayingAd()&&this._midRolls.length>0&&(n=this._player.currentMediaTime(),this.handleSkipAndPlayPreloadedAd(n)||(this._lastMidRollPlayed=null,this._lastMainContentTime=n,AzureHtml5JS.Util.setTimeout(function(){t.preloadAd(t._lastMainContentTime,!0)},100)))},t.prototype.handleSkipAndPlayPreloadedAd=function(n){if(this._lastMainContentTime<n&&-1!==this._currentPreloadPlayIndexInMidRolls&&n>this._midRolls[this._currentPreloadPlayIndexInMidRolls].splice.startOffset){var t=this._adPlaybackStrategy.getAdPlayer();return t.bufferedPercent(),this.handleTimeUpdateAndFetchMidRoll(this._midRolls[this._currentPreloadPlayIndexInMidRolls].splice.startOffset,!1,!0)}return!1},t.prototype.playerTimeUpdate=function(n){!this._adPlaybackStrategy.isPlayingAd()&&this._midRolls.length>0&&!n.paused()&&(this._lastMainContentTime=this._player.currentMediaTime(),this.handleTimeUpdateAndFetchMidRoll(this._lastMainContentTime)||this.checkIfPreloadNeedsRefresh()&&this.preloadAd(this._lastMainContentTime,!1))},t.prototype.checkIfPreloadNeedsRefresh=function(){return!this._adPlaybackStrategy.isPlayingAd()&&-1!==this._currentPreloadPlayIndexInMidRolls&&this._player.currentMediaTime()<this._midRolls[this._currentPreloadPlayIndexInMidRolls].splice.startOffset?!1:!0},t.prototype.handleEnded=function(t){var i=t.currentClip();null!==i&&(this._adPlaybackStrategy.updateAutoPlay(!0),i.isAd&&!this.isPlayListItem(i)?(n.Logger.verbose(9,"Handling ended for Clip="+i.parent.source.src),this._adPlaybackStrategy.isPlayingAd()&&this.resumeMainContent()):(this._lastMidRollPlayed=null,this.startPlaybackWithNextInPlayList()))},t.prototype.isPlayListItem=function(n){return-1!==this._playList.clips.indexOf(n)},t.prototype.addMidRoll=function(t){var i,r;if(this._adPlaybackStrategy.isMidRollSpupported()){if(i=0,this._mainContentLive&&t.splice.id<0)return;(!this._mainContentLive&&t.splice.id<0&&(i=this._player.currentMediaTime()-this._player.currentTime(),t.splice.startOffset=t.splice.startOffset+i),t.clip)?this.updateExistingMidRoll(t)||(r=this.midRollsSortingNeeded(t),this._midRolls.push(t),r&&(this._currentPreloadPlayIndexInMidRolls=-1,this.keepMidRollsSorted()),n.Logger.verbose(9,"Current media time ="+this._player.currentMediaTime()),n.Logger.verbose(9,"Received an ad signal message with startOffset ="+t.splice.startOffset+" and Id ="+t.splice.id+" and Duration ="+t.splice.duration)):(n.Logger.verbose(9,"Reveived a splice In or Cancel with Id = "+t.splice.id+" Cancel ="+t.splice.cancel+" And out = "+t.splice.out+" And duration = "+t.splice.duration),this.clearSplice(t.splice))}return this._player.trigger("midrollAdded"),this._midRolls},t.prototype.midRollsSortingNeeded=function(n){return this._midRolls.length>0&&this._midRolls[this._midRolls.length-1].splice.startOffset<=n.splice.startOffset?!1:0===this._midRolls.length?!1:!0},t.prototype.removeObsoleteMidRollsForLiveStreaming=function(){var i;if(this._mainContentLive&&!this._adPlaybackStrategy.isPlayingAd()&&(i=this._player.currentMediaTime()-this._player.currentTime(),this._midRolls.length>0)){for(var r=[],u=[],t=0;t<this._midRolls.length;t++)this._midRolls[t].splice.id>0&&this._midRolls[t].splice.startOffset<i?(u.push(this._midRolls[t]),n.Logger.verbose(9,"Splice with Offset ="+this._midRolls[t].splice.startOffset+" is stale and will be removed")):r.push(this._midRolls[t]);u.length>0&&(this._midRolls=r,this._currentClipIndexInPlayList=-1)}},t.prototype.updateExistingMidRoll=function(t){var u,i,r,f;if(t.splice.id>0)for(u=this._midRolls.length,i=0;u>i;i++)if(this._midRolls[i].splice.id===t.splice.id){if(n.Logger.verbose(9,"Duplicate splice with ID ="+this._midRolls[i].splice.id+" storing a suplimentory Clip new duration ="+t.splice.duration+" new startOffset="+t.splice.startOffset),r=this._midRolls[i].splice,this._currentPreloadPlayIndexInMidRolls===i&&this._adPlaybackStrategy.isPlayingAd()){if(r.startOffset===t.splice.startOffset)return r.duration>t.splice.duration&&(r.duration=t.splice.duration,f=(Date.now()-this._adPlayStartTime)/1e3,this.startAdPlayMonitor(this._midRolls[i],r.startOffset+f)),this._midRolls[i]=t,!0;this._lastMidRollPlayed=null;this.resumeMainContent(!0)}return this._midRolls.splice(i,1),!1}},t.prototype.getMidRolls=function(){return this._midRolls},t.prototype.keepMidRollsSorted=function(){this._midRolls.length>1&&this._midRolls.sort(function(n,t){return n.splice.startOffset-t.splice.startOffset})},t.prototype.clearSplice=function(t){var h=this,i,f,r;if(this._currentPreloadPlayIndexInMidRolls>=0&&this._adPlaybackStrategy.isPlayingAd()&&this._midRolls[this._currentPreloadPlayIndexInMidRolls].splice&&this._midRolls[this._currentPreloadPlayIndexInMidRolls].splice.id===t.id){if(i=this._midRolls[this._currentPreloadPlayIndexInMidRolls],void 0!==t.cancel&&t.cancel)this.resumeMainContent(!0);else if(void 0!==t.out&&!t.out&&void 0===i.splice.duration){var e=t.startOffset,c=(this._lastMainContentTime,(Date.now()-this._adPlayStartTime)/1e3),u=e-i.splice.startOffset,o=u-c;i.splice.duration=u;n.Logger.verbose(9,"Updated duration of splice with Id = "+i.splice.id+" to = "+i.splice.duration);0>=o?this.resumeMainContent(!0):(this.stopAdPlayTimer(),this._adPlayMonitorTimerId=AzureHtml5JS.Util.setTimeout(function(){h.resumeMainContent()},1e3*o))}}else if(void 0!==t.out&&void 0===t.cancel&&!t.out&&(f=this.searchMidRollsForSplice(t),-1!==f)){var s=this._midRolls[f],e=t.startOffset,u=e-s.splice.startOffset;s.splice.duration=u}if(t.cancel){for(r=-1,r=this.searchMidRollsForSplice(t);-1!==r;)this._midRolls.splice(r,1),r=this.searchMidRollsForSplice(t);this._currentPreloadPlayIndexInMidRolls=-1}},t.prototype.searchMidRollsForSplice=function(n){for(var t=0;t<this._midRolls.length;t++)if(this._midRolls[t].splice.id===n.id)return t;return-1},t.prototype.searchMidRollsAfterTimeForPreload=function(n){for(var t=0;t<this._midRolls.length;t++)if(this._midRolls[t].splice.startOffset>n&&this._midRolls[t].splice.startOffset<n+6e5)return t;return-1},t.prototype.compareAdStartTimeForPlay=function(n,t){var i=0;return n<t.splice.startOffset-.3?i=-1:t.splice.duration&&t.splice.id>0&&n>t.splice.startOffset+t.splice.duration?i=1:void 0===t.splice.duration&&n>t.splice.startOffset+.2&&(i=1),i},t.prototype.handleTimeUpdateAndFetchMidRoll=function(i,r,u){var f,e;return(!this._adPlaybackStrategy.isPlayingAd()||r)&&(f=t.binarySearchThroughMidRolls(i,this._midRolls,this.compareAdStartTimeForPlay),-1!==f&&this._midRolls[f].clip&&(!u||this._midRolls[f].played!==!0)&&this._lastMidRollPlayed!==this._midRolls[f])?(n.Logger.verbose(9,"Found an Ad that we can play for media time = "+i),e=this._adPlayStartTime,this.startMidRollPlayback(this._midRolls[f],i),r&&!isNaN(e)&&(this._adPlayStartTime=e),this._currentPreloadPlayIndexInMidRolls=f,!0):!1},t.prototype.startMidRollPlayback=function(t,i){this._adPlaybackStrategy.updateAutoPlay(!0);this._lastMidRollPlayed=t;this.startAdPlayMonitor(t,i);this._adPlayStartTime=Date.now();this._mainContentAtLiveEdgeBeforeAdBreak=this._adPlaybackStrategy.isMainContentAtLiveEdge();this._mainContentLive=this._adPlaybackStrategy.isMainContentLive();n.Logger.verbose(9,"Starting Ad playback for time ="+i+" ad start time = "+t.splice.startOffset+" ad duration = "+t.splice.cancel);this._adPlaybackStrategy.playAdClip(t.clip,t.splice.id>0);t.played=!0},t.prototype.preloadAd=function(t,i){var r,u;null===this._adPlaybackStrategy.currentClip()||this._adPlaybackStrategy.currentClip().isAd||(r=this.searchMidRollsAfterTimeForPreload(t),-1!==r&&this._midRolls[r].clip&&this._currentPreloadPlayIndexInMidRolls!==r&&this._lastMidRollPlayed!==this._midRolls[r]?(u=!1,i?u=!0:-1===this._currentPreloadPlayIndexInMidRolls&&(u=!0),u&&this._midRolls[r].clip&&(n.Logger.verbose(9,"Preloading ad CLip with src ="+this._midRolls[r].clip.parent.source.src),this._adPlaybackStrategy.preloadAd(this._midRolls[r].clip),this._nextClipPreloaded=!0,this._currentPreloadPlayIndexInMidRolls=r)):this._mainContentLive||(this._currentClipIndexInPlayList<this._playList.clips.length-1&&!this._nextClipPreloaded&&(n.Logger.verbose(9,"Preloading ad Clip with src ="+this._playList.clips[this._currentClipIndexInPlayList+1].parent.source.src),this._adPlaybackStrategy.preloadAd(this._playList.clips[this._currentClipIndexInPlayList+1]),this._nextClipPreloaded=!0),this._currentPreloadPlayIndexInMidRolls=-1))},t.prototype.startAdPlayMonitor=function(t,i){var u=this,r;(this.stopAdPlayTimer(),t.splice.id>0&&t.splice.duration)&&(r=t.splice.startOffset+t.splice.duration-i,this._adPlayMonitorTimerId=AzureHtml5JS.Util.setTimeout(function(){u.resumeMainContent()},1e3*r),n.Logger.verbose(9,"Starting _adPlayMonitor for duration = "+r))},t.prototype.isTimeToResumeMainContent=function(){var t=this._lastMidRollPlayed,r=Date.now(),i=(r-this._adPlayStartTime)/1e3;return null!==t&&null!==t.splice&&t.splice.id>0&&!isNaN(this._adPlayStartTime)&&this.handleTimeUpdateAndFetchMidRoll(this._lastMainContentTime+i,!0)?(this._lastMainContentTime=this._lastMainContentTime+i,!1):(n.Logger.verbose(9,"Switching to main program after time = "+i),!0)},t.prototype.stopAdPlayTimer=function(){isNaN(this._adPlayMonitorTimerId)||(AzureHtml5JS.Util.clearTimeout(this._adPlayMonitorTimerId),this._adPlayMonitorTimerId=NaN)},t.prototype.isPlayingAd=function(){return this._adPlaybackStrategy.isPlayingAd()},t.prototype.getAdPlayer=function(){return this._adPlaybackStrategy.getAdPlayer()},t.binarySearchThroughMidRolls=AzureHtml5JS.Common.binarySearch,t}();t.Scheduler=i}(n.Scheduler||(n.Scheduler={}));n.Scheduler}(AMP||(AMP={}));__extends=this.__extends||function(n,t){function r(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);r.prototype=t.prototype;n.prototype=new r};!function(n){!function(t){!function(t){"use strict";function u(n){return AzureHtml5JS.Common.isMobile?new i(n):new r(n)}var i,r;t.getStrategy=u;i=function(){function n(n){this._mainPlayer=n;this._mainPlayerState=null}return n.prototype.isMainContentLive=function(){return this._mainPlayer.isLive()},n.prototype.isMainContentAtLiveEdge=function(){var n=this._mainPlayer.currentPlayerSettingValue("livePlaybackOffsetInWallClockSec");return this._mainPlayer.currentTime()<this._mainPlayer.duration()-5-n?!1:!0},n.prototype.preloadAd=function(){},n.prototype.preloadMainContent=function(){},n.prototype.isPlayingAd=function(){return this._mainPlayer.currentClip().isAd},n.prototype.updateAutoPlay=function(){this._mainPlayer.autoplay(!0)},n.prototype.dispose=function(){},n.prototype.presentationUpdated=function(){},n.prototype.isMidRollSpupported=function(){return!1},n.prototype.setMainContent=function(n){this._mainContent=n},n.prototype.playAdClip=function(n){this.pauseMainContent();this._mainPlayer.playClip(n)},n.prototype.currentClip=function(){return this._mainPlayer.currentClip()},n.prototype.getAdPlayer=function(){return this._mainPlayer},n.prototype.pauseMainContent=function(){this._mainPlayer&&null!==this._mainPlayer.currentSrc()&&null===this._mainPlayerState&&(this._mainPlayer.pause(),this._mainPlayerState=null)},n.prototype.resumeMainContent=function(){null!==this._mainPlayerState?(this._mainPlayer.loadPlayerFromState(this._mainPlayerState),this._mainPlayerState=null):this._mainPlayer.playClip(this._mainContent)},n.prototype.handlePostRollCompleted=function(){},n}();t.SinglePlayerStrategy=i;r=function(t){function i(n){t.call(this,n);this.populateAdDomElements();this.setUpFullScreenEventHandling();this._isFirstPlayForMainContent=!0}return __extends(i,t),i.prototype.preloadAd=function(n){this._adPlayer.resetPlayer();this._adPlayer.controls(!1);this._adPlayer.preloadClip(n)},i.prototype.preloadMainContent=function(){this._mainPlayer.preloadClip(this._mainContent)},i.prototype.isMidRollSpupported=function(){return"AzureHtml5JS"===this._mainPlayer.currentTechName()?!0:!1},i.prototype.isPlayingAd=function(){return this._currentPlayer===this._adPlayer},i.prototype.updateAutoPlay=function(){this._mainPlayer.autoplay(!0);this._adPlayer.autoplay(!0);this._adPlayer.poster("");this._adPlayer.bigPlayButton.el_.className="vjs-big-play-button "},i.prototype.dispose=function(){this._adPlayer.dispose()},i.prototype.presentationUpdated=function(){this._mainContent=null;this._adPlayer.muted(!1);this._adPlayer.options_.autoplay=this._mainPlayer.options_.autoplay;this._adPlayer.poster(this._mainPlayer.poster());this._adPlayer.resetPlayer();this._adPlayer.trigger("presentationUpdate");this._isFirstPlayForMainContent=!0;this._adPlayer.bigPlayButton.el_.className="vjs-big-play-button override-controls-disabled "},i.prototype.storeMainContentPlaybackRate=function(){try{this._mainPlayer.canControlPlaybackRate()&&(this._mainContentPlayRate=this._mainPlayer.playbackRate())}catch(t){n.Logger.warning(9,"Exception in retrieving playback rate")}},i.prototype.updateMainContentPlaybackRate=function(){try{this._mainPlayer.canControlPlaybackRate()&&this._mainPlayer.playbackRate(this._mainContentPlayRate)}catch(t){n.Logger.warning(9,"Exception in setting playback rate")}},i.prototype.playAdClip=function(t,i){this.copyPlayerStatus(this._mainPlayer,this._adPlayer);this.storeMainContentPlaybackRate();i?(1!==this._mainContentPlayRate&&this._mainPlayer.canControlPlaybackRate()&&this._mainPlayer.playbackRate(1),this._mainPlayer.muted(!0)):this.pauseMainContent();this._mainPlayer.hide();this._currentPlayer=this._adPlayer;this._adPlayer.currentClip()===t&&null===this._adPlayer.error()?(this._adPlayer.play(),this._adPlayer.show()):(n.Logger.verbose(9,"Ad is not preloaded, so executing a playClip"),this._adPlayer.resetPlayer(),this._adPlayer.playClip(t),this._adPlayer.show(!0),this._adPlayer.controls(!1));null!==this._mainPlayer.currentClip()&&this._adPlayer.poster("")},i.prototype.isMainContentPaused=function(){try{return this._mainPlayer.paused()}catch(t){n.Logger.warning(9,"Exception in retrieving isPaused status.")}return!1},i.prototype.resumeMainContent=function(){this.copyPlayerStatus(this._adPlayer,this._mainPlayer);this._currentPlayer=this._mainPlayer;null!=this._adPlayer&&this._adPlayer.pauseAndHide();null===this._mainPlayer.currentClip()||this._mainPlayer.currentClip()!==this._mainContent||null!==this._mainPlayer.error()?(this._mainPlayer.show(!0),this._mainPlayer.playClip(this._mainContent)):this.isMainContentPaused()&&null===this._mainPlayer.error()?this.startMainContentPlay():this._mainPlayer.show();this._isFirstPlayForMainContent&&this._mainPlayer.isLive()&&null===this._mainPlayer.error()&&(this._isFirstPlayForMainContent=!1,this._mainPlayer.currentTime(this._mainPlayer.duration()));this.updateMainContentPlaybackRate()},i.prototype.startMainContentPlay=function(){var i=this,t;this._mainPlayer.show();this._mainPlayer.play();t=0;try{t=this._mainPlayer.currentTime();2>t&&(this._mainPlayer.el_.style.opacity=0,this.pauseMainContent(),AzureHtml5JS.Util.setTimeout(function(){i._mainPlayer.el_.style.opacity=1;i._mainPlayer.play()},200))}catch(r){n.Logger.warning(9,"Exception in startMainContentPlay.")}},i.prototype.handlePostRollCompleted=function(){this.copyPlayerStatus(this._adPlayer,this._mainPlayer);null!=this._adPlayer&&this._adPlayer.pauseAndHide();this.updateMainContentPlaybackRate();this._currentPlayer=this._mainPlayer;this._mainPlayer.show()},i.prototype.copyPlayerStatus=function(t,i){try{null!==t&&null!==i&&(i.volume(t.volume()),i.muted(t.muted()))}catch(r){n.Logger.warning(9,"Exception in copying volume status.")}},i.prototype.setUpFullScreenEventHandling=function(){var t=this;try{this._mainPlayer.addEventListener("fullscreenchange",function(){t.copyFullScreenStatus(t._mainPlayer,t._adPlayer)});this._adPlayer.addEventListener("fullscreenchange",function(){t.copyFullScreenStatus(t._adPlayer,t._mainPlayer)})}catch(i){n.Logger.warning(9,"Exception in settingup fullscreen event handling.")}},i.prototype.copyFullScreenStatus=function(t,i){try{t.isFullscreen()&&!i.isFullscreen()?i.enterFullscreen():!t.isFullscreen()&&i.isFullscreen()&&i.exitFullscreen()}catch(r){n.Logger.warning(9,"Exception in copying fullscreen status.")}},i.prototype.pauseMainContent=function(){try{null!==this._mainPlayer&&this._mainPlayer.pause()}catch(t){n.Logger.warning(9,"Exception in pausing playback.")}},i.prototype.getAdPlayer=function(){return this._adPlayer},i.prototype.currentClip=function(){return this._currentPlayer.currentClip()},i.prototype.populateAdDomElements=function(){this._adPlayer=this._mainPlayer.createAdPlayer()},i}(i);t.MultiPlayerStrategy=r}(t.Strategy||(t.Strategy={}));t.Strategy}(n.Scheduler||(n.Scheduler={}));n.Scheduler}(AMP||(AMP={})),function(n){var t=n.vttjs={},i=t.VTTCue,r=t.VTTRegion,u=n.VTTCue,f=n.VTTRegion;t.shim=function(){t.VTTCue=i;t.VTTRegion=r};t.restore=function(){t.VTTCue=u;t.VTTRegion=f}}(this),function(n,t){function f(n){if("string"!=typeof n)return!1;var t=o[n.toLowerCase()];return t?n.toLowerCase():!1}function r(n){if("string"!=typeof n)return!1;var t=s[n.toLowerCase()];return t?n.toLowerCase():!1}function i(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)n[r]=i[r]}return n}function u(n,t,u){var o=this,h=/MSIE\s8\.0/.test(navigator.userAgent),s={};h?o=document.createElement("custom"):s.enumerable=!0;o.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(o,"id",i({},s,{get:function(){return c},set:function(n){c=""+n}})),Object.defineProperty(o,"pauseOnExit",i({},s,{get:function(){return l},set:function(n){l=!!n}})),Object.defineProperty(o,"startTime",i({},s,{get:function(){return a},set:function(n){if("number"!=typeof n)throw new TypeError("Start time must be set to a number.");a=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"endTime",i({},s,{get:function(){return v},set:function(n){if("number"!=typeof n)throw new TypeError("End time must be set to a number.");v=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"text",i({},s,{get:function(){return y},set:function(n){y=""+n;this.hasBeenReset=!0}})),Object.defineProperty(o,"region",i({},s,{get:function(){return p},set:function(n){p=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"vertical",i({},s,{get:function(){return w},set:function(n){var t=f(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");w=t;this.hasBeenReset=!0}})),Object.defineProperty(o,"snapToLines",i({},s,{get:function(){return b},set:function(n){b=!!n;this.hasBeenReset=!0}})),Object.defineProperty(o,"line",i({},s,{get:function(){return k},set:function(n){if("number"!=typeof n&&n!==e)throw new SyntaxError("An invalid number or illegal string was specified.");k=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"lineAlign",i({},s,{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(o,"position",i({},s,{get:function(){return g},set:function(n){if(0>n||n>100)throw new Error("Position must be between 0 and 100.");g=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",i({},s,{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(o,"size",i({},s,{get:function(){return tt},set:function(n){if(0>n||n>100)throw new Error("Size must be between 0 and 100.");tt=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"align",i({},s,{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}})),o.displayState=void 0,h?o:void 0}var e="auto",o={"":!0,lr:!0,rl:!0},s={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||{}),function(n,t){function u(n){if("string"!=typeof n)return!1;var t=f[n.toLowerCase()];return t?n.toLowerCase():!1}function i(n){return"number"==typeof n&&n>=0&&100>=n}function r(){var n=100,t=3,r=0,f=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("number"!=typeof n)throw new TypeError("Lines must be set to a number.");t=n}},regionAnchorY:{enumerable:!0,get:function(){return f},set:function(n){if(!i(n))throw new Error("RegionAnchorX must be between 0 and 100.");f=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=u(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");s=t}}})}var f={"":!0,up:!0};n.VTTRegion=n.VTTRegion||r;t.VTTRegion=r}(this,this.vttjs||{}),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 3600*(0|n)+60*(0|t)+(0|i)+(0|r)/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 o(n,t,i,r){var f=r?n.split(r):[n],e,u,o,s;for(e in f)"string"==typeof f[e]&&(u=f[e].split(i),2===u.length&&(o=u[0],s=u[1],t(o,s)))}function v(n,t,r){function e(){var t=h(n);if(null===t)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+s);return n=n.replace(/^[^\sa-zA-Z-]+/,""),t}function c(n,t){var i=new u;o(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"]);2===u.length&&i.alt("lineAlign",u[1],["start","middle","end"]);break;case"position":u=t.split(",");i.percent(n,u[0]);2===u.length&&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 f(){n=n.replace(/^\s+/,"")}var s=n;if(f(),t.startTime=e(),f(),"-->"!==n.substr(0,3))throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+s);n=n.substr(3);f();t.endTime=e();f();c(n,t)}function c(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 b[n]}function v(n){for(;i=n.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)n=n.replace(i[0],a);return n}function y(n,t){return!l[t.localName]||l[t.localName]===n.localName}function p(t,i){var u=k[t],r,f;return u?(r=n.document.createElement(u),r.localName=u,f=d[t],f&&i&&(r[f]=i.trim()),r):null}for(var u,o,i,r,s=n.document.createElement("div"),f=s,e=[];null!==(r=c());)if("<"!==r[0])f.appendChild(n.document.createTextNode(v(r)));else{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=p(i[1],i[3]),!u)continue;if(!y(f,u))continue;i[2]&&(u.className=i[2].substr(1).replace("."," "));e.push(i[1]);f.appendChild(u);f=u}return s}function y(n){function f(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):"ruby"===t.tagName?r(n):t.childNodes?(f(n,t),r(n)):void 0}var e,o=[],u="",t,i;if(!n||!n.childNodes)return"ltr";for(f(o,n);u=r(o);)for(t=0;t<u.length;t++)for(e=u.charCodeAt(t),i=0;i<a.length;i++)if(a[i]===e)return"rtl";return"ltr"}function p(n){if("number"==typeof n.line&&(n.snapToLines||n.line>=0&&n.line<=100))return n.line;if(!n.track||!n.track.textTrackList||!n.track.textTrackList.mediaElement)return-1;for(var r=n.track,i=r.textTrackList,u=0,t=0;t<i.length&&i[t]!==r;t++)"showing"===i[t].mode&&u++;return-1*++u}function f(){}function e(n,t,i){var e=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",s="rgba(0, 0, 0, 0.8)",r,u;e&&(o="rgb(255, 255, 255)",s="rgb(0, 0, 0)");f.call(this);this.cue=t;this.cueDiv=c(n,t.text);r={color:o,backgroundColor:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};e||(r.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",r.unicodeBidi="plaintext");this.applyStyles(r,this.cueDiv);this.div=n.document.createElement("div");r={textAlign:"middle"===t.align?"center":t.align,font:i.font,whiteSpace:"pre-line",position:"absolute"};e||(r.direction=y(this.cueDiv),r.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"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}this.applyStyles(""===t.vertical?{left:this.formatStyle(u,"%"),width:this.formatStyle(t.size,"%")}:{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 i,r,f,u,e=/MSIE\s8\.0/.test(navigator.userAgent),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=void 0!==i?i:n.lineHeight;e&&!this.lineHeight&&(this.lineHeight=13)}function w(n,i,r,u){function w(n,i){for(var e,o,s=new t(n),h=1,f=0;f<i.length;f++){for(;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 h=new t(i),o=i.cue,e=p(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=h.lineHeight,s=l*Math.round(e),v=r[c]+l,b=f[0];Math.abs(s)>v&&(s=0>s?-1:1,s*=Math.ceil(v/l)*l);0>e&&(s+=""===o.vertical?r.height:r.width,f=f.reverse());h.move(b,s)}else{a=h.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"];h=new t(i)}y=w(h,f);i.move(y.toCSSCompatValues(r))}function r(){}var s=Object.create||function(){function n(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return n.prototype=t,new n}}();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&&100>=t)?(this.set(n,t),!0):!1}};var b={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"â€Ž","&rlm;":"â€","&nbsp;":"Â "},k={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={v:"title",lang:"lang"},l={rt:"ruby"},a=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];f.prototype.applyStyles=function(n,t){t=t||this.div;for(var i in n)n.hasOwnProperty(i)&&(t.style[i]=n[i])};f.prototype.formatStyle=function(n,t){return 0===n?0:n+t};e.prototype=s(f.prototype);e.prototype.constructor=e;t.prototype.move=function(n,t){switch(t=void 0!==t?t:this.lineHeight,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("string"!=typeof n)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(n))}}};r.convertCueToDOMTree=function(n,t){return n&&t?c(n,t):null};var g=.05,nt="sans-serif",tt="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;for(;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=tt,r.appendChild(u),h(i)){var o=[],s=t.getSimpleBoxPosition(u),c=Math.round(s.height*g*100)/100,l={font:c+"px "+nt};!function(){for(var r,f,h=0;h<i.length;h++)f=i[h],r=new e(n,f,l),u.appendChild(r.div),w(n,r,s,o),f.displayState=r.div,o.push(t.getSimpleBoxPosition(r))}()}else for(f=0;f<i.length;f++)u.appendChild(i[f].displayState)};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))throw n;this.onparsingerror&&this.onparsingerror(n)},parse:function(n){function s(){for(var r,i=t.buffer,n=0;n<i.length&&"\r"!==i[n]&&"\n"!==i[n];)++n;return r=i.substr(0,n),"\r"===i[n]&&++n,"\n"===i[n]&&++n,t.buffer=i.substr(n),r}function l(n){var i=new u,r;(o(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(","),2!==f.length)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 a(n){o(n,function(n,t){switch(n){case"Region":l(t)}},/:/)}var t=this,r,e,f,c;n&&(t.buffer+=t.decoder.decode(n,{stream:!0}));try{if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;if(r=s(),e=r.match(/^WEBVTT([ \t].*)?$/),!e||!e[0])throw new i(i.Errors.BadSignature);t.state="HEADER"}for(f=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(f?f=!1:r=s(),t.state){case"HEADER":/:/.test(r)?a(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",-1===r.indexOf("-->")){t.cue.id=r;continue}case"CUE":try{v(r,t.cue,t.regionList)}catch(h){t.reportOrThrowError(h);t.cue=null;t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":if(c=-1!==r.indexOf("-->"),!r||c&&(f=!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(h){t.reportOrThrowError(h);"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue);t.cue=null;t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var n=this;try{if(n.buffer+=n.decoder.decode(),(n.cue||"HEADER"===n.state)&&(n.buffer+="\n\n",n.parse()),"INITIAL"===n.state)throw new i(i.Errors.BadSignature);}catch(t){n.reportOrThrowError(t)}return n.onflush&&n.onflush(),this}};n.WebVTT=r}(this,this.vttjs||{});swfobject=function(){function v(){var i,r,n;if(!c){try{i=t.getElementsByTagName("body")[0].appendChild(h("span"));i.parentNode.removeChild(i)}catch(u){return}for(c=!0,r=w.length,n=0;n<r;n++)w[n]()}}function yt(n){c?n():w[w.length]=n}function pt(n){if(typeof r.addEventListener!=i)r.addEventListener("load",n,!1);else if(typeof t.addEventListener!=i)t.addEventListener("load",n,!1);else if(typeof r.attachEvent!=i)ui(r,"onload",n);else if(typeof r.onload=="function"){var u=r.onload;r.onload=function(){u();n()}}else r.onload=n}function gt(){lt?ni():it()}function ni(){var o=t.getElementsByTagName("body")[0],u=h(f),r,e;u.setAttribute("type",p);r=o.appendChild(u);r?(e=0,function(){if(typeof r.GetVariable!=i){var t=r.GetVariable("$version");t&&(t=t.split(" ")[1].split(","),n.pv=[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)])}else if(e<10){e++;setTimeout(arguments.callee,10);return}o.removeChild(u);r=null;it()}()):it()}function it(){var y=s.length,r,t,h,c,v;if(y>0)for(r=0;r<y;r++){var f=s[r].id,e=s[r].callbackFn,o={success:!1,id:f};if(n.pv[0]>0){if(t=u(f),t)if(!g(s[r].swfVersion)||n.wk&&n.wk<312)if(s[r].expressInstall&&ut()){h={};h.data=s[r].expressInstall;h.width=t.getAttribute("width")||"0";h.height=t.getAttribute("height")||"0";t.getAttribute("class")&&(h.styleclass=t.getAttribute("class"));t.getAttribute("align")&&(h.align=t.getAttribute("align"));var p={},a=t.getElementsByTagName("param"),w=a.length;for(c=0;c<w;c++)a[c].getAttribute("name").toLowerCase()!="movie"&&(p[a[c].getAttribute("name")]=a[c].getAttribute("value"));ft(h,p,f,e)}else ti(t),e&&e(o);else l(f,!0),e&&(o.success=!0,o.ref=rt(f),e(o))}else l(f,!0),e&&(v=rt(f),v&&typeof v.SetVariable!=i&&(o.success=!0,o.ref=v),e(o))}}function rt(n){var r=null,t=u(n),e;return t&&t.nodeName=="OBJECT"&&(typeof t.SetVariable!=i?r=t:(e=t.getElementsByTagName(f)[0],e&&(r=e))),r}function ut(){return!d&&g("6.0.65")&&(n.win||n.mac)&&!(n.wk&&n.wk<312)}function ft(f,e,o,s){var c,v,l,a;d=!0;nt=s||null;at={success:!1,id:o};c=u(o);c&&(c.nodeName=="OBJECT"?(y=et(c),k=null):(y=c,k=o),f.id=ht,(typeof f.width==i||!/%$/.test(f.width)&&parseInt(f.width,10)<310)&&(f.width="310"),(typeof f.height==i||!/%$/.test(f.height)&&parseInt(f.height,10)<137)&&(f.height="137"),t.title=t.title.slice(0,47)+" - Flash Player Installation",v=n.ie&&n.win?"ActiveX":"PlugIn",l="MMredirectURL="+r.location.toString().replace(/&/g,"%26")+"&MMplayerType="+v+"&MMdoctitle="+t.title,typeof e.flashvars!=i?e.flashvars+="&"+l:e.flashvars=l,n.ie&&n.win&&c.readyState!=4&&(a=h("div"),o+="SWFObjectNew",a.setAttribute("id",o),c.parentNode.insertBefore(a,c),c.style.display="none",function(){c.readyState==4?c.parentNode.removeChild(c):setTimeout(arguments.callee,10)}()),ot(f,e,o))}function ti(t){if(n.ie&&n.win&&t.readyState!=4){var i=h("div");t.parentNode.insertBefore(i,t);i.parentNode.replaceChild(et(t),i);t.style.display="none",function(){t.readyState==4?t.parentNode.removeChild(t):setTimeout(arguments.callee,10)}()}else t.parentNode.replaceChild(et(t),t)}function et(t){var u=h("div"),e,i,o,r;if(n.win&&n.ie)u.innerHTML=t.innerHTML;else if(e=t.getElementsByTagName(f)[0],e&&(i=e.childNodes,i))for(o=i.length,r=0;r<o;r++)i[r].nodeType==1&&i[r].nodeName=="PARAM"||i[r].nodeType==8||u.appendChild(i[r].cloneNode(!0));return u}function ot(t,r,e){var v,y=u(e),w,o,k,a,c,s,l;if(n.wk&&n.wk<312)return v;if(y)if(typeof t.id==i&&(t.id=e),n.ie&&n.win){w="";for(o in t)t[o]!=Object.prototype[o]&&(o.toLowerCase()=="data"?r.movie=t[o]:o.toLowerCase()=="styleclass"?w+=' class="'+t[o]+'"':o.toLowerCase()!="classid"&&(w+=" "+o+'="'+t[o]+'"'));k="";for(a in r)r[a]!=Object.prototype[a]&&(k+='<param name="'+a+'" value="'+r[a]+'" />');y.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+w+">"+k+"<\/object>";b[b.length]=t.id;v=u(t.id)}else{c=h(f);c.setAttribute("type",p);for(s in t)t[s]!=Object.prototype[s]&&(s.toLowerCase()=="styleclass"?c.setAttribute("class",t[s]):s.toLowerCase()!="classid"&&c.setAttribute(s,t[s]));for(l in r)r[l]!=Object.prototype[l]&&l.toLowerCase()!="movie"&&ii(c,l,r[l]);y.parentNode.replaceChild(c,y);v=c}return v}function ii(n,t,i){var r=h("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function wt(t){var i=u(t);i&&i.nodeName=="OBJECT"&&(n.ie&&n.win?(i.style.display="none",function(){i.readyState==4?ri(t):setTimeout(arguments.callee,10)}()):i.parentNode.removeChild(i))}function ri(n){var t=u(n),i;if(t){for(i in t)typeof t[i]=="function"&&(t[i]=null);t.parentNode.removeChild(t)}}function u(n){var i=null;try{i=t.getElementById(n)}catch(r){}return i}function h(n){return t.createElement(n)}function ui(n,t,i){n.attachEvent(t,i);a[a.length]=[n,t,i]}function g(t){var r=n.pv,i=t.split(".");return i[0]=parseInt(i[0],10),i[1]=parseInt(i[1],10)||0,i[2]=parseInt(i[2],10)||0,r[0]>i[0]||r[0]==i[0]&&r[1]>i[1]||r[0]==i[0]&&r[1]==i[1]&&r[2]>=i[2]?!0:!1}function bt(r,u,o,s){var a,c,l;n.ie&&n.mac||(a=t.getElementsByTagName("head")[0],a)&&(c=o&&typeof o=="string"?o:"screen",s&&(e=null,tt=null),e&&tt==c||(l=h("style"),l.setAttribute("type","text/css"),l.setAttribute("media",c),e=a.appendChild(l),n.ie&&n.win&&typeof t.styleSheets!=i&&t.styleSheets.length>0&&(e=t.styleSheets[t.styleSheets.length-1]),tt=c),n.ie&&n.win?e&&typeof e.addRule==f&&e.addRule(r,u):e&&typeof t.createTextNode!=i&&e.appendChild(t.createTextNode(r+" {"+u+"}")))}function l(n,t){if(vt){var i=t?"visible":"hidden";c&&u(n)?u(n).style.visibility=i:bt("#"+n,"visibility:"+i)}}function kt(n){var t=/[\\\"<>\.;]/.exec(n)!=null;return t&&typeof encodeURIComponent!=i?encodeURIComponent(n):n}var i="undefined",f="object",st="Shockwave Flash",dt="ShockwaveFlash.ShockwaveFlash",p="application/x-shockwave-flash",ht="SWFObjectExprInst",ct="onreadystatechange",r=window,t=document,o=navigator,lt=!1,w=[gt],s=[],b=[],a=[],y,k,nt,at,c=!1,d=!1,e,tt,vt=!0,n=function(){var l=typeof t.getElementById!=i&&typeof t.getElementsByTagName!=i&&typeof t.createElement!=i,e=o.userAgent.toLowerCase(),s=o.platform.toLowerCase(),a=s?/win/.test(s):/win/.test(e),v=s?/mac/.test(s):/mac/.test(e),y=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,h=!+"\v1",u=[0,0,0],n=null,c;if(typeof o.plugins!=i&&typeof o.plugins[st]==f)n=o.plugins[st].description,!n||typeof o.mimeTypes!=i&&o.mimeTypes[p]&&!o.mimeTypes[p].enabledPlugin||(lt=!0,h=!1,n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),u[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10),u[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10),u[2]=/[a-zA-Z]/.test(n)?parseInt(n.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof r.ActiveXObject!=i)try{c=new ActiveXObject(dt);c&&(n=c.GetVariable("$version"),n&&(h=!0,n=n.split(" ")[1].split(","),u=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]))}catch(w){}return{w3:l,pv:u,wk:y,ie:h,win:a,mac:v}}(),fi=function(){n.w3&&((typeof t.readyState!=i&&t.readyState=="complete"||typeof t.readyState==i&&(t.getElementsByTagName("body")[0]||t.body))&&v(),c||(typeof t.addEventListener!=i&&t.addEventListener("DOMContentLoaded",v,!1),n.ie&&n.win&&(t.attachEvent(ct,function(){t.readyState=="complete"&&(t.detachEvent(ct,arguments.callee),v())}),r==top&&function(){if(!c){try{t.documentElement.doScroll("left")}catch(n){setTimeout(arguments.callee,0);return}v()}}()),n.wk&&function(){if(!c){if(!/loaded|complete/.test(t.readyState)){setTimeout(arguments.callee,0);return}v()}}(),pt(v)))}(),ei=function(){n.ie&&n.win&&window.attachEvent("onunload",function(){for(var r,i,u,f,e=a.length,t=0;t<e;t++)a[t][0].detachEvent(a[t][1],a[t][2]);for(r=b.length,i=0;i<r;i++)wt(b[i]);for(u in n)n[u]=null;n=null;for(f in swfobject)swfobject[f]=null;swfobject=null})}();return{registerObject:function(t,i,r,u){if(n.w3&&t&&i){var f={};f.id=t;f.swfVersion=i;f.expressInstall=r;f.callbackFn=u;s[s.length]=f;l(t,!1)}else u&&u({success:!1,id:t})},getObjectById:function(t){if(n.w3)return rt(t)},embedSWF:function(t,r,u,e,o,s,h,c,a,v){var y={success:!1,id:r};n.w3&&!(n.wk&&n.wk<312)&&t&&r&&u&&e&&o?(l(r,!1),yt(function(){var n,b,p,k,w,d;if(u+="",e+="",n={},a&&typeof a===f)for(b in a)n[b]=a[b];if(n.data=t,n.width=u,n.height=e,p={},c&&typeof c===f)for(k in c)p[k]=c[k];if(h&&typeof h===f)for(w in h)typeof p.flashvars!=i?p.flashvars+="&"+w+"="+h[w]:p.flashvars=w+"="+h[w];if(g(o))d=ot(n,p,r),n.id==r&&l(r,!0),y.success=!0,y.ref=d;else{if(s&&ut()){n.data=s;ft(n,p,r,v);return}l(r,!0)}v&&v(y)})):v&&v(y)},switchOffAutoHideShow:function(){vt=!1},ua:n,getFlashPlayerVersion:function(){return{major:n.pv[0],minor:n.pv[1],release:n.pv[2]}},hasFlashPlayerVersion:g,createSWF:function(t,i,r){return n.w3?ot(t,i,r):undefined},showExpressInstall:function(t,i,r,u){n.w3&&ut()&&ft(t,i,r,u)},removeSWF:function(t){n.w3&&wt(t)},createCSS:function(t,i,r,u){n.w3&&bt(t,i,r,u)},addDomLoadEvent:yt,addLoadEvent:pt,getQueryParamValue:function(n){var r=t.location.search||t.location.hash,u,i;if(r){if(/\?/.test(r)&&(r=r.split("?")[1]),n==null)return kt(r);for(u=r.split("&"),i=0;i<u.length;i++)if(u[i].substring(0,u[i].indexOf("="))==n)return kt(u[i].substring(u[i].indexOf("=")+1))}return""},expressInstallCallback:function(){if(d){var t=u(ht);t&&y&&(t.parentNode.replaceChild(y,t),k&&(l(k,!0),n.ie&&n.win&&(y.style.display="block")),nt&&nt(at));d=!1}}}}()