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}}function headerBackgroundColor(){var n=window.location.pathname;n.search("/events/")>=0&&$(".header").addClass("header-black-color");n.search("/contact-us")>=0&&$(".header").addClass("header-black-color");n.search("/about")>=0&&$(".header").addClass("header-black-color");n.search("/special-packages")>=0&&$(".header").addClass("parallax-image")}function show_gif_on_hover(){var n=function(){t($(this))},t=function(n){var t=n.data("alt-src");n.data("alt-src",n.attr("src"));n.attr("src",t)};$(window).width()>=1200?$("img[data-alt-src]").each(function(){(new Image).src=$(this).data("alt-src")}).hover(n,n):$("img[data-alt-src]").each(function(n,i){t($(i))})}function init_section_filter_mCustomScrollbar(){$(window).width()>=768&&$(".section-events .section-filter").mCustomScrollbar({axis:"x"})}function add_read_more_btn_if_has_more_then_x_lines(){var n,i,t,r;$("#readMoreContainer").each(function(){n=$(this);element_height=n.innerHeight();r=n.data("lines");i=parseInt(n.find("p").css("line-height"));t=i*r+"px";element_height<parseInt(t)?n.next().hide():n.css("height",t)});$(".btnReadMore").on("click",function(){var r=$(this),n=$(r.attr("data-target")),f=n.prop("scrollHeight"),e=parseInt($(".header").height()),u=n,i;screen.width>768?(i=u.offset().top-$(".wrapper .mCSB_container").offset().top,setTimeout(function(){$(".wrapper").mCustomScrollbar("scrollTo",i-e)},200)):(i=u.offset().top,$("html, body").animate({scrollTop:$(u).offset().top-e},800));n[0].clientHeight!=f?(r.removeClass("collapsed"),n.addClass("open").animate({height:f},200)):(r.addClass("collapsed"),n.removeClass("open").animate({height:t},200))})}function handle_full_page(){var r=$("#fullPageSection"),u=null,i=$(".picChangeSection .imgContainer"),n=1,t;if(r.length){$(".wrapper").mCustomScrollbar("destroy");t=function(){return $(window).width()>=768?"url(/css/images/picChange"+n+".jpg)":"url(/css/images/picMobileChange"+n+".jpg)"};i.css("background-image",t);r.fullpage({navigation:!1,animateAnchor:!1,scrollingSpeed:600,fitToSectionDelay:0,afterLoad:function(r,f){function e(){t;i.fadeTo("slow",.3,function(){i.css("background-image",t)}).fadeTo("slow",1)}f==3?u=setInterval(function(){n<4?(e(),n++):(n=1,e())},3e3):(clearInterval(u),n=1,e())}});$(document).on("click",".btnMoveDown",function(){$.fn.fullpage.moveSectionDown()})}}function trigger_open_on_click(){$(".btnTrigger").on("click",function(){var n=$(this).data("target");$(n).click()})}function if_chrome_show_play(){var n=typeof window.chrome=="object"&&navigator.appVersion.indexOf("Edge")===-1;n&&$(".btnPlayVideo").show()}function magnific_popup(){$.magnificPopup.open({items:{src:"#doneModal"}},0);$(document).on("click",".doneModalContainer .btnClose",function(n){n.preventDefault();$.magnificPopup.close()})}function parallaxInit(){var n=document.getElementById("scene"),t;n&&(t=new Parallax(n))}function scrollMobile(){$(document).scroll(function(){$(window).width()<768&&($(window).scrollTop()>=400?($(".header").css("background-color","#000"),$(".header-logo").show()):($(".header").css("background-color","unset"),$(".header-logo").hide()))})}function showPopupImidiate(){var n=$(".wrapper")[0],t=n.classList.contains("wrapper-home");(!isMobile||$(window).width()>768)&&sessionStorage.firstEntry==1&&t&&(popupShow=!0,magnific_popup())}function searchMobileView(){$(".btnSearch").on("click",function(){$(".search-mob__wrap").removeClass("hidden")});$(".search-mob__close").on("click",function(){$(".search-mob__wrap").addClass("hidden")})}function arrowDown(){$(".start-mobile-area__link").on("click",function(n){n.preventDefault();var t=-100;$("div.wrapper-home").length&&(t=0);$("html, body").animate({scrollTop:$("#main-content").position().top+t},"slow")})}function socialModal(){$(".social-tool__social").on("click",function(n){n.preventDefault();var t=$(".social-tool__social span")[0].offsetTop,i=t+33+"px";$(".social-modal__wrap-content").css("top",i);$(".social-modal").removeClass("hidden")});$(".social-modal__gray-wrap").on("click",function(){$(".social-modal").addClass("hidden")})}var Uint8ArrayUtil,AzureHtml5JS,AzureHtml5JSTech,silverlightSSLoaded,onSilverlightError,UrlRewriter,__extends,AMP,innerPlayer,isMobile,popupShow;!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(pe.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>-1!==r})}function kr(n,t){do n=n[t];while(n&&1!==n.nodeType);return n}function we(n){var t={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}function dr(){u.addEventListener?(u.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v)):(u.detachEvent("onreadystatechange",v),n.detachEvent("onload",v))}function v(){(u.addEventListener||"load"===n.event.type||"complete"===u.readyState)&&(dr(),i.ready())}function nu(n,t,r){if(void 0===r&&1===n.nodeType){var u="data-"+t.replace(ke,"-$1").toLowerCase();if(r=n.getAttribute(u),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:be.test(r)?i.parseJSON(r):r}catch(f){}i.data(n,t,r)}else r=void 0}return r}function fi(n){var t;for(t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function tu(n,t,r,u){if(ot(n)){var s,e,h=i.expando,l=n.nodeType,o=l?i.cache:n,f=l?n[h]:n[h]&&h;if(f&&o[f]&&(u||o[f].data)||void 0!==r||"string"!=typeof t)return f||(f=l?n[h]=c.pop()||i.guid++:h),o[f]||(o[f]=l?{}:{toJSON:i.noop}),"object"!=typeof t&&"function"!=typeof t||(u?o[f]=i.extend(o[f],t):o[f].data=i.extend(o[f].data,t)),e=o[f],u||(e.data||(e.data={}),e=e.data),void 0!==r&&(e[i.camelCase(t)]=r),"string"==typeof t?(s=e[t],null==s&&(s=e[i.camelCase(t)])):s=e,s}}function iu(n,t,u){if(ot(n)){var o,s,h=n.nodeType,f=h?i.cache:n,e=h?n[i.expando]:i.expando;if(f[e]){if(t&&(o=u?f[e]:f[e].data)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in o)?t=[t]:(t=i.camelCase(t),t=(t in o)?[t]:t.split(" ")),s=t.length;s--;)delete o[t[s]];if(u?!fi(o):!i.isEmptyObject(o))return}(u||(delete f[e].data,fi(f[e])))&&(h?i.cleanData([n],!0):r.deleteExpando||f!=f.window?delete f[e]:f[e]=void 0)}}}function ru(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)&&oi.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 ou(n){var i=eu.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function f(n,t){var e,u,o=0,r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):void 0;if(!r)for(r=[],e=n.childNodes||n;null!=(u=e[o]);o++)!t||i.nodeName(u,t)?r.push(u):i.merge(r,f(u,t));return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function ci(n,t){for(var u,r=0;null!=(u=n[r]);r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function de(n){si.test(n.type)&&(n.defaultChecked=n.checked)}function hu(n,t,u,e,s){for(var l,h,k,c,w,b,v,d=n.length,y=ou(t),a=[],p=0;d>p;p++)if(h=n[p],h||0===h)if("object"===i.type(h))i.merge(a,h.nodeType?[h]:h);else if(su.test(h)){for(c=c||y.appendChild(t.createElement("div")),w=(uu.exec(h)||["",""])[1].toLowerCase(),v=o[w]||o._default,c.innerHTML=v[1]+i.htmlPrefilter(h)+v[2],l=v[0];l--;)c=c.lastChild;if(!r.leadingWhitespace&&hi.test(h)&&a.push(t.createTextNode(hi.exec(h)[0])),!r.tbody)for(h="table"!==w||li.test(h)?"<table>"!==v[1]||li.test(h)?0:c:c.firstChild,l=h&&h.childNodes.length;l--;)i.nodeName(b=h.childNodes[l],"tbody")&&!b.childNodes.length&&h.removeChild(b);for(i.merge(a,c.childNodes),c.textContent="";c.firstChild;)c.removeChild(c.firstChild);c=y.lastChild}else a.push(t.createTextNode(h));for(c&&y.removeChild(c),r.appendChecked||i.grep(f(a,"input"),de),p=0;h=a[p++];)if(e&&i.inArray(h,e)>-1)s&&s.push(h);else if(k=i.contains(h.ownerDocument,h),c=f(y.appendChild(h),"script"),k&&ci(c),u)for(l=0;h=c[l++];)fu.test(h.type||"")&&u.push(h);return c=null,y}function vt(){return!0}function rt(){return!1}function au(){try{return u.activeElement}catch(n){}}function vi(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)vi(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=rt;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 yu(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 pu(n){return n.type=(null!==i.find.attr(n,"type"))+"/"+n.type,n}function wu(n){var t=fo.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function bu(n,t){if(1===t.nodeType&&i.hasData(n)){var u,f,o,s=i._data(n),r=i._data(t,s),e=s.events;if(e){delete r.handle;r.events={};for(u in e)for(f=0,o=e[u].length;o>f;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function so(n,t){var u,e,f;if(1===t.nodeType){if(u=t.nodeName.toLowerCase(),!r.noCloneEvent&&t[i.expando]){f=i._data(t);for(e in f.events)i.removeEvent(t,e,f.handle);t.removeAttribute(i.expando)}"script"===u&&t.text!==n.text?(pu(t).text=n.text,wu(t)):"object"===u?(t.parentNode&&(t.outerHTML=n.outerHTML),r.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):"input"===u&&si.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):"option"===u?t.defaultSelected=t.selected=n.defaultSelected:"input"!==u&&"textarea"!==u||(t.defaultValue=n.defaultValue)}}function k(n,t,u,e){t=sr.apply([],t);var l,o,a,h,p,c,s=0,v=n.length,b=v-1,y=t[0],w=i.isFunction(y);if(w||v>1&&"string"==typeof y&&!r.checkClone&&uo.test(y))return n.each(function(i){var r=n.eq(i);w&&(t[0]=y.call(this,i,r.html()));k(r,t,u,e)});if(v&&(c=hu(t,n[0].ownerDocument,!1,n,e),l=c.firstChild,1===c.childNodes.length&&(c=l),l||e)){for(h=i.map(f(c,"script"),pu),a=h.length;v>s;s++)o=c,s!==b&&(o=i.clone(o,!0,!0),a&&i.merge(h,f(o,"script"))),u.call(n[s],o,s);if(a)for(p=h[h.length-1].ownerDocument,i.map(h,wu),s=0;a>s;s++)o=h[s],fu.test(o.type||"")&&!i._data(o,"globalEval")&&i.contains(p,o)&&(o.src?i._evalUrl&&i._evalUrl(o.src):i.globalEval((o.text||o.textContent||o.innerHTML||"").replace(eo,"")));c=l=null}return n}function ku(n,t,r){for(var u,o=t?i.filter(t,n):n,e=0;null!=(u=o[e]);e++)r||1!==u.nodeType||i.cleanData(f(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&ci(f(u,"script")),u.parentNode.removeChild(u));return n}function du(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.detach(),u}function yt(n){var r=u,t=pi[n];return t||(t=du(n,r),"none"!==t&&t||(ht=(ht||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=(ht[0].contentWindow||ht[0].contentDocument).document,r.write(),r.close(),t=du(n,r),ht.detach()),pi[n]=t),t}function bi(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function ef(n){if(n in ff)return n;for(var i=n.charAt(0).toUpperCase()+n.slice(1),t=uf.length;t--;)if(n=uf[t]+i,n in ff)return n}function of(n,t){for(var f,r,o,e=[],u=0,s=n.length;s>u;u++)r=n[u],r.style&&(e[u]=i._data(r,"olddisplay"),f=r.style.display,t?(e[u]||"none"!==f||(r.style.display=""),""===r.style.display&&st(r)&&(e[u]=i._data(r,"olddisplay",yt(r.nodeName)))):(o=st(r),(f&&"none"!==f||!o)&&i._data(r,"olddisplay",o?f:i.css(r,"display"))));for(u=0;s>u;u++)r=n[u],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?e[u]||"":"none"));return n}function sf(n,t,i){var r=lo.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function hf(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+b[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+b[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+b[e]+"Width",!0,f))):(o+=i.css(n,"padding"+b[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+b[e]+"Width",!0,f)));return o}function cf(n,t,u){var o=!0,f="width"===t?n.offsetWidth:n.offsetHeight,e=d(n),s=r.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,e);if(0>=f||null==f){if(f=p(n,t,e),(0>f||null==f)&&(f=n.style[t]),pt.test(f))return f;o=s&&(r.boxSizingReliable()||f===n.style[t]);f=parseFloat(f)||0}return f+hf(n,t,u||(s?"border":"content"),o,e)+"px"}function e(n,t,i,r,u){return new e.prototype.init(n,t,i,r,u)}function vf(){return n.setTimeout(function(){ut=void 0}),ut=i.now()}function bt(n,t){var r,i={height:n},u=0;for(t=t?1:0;4>u;u+=2-t)r=b[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function yf(n,t,i){for(var u,f=(h.tweeners[t]||[]).concat(h.tweeners["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function vo(n,t,u){var f,a,p,v,s,w,h,b,l=this,y={},o=n.style,c=n.nodeType&&st(n),e=i._data(n,"fxshow");u.queue||(s=i._queueHooks(n,"fx"),null==s.unqueued&&(s.unqueued=0,w=s.empty.fire,s.empty.fire=function(){s.unqueued||w()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--;i.queue(n,"fx").length||s.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[o.overflow,o.overflowX,o.overflowY],h=i.css(n,"display"),b="none"===h?i._data(n,"olddisplay")||yt(n.nodeName):h,"inline"===b&&"none"===i.css(n,"float")&&(r.inlineBlockNeedsLayout&&"inline"!==yt(n.nodeName)?o.zoom=1:o.display="inline-block"));u.overflow&&(o.overflow="hidden",r.shrinkWrapBlocks()||l.always(function(){o.overflow=u.overflow[0];o.overflowX=u.overflow[1];o.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],lf.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?yt(n.nodeName):h)&&(o.display=h);else{e?"hidden"in e&&(c=e.hidden):e=i._data(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;i._removeData(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=yf(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 yo(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 h(n,t,r){var e,o,s=0,a=h.prefilters.length,f=i.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var s=ut||vf(),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:ut||vf(),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}}),c=u.props;for(yo(c,u.opts.specialEasing);a>s;s++)if(e=h.prefilters[s].call(u,n,c,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(c,yf,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(l,{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 nt(n){return i.attr(n,"class")||""}function re(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(s)||[];if(i.isFunction(r))while(u=e[f++])"+"===u.charAt(0)?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function ue(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===tr;return e(t.dataTypes[0])||!f["*"]&&e("*")}function rr(n,t){var u,r,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 ts(n,t,i){for(var o,e,u,f,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(f in s)if(s[f]&&s[f].test(e)){r.unshift(f);break}if(r[0]in i)u=r[0];else{for(f in i){if(!r[0]||n.converters[f+" "+r[0]]){u=f;break}o||(o=f)}u=u||o}if(u)return(u!==r[0]&&r.unshift(u),i[u])}function is(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 rs(n){return n.style&&n.style.display||i.css(n,"display")}function us(n){if(!i.contains(n.ownerDocument||u,n))return!0;while(n&&1===n.nodeType){if("none"===rs(n)||"hidden"===n.type)return!0;n=n.parentNode}return!1}function ur(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||es.test(n)?u(n,i):ur(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)ur(n+"["+f+"]",t[f],r,u)}function fr(){try{return new n.XMLHttpRequest}catch(t){}}function ee(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function oe(n){return i.isWindow(n)?n:9===n.nodeType?n.defaultView||n.parentWindow:!1}var c=[],u=n.document,a=c.slice,sr=c.concat,ti=c.push,hr=c.indexOf,lt={},ce=lt.toString,tt=lt.hasOwnProperty,r={},cr="1.12.4",i=function(n,t){return new i.fn.init(n,t)},le=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ae=/^-ms-/,ve=/-([\da-z])/gi,ye=function(n,t){return t.toUpperCase()},w,ui,yr,pr,wr,br,s,at,gr,o,su,li,ht,pi,d,p,tf,ut,wt,lf,af,pf,wf,kf,df,dt,er,ni,or,se,he;i.fn=i.prototype={jquery:cr,constructor:i,selector:"",length:0,toArray:function(){return a.call(this)},get:function(n){return null!=n?0>n?this[n+this.length]:this[n]:a.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(a.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:c.sort,splice:c.splice};i.extend=i.fn.extend=function(){var r,e,t,f,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!=(o=arguments[u]))for(f in o)r=n[f],t=o[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(e=i.isArray(t)))?(e?(e=!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"+(cr+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||function(n){return"array"===i.type(n)},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},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},isPlainObject:function(n){var t;if(!n||"object"!==i.type(n)||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!tt.call(n,"constructor")&&!tt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(!r.ownFirst)for(t in n)return tt.call(n,t);for(t in n);return void 0===t||tt.call(n,t)},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?lt[ce.call(n)]||"object":typeof n},globalEval:function(t){t&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ae,"ms-").replace(ve,ye)},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(le,"")},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){var r;if(t){if(hr)return hr.call(t,n,i);for(r=t.length,i=i?0>i?Math.max(0,r+i):i:0;r>i;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,t){for(var r=+t.length,i=0,u=n.length;r>i;)n[u++]=t[i++];if(r!==r)while(void 0!==t[i])n[u++]=t[i++];return n.length=u,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 sr.apply([],f)},guid:1,proxy:function(n,t){var u,r,f;return"string"==typeof t&&(f=n[t],t=n,n=f),i.isFunction(n)?(u=a.call(arguments,2),r=function(){return n.apply(t||this,u.concat(a.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r):void 0},now:function(){return+new Date},support:r});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=c[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){lt["[object "+t+"]"]=t.toLowerCase()});w=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=w;i.expr=w.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=w.uniqueSort;i.text=w.getText;i.isXMLDoc=w.isXML;i.contains=w.contains;var it=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},lr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},ar=i.expr.match.needsContext,vr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,pe=/^.[^:#\[\.,]*$/;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,r=[],u=this,f=u.length;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;f>t;t++)if(i.contains(u[t],this))return!0}));for(t=0;f>t;t++)i.find(n,u[t],r);return r=this.pushStack(f>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&&ar.test(n)?i(n):n||[],!1).length}});yr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;pr=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||ui,"string"==typeof n){if(f="<"===n.charAt(0)&&">"===n.charAt(n.length-1)&&n.length>=3?[null,n,null]:yr.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)),vr.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}if(e=u.getElementById(f[2]),e&&e.parentNode){if(e.id!==f[2])return ui.find(n);this.length=1;this[0]=e}return this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?"undefined"!=typeof r.ready?r.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};pr.prototype=i.fn;ui=i(u);wr=/^(?:parents|prev(?:Until|All))/;br={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;u>t;t++)if(i.contains(this,r[t]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=ar.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?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):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 it(n,"parentNode")},parentsUntil:function(n,t,i){return it(n,"parentNode",i)},next:function(n){return kr(n,"nextSibling")},prev:function(n){return kr(n,"previousSibling")},nextAll:function(n){return it(n,"nextSibling")},prevAll:function(n){return it(n,"previousSibling")},nextUntil:function(n,t,i){return it(n,"nextSibling",i)},prevUntil:function(n,t,i){return it(n,"previousSibling",i)},siblings:function(n){return lr((n.parentNode||{}).firstChild,n)},children:function(n){return lr(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document: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&&(br[n]||(f=i.uniqueSort(f)),wr.test(n)&&(f=f.reverse())),this.pushStack(f)}});s=/\S+/g;i.Callbacks=function(n){n="string"==typeof n?we(n):i.extend({},n);var e,r,h,f,t=[],o=[],u=-1,c=function(){for(f=n.once,h=e=!0;o.length;u=-1)for(r=o.shift();++u<t.length;)t[u].apply(r[0],r[1])===!1&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);e=!1;f&&(t=r?[]:"")},s={add:function(){return t&&(r&&!e&&(u=t.length-1,o.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&&!e&&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=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=!0,r||s.disable(),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),e||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=a.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?a.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||(at.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))))}});i.ready.promise=function(t){if(!at)if(at=i.Deferred(),"complete"!==u.readyState&&("loading"===u.readyState||u.documentElement.doScroll))if(u.addEventListener)u.addEventListener("DOMContentLoaded",v),n.addEventListener("load",v);else{u.attachEvent("onreadystatechange",v);n.attachEvent("onload",v);var r=!1;try{r=null==n.frameElement&&u.documentElement}catch(e){}r&&r.doScroll&&!function f(){if(!i.isReady){try{r.doScroll("left")}catch(t){return n.setTimeout(f,50)}dr();i.ready()}}()}else n.setTimeout(i.ready);return at.promise(t)};i.ready.promise();for(gr in i(r))break;r.ownFirst="0"===gr;r.inlineBlockNeedsLayout=!1;i(function(){var f,t,n,i;n=u.getElementsByTagName("body")[0];n&&n.style&&(t=u.createElement("div"),i=u.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",r.inlineBlockNeedsLayout=f=3===t.offsetWidth,f&&(n.style.zoom=1)),n.removeChild(i))}),function(){var n=u.createElement("div");r.deleteExpando=!0;try{delete n.test}catch(t){r.deleteExpando=!1}n=null}();var ot=function(n){var t=i.noData[(n.nodeName+" ").toLowerCase()],r=+n.nodeType||1;return 1!==r&&9!==r?!1:!t||t!==!0&&n.getAttribute("classid")===t},be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ke=/([A-Z])/g;i.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!fi(n)},data:function(n,t,i){return tu(n,t,i)},removeData:function(n,t){return iu(n,t)},_data:function(n,t,i){return tu(n,t,i,!0)},_removeData:function(n,t){return iu(n,t,!0)}});i.fn.extend({data:function(n,t){var f,u,e,r=this[0],o=r&&r.attributes;if(void 0===n){if(this.length&&(e=i.data(r),1===r.nodeType&&!i._data(r,"parsedAttrs"))){for(f=o.length;f--;)o[f]&&(u=o[f].name,0===u.indexOf("data-")&&(u=i.camelCase(u.slice(5)),nu(r,u,e[u])));i._data(r,"parsedAttrs",!0)}return e}return"object"==typeof n?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,t)}):r?nu(r,n,i.data(r,n)):void 0},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({queue:function(n,t,r){var u;if(n)return(t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[])},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 r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue");i._removeData(n,r)})})}});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 r,f=1,e=i.Deferred(),u=this,o=this.length,s=function(){--f||e.resolveWith(u,[u])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";o--;)r=i._data(u[o],n+"queueHooks"),r&&r.empty&&(f++,r.empty.add(s));return s(),e.promise(t)}}),function(){var n;r.shrinkWrapBlocks=function(){if(null!=n)return n;n=!1;var t,i,r;return i=u.getElementsByTagName("body")[0],i&&i.style?(t=u.createElement("div"),r=u.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(u.createElement("div")).style.width="5px",n=3!==t.offsetWidth),i.removeChild(r),n):void 0}}();var ei=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oi=new RegExp("^(?:([+-])=|)("+ei+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],st=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)};var y=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)y(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},si=/^(?:checkbox|radio)$/i,uu=/<([\w:-]+)/,fu=/^$|\/(?:java|ecma)script/i,hi=/^\s+/,eu="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var n=u.createElement("div"),f=u.createDocumentFragment(),t=u.createElement("input");n.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>";r.leadingWhitespace=3===n.firstChild.nodeType;r.tbody=!n.getElementsByTagName("tbody").length;r.htmlSerialize=!!n.getElementsByTagName("link").length;r.html5Clone="<:nav><\/:nav>"!==u.createElement("nav").cloneNode(!0).outerHTML;t.type="checkbox";t.checked=!0;f.appendChild(t);r.appendChecked=t.checked;n.innerHTML="<textarea>x<\/textarea>";r.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;f.appendChild(n);t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);r.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;r.noCloneEvent=!!n.addEventListener;n[i.expando]=1;r.attributes=!n.getAttribute(i.expando)}();o={option:[1,"<select multiple='multiple'>","<\/select>"],legend:[1,"<fieldset>","<\/fieldset>"],area:[1,"<map>","<\/map>"],param:[1,"<object>","<\/object>"],thead:[1,"<table>","<\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],col:[2,"<table><tbody><\/tbody><colgroup>","<\/colgroup><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:r.htmlSerialize?[0,"",""]:[1,"X<div>","<\/div>"]};o.optgroup=o.option;o.tbody=o.tfoot=o.colgroup=o.caption=o.thead;o.th=o.td;su=/<|&#?\w+;/;li=/<tbody/i;!function(){var t,i,f=u.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})i="on"+t,(r[t]=i in n)||(f.setAttribute(i,"t"),r[t]=f.attributes[i].expando===!1);f=null}();var ai=/^(?:input|select|textarea)$/i,ge=/^key/,no=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,cu=/^(?:focusinfocus|focusoutblur)$/,lu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,r,u,f){var p,v,w,y,o,h,c,l,e,b,k,a=i._data(n);if(a){for(r.handler&&(y=r,r=y.handler,f=y.selector),r.guid||(r.guid=i.guid++),(v=a.events)||(v=a.events={}),(h=a.handle)||(h=a.handle=function(n){if("undefined"!=typeof i&&(!n||i.event.triggered!==n.type))return i.event.dispatch.apply(h.elem,arguments)},h.elem=n),t=(t||"").match(s)||[""],w=t.length;w--;)p=lu.exec(t[w])||[],e=k=p[1],b=(p[2]||"").split(".").sort(),e&&(o=i.event.special[e]||{},e=(f?o.delegateType:o.bindType)||e,o=i.event.special[e]||{},c=i.extend({type:e,origType:k,data:u,handler:r,guid:r.guid,selector:f,needsContext:f&&i.expr.match.needsContext.test(f),namespace:b.join(".")},y),(l=v[e])||(l=v[e]=[],l.delegateCount=0,o.setup&&o.setup.call(n,u,b,h)!==!1||(n.addEventListener?n.addEventListener(e,h,!1):n.attachEvent&&n.attachEvent("on"+e,h))),o.add&&(o.add.call(n,c),c.handler.guid||(c.handler.guid=r.guid)),f?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[e]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,h,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;)if(h=lu.exec(t[p])||[],e=k=h[1],w=(h[2]||"").split(".").sort(),e){for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],h=h[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],!f&&k!==o.origType||r&&r.guid!==o.guid||h&&!h.test(o.namespace)||u&&u!==o.selector&&("**"!==u||!o.selector)||(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}else for(e in a)i.event.remove(n,e+t[p],r,u,!0);i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(t,r,f,e){var l,a,o,p,c,h,w,y=[f||u],s=tt.call(t,"type")?t.type:t,v=tt.call(t,"namespace")?t.namespace.split("."):[];if(o=h=f=f||u,3!==f.nodeType&&8!==f.nodeType&&!cu.test(s+i.event.triggered)&&(s.indexOf(".")>-1&&(v=s.split("."),s=v.shift(),v.sort()),a=s.indexOf(":")<0&&"on"+s,t=t[i.expando]?t:new i.Event(s,"object"==typeof t&&t),t.isTrigger=e?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=f),r=null==r?[t]:i.makeArray(r,[t]),c=i.event.special[s]||{},e||!c.trigger||c.trigger.apply(f,r)!==!1)){if(!e&&!c.noBubble&&!i.isWindow(f)){for(p=c.delegateType||s,cu.test(p+s)||(o=o.parentNode);o;o=o.parentNode)y.push(o),h=o;h===(f.ownerDocument||u)&&y.push(h.defaultView||h.parentWindow||n)}for(w=0;(o=y[w++])&&!t.isPropagationStopped();)t.type=w>1?p:c.bindType||s,l=(i._data(o,"events")||{})[t.type]&&i._data(o,"handle"),l&&l.apply(o,r),l=a&&o[a],l&&l.apply&&ot(o)&&(t.result=l.apply(o,r),t.result===!1&&t.preventDefault());if(t.type=s,!e&&!t.isDefaultPrevented()&&(!c._default||c._default.apply(y.pop(),r)===!1)&&ot(f)&&a&&f[s]&&!i.isWindow(f)){h=f[a];h&&(f[a]=null);i.event.triggered=s;try{f[s]()}catch(b){}i.event.triggered=void 0;h&&(f[a]=h)}return t.result}},dispatch:function(n){n=i.event.fix(n);var e,o,f,r,t,s=[],h=a.call(arguments),c=(i._data(this,"events")||{})[n.type]||[],u=i.event.special[n.type]||{};if(h[0]=n,n.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,n)!==!1){for(s=i.event.handlers.call(this,n,c),e=0;(r=s[e++])&&!n.isPropagationStopped();)for(n.currentTarget=r.elem,o=0;(t=r.handlers[o++])&&!n.isImmediatePropagationStopped();)n.rnamespace&&!n.rnamespace.test(t.namespace)||(n.handleObj=t,n.data=t.data,f=((i.event.special[t.origType]||{}).handle||t.handler).apply(r.elem,h),void 0!==f&&(n.result=f)===!1&&(n.preventDefault(),n.stopPropagation()));return u.postDispatch&&u.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},fix:function(n){if(n[i.expando])return n;var e,o,s,r=n.type,f=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=no.test(r)?this.mouseHooks:ge.test(r)?this.keyHooks:{}),s=t.props?this.props.concat(t.props):this.props,n=new i.Event(f),e=s.length;e--;)o=s[e],n[o]=f[o];return n.target||(n.target=f.srcElement||u),3===n.target.nodeType&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,t.filter?t.filter(n,f):n},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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var i,e,r,f=t.button,o=t.fromElement;return null==n.pageX&&null!=t.clientX&&(e=n.target.ownerDocument||u,r=e.documentElement,i=e.body,n.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),n.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?t.toElement:o),n.which||void 0===f||(n.which=1&f?1:2&f?3:4&f?2:0),n}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==au()&&this.focus)try{return this.focus(),!1}catch(n){}},delegateType:"focusin"},blur:{trigger:function(){if(this===au()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if(i.nodeName(this,"input")&&"checkbox"===this.type&&this.click)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)}}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t);u.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=u.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)}:function(n,t,i){var r="on"+t;n.detachEvent&&("undefined"==typeof n[r]&&(n[r]=null),n.detachEvent(r,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?vt:rt):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:rt,isPropagationStopped:rt,isImmediatePropagationStopped:rt,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=vt;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=vt;n&&!this.isSimulated&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=vt;n&&n.stopImmediatePropagation&&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}}});r.submit||(i.event.special.submit={setup:function(){return i.nodeName(this,"form")?!1:void i.event.add(this,"click._submit keypress._submit",function(n){var r=n.target,t=i.nodeName(r,"input")||i.nodeName(r,"button")?i.prop(r,"form"):void 0;t&&!i._data(t,"submit")&&(i.event.add(t,"submit._submit",function(n){n._submitBubble=!0}),i._data(t,"submit",!0))})},postDispatch:function(n){n._submitBubble&&(delete n._submitBubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n))},teardown:function(){return i.nodeName(this,"form")?!1:void i.event.remove(this,"._submit")}});r.change||(i.event.special.change={setup:function(){return ai.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(i.event.add(this,"propertychange._change",function(n){"checked"===n.originalEvent.propertyName&&(this._justChanged=!0)}),i.event.add(this,"click._change",function(n){this._justChanged&&!n.isTrigger&&(this._justChanged=!1);i.event.simulate("change",this,n)})),!1):void i.event.add(this,"beforeactivate._change",function(n){var t=n.target;ai.test(t.nodeName)&&!i._data(t,"change")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n)}),i._data(t,"change",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!ai.test(this.nodeName)}});r.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var r=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var u=this.ownerDocument||this,f=i._data(u,t);f||u.addEventListener(n,r,!0);i._data(u,t,(f||0)+1)},teardown:function(){var u=this.ownerDocument||this,f=i._data(u,t)-1;f?i._data(u,t,f):(u.removeEventListener(n,r,!0),i._removeData(u,t))}}});i.fn.extend({on:function(n,t,i,r){return vi(this,n,t,i,r)},one:function(n,t,i,r){return vi(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=rt),this.each(function(){i.event.remove(this,n,r,t)})},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)}});var to=/ jQuery\d+="(?:null|\d+)"/g,vu=new RegExp("<(?:"+eu+")[\\s/>]","i"),io=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ro=/<script|<style|<link/i,uo=/checked\s*(?:[^=]|=\s*.checked.)/i,fo=/^true\/(.*)/,eo=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,oo=ou(u),yi=oo.appendChild(u.createElement("div"));i.extend({htmlPrefilter:function(n){return n.replace(io,"<$1><\/$2>")},clone:function(n,t,u){var e,c,s,o,h,l=i.contains(n.ownerDocument,n);if(r.html5Clone||i.isXMLDoc(n)||!vu.test("<"+n.nodeName+">")?s=n.cloneNode(!0):(yi.innerHTML=n.outerHTML,yi.removeChild(s=yi.firstChild)),!(r.noCloneEvent&&r.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=f(s),h=f(n),o=0;null!=(c=h[o]);++o)e[o]&&so(c,e[o]);if(t)if(u)for(h=h||f(n),e=e||f(s),o=0;null!=(c=h[o]);o++)bu(c,e[o]);else bu(n,s);return e=f(s,"script"),e.length>0&&ci(e,!l&&f(n,"script")),e=h=c=null,s},cleanData:function(n,t){for(var u,e,f,o,l=0,s=i.expando,h=i.cache,a=r.attributes,v=i.event.special;null!=(u=n[l]);l++)if((t||ot(u))&&(f=u[s],o=f&&h[f])){if(o.events)for(e in o.events)v[e]?i.event.remove(u,e):i.removeEvent(u,e,o.handle);h[f]&&(delete h[f],a||"undefined"==typeof u.removeAttribute?u[s]=void 0:u.removeAttribute(s),c.push(f))}}});i.fn.extend({domManip:k,detach:function(n){return ku(this,n,!0)},remove:function(n){return ku(this,n)},text:function(n){return y(this,function(n){return void 0===n?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||u).createTextNode(n))},null,n,arguments.length)},append:function(){return k(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=yu(this,n);t.appendChild(n)}})},prepend:function(){return k(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=yu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return k(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return k(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++){for(1===n.nodeType&&i.cleanData(f(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}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 y(this,function(n){var t=this[0]||{},u=0,e=this.length;if(void 0===n)return 1===t.nodeType?t.innerHTML.replace(to,""):void 0;if("string"==typeof n&&!ro.test(n)&&(r.htmlSerialize||!vu.test(n))&&(r.leadingWhitespace||!hi.test(n))&&!o[(uu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;e>u;u++)t=this[u]||{},1===t.nodeType&&(i.cleanData(f(t,!1)),t.innerHTML=n);t=0}catch(s){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return k(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(f(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,r=0,f=[],e=i(n),o=e.length-1;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ti.apply(f,u.get());return this.pushStack(f)}});pi={HTML:"block",BODY:"block"};var gu=/^margin/,pt=new RegExp("^("+ei+")(?!px)[a-z%]+$","i"),wi=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},nf=u.documentElement;!function(){var f,h,c,e,l,a,s=u.createElement("div"),t=u.createElement("div");if(t.style){t.style.cssText="float:left;opacity:.5";r.opacity="0.5"===t.style.opacity;r.cssFloat=!!t.style.cssFloat;t.style.backgroundClip="content-box";t.cloneNode(!0).style.backgroundClip="";r.clearCloneStyle="content-box"===t.style.backgroundClip;s=u.createElement("div");s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute";t.innerHTML="";s.appendChild(t);r.boxSizing=""===t.style.boxSizing||""===t.style.MozBoxSizing||""===t.style.WebkitBoxSizing;i.extend(r,{reliableHiddenOffsets:function(){return null==f&&o(),e},boxSizingReliable:function(){return null==f&&o(),c},pixelMarginRight:function(){return null==f&&o(),h},pixelPosition:function(){return null==f&&o(),f},reliableMarginRight:function(){return null==f&&o(),l},reliableMarginLeft:function(){return null==f&&o(),a}});function o(){var i,r,o=u.documentElement;o.appendChild(s);t.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";f=c=a=!1;h=l=!0;n.getComputedStyle&&(r=n.getComputedStyle(t),f="1%"!==(r||{}).top,a="2px"===(r||{}).marginLeft,c="4px"===(r||{width:"4px"}).width,t.style.marginRight="50%",h="4px"===(r||{marginRight:"4px"}).marginRight,i=t.appendChild(u.createElement("div")),i.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-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",l=!parseFloat((n.getComputedStyle(i)||{}).marginRight),t.removeChild(i));t.style.display="none";e=0===t.getClientRects().length;e&&(t.style.display="",t.innerHTML="<table><tr><td><\/td><td>t<\/td><\/tr><\/table>",t.childNodes[0].style.borderCollapse="separate",i=t.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",e=0===i[0].offsetHeight,e&&(i[0].style.display="",i[1].style.display="none",e=0===i[0].offsetHeight));o.removeChild(s)}}}();tf=/^(top|right|bottom|left)$/;n.getComputedStyle?(d=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},p=function(n,t,u){var o,s,h,f,e=n.style;return u=u||d(n),f=u?u.getPropertyValue(t)||u[t]:void 0,""!==f&&void 0!==f||i.contains(n.ownerDocument,n)||(f=i.style(n,t)),u&&!r.pixelMarginRight()&&pt.test(f)&&gu.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=f,f=u.width,e.width=o,e.minWidth=s,e.maxWidth=h),void 0===f?f:f+""}):nf.currentStyle&&(d=function(n){return n.currentStyle},p=function(n,t,i){var o,f,e,r,u=n.style;return i=i||d(n),r=i?i[t]:void 0,null==r&&u&&u[t]&&(r=u[t]),pt.test(r)&&!tf.test(t)&&(o=u.left,f=n.runtimeStyle,e=f&&f.left,e&&(f.left=n.currentStyle.left),u.left="fontSize"===t?"1em":r,r=u.pixelLeft+"px",u.left=o,e&&(f.left=e)),void 0===r?r:r+""||"auto"});var ki=/alpha\([^)]*\)/i,ho=/opacity\s*=\s*([^)]*)/i,co=/^(none|table(?!-c[ea]).+)/,lo=new RegExp("^("+ei+")(.*)$","i"),ao={position:"absolute",visibility:"hidden",display:"block"},rf={letterSpacing:"0",fontWeight:"400"},uf=["Webkit","O","Moz","ms"],ff=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=p(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:r.cssFloat?"cssFloat":"styleFloat"},style:function(n,t,u,f){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;if(t=i.cssProps[s]||(i.cssProps[s]=ef(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===u)return o&&"get"in o&&void 0!==(e=o.get(n,!1,f))?e:c[t];if(h=typeof u,"string"===h&&(e=oi.exec(u))&&e[1]&&(u=ru(n,t,e),h="number"),null!=u&&u===u&&("number"===h&&(u+=e&&e[3]||(i.cssNumber[s]?"":"px")),r.clearCloneStyle||""!==u||0!==t.indexOf("background")||(c[t]="inherit"),!(o&&"set"in o&&void 0===(u=o.set(n,u,f)))))try{c[t]=u}catch(l){}}},css:function(n,t,r,u){var s,f,o,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=ef(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=p(n,t,u)),"normal"===f&&t in rf&&(f=rf[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 co.test(i.css(n,"display"))&&0===n.offsetWidth?wi(n,ao,function(){return cf(n,t,u)}):cf(n,t,u)},set:function(n,u,f){var e=f&&d(n);return sf(n,u,f?hf(n,t,f,r.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,e),e):0)}}});r.opacity||(i.cssHooks.opacity={get:function(n,t){return ho.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+100*t+")":"",f=u&&u.filter||r.filter||"";r.zoom=1;(t>=1||""===t)&&""===i.trim(f.replace(ki,""))&&r.removeAttribute&&(r.removeAttribute("filter"),""===t||u&&!u.filter)||(r.filter=ki.test(f)?f.replace(ki,e):f+" "+e)}});i.cssHooks.marginRight=bi(r.reliableMarginRight,function(n,t){if(t)return wi(n,{display:"inline-block"},p,[n,"marginRight"])});i.cssHooks.marginLeft=bi(r.reliableMarginLeft,function(n,t){if(t)return(parseFloat(p(n,"marginLeft"))||(i.contains(n.ownerDocument,n)?n.getBoundingClientRect().left-wi(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}):0))+"px"});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+b[r]+t]=u[r]||u[r-2]||u[0];return f}};gu.test(n)||(i.cssHooks[n+t].set=sf)});i.fn.extend({css:function(n,t){return y(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=d(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 of(this,!0)},hide:function(){return of(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=e;e.prototype={constructor:e,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=e.propHooks[this.prop];return n&&n.get?n.get(this):e.propHooks._default.get(this)},run:function(n){var t,r=e.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):e.propHooks._default.set(this),this}};e.prototype.init.prototype=e.prototype;e.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)}}};e.propHooks.scrollTop=e.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=e.prototype.init;i.fx.step={};lf=/^(?:toggle|show|hide)$/;af=/queueHooks$/;i.Animation=i.extend(h,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return ru(i.elem,n,oi.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(s);for(var r,u=0,f=n.length;f>u;u++)r=n[u],h.tweeners[r]=h.tweeners[r]||[],h.tweeners[r].unshift(t)},prefilters:[vo],prefilter:function(n,t){t?h.prefilters.unshift(n):h.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,r,u){var o=i.isEmptyObject(n),e=i.speed(t,r,u),f=function(){var t=h(this,i.extend({},n),e);(o||i._data(this,"finish"))&&t.stop(!0)};return f.finish=f,o||e.queue===!1?this.each(f):this.queue(e.queue,f)},stop:function(n,t,r){var u=function(n){var t=n.stop;delete n.stop;t(r)};return"string"!=typeof n&&(r=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=null!=n&&n+"queueHooks",e=i.timers,f=i._data(this);if(t)f[t]&&f[t].stop&&u(f[t]);else for(t in f)f[t]&&f[t].stop&&af.test(t)&&u(f[t]);for(t=e.length;t--;)e[t].elem!==this||null!=n&&e[t].queue!==n||(e[t].anim.stop(r),o=!1,e.splice(t,1));!o&&r||i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,f=i._data(this),r=f[n+"queue"],e=f[n+"queueHooks"],u=i.timers,o=r?r.length:0;for(f.finish=!0,i.queue(this,n,[]),e&&e.stop&&e.stop.call(this,!0),t=u.length;t--;)u[t].elem===this&&u[t].queue===n&&(u[t].anim.stop(!0),u.splice(t,1));for(t=0;o>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete f.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(bt(t,!0),n,i,u)}});i.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("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=i.timers,t=0;for(ut=i.now();t<n.length;t++)r=n[t],r()||n[t]!==r||n.splice(t--,1);n.length||i.fx.stop();ut=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(){wt||(wt=n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.clearInterval(wt);wt=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 i,n=u.createElement("input"),t=u.createElement("div"),f=u.createElement("select"),e=f.appendChild(u.createElement("option"));t=u.createElement("div");t.setAttribute("className","t");t.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>";i=t.getElementsByTagName("a")[0];n.setAttribute("type","checkbox");t.appendChild(n);i=t.getElementsByTagName("a")[0];i.style.cssText="top:1px";r.getSetAttribute="t"!==t.className;r.style=/top/.test(i.getAttribute("style"));r.hrefNormalized="/a"===i.getAttribute("href");r.checkOn=!!n.value;r.optSelected=e.selected;r.enctype=!!u.createElement("form").enctype;f.disabled=!0;r.optDisabled=!e.disabled;n=u.createElement("input");n.setAttribute("value","");r.input=""===n.getAttribute("value");n.value="t";n.setAttribute("type","radio");r.radioValue="t"===n.value}();pf=/\r/g;wf=/[\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(pf,""):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(wf," ")}},select:{get:function(n){for(var o,t,s=n.options,u=n.selectedIndex,f="select-one"===n.type||0>u,h=f?null:[],c=f?u+1:s.length,e=0>u?c:f?u:0;c>e;e++)if(t=s[e],(t.selected||e===u)&&(r.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),f)return o;h.push(o)}return h},set:function(n,t){for(var f,r,u=n.options,o=i.makeArray(t),e=u.length;e--;)if(r=u[e],i.inArray(i.valHooks.option.get(r),o)>-1)try{r.selected=f=!0}catch(s){r.scrollHeight}else r.selected=!1;return f||(n.selectedIndex=-1),u}}}});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}};r.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});var ft,bf,l=i.expr.attrHandle,di=/^(?:checked|selected)$/i,g=r.getSetAttribute,kt=r.input;i.fn.extend({attr:function(n,t){return y(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)?bf:ft)),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(!r.radioValue&&"radio"===t&&i.nodeName(n,"input")){var u=n.value;return n.setAttribute("type",t),u&&(n.value=u),t}}}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?kt&&g||!di.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(g?r:u)}});bf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):kt&&g||!di.test(r)?n.setAttribute(!g&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=l[t]||i.find.attr;l[t]=kt&&g||!di.test(t)?function(n,t,i){var u,f;return i||(f=l[t],l[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,l[t]=f),u}:function(n,t,r){if(!r)return n[i.camelCase("default-"+t)]?t.toLowerCase():null}});kt&&g||(i.attrHooks.value={set:function(n,t,r){return i.nodeName(n,"input")?void(n.defaultValue=t):ft&&ft.set(n,t,r)}});g||(ft={set:function(n,t,i){var r=n.getAttributeNode(i);return r||n.setAttributeNode(r=n.ownerDocument.createAttribute(i)),r.value=t+="","value"===i||t===n.getAttribute(i)?t:void 0}},l.id=l.name=l.coords=function(n,t,i){var r;if(!i)return(r=n.getAttributeNode(t))&&""!==r.value?r.value:null},i.valHooks.button={get:function(n,t){var i=n.getAttributeNode(t);if(i&&i.specified)return i.value},set:ft.set},i.attrHooks.contenteditable={set:function(n,t,i){ft.set(n,""===t?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(""===i)return(n.setAttribute(t,"auto"),i)}}}));r.style||(i.attrHooks.style={get:function(n){return n.style.cssText||void 0},set:function(n,t){return n.style.cssText=t+""}});kf=/^(?:input|select|textarea|button|object)$/i;df=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return y(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=void 0;delete this[n]}catch(t){}})}});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):kf.test(n.nodeName)||df.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});r.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});r.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,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});r.enctype||(i.propFix.enctype="encoding");dt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,f,h,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,nt(this)))});if("string"==typeof n&&n)for(o=n.match(s)||[];t=this[c++];)if(u=nt(t),r=1===t.nodeType&&(" "+u+" ").replace(dt," ")){for(h=0;f=o[h++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");e=i.trim(r);u!==e&&i.attr(t,"class",e)}return this},removeClass:function(n){var o,r,t,u,f,h,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,nt(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(o=n.match(s)||[];r=this[c++];)if(u=nt(r),t=1===r.nodeType&&(" "+u+" ").replace(dt," ")){for(h=0;f=o[h++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&i.attr(r,"class",e)}return this},toggleClass:function(n,t){var r=typeof n;return"boolean"==typeof t&&"string"===r?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,nt(this),t),t)}):this.each(function(){var t,f,u,e;if("string"===r)for(f=0,u=i(this),e=n.match(s)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else void 0!==n&&"boolean"!==r||(t=nt(this),t&&i._data(this,"__className__",t),i.attr(this,"class",t||n===!1?"":i._data(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+nt(t)+" ").replace(dt," ").indexOf(i)>-1)return!0;return!1}});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)}});var po=n.location,gi=i.now(),nr=/\?/,wo=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;i.parseJSON=function(t){if(n.JSON&&n.JSON.parse)return n.JSON.parse(t+"");var f,r=null,u=i.trim(t+"");return u&&!i.trim(u.replace(wo,function(n,t,i,u){return f&&t&&(r=0),0===r?n:(f=i||t,r+=!u-!i,"")}))?Function("return "+u)():i.error("Invalid JSON: "+t)};i.parseXML=function(t){var r,u;if(!t||"string"!=typeof t)return null;try{n.DOMParser?(u=new n.DOMParser,r=u.parseFromString(t,"text/xml")):(r=new n.ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(t))}catch(f){r=void 0}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var bo=/#.*$/,gf=/([?&])_=[^&]*/,ko=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,go=/^(?:GET|HEAD)$/,ns=/^\/\//,ne=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,te={},tr={},ie="*/".concat("*"),ir=po.href,et=ne.exec(ir.toLowerCase())||[];i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ir,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(et[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ie,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?rr(rr(n,i.ajaxSettings),t):rr(i.ajaxSettings,n)},ajaxPrefilter:re(te),ajaxTransport:re(tr),ajax:function(t,r){function w(t,r,s,c){var y,rt,it,w,tt,l=r;2!==o&&(o=2,k&&n.clearTimeout(k),v=void 0,b=c||"",f.readyState=t>0?4:0,y=t>=200&&300>t||304===t,s&&(w=ts(u,f,s)),w=is(u,w,f,y),y?(u.ifModified&&(tt=f.getResponseHeader("Last-Modified"),tt&&(i.lastModified[e]=tt),tt=f.getResponseHeader("etag"),tt&&(i.etag[e]=tt)),204===t||"HEAD"===u.type?l="nocontent":304===t?l="notmodified":(l=w.state,rt=w.data,it=w.error,y=!it)):(it=l,!t&&l||(l="error",0>t&&(t=0))),f.status=t,f.statusText=(r||l)+"",y?g.resolveWith(h,[rt,l,f]):g.rejectWith(h,[f,l,it]),f.statusCode(p),p=void 0,a&&d.trigger(y?"ajaxSuccess":"ajaxError",[f,u,y?rt:it]),nt.fireWith(h,[f,l]),a&&(d.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var c,l,e,b,k,a,v,y,u=i.ajaxSetup({},r),h=u.context||u,d=u.context&&(h.nodeType||h.jquery)?i(h):i.event,g=i.Deferred(),nt=i.Callbacks("once memory"),p=u.statusCode||{},tt={},it={},o=0,rt="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(2===o){if(!y)for(y={};t=ko.exec(b);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===o?b:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=it[i]=it[i]||n,tt[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>o)for(t in n)p[t]=[p[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||rt;return v&&v.abort(t),w(0,t),this}};if(g.promise(f).complete=nt.add,f.success=f.done,f.error=f.fail,u.url=((t||u.url||ir)+"").replace(bo,"").replace(ns,et[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],null==u.crossDomain&&(c=ne.exec(u.url.toLowerCase()),u.crossDomain=!(!c||c[1]===et[1]&&c[2]===et[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(et[3]||("http:"===et[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),ue(te,u,r,f),2===o)return f;a=i.event&&u.global;a&&0==i.active++&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!go.test(u.type);e=u.url;u.hasContent||(u.data&&(e=u.url+=(nr.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=gf.test(e)?e.replace(gf,"$1_="+gi++):e+(nr.test(e)?"&":"?")+"_="+gi++));u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+ie+"; q=0.01":""):u.accepts["*"]);for(l in u.headers)f.setRequestHeader(l,u.headers[l]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||2===o))return f.abort();rt="abort";for(l in{success:1,error:1,complete:1})f[l](u[l]);if(v=ue(tr,u,r,f)){if(f.readyState=1,a&&d.trigger("ajaxSend",[f,u]),2===o)return f;u.async&&u.timeout>0&&(k=n.setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1;v.send(tt,w)}catch(ut){if(!(2>o))throw ut;w(-1,ut)}}else w(-1,"No Transport");return f},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",cache:!0,async:!1,global:!1,throws:!0})};i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var 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.firstChild&&1===n.firstChild.nodeType;)n=n.firstChild;return n}).append(this)}return 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 r.reliableHiddenOffsets()?n.offsetWidth<=0&&n.offsetHeight<=0&&!n.getClientRects().length:us(n)};i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)};var fs=/%20/g,es=/\[\]$/,fe=/\r?\n/g,os=/^(?:submit|button|image|reset|file)$/i,ss=/^(?:input|select|textarea|keygen)/i;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)ur(r,n[r],t,f);return u.join("&").replace(fs,"+")};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")&&ss.test(this.nodeName)&&!os.test(n)&&(this.checked||!si.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(fe,"\r\n")}}):{name:t.name,value:r.replace(fe,"\r\n")}}).get()}});i.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?ee():u.documentMode>8?fr():/^(get|post|head|put|delete|options)$/i.test(this.type)&&fr()||ee()}:fr;var hs=0,gt={},ct=i.ajaxSettings.xhr();return n.attachEvent&&n.attachEvent("onunload",function(){for(var n in gt)gt[n](void 0,!0)}),r.cors=!!ct&&"withCredentials"in ct,ct=r.ajax=!!ct,ct&&i.ajaxTransport(function(t){if(!t.crossDomain||r.cors){var u;return{send:function(r,f){var o,e=t.xhr(),s=++hs;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||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&e.setRequestHeader(o,r[o]+"");e.send(t.hasContent&&t.data||null);u=function(n,r){var o,c,h;if(u&&(r||4===e.readyState))if(delete gt[s],u=void 0,e.onreadystatechange=i.noop,r)4!==e.readyState&&e.abort();else{h={};o=e.status;"string"==typeof e.responseText&&(h.text=e.responseText);try{c=e.statusText}catch(l){c=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=h.text?200:404}h&&f(o,c,h,e.getAllResponseHeaders())};t.async?4===e.readyState?n.setTimeout(u):e.onreadystatechange=gt[s]=u:u()},abort:function(){u&&u(void 0,!0)}}}}),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",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var t,r=u.head||i("head")[0]||u.documentElement;return{send:function(i,f){t=u.createElement("script");t.async=!0;n.scriptCharset&&(t.charset=n.scriptCharset);t.src=n.url;t.onload=t.onreadystatechange=function(n,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,i||f(200,"success"))};r.insertBefore(t,r.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}),er=[],ni=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=er.pop()||i.expando+"_"+gi++;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+=(nr.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,er.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=vr.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=hu([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},or=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&or)return or.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=i.trim(n.slice(e,n.length)),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)&&i.inArray("auto",[s,c])>-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,u={top:0,left:0},r=this[0],e=r&&r.ownerDocument;if(e)return t=e.documentElement,i.contains(t,r)?("undefined"!=typeof r.getBoundingClientRect&&(u=r.getBoundingClientRect()),f=oe(e),{top:u.top+(f.pageYOffset||t.scrollTop)-(t.clientTop||0),left:u.left+(f.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):u},position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[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&&!i.nodeName(n,"html")&&"static"===i.css(n,"position");)n=n.offsetParent;return n||nf})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r=/Y/.test(t);i.fn[n]=function(u){return y(this,function(n,u,f){var e=oe(n);return void 0===f?e?t in e?e[t]:e.document.documentElement[u]:n[u]:void(e?e.scrollTo(r?i(e).scrollLeft():f,r?f:i(e).scrollTop()):n[u]=f)},n,u,arguments.length,null)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=bi(r.pixelPosition,function(n,r){if(r)return(r=p(n,t),pt.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 y(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)}}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),se=n.jQuery,he=n.$,i.noConflict=function(t){return n.$===i&&(n.$=he),t&&n.jQuery===i&&(n.jQuery=se),i},t||(n.jQuery=n.$=i),i});!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){n.extend(n.fn,{validate:function(t){if(!this.length)return void(t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var i=n.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new n.validator(t,this[0]),n.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(t){i.settings.submitHandler&&(i.submitButton=t.target);n(this).hasClass("cancel")&&(i.cancelSubmit=!0);void 0!==n(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(t){function r(){var u,r;return i.settings.submitHandler?(i.submitButton&&(u=n("<input type='hidden'/>").attr("name",i.submitButton.name).val(n(i.submitButton).val()).appendTo(i.currentForm)),r=i.settings.submitHandler.call(i,i.currentForm,t),i.submitButton&&u.remove(),void 0!==r?r:!1):!0}return i.settings.debug&&t.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})),i)},valid:function(){var t,i,r;return n(this[0]).is("form")?t=this.validate().form():(r=[],t=!0,i=n(this[0].form).validate(),this.each(function(){t=i.element(this)&&t;r=r.concat(i.errorList)}),i.errorList=r),t},rules:function(t,i){var e,s,f,u,o,h,r=this[0];if(t)switch(e=n.data(r.form,"validator").settings,s=e.rules,f=n.validator.staticRules(r),t){case"add":n.extend(f,n.validator.normalizeRule(i));delete f.messages;s[r.name]=f;i.messages&&(e.messages[r.name]=n.extend(e.messages[r.name],i.messages));break;case"remove":return i?(h={},n.each(i.split(/\s/),function(t,i){h[i]=f[i];delete f[i];"required"===i&&n(r).removeAttr("aria-required")}),h):(delete s[r.name],f)}return u=n.validator.normalizeRules(n.extend({},n.validator.classRules(r),n.validator.attributeRules(r),n.validator.dataRules(r),n.validator.staticRules(r)),r),u.required&&(o=u.required,delete u.required,u=n.extend({required:o},u),n(r).attr("aria-required","true")),u.remote&&(o=u.remote,delete u.remote,u=n.extend(u,{remote:o})),u}});n.extend(n.expr[":"],{blank:function(t){return!n.trim(""+n(t).val())},filled:function(t){return!!n.trim(""+n(t).val())},unchecked:function(t){return!n(t).prop("checked")}});n.validator=function(t,i){this.settings=n.extend(!0,{},n.validator.defaults,t);this.currentForm=i;this.init()};n.validator.format=function(t,i){return 1===arguments.length?function(){var i=n.makeArray(arguments);return i.unshift(t),n.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=n.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),n.each(i,function(n,i){t=t.replace(new RegExp("\\{"+n+"\\}","g"),function(){return i})}),t)};n.extend(n.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:n([]),errorLabelContainer:n([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(n){this.lastActive=n;this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,n,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(n)))},onfocusout:function(n){!this.checkable(n)&&(n.name in this.submitted||!this.optional(n))&&this.element(n)},onkeyup:function(t,i){9===i.which&&""===this.elementValue(t)||-1!==n.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(n){n.name in this.submitted?this.element(n):n.parentNode.name in this.submitted&&this.element(n.parentNode)},highlight:function(t,i,r){"radio"===t.type?this.findByName(t.name).addClass(i).removeClass(r):n(t).addClass(i).removeClass(r)},unhighlight:function(t,i,r){"radio"===t.type?this.findByName(t.name).removeClass(i).addClass(r):n(t).removeClass(i).addClass(r)}},setDefaults:function(t){n.extend(n.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:n.validator.format("Please enter no more than {0} characters."),minlength:n.validator.format("Please enter at least {0} characters."),rangelength:n.validator.format("Please enter a value between {0} and {1} characters long."),range:n.validator.format("Please enter a value between {0} and {1}."),max:n.validator.format("Please enter a value less than or equal to {0}."),min:n.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function i(t){var r=n.data(this.form,"validator"),u="on"+t.type.replace(/^validate/,""),i=r.settings;i[u]&&!n(this).is(i.ignore)&&i[u].call(r,this,t)}this.labelContainer=n(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||n(this.currentForm);this.containers=n(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var t,r=this.groups={};n.each(this.settings.groups,function(t,i){"string"==typeof i&&(i=i.split(/\s/));n.each(i,function(n,i){r[i]=t})});t=this.settings.rules;n.each(t,function(i,r){t[i]=n.validator.normalizeRule(r)});n(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']",i).on("click.validate","select, option, [type='radio'], [type='checkbox']",i);this.settings.invalidHandler&&n(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler);n(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),n.extend(this.submitted,this.errorMap),this.invalid=n.extend({},this.errorMap),this.valid()||n(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var n=0,t=this.currentElements=this.elements();t[n];n++)this.check(t[n]);return this.valid()},element:function(t){var u=this.clean(t),i=this.validationTargetFor(u),r=!0;return this.lastElement=i,void 0===i?delete this.invalid[u.name]:(this.prepareElement(i),this.currentElements=n(i),r=this.check(i)!==!1,r?delete this.invalid[i.name]:this.invalid[i.name]=!0),n(t).attr("aria-invalid",!r),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),r},showErrors:function(t){if(t){n.extend(this.errorMap,t);this.errorList=[];for(var i in t)this.errorList.push({message:t[i],element:this.findByName(i)[0]});this.successList=n.grep(this.successList,function(n){return!(n.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){n.fn.resetForm&&n(this.currentForm).resetForm();this.submitted={};this.lastElement=null;this.prepareForm();this.hideErrors();var t,i=this.elements().removeData("previousValue").removeAttr("aria-invalid");if(this.settings.unhighlight)for(t=0;i[t];t++)this.settings.unhighlight.call(this,i[t],this.settings.errorClass,"");else i.removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(n){var i,t=0;for(i in n)t++;return t},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(n){n.not(this.containers).text("");this.addWrapper(n).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{n(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&1===n.grep(this.errorList,function(n){return n.element.name===t.name}).length&&t},elements:function(){var t=this,i={};return n(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!t.objectLength(n(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(t){return n(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return n(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=n([]);this.toHide=n([]);this.currentElements=n([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(n){this.reset();this.toHide=this.errorsFor(n)},elementValue:function(t){var i,u=n(t),r=t.type;return"radio"===r||"checkbox"===r?this.findByName(t.name).filter(":checked").val():"number"===r&&"undefined"!=typeof t.validity?t.validity.badInput?!1:u.val():(i=u.val(),"string"==typeof i?i.replace(/\r/g,""):i)},check:function(t){t=this.validationTargetFor(this.clean(t));var r,u,i,f=n(t).rules(),s=n.map(f,function(n,t){return t}).length,o=!1,h=this.elementValue(t);for(u in f){i={method:u,parameters:f[u]};try{if(r=n.validator.methods[u].call(this,h,t,i.parameters),"dependency-mismatch"===r&&1===s){o=!0;continue}if(o=!1,"pending"===r)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!r)return this.formatAndAdd(t,i),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+i.method+"' method.",e),e instanceof TypeError&&(e.message+=".  Exception occurred when checking element "+t.id+", check the '"+i.method+"' method."),e;}}if(!o)return this.objectLength(f)&&this.successList.push(t),!0},customDataMessage:function(t,i){return n(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||n(t).data("msg")},customMessage:function(n,t){var i=this.settings.messages[n];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var n=0;n<arguments.length;n++)if(void 0!==arguments[n])return arguments[n];return void 0},defaultMessage:function(t,i){return this.findDefined(this.customMessage(t.name,i),this.customDataMessage(t,i),!this.settings.ignoreTitle&&t.title||void 0,n.validator.messages[i],"<strong>Warning: No message defined for "+t.name+"<\/strong>")},formatAndAdd:function(t,i){var r=this.defaultMessage(t,i.method),u=/\$?\{(\d+)\}/g;"function"==typeof r?r=r.call(this,i.parameters,t):u.test(r)&&(r=n.validator.format(r.replace(u,"{$1}"),i.parameters));this.errorList.push({message:r,element:t,method:i.method});this.errorMap[t.name]=r;this.submitted[t.name]=r},addWrapper:function(n){return this.settings.wrapper&&(n=n.add(n.parent(this.settings.wrapper))),n},defaultShowErrors:function(){for(var i,t,n=0;this.errorList[n];n++)t=this.errorList[n],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(n=0;this.successList[n];n++)this.showLabel(this.successList[n]);if(this.settings.unhighlight)for(n=0,i=this.validElements();i[n];n++)this.settings.unhighlight.call(this,i[n],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return n(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var u,o,e,r=this.errorsFor(t),s=this.idOrName(t),f=n(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(i)):(r=n("<"+this.settings.errorElement+">").attr("id",s+"-error").addClass(this.settings.errorClass).html(i||""),u=r,this.settings.wrapper&&(u=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(u):this.settings.errorPlacement?this.settings.errorPlacement(u,n(t)):u.insertAfter(t),r.is("label")?r.attr("for",s):0===r.parents("label[for='"+s+"']").length&&(e=r.attr("id").replace(/(:|\.|\[|\]|\$)/g,"\\$1"),f?f.match(new RegExp("\\b"+e+"\\b"))||(f+=" "+e):f=e,n(t).attr("aria-describedby",f),o=this.groups[t.name],o&&n.each(this.groups,function(t,i){i===o&&n("[name='"+t+"']",this.currentForm).attr("aria-describedby",r.attr("id"))})));!i&&this.settings.success&&(r.text(""),"string"==typeof this.settings.success?r.addClass(this.settings.success):this.settings.success(r,t));this.toShow=this.toShow.add(r)},errorsFor:function(t){var r=this.idOrName(t),u=n(t).attr("aria-describedby"),i="label[for='"+r+"'], label[for='"+r+"'] *";return u&&(i=i+", #"+u.replace(/\s+/g,", #")),this.errors().filter(i)},idOrName:function(n){return this.groups[n.name]||(this.checkable(n)?n.name:n.id||n.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),n(t).not(this.settings.ignore)[0]},checkable:function(n){return/radio|checkbox/i.test(n.type)},findByName:function(t){return n(this.currentForm).find("[name='"+t+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return n("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(n,t){return this.dependTypes[typeof n]?this.dependTypes[typeof n](n,t):!0},dependTypes:{boolean:function(n){return n},string:function(t,i){return!!n(t,i.form).length},"function":function(n,t){return n(t)}},optional:function(t){var i=this.elementValue(t);return!n.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(n){this.pending[n.name]||(this.pendingRequest++,this.pending[n.name]=!0)},stopRequest:function(t,i){this.pendingRequest--;this.pendingRequest<0&&(this.pendingRequest=0);delete this.pending[t.name];i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(n(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(n(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return n.data(t,"previousValue")||n.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})},destroy:function(){this.resetForm();n(this.currentForm).off(".validate").removeData("validator")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:n.extend(this.classRuleSettings,t)},classRules:function(t){var i={},r=n(t).attr("class");return r&&n.each(r.split(" "),function(){this in n.validator.classRuleSettings&&n.extend(i,n.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(n,t,i,r){/min|max/.test(i)&&(null===t||/number|range|text/.test(t))&&(r=Number(r),isNaN(r)&&(r=void 0));r||0===r?n[i]=r:t===i&&"range"!==t&&(n[i]=!0)},attributeRules:function(t){var r,i,u={},f=n(t),e=t.getAttribute("type");for(r in n.validator.methods)"required"===r?(i=t.getAttribute(r),""===i&&(i=!0),i=!!i):i=f.attr(r),this.normalizeAttributeRule(u,e,r,i);return u.maxlength&&/-1|2147483647|524288/.test(u.maxlength)&&delete u.maxlength,u},dataRules:function(t){var i,r,u={},f=n(t),e=t.getAttribute("type");for(i in n.validator.methods)r=f.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),this.normalizeAttributeRule(u,e,i,r);return u},staticRules:function(t){var i={},r=n.data(t.form,"validator");return r.settings.rules&&(i=n.validator.normalizeRule(r.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return n.each(t,function(r,u){if(u===!1)return void delete t[r];if(u.param||u.depends){var f=!0;switch(typeof u.depends){case"string":f=!!n(u.depends,i.form).length;break;case"function":f=u.depends.call(i,i)}f?t[r]=void 0!==u.param?u.param:!0:delete t[r]}}),n.each(t,function(r,u){t[r]=n.isFunction(u)?u(i):u}),n.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),n.each(["rangelength","range"],function(){var i;t[this]&&(n.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(i=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(i[0]),Number(i[1])]))}),n.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var i={};n.each(t.split(/\s/),function(){i[this]=!0});t=i}return t},addMethod:function(t,i,r){n.validator.methods[t]=i;n.validator.messages[t]=void 0!==r?r:n.validator.messages[t];i.length<3&&n.validator.addClassRules(t,n.validator.normalizeRule(t))},methods:{required:function(t,i,r){if(!this.depend(r,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var u=n(i).val();return u&&u.length>0}return this.checkable(i)?this.getLength(t,i)>0:t.length>0},email:function(n,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(n)},url:function(n,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(n)},date:function(n,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(n).toString())},dateISO:function(n,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(n)},number:function(n,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(n)},digits:function(n,t){return this.optional(t)||/^\d+$/.test(n)},creditcard:function(n,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(n))return!1;var i,f,e=0,r=0,u=!1;if(n=n.replace(/\D/g,""),n.length<13||n.length>19)return!1;for(i=n.length-1;i>=0;i--)f=n.charAt(i),r=parseInt(f,10),u&&(r*=2)>9&&(r-=9),e+=r,u=!u;return e%10==0},minlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u>=r},maxlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||r>=u},rangelength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u>=r[0]&&u<=r[1]},min:function(n,t,i){return this.optional(t)||n>=i},max:function(n,t,i){return this.optional(t)||i>=n},range:function(n,t,i){return this.optional(t)||n>=i[0]&&n<=i[1]},equalTo:function(t,i,r){var u=n(r);return this.settings.onfocusout&&u.off(".validate-equalTo").on("blur.validate-equalTo",function(){n(i).valid()}),t===u.val()},remote:function(t,i,r){if(this.optional(i))return"dependency-mismatch";var u,e,f=this.previousValue(i);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),f.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=f.message,r="string"==typeof r&&{url:r}||r,f.old===t?f.valid:(f.old=t,u=this,this.startRequest(i),e={},e[i.name]=t,n.ajax(n.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:e,context:u.currentForm,success:function(r){var o,e,h,s=r===!0||"true"===r;u.settings.messages[i.name].remote=f.originalMessage;s?(h=u.formSubmitted,u.prepareElement(i),u.formSubmitted=h,u.successList.push(i),delete u.invalid[i.name],u.showErrors()):(o={},e=r||u.defaultMessage(i,"remote"),o[i.name]=f.message=n.isFunction(e)?e(t):e,u.invalid[i.name]=!0,u.showErrors(o));f.valid=s;u.stopRequest(i,s)}},r)),"pending")}}});var i,t={};n.ajaxPrefilter?n.ajaxPrefilter(function(n,i,r){var u=n.port;"abort"===n.mode&&(t[u]&&t[u].abort(),t[u]=r)}):(i=n.ajax,n.ajax=function(r){var f=("mode"in r?r:n.ajaxSettings).mode,u=("port"in r?r:n.ajaxSettings).port;return"abort"===f?(t[u]&&t[u].abort(),t[u]=i.apply(this,arguments),t[u]):i.apply(this,arguments)})}),function(n){function i(n,t,i){n.rules[t]=i;n.message&&(n.messages[t]=n.message)}function h(n){return n.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function f(n){return n.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function e(n){return n.substr(0,n.lastIndexOf(".")+1)}function o(n,t){return n.indexOf("*.")===0&&(n=n.replace("*.",t)),n}function c(t,i){var r=n(this).find("[data-valmsg-for='"+f(i[0].name)+"']"),u=r.attr("data-valmsg-replace"),e=u?n.parseJSON(u)!==!1:null;r.removeClass("field-validation-valid").addClass("field-validation-error");t.data("unobtrusiveContainer",r);e?(r.empty(),t.removeClass("input-validation-error").appendTo(r)):t.hide()}function l(t,i){var u=n(this).find("[data-valmsg-summary=true]"),r=u.find("ul");r&&r.length&&i.errorList.length&&(r.empty(),u.addClass("validation-summary-errors").removeClass("validation-summary-valid"),n.each(i.errorList,function(){n("<li />").html(this.message).appendTo(r)}))}function a(t){var i=t.data("unobtrusiveContainer"),r=i.attr("data-valmsg-replace"),u=r?n.parseJSON(r):null;i&&(i.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),u&&i.empty())}function v(){var t=n(this),i="__jquery_unobtrusive_validation_form_reset";if(!t.data(i)){t.data(i,!0);try{t.data("validator").resetForm()}finally{t.removeData(i)}t.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors");t.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function s(t){var i=n(t),f=i.data(u),s=n.proxy(v,t),e=r.unobtrusive.options||{},o=function(i,r){var u=e[i];u&&n.isFunction(u)&&u.apply(t,r)};return f||(f={options:{errorClass:e.errorClass||"input-validation-error",errorElement:e.errorElement||"span",errorPlacement:function(){c.apply(t,arguments);o("errorPlacement",arguments)},invalidHandler:function(){l.apply(t,arguments);o("invalidHandler",arguments)},messages:{},rules:{},success:function(){a.apply(t,arguments);o("success",arguments)}},attachValidation:function(){i.off("reset."+u,s).on("reset."+u,s).validate(this.options)},validate:function(){return i.validate(),i.valid()}},i.data(u,f)),f}var r=n.validator,t,u="unobtrusiveValidation";r.unobtrusive={adapters:[],parseElement:function(t,i){var u=n(t),f=u.parents("form")[0],r,e,o;f&&(r=s(f),r.options.rules[t.name]=e={},r.options.messages[t.name]=o={},n.each(this.adapters,function(){var i="data-val-"+this.name,r=u.attr(i),s={};r!==undefined&&(i+="-",n.each(this.params,function(){s[this]=u.attr(i+this)}),this.adapt({element:t,form:f,message:r,params:s,rules:e,messages:o}))}),n.extend(e,{__dummy__:!0}),i||r.attachValidation())},parse:function(t){var i=n(t),u=i.parents().addBack().filter("form").add(i.find("form")).has("[data-val=true]");i.find("[data-val=true]").each(function(){r.unobtrusive.parseElement(this,!0)});u.each(function(){var n=s(this);n&&n.attachValidation()})}};t=r.unobtrusive.adapters;t.add=function(n,t,i){return i||(i=t,t=[]),this.push({name:n,params:t,adapt:i}),this};t.addBool=function(n,t){return this.add(n,function(r){i(r,t||n,!0)})};t.addMinMax=function(n,t,r,u,f,e){return this.add(n,[f||"min",e||"max"],function(n){var f=n.params.min,e=n.params.max;f&&e?i(n,u,[f,e]):f?i(n,t,f):e&&i(n,r,e)})};t.addSingleVal=function(n,t,r){return this.add(n,[t||"val"],function(u){i(u,r||n,u.params[t])})};r.addMethod("__dummy__",function(){return!0});r.addMethod("regex",function(n,t,i){var r;return this.optional(t)?!0:(r=new RegExp(i).exec(n),r&&r.index===0&&r[0].length===n.length)});r.addMethod("nonalphamin",function(n,t,i){var r;return i&&(r=n.match(/\W/g),r=r&&r.length>=i),r});r.methods.extension?(t.addSingleVal("accept","mimtype"),t.addSingleVal("extension","extension")):t.addSingleVal("extension","extension","accept");t.addSingleVal("regex","pattern");t.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");t.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");t.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength");t.add("equalto",["other"],function(t){var r=e(t.element.name),u=t.params.other,s=o(u,r),h=n(t.form).find(":input").filter("[name='"+f(s)+"']")[0];i(t,"equalTo",h)});t.add("required",function(n){(n.element.tagName.toUpperCase()!=="INPUT"||n.element.type.toUpperCase()!=="CHECKBOX")&&i(n,"required",!0)});t.add("remote",["url","type","additionalfields"],function(t){var r={url:t.params.url,type:t.params.type||"GET",data:{}},u=e(t.element.name);n.each(h(t.params.additionalfields||t.element.name),function(i,e){var s=o(e,u);r.data[s]=function(){var i=n(t.form).find(":input").filter("[name='"+f(s)+"']");return i.is(":checkbox")?i.filter(":checked").val()||i.filter(":hidden").val()||"":i.is(":radio")?i.filter(":checked").val()||"":i.val()}});i(t,"remote",r)});t.add("password",["min","nonalphamin","regex"],function(n){n.params.min&&i(n,"minlength",n.params.min);n.params.nonalphamin&&i(n,"nonalphamin",n.params.nonalphamin);n.params.regex&&i(n,"regex",n.params.regex)});n(function(){r.unobtrusive.parse(document)})}(jQuery);!function(n,t,i,r){function u(t,i){this.settings=null;this.options=n.extend({},u.Defaults,i);this.$element=n(t);this._handlers={};this._plugins={};this._supress={};this._current=null;this._speed=null;this._coordinates=[];this._breakpoint=null;this._width=null;this._items=[];this._clones=[];this._mergers=[];this._widths=[];this._invalidated={};this._pipe=[];this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null};this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};n.each(["onResize","onThrottledResize"],n.proxy(function(t,i){this._handlers[i]=n.proxy(this[i],this)},this));n.each(u.Plugins,n.proxy(function(n,t){this._plugins[n.charAt(0).toLowerCase()+n.slice(1)]=new t(this)},this));n.each(u.Workers,n.proxy(function(t,i){this._pipe.push({filter:i.filter,run:n.proxy(i.run,this)})},this));this.setup();this.initialize()}u.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"};u.Width={Default:"default",Inner:"inner",Outer:"outer"};u.Type={Event:"event",State:"state"};u.Plugins={};u.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(n){n.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(n){var t=this.settings.margin||"",u=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?t:"","margin-right":i?"":t};u||this.$stage.children().css(r);n.css=r}},{filter:["width","items","settings"],run:function(n){var r=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,t=null,i=this._items.length,f=!this.settings.autoWidth,u=[];for(n.items={merge:!1,width:r};i--;)t=this._mergers[i],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,n.items.merge=t>1||n.items.merge,u[i]=f?r*t:this._items[i].width();this._widths=u}},{filter:["items","settings"],run:function(){var t=[],i=this._items,r=this.settings,f=Math.max(2*r.items,4),s=2*Math.ceil(i.length/2),e=r.loop&&i.length?r.rewind?f:Math.max(f,s):0,o="",u="";for(e/=2;e--;)t.push(this.normalize(t.length/2,!0)),o+=i[t[t.length-1]][0].outerHTML,t.push(this.normalize(i.length-1-(t.length-1)/2,!0)),u=i[t[t.length-1]][0].outerHTML+u;this._clones=t;n(o).addClass("cloned").appendTo(this.$stage);n(u).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var u=this.settings.rtl?1:-1,f=this._clones.length+this._items.length,n=-1,i=0,r=0,t=[];++n<f;)i=t[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,t.push(i+r*u);this._coordinates=t}},{filter:["width","items","settings"],run:function(){var n=this.settings.stagePadding,t=this._coordinates,i={width:Math.ceil(Math.abs(t[t.length-1]))+2*n,"padding-left":n||"","padding-right":n||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(n){var t=this._coordinates.length,i=!this.settings.autoWidth,r=this.$stage.children();if(i&&n.items.merge)for(;t--;)n.css.width=this._widths[this.relative(t)],r.eq(t).css(n.css);else i&&(n.css.width=n.items.width,r.css(n.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(n){n.current=n.current?this.$stage.children().index(n.current):0;n.current=Math.max(this.minimum(),Math.min(this.maximum(),n.current));this.reset(n.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,i,f=this.settings.rtl?1:-1,e=2*this.settings.stagePadding,r=this.coordinates(this.current())+e,o=r+this.width()*f,s=[],n=0,u=this._coordinates.length;u>n;n++)t=this._coordinates[n-1]||0,i=Math.abs(this._coordinates[n])+e*f,(this.op(t,"<=",r)&&this.op(t,">",o)||this.op(i,"<",r)&&this.op(i,">",o))&&s.push(n);this.$stage.children(".active").removeClass("active");this.$stage.children(":eq("+s.join("), :eq(")+")").addClass("active");this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}];u.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,i,u;t=this.$element.find("img");i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r;u=this.$element.children(i).width();t.length&&0>=u&&this.preloadAutoWidthImages(t)}this.$element.addClass(this.options.loadingClass);this.$stage=n("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>');this.$element.append(this.$stage.parent());this.replace(this.$element.children().not(this.$stage.parent()));this.$element.is(":visible")?this.refresh():this.invalidate("width");this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass);this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};u.prototype.setup=function(){var u=this.viewport(),r=this.options.responsive,t=-1,i=null;r?(n.each(r,function(n){u>=n&&n>t&&(t=Number(n))}),i=n.extend({},this.options,r[t]),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+t))):i=n.extend({},this.options);null!==this.settings&&this._breakpoint===t||(this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=t,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))};u.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)};u.prototype.prepare=function(t){var i=this.trigger("prepare",{content:t});return i.data||(i.data=n("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:i.data}),i.data};u.prototype.update=function(){for(var t=0,i=this._pipe.length,r=n.proxy(function(n){return this[n]},this._invalidated),u={};i>t;)(this._invalidated.all||n.grep(this._pipe[t].filter,r).length>0)&&this._pipe[t].run(u),t++;this._invalidated={};this.is("valid")||this.enter("valid")};u.prototype.width=function(n){switch(n=n||u.Width.Default){case u.Width.Inner:case u.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}};u.prototype.refresh=function(){this.enter("refreshing");this.trigger("refresh");this.setup();this.optionsLogic();this.$element.addClass(this.options.refreshClass);this.update();this.$element.removeClass(this.options.refreshClass);this.leave("refreshing");this.trigger("refreshed")};u.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer);this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)};u.prototype.onResize=function(){return this._items.length?this._width===this.$element.width()?!1:this.$element.is(":visible")?(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized"))):!1:!1};u.prototype.registerEventHandlers=function(){n.support.transition&&this.$stage.on(n.support.transition.end+".owl.core",n.proxy(this.onTransitionEnd,this));this.settings.responsive!==!1&&this.on(t,"resize",this._handlers.onThrottledResize);this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",n.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1}));this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",n.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",n.proxy(this.onDragEnd,this)))};u.prototype.onDragStart=function(t){var r=null;3!==t.which&&(n.support.transform?(r=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),r={x:r[16===r.length?12:4],y:r[16===r.length?13:5]}):(r=this.$stage.position(),r={x:this.settings.rtl?r.left+this.$stage.width()-this.width()+this.settings.margin:r.left,y:r.top}),this.is("animating")&&(n.support.transform?this.animate(r.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=n(t.target),this._drag.stage.start=r,this._drag.stage.current=r,this._drag.pointer=this.pointer(t),n(i).on("mouseup.owl.core touchend.owl.core",n.proxy(this.onDragEnd,this)),n(i).one("mousemove.owl.core touchmove.owl.core",n.proxy(function(t){var r=this.difference(this._drag.pointer,this.pointer(t));n(i).on("mousemove.owl.core touchmove.owl.core",n.proxy(this.onDragMove,this));Math.abs(r.x)<Math.abs(r.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))};u.prototype.onDragMove=function(n){var t=null,i=null,u=null,f=this.difference(this._drag.pointer,this.pointer(n)),r=this.difference(this._drag.stage.start,f);this.is("dragging")&&(n.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-t,r.x=((r.x-t)%i+i)%i+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),u=this.settings.pullDrag?f.x/-5:0,r.x=Math.max(Math.min(r.x,t+u),i+u)),this._drag.stage.current=r,this.animate(r.x))};u.prototype.onDragEnd=function(t){var r=this.difference(this._drag.pointer,this.pointer(t)),f=this._drag.stage.current,u=r.x>0^this.settings.rtl?"left":"right";n(i).off(".owl.core");this.$element.removeClass(this.options.grabClass);(0!==r.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(f.x,0!==r.x?u:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=u,(Math.abs(r.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1}));this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))};u.prototype.closest=function(t,i){var r=-1,u=30,e=this.width(),f=this.coordinates();return this.settings.freeDrag||n.each(f,n.proxy(function(n,o){return"left"===i&&t>o-u&&o+u>t?r=n:"right"===i&&t>o-e-u&&o-e+u>t?r=n+1:this.op(t,"<",o)&&this.op(t,">",f[n+1]||o-e)&&(r="left"===i?n+1:n),-1===r},this)),this.settings.loop||(this.op(t,">",f[this.minimum()])?r=t=this.minimum():this.op(t,"<",f[this.maximum()])&&(r=t=this.maximum())),r};u.prototype.animate=function(t){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd();i&&(this.enter("animating"),this.trigger("translate"));n.support.transform3d&&n.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,n.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})};u.prototype.is=function(n){return this._states.current[n]&&this._states.current[n]>0};u.prototype.current=function(n){if(n===r)return this._current;if(0===this._items.length)return r;if(n=this.normalize(n),this._current!==n){var t=this.trigger("change",{property:{name:"position",value:n}});t.data!==r&&(n=this.normalize(t.data));this._current=n;this.invalidate("position");this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current};u.prototype.invalidate=function(t){return"string"===n.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),n.map(this._invalidated,function(n,t){return t})};u.prototype.reset=function(n){n=this.normalize(n);n!==r&&(this._speed=0,this._current=n,this.suppress(["translate","translated"]),this.animate(this.coordinates(n)),this.release(["translate","translated"]))};u.prototype.normalize=function(n,t){var i=this._items.length,u=t?0:this._clones.length;return!this.isNumeric(n)||1>i?n=r:(0>n||n>=i+u)&&(n=((n-u/2)%i+i)%i+u/2),n};u.prototype.relative=function(n){return n-=this._clones.length/2,this.normalize(n,!0)};u.prototype.maximum=function(n){var r,i=this.settings,t=this._coordinates.length,f=Math.abs(this._coordinates[t-1])-this._width,u=-1;if(i.loop)t=this._clones.length/2+this._items.length-1;else if(i.autoWidth||i.merge)for(;t-u>1;)Math.abs(this._coordinates[r=t+u>>1])<f?u=r:t=r;else t=i.center?this._items.length-1:this._items.length-i.items;return n&&(t-=this._clones.length/2),Math.max(t,0)};u.prototype.minimum=function(n){return n?0:this._clones.length/2};u.prototype.items=function(n){return n===r?this._items.slice():(n=this.normalize(n,!0),this._items[n])};u.prototype.mergers=function(n){return n===r?this._mergers.slice():(n=this.normalize(n,!0),this._mergers[n])};u.prototype.clones=function(t){var i=this._clones.length/2,f=i+this._items.length,u=function(n){return n%2==0?f+n/2:i-(n+1)/2};return t===r?n.map(this._clones,function(n,t){return u(t)}):n.map(this._clones,function(n,i){return n===t?u(i):null})};u.prototype.speed=function(n){return n!==r&&(this._speed=n),this._speed};u.prototype.coordinates=function(t){var i,f=1,u=t-1;return t===r?n.map(this._coordinates,n.proxy(function(n,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(f=-1,u=t+1),i=this._coordinates[t],i+=(this.width()-i+(this._coordinates[u]||0))/2*f):i=this._coordinates[u]||0,i=Math.ceil(i))};u.prototype.duration=function(n,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-n),1),6)*Math.abs(i||this.settings.smartSpeed)};u.prototype.to=function(n,t){var f=this.current(),r=null,i=n-this.relative(f),s=(i>0)-(0>i),e=this._items.length,o=this.minimum(),u=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>e/2&&(i+=-1*s*e),n=f+i,r=((n-o)%e+e)%e+o,r!==n&&u>=r-i&&r-i>0&&(f=r-i,n=r,this.reset(f))):this.settings.rewind?(u+=1,n=(n%u+u)%u):n=Math.max(o,Math.min(u,n));this.speed(this.duration(f,n,t));this.current(n);this.$element.is(":visible")&&this.update()};u.prototype.next=function(n){n=n||!1;this.to(this.relative(this.current())+1,n)};u.prototype.prev=function(n){n=n||!1;this.to(this.relative(this.current())-1,n)};u.prototype.onTransitionEnd=function(n){return n!==r&&(n.stopPropagation(),(n.target||n.srcElement||n.originalTarget)!==this.$stage.get(0))?!1:(this.leave("animating"),void this.trigger("translated"))};u.prototype.viewport=function(){var r;if(this.options.responsiveBaseElement!==t)r=n(this.options.responsiveBaseElement).width();else if(t.innerWidth)r=t.innerWidth;else{if(!i.documentElement||!i.documentElement.clientWidth)throw"Can not detect viewport width.";r=i.documentElement.clientWidth}return r};u.prototype.replace=function(t){this.$stage.empty();this._items=[];t&&(t=t instanceof jQuery?t:n(t));this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector));t.filter(function(){return 1===this.nodeType}).each(n.proxy(function(n,t){t=this.prepare(t);this.$stage.append(t);this._items.push(t);this._mergers.push(1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this));this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate("items")};u.prototype.add=function(t,i){var u=this.relative(this._current);i=i===r?this._items.length:this.normalize(i,!0);t=t instanceof jQuery?t:n(t);this.trigger("add",{content:t,position:i});t=this.prepare(t);0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[i-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[i].before(t),this._items.splice(i,0,t),this._mergers.splice(i,0,1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1));this._items[u]&&this.reset(this._items[u].index());this.invalidate("items");this.trigger("added",{content:t,position:i})};u.prototype.remove=function(n){n=this.normalize(n,!0);n!==r&&(this.trigger("remove",{content:this._items[n],position:n}),this._items[n].remove(),this._items.splice(n,1),this._mergers.splice(n,1),this.invalidate("items"),this.trigger("removed",{content:null,position:n}))};u.prototype.preloadAutoWidthImages=function(t){t.each(n.proxy(function(t,i){this.enter("pre-loading");i=n(i);n(new Image).one("load",n.proxy(function(n){i.attr("src",n.target.src);i.css("opacity",1);this.leave("pre-loading");!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))};u.prototype.destroy=function(){this.$element.off(".owl.core");this.$stage.off(".owl.core");n(i).off(".owl.core");this.settings.responsive!==!1&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize));for(var r in this._plugins)this._plugins[r].destroy();this.$stage.children(".cloned").remove();this.$stage.unwrap();this.$stage.children().contents().unwrap();this.$stage.children().unwrap();this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")};u.prototype.op=function(n,t,i){var r=this.settings.rtl;switch(t){case"<":return r?n>i:i>n;case">":return r?i>n:n>i;case">=":return r?i>=n:n>=i;case"<=":return r?n>=i:i>=n}};u.prototype.on=function(n,t,i,r){n.addEventListener?n.addEventListener(t,i,r):n.attachEvent&&n.attachEvent("on"+t,i)};u.prototype.off=function(n,t,i,r){n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent&&n.detachEvent("on"+t,i)};u.prototype.trigger=function(t,i,r){var o={item:{count:this._items.length,index:this.current()}},e=n.camelCase(n.grep(["on",t,r],function(n){return n}).join("-").toLowerCase()),f=n.Event([t,"owl",r||"carousel"].join(".").toLowerCase(),n.extend({relatedTarget:this},o,i));return this._supress[t]||(n.each(this._plugins,function(n,t){t.onTrigger&&t.onTrigger(f)}),this.register({type:u.Type.Event,name:t}),this.$element.trigger(f),this.settings&&"function"==typeof this.settings[e]&&this.settings[e].call(this,f)),f};u.prototype.enter=function(t){n.each([t].concat(this._states.tags[t]||[]),n.proxy(function(n,t){this._states.current[t]===r&&(this._states.current[t]=0);this._states.current[t]++},this))};u.prototype.leave=function(t){n.each([t].concat(this._states.tags[t]||[]),n.proxy(function(n,t){this._states.current[t]--},this))};u.prototype.register=function(t){if(t.type===u.Type.Event){if(n.event.special[t.name]||(n.event.special[t.name]={}),!n.event.special[t.name].owl){var i=n.event.special[t.name]._default;n.event.special[t.name]._default=function(n){return!i||!i.apply||n.namespace&&-1!==n.namespace.indexOf("owl")?n.namespace&&n.namespace.indexOf("owl")>-1:i.apply(this,arguments)};n.event.special[t.name].owl=!0}}else t.type===u.Type.State&&(this._states.tags[t.name]=this._states.tags[t.name]?this._states.tags[t.name].concat(t.tags):t.tags,this._states.tags[t.name]=n.grep(this._states.tags[t.name],n.proxy(function(i,r){return n.inArray(i,this._states.tags[t.name])===r},this)))};u.prototype.suppress=function(t){n.each(t,n.proxy(function(n,t){this._supress[t]=!0},this))};u.prototype.release=function(t){n.each(t,n.proxy(function(n,t){delete this._supress[t]},this))};u.prototype.pointer=function(n){var i={x:null,y:null};return n=n.originalEvent||n||t.event,n=n.touches&&n.touches.length?n.touches[0]:n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,n.pageX?(i.x=n.pageX,i.y=n.pageY):(i.x=n.clientX,i.y=n.clientY),i};u.prototype.isNumeric=function(n){return!isNaN(parseFloat(n))};u.prototype.difference=function(n,t){return{x:n.x-t.x,y:n.y-t.y}};n.fn.owlCarousel=function(t){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var f=n(this),r=f.data("owl.carousel");r||(r=new u(this,"object"==typeof t&&t),f.data("owl.carousel",r),n.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,i){r.register({type:u.Type.Event,name:i});r.$element.on(i+".owl.carousel.core",n.proxy(function(n){n.namespace&&n.relatedTarget!==this&&(this.suppress([i]),r[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},r))}));"string"==typeof t&&"_"!==t.charAt(0)&&r[t].apply(r,i)})};n.fn.owlCarousel.Constructor=u}(window.Zepto||window.jQuery,window,document),function(n,t){var i=function(t){this._core=t;this._interval=null;this._visible=null;this._handlers={"initialized.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoRefresh&&this.watch()},this)};this._core.options=n.extend({},i.Defaults,this._core.options);this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500};i.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=t.setInterval(n.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))};i.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())};i.prototype.destroy=function(){var n,i;t.clearInterval(this._interval);for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)};n.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(n,t,i,r){var u=function(t){this._core=t;this._loaded=[];this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":n.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var i=this._core.settings,f=i.center&&Math.ceil(i.items/2)||i.items,e=i.center&&-1*f||0,u=(t.property&&t.property.value!==r?t.property.value:this._core.current())+e,o=this._core.clones().length,s=n.proxy(function(n,t){this.load(t)},this);e++<f;)this.load(o/2+this._core.relative(u)),o&&n.each(this._core.clones(this._core.relative(u)),s),u++},this)};this._core.options=n.extend({},u.Defaults,this._core.options);this._core.$element.on(this._handlers)};u.Defaults={lazyLoad:!1};u.prototype.load=function(i){var r=this._core.$stage.children().eq(i),u=r&&r.find(".owl-lazy");!u||n.inArray(r.get(0),this._loaded)>-1||(u.each(n.proxy(function(i,r){var e,u=n(r),f=t.devicePixelRatio>1&&u.attr("data-src-retina")||u.attr("data-src");this._core.trigger("load",{element:u,url:f},"lazy");u.is("img")?u.one("load.owl.lazy",n.proxy(function(){u.css("opacity",1);this._core.trigger("loaded",{element:u,url:f},"lazy")},this)).attr("src",f):(e=new Image,e.onload=n.proxy(function(){u.css({"background-image":"url("+f+")",opacity:"1"});this._core.trigger("loaded",{element:u,url:f},"lazy")},this),e.src=f)},this)),this._loaded.push(r.get(0)))};u.prototype.destroy=function(){var n,t;for(n in this.handlers)this._core.$element.off(n,this.handlers[n]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.Lazy=u}(window.Zepto||window.jQuery,window,document),function(n){var t=function(i){this._core=i;this._handlers={"initialized.owl.carousel refreshed.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoHeight&&"position"==n.property.name&&this.update()},this),"loaded.owl.lazy":n.proxy(function(n){n.namespace&&this._core.settings.autoHeight&&n.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)};this._core.options=n.extend({},t.Defaults,this._core.options);this._core.$element.on(this._handlers)};t.Defaults={autoHeight:!1,autoHeightClass:"owl-height"};t.prototype.update=function(){var t=this._core._current,u=t+this._core.settings.items,f=this._core.$stage.children().toArray().slice(t,u),i=[],r=0;n.each(f,function(t,r){i.push(n(r).height())});r=Math.max.apply(null,i);this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)};t.prototype.destroy=function(){var n,t;for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.AutoHeight=t}(window.Zepto||window.jQuery,window,document),function(n,t,i){var r=function(t){this._core=t;this._videos={};this._playing=null;this._handlers={"initialized.owl.carousel":n.proxy(function(n){n.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.video&&this.isInFullScreen()&&n.preventDefault()},this),"refreshed.owl.carousel":n.proxy(function(n){n.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":n.proxy(function(n){n.namespace&&"position"===n.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var i=n(t.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,n(t.content)))}},this)};this._core.options=n.extend({},r.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on("click.owl.video",".owl-video-play-icon",n.proxy(function(n){this.play(n)},this))};r.Defaults={video:!1,videoHeight:!1,videoWidth:!1};r.prototype.fetch=function(n,t){var u=function(){return n.attr("data-vimeo-id")?"vimeo":n.attr("data-vzaar-id")?"vzaar":"youtube"}(),i=n.attr("data-vimeo-id")||n.attr("data-youtube-id")||n.attr("data-vzaar-id"),f=n.attr("data-width")||this._core.settings.videoWidth,e=n.attr("data-height")||this._core.settings.videoHeight,r=n.attr("href");if(!r)throw new Error("Missing video URL.");if(i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),i[3].indexOf("youtu")>-1)u="youtube";else if(i[3].indexOf("vimeo")>-1)u="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");u="vzaar"}i=i[6];this._videos[r]={type:u,id:i,width:f,height:e};t.attr("data-video",r);this.thumbnail(n,this._videos[r])};r.prototype.thumbnail=function(t,i){var o,s,r,c=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",f=t.find("img"),e="src",h="",l=this._core.settings,u=function(n){s='<div class="owl-video-play-icon"><\/div>';o=l.lazyLoad?'<div class="owl-video-tn '+h+'" '+e+'="'+n+'"><\/div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+n+')"><\/div>';t.after(o);t.after(s)};return t.wrap('<div class="owl-video-wrapper"'+c+"><\/div>"),this._core.settings.lazyLoad&&(e="data-src",h="owl-lazy"),f.length?(u(f.attr(e)),f.remove(),!1):void("youtube"===i.type?(r="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(r)):"vimeo"===i.type?n.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(n){r=n[0].thumbnail_large;u(r)}}):"vzaar"===i.type&&n.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(n){r=n.framegrab_url;u(r)}}))};r.prototype.stop=function(){this._core.trigger("stop",null,"video");this._playing.find(".owl-video-frame").remove();this._playing.removeClass("owl-video-playing");this._playing=null;this._core.leave("playing");this._core.trigger("stopped",null,"video")};r.prototype.play=function(t){var u,o=n(t.target),r=o.closest("."+this._core.settings.itemClass),i=this._videos[r.attr("data-video")],f=i.width||"100%",e=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),r=this._core.items(this._core.relative(r.index())),this._core.reset(r.index()),"youtube"===i.type?u='<iframe width="'+f+'" height="'+e+'" src="//www.youtube.com/embed/'+i.id+"?autoplay=1&v="+i.id+'" frameborder="0" allowfullscreen><\/iframe>':"vimeo"===i.type?u='<iframe src="//player.vimeo.com/video/'+i.id+'?autoplay=1" width="'+f+'" height="'+e+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe>':"vzaar"===i.type&&(u='<iframe frameborder="0"height="'+e+'"width="'+f+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+i.id+'/player?autoplay=true"><\/iframe>'),n('<div class="owl-video-frame">'+u+"<\/div>").insertAfter(r.find(".owl-video")),this._playing=r.addClass("owl-video-playing"))};r.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&n(t).parent().hasClass("owl-video-frame")};r.prototype.destroy=function(){var n,t;this._core.$element.off("click.owl.video");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.Video=r}(window.Zepto||window.jQuery,window,document),function(n,t,i,r){var u=function(t){this.core=t;this.core.options=n.extend({},u.Defaults,this.core.options);this.swapping=!0;this.previous=r;this.next=r;this.handlers={"change.owl.carousel":n.proxy(function(n){n.namespace&&"position"==n.property.name&&(this.previous=this.core.current(),this.next=n.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":n.proxy(function(n){n.namespace&&(this.swapping="translated"==n.type)},this),"translate.owl.carousel":n.proxy(function(n){n.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)};this.core.$element.on(this.handlers)};u.Defaults={animateOut:!1,animateIn:!1};u.prototype.swap=function(){if(1===this.core.settings.items&&n.support.animation&&n.support.transition){this.core.speed(0);var t,i=n.proxy(this.clear,this),f=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,u=this.core.settings.animateOut;this.core.current()!==this.previous&&(u&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),f.one(n.support.animation.end,i).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(u)),r&&e.one(n.support.animation.end,i).addClass("animated owl-animated-in").addClass(r))}};u.prototype.clear=function(t){n(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);this.core.onTransitionEnd()};u.prototype.destroy=function(){var n,t;for(n in this.handlers)this.core.$element.off(n,this.handlers[n]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.Animate=u}(window.Zepto||window.jQuery,window,document),function(n,t,i){var r=function(t){this._core=t;this._timeout=null;this._paused=!1;this._handlers={"changed.owl.carousel":n.proxy(function(n){n.namespace&&"settings"===n.property.name?this._core.settings.autoplay?this.play():this.stop():n.namespace&&"position"===n.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(n,t,i){n.namespace&&this.play(t,i)},this),"stop.owl.autoplay":n.proxy(function(n){n.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)};this._core.$element.on(this._handlers);this._core.options=n.extend({},r.Defaults,this._core.options)};r.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1};r.prototype.play=function(){this._paused=!1;this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())};r.prototype._getNextTimeout=function(r,u){return this._timeout&&t.clearTimeout(this._timeout),t.setTimeout(n.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(u||this._core.settings.autoplaySpeed)},this),r||this._core.settings.autoplayTimeout)};r.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()};r.prototype.stop=function(){this._core.is("rotating")&&(t.clearTimeout(this._timeout),this._core.leave("rotating"))};r.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)};r.prototype.destroy=function(){var n,t;this.stop();for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.autoplay=r}(window.Zepto||window.jQuery,window,document),function(n){"use strict";var t=function(i){this._core=i;this._initialized=!1;this._pages=[];this._controls={};this._templates=[];this.$element=this._core.$element;this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to};this._handlers={"prepared.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+n(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"<\/div>")},this),"added.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.dotsData&&this._templates.splice(n.position,0,this._templates.pop())},this),"remove.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.dotsData&&this._templates.splice(n.position,1)},this),"changed.owl.carousel":n.proxy(function(n){n.namespace&&"position"==n.property.name&&this.draw()},this),"initialized.owl.carousel":n.proxy(function(n){n.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":n.proxy(function(n){n.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)};this._core.options=n.extend({},t.Defaults,this._core.options);this.$element.on(this._handlers)};t.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1};t.prototype.initialize=function(){var i,t=this._core.settings;this._controls.$relative=(t.navContainer?n(t.navContainer):n("<div>").addClass(t.navContainerClass).appendTo(this.$element)).addClass("disabled");this._controls.$previous=n("<"+t.navElement+">").addClass(t.navClass[0]).html(t.navText[0]).prependTo(this._controls.$relative).on("click",n.proxy(function(){this.prev(t.navSpeed)},this));this._controls.$next=n("<"+t.navElement+">").addClass(t.navClass[1]).html(t.navText[1]).appendTo(this._controls.$relative).on("click",n.proxy(function(){this.next(t.navSpeed)},this));t.dotsData||(this._templates=[n("<div>").addClass(t.dotClass).append(n("<span>")).prop("outerHTML")]);this._controls.$absolute=(t.dotsContainer?n(t.dotsContainer):n("<div>").addClass(t.dotsClass).appendTo(this.$element)).addClass("disabled");this._controls.$absolute.on("click","div",n.proxy(function(i){var r=n(i.target).parent().is(this._controls.$absolute)?n(i.target).index():n(i.target).parent().index();i.preventDefault();this.to(r,t.dotsSpeed)},this));for(i in this._overrides)this._core[i]=n.proxy(this[i],this)};t.prototype.destroy=function(){var n,r,t,i;for(n in this._handlers)this.$element.off(n,this._handlers[n]);for(r in this._controls)this._controls[r].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)};t.prototype.update=function(){var t,i,f,r=this._core.clones().length/2,o=r+this._core.items().length,u=this._core.maximum(!0),n=this._core.settings,e=n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items;if("page"!==n.slideBy&&(n.slideBy=Math.min(n.slideBy,n.items)),n.dots||"page"==n.slideBy)for(this._pages=[],t=r,i=0,f=0;o>t;t++){if(i>=e||0===i){if(this._pages.push({start:Math.min(u,t-r),end:t-r+e-1}),Math.min(u,t-r)===u)break;i=0;++f}i+=this._core.mergers(this._core.relative(t))}};t.prototype.draw=function(){var i,t=this._core.settings,r=this._core.items().length<=t.items,u=this._core.relative(this._core.current()),f=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||r);t.nav&&(this._controls.$previous.toggleClass("disabled",!f&&u<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&u>=this._core.maximum(!0)));this._controls.$absolute.toggleClass("disabled",!t.dots||r);t.dots&&(i=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&0!==i?this._controls.$absolute.html(this._templates.join("")):i>0?this._controls.$absolute.append(new Array(i+1).join(this._templates[0])):0>i&&this._controls.$absolute.children().slice(i).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(n.inArray(this.current(),this._pages)).addClass("active"))};t.prototype.onTrigger=function(t){var i=this._core.settings;t.page={index:n.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}};t.prototype.current=function(){var t=this._core.relative(this._core.current());return n.grep(this._pages,n.proxy(function(n){return n.start<=t&&n.end>=t},this)).pop()};t.prototype.getPosition=function(t){var i,r,u=this._core.settings;return"page"==u.slideBy?(i=n.inArray(this.current(),this._pages),r=this._pages.length,t?++i:--i,i=this._pages[(i%r+r)%r].start):(i=this._core.relative(this._core.current()),r=this._core.items().length,t?i+=u.slideBy:i-=u.slideBy),i};t.prototype.next=function(t){n.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)};t.prototype.prev=function(t){n.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)};t.prototype.to=function(t,i,r){var u;!r&&this._pages.length?(u=this._pages.length,n.proxy(this._overrides.to,this._core)(this._pages[(t%u+u)%u].start,i)):n.proxy(this._overrides.to,this._core)(t,i)};n.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,window,document),function(n,t,i,r){"use strict";var u=function(i){this._core=i;this._hashes={};this.$element=this._core.$element;this._handlers={"initialized.owl.carousel":n.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&n(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var i=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=t.content}},this),"changed.owl.carousel":n.proxy(function(i){if(i.namespace&&"position"===i.property.name){var u=this._core.items(this._core.relative(this._core.current())),r=n.map(this._hashes,function(n,t){return n===u?t:null}).join();if(!r||t.location.hash.slice(1)===r)return;t.location.hash=r}},this)};this._core.options=n.extend({},u.Defaults,this._core.options);this.$element.on(this._handlers);n(t).on("hashchange.owl.navigation",n.proxy(function(){var i=t.location.hash.substring(1),u=this._core.$stage.children(),n=this._hashes[i]&&u.index(this._hashes[i]);n!==r&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};u.Defaults={URLhashListener:!1};u.prototype.destroy=function(){var i,r;n(t).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(r in Object.getOwnPropertyNames(this))"function"!=typeof this[r]&&(this[r]=null)};n.fn.owlCarousel.Constructor.Plugins.Hash=u}(window.Zepto||window.jQuery,window,document),function(n,t,i,r){function u(t,i){var u=!1,f=t.charAt(0).toUpperCase()+t.slice(1);return n.each((t+" "+h.join(f+" ")+f).split(" "),function(n,t){if(s[t]!==r)return(u=i?t:!0,!1)}),u}function e(n){return u(n,!0)}var s=n("<support>").get(0).style,h="Webkit Moz O ms".split(" "),o={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},f={csstransforms:function(){return!!u("transform")},csstransforms3d:function(){return!!u("perspective")},csstransitions:function(){return!!u("transition")},cssanimations:function(){return!!u("animation")}};f.csstransitions()&&(n.support.transition=new String(e("transition")),n.support.transition.end=o.transition.end[n.support.transition]);f.cssanimations()&&(n.support.animation=new String(e("animation")),n.support.animation.end=o.animation.end[n.support.animation]);f.csstransforms()&&(n.support.transform=new String(e("transform")),n.support.transform3d=f.csstransforms3d())}(window.Zepto||window.jQuery,window,document);!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?module.exports=n:n(jQuery)}(function(n){function u(r){var u=r||window.event,w=c.call(arguments,1),l=0,s=0,e=0,a=0,b=0,k=0,v,y,p;if(r=n.event.fix(u),r.type="mousewheel","detail"in u&&(e=-1*u.detail),"wheelDelta"in u&&(e=u.wheelDelta),"wheelDeltaY"in u&&(e=u.wheelDeltaY),"wheelDeltaX"in u&&(s=-1*u.wheelDeltaX),"axis"in u&&u.axis===u.HORIZONTAL_AXIS&&(s=-1*e,e=0),l=0===e?s:e,"deltaY"in u&&(e=-1*u.deltaY,l=e),"deltaX"in u&&(s=u.deltaX,0===e&&(l=-1*s)),0!==e||0!==s)return 1===u.deltaMode?(v=n.data(this,"mousewheel-line-height"),l*=v,e*=v,s*=v):2===u.deltaMode&&(y=n.data(this,"mousewheel-page-height"),l*=y,e*=y,s*=y),(a=Math.max(Math.abs(e),Math.abs(s)),(!t||t>a)&&(t=a,o(u,a)&&(t/=40)),o(u,a)&&(l/=40,s/=40,e/=40),l=Math[l>=1?"floor":"ceil"](l/t),s=Math[s>=1?"floor":"ceil"](s/t),e=Math[e>=1?"floor":"ceil"](e/t),i.settings.normalizeOffset&&this.getBoundingClientRect)&&(p=this.getBoundingClientRect(),b=r.clientX-p.left,k=r.clientY-p.top),r.deltaX=s,r.deltaY=e,r.deltaFactor=t,r.offsetX=b,r.offsetY=k,r.deltaMode=0,w.unshift(r,l,s,e),f&&clearTimeout(f),f=setTimeout(h,200),(n.event.dispatch||n.event.handle).apply(this,w)}function h(){t=null}function o(n,t){return i.settings.adjustOldDeltas&&"mousewheel"===n.type&&t%120==0}var f,t,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],c=Array.prototype.slice,e,i;if(n.event.fixHooks)for(e=s.length;e;)n.event.fixHooks[s[--e]]=n.event.mouseHooks;i=n.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=r.length;t;)this.addEventListener(r[--t],u,!1);else this.onmousewheel=u;n.data(this,"mousewheel-line-height",i.getLineHeight(this));n.data(this,"mousewheel-page-height",i.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=r.length;t;)this.removeEventListener(r[--t],u,!1);else this.onmousewheel=null;n.removeData(this,"mousewheel-line-height");n.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var r=n(t),i=r["offsetParent"in n.fn?"offsetParent":"parent"]();return i.length||(i=n("body")),parseInt(i.css("fontSize"),10)||parseInt(r.css("fontSize"),10)||16},getPageHeight:function(t){return n(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};n.fn.extend({mousewheel:function(n){return n?this.bind("mousewheel",n):this.trigger("mousewheel")},unmousewheel:function(n){return this.unbind("mousewheel",n)}})});!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?module.exports=n:n(jQuery)}(function(n){function u(r){var u=r||window.event,w=c.call(arguments,1),l=0,s=0,e=0,a=0,b=0,k=0,v,y,p;if(r=n.event.fix(u),r.type="mousewheel","detail"in u&&(e=-1*u.detail),"wheelDelta"in u&&(e=u.wheelDelta),"wheelDeltaY"in u&&(e=u.wheelDeltaY),"wheelDeltaX"in u&&(s=-1*u.wheelDeltaX),"axis"in u&&u.axis===u.HORIZONTAL_AXIS&&(s=-1*e,e=0),l=0===e?s:e,"deltaY"in u&&(e=-1*u.deltaY,l=e),"deltaX"in u&&(s=u.deltaX,0===e&&(l=-1*s)),0!==e||0!==s)return 1===u.deltaMode?(v=n.data(this,"mousewheel-line-height"),l*=v,e*=v,s*=v):2===u.deltaMode&&(y=n.data(this,"mousewheel-page-height"),l*=y,e*=y,s*=y),(a=Math.max(Math.abs(e),Math.abs(s)),(!t||t>a)&&(t=a,o(u,a)&&(t/=40)),o(u,a)&&(l/=40,s/=40,e/=40),l=Math[l>=1?"floor":"ceil"](l/t),s=Math[s>=1?"floor":"ceil"](s/t),e=Math[e>=1?"floor":"ceil"](e/t),i.settings.normalizeOffset&&this.getBoundingClientRect)&&(p=this.getBoundingClientRect(),b=r.clientX-p.left,k=r.clientY-p.top),r.deltaX=s,r.deltaY=e,r.deltaFactor=t,r.offsetX=b,r.offsetY=k,r.deltaMode=0,w.unshift(r,l,s,e),f&&clearTimeout(f),f=setTimeout(h,200),(n.event.dispatch||n.event.handle).apply(this,w)}function h(){t=null}function o(n,t){return i.settings.adjustOldDeltas&&"mousewheel"===n.type&&t%120==0}var f,t,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],c=Array.prototype.slice,e,i;if(n.event.fixHooks)for(e=s.length;e;)n.event.fixHooks[s[--e]]=n.event.mouseHooks;i=n.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=r.length;t;)this.addEventListener(r[--t],u,!1);else this.onmousewheel=u;n.data(this,"mousewheel-line-height",i.getLineHeight(this));n.data(this,"mousewheel-page-height",i.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=r.length;t;)this.removeEventListener(r[--t],u,!1);else this.onmousewheel=null;n.removeData(this,"mousewheel-line-height");n.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var r=n(t),i=r["offsetParent"in n.fn?"offsetParent":"parent"]();return i.length||(i=n("body")),parseInt(i.css("fontSize"),10)||parseInt(r.css("fontSize"),10)||16},getPageHeight:function(t){return n(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};n.fn.extend({mousewheel:function(n){return n?this.bind("mousewheel",n):this.trigger("mousewheel")},unmousewheel:function(n){return this.unbind("mousewheel",n)}})});!function(n){"undefined"!=typeof module&&module.exports?module.exports=n:n(jQuery,window,document)}(function(n){!function(t){var i="function"==typeof define&&define.amd,r="undefined"!=typeof module&&module.exports,u="https:"==document.location.protocol?"https:":"http:";i||(r?require("jquery-mousewheel")(n):n.event.special.mousewheel||n("head").append(decodeURI("%3Cscript src="+u+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E")));t()}(function(){var h,c="mCustomScrollbar",t="mCS",it=".mCustomScrollbar",et={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},vt=0,b={},p=window.attachEvent&&!window.addEventListener?1:0,f=!1,i=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],s={init:function(r){var r=n.extend(!0,{},et,r),e=v.call(this),u,f;if(r.live){if(u=r.liveSelector||this.selector||it,f=n(u),"off"===r.live)return void k(u);b[u]=setTimeout(function(){f.mCustomScrollbar(r);"once"===r.live&&f.length&&k(u)},500)}else k(u);return r.setWidth=r.set_width?r.set_width:r.setWidth,r.setHeight=r.set_height?r.set_height:r.setHeight,r.axis=r.horizontalScroll?"x":yt(r.axis),r.scrollInertia=r.scrollInertia>0&&r.scrollInertia<17?17:r.scrollInertia,"object"!=typeof r.mouseWheel&&1==r.mouseWheel&&(r.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),r.mouseWheel.scrollAmount=r.mouseWheelPixels?r.mouseWheelPixels:r.mouseWheel.scrollAmount,r.mouseWheel.normalizeDelta=r.advanced.normalizeMouseWheelDelta?r.advanced.normalizeMouseWheelDelta:r.mouseWheel.normalizeDelta,r.scrollButtons.scrollType=pt(r.scrollButtons.scrollType),ot(r),n(e).each(function(){var u=n(this);if(!u.data(t)){u.data(t,{idx:++vt,opt:r,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:u.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var e=u.data(t),f=e.opt,o=u.data("mcs-axis"),h=u.data("mcs-scrollbar-position"),c=u.data("mcs-theme");o&&(f.axis=o);h&&(f.scrollbarPosition=h);c&&(f.theme=c,ot(f));wt.call(this);e&&f.callbacks.onCreate&&"function"==typeof f.callbacks.onCreate&&f.callbacks.onCreate.call(this);n("#mCSB_"+e.idx+"_container img:not(."+i[2]+")").addClass(i[2]);s.update.call(null,u)}})},update:function(r,f){var e=r||v.call(this);return n(e).each(function(){var s=n(this),c;if(s.data(t)){var e=s.data(t),r=e.opt,h=n("#mCSB_"+e.idx+"_container"),a=n("#mCSB_"+e.idx),l=[n("#mCSB_"+e.idx+"_dragger_vertical"),n("#mCSB_"+e.idx+"_dragger_horizontal")];if(!h.length)return;e.tweenRunning&&o(s);f&&e&&r.callbacks.onBeforeUpdate&&"function"==typeof r.callbacks.onBeforeUpdate&&r.callbacks.onBeforeUpdate.call(this);s.hasClass(i[3])&&s.removeClass(i[3]);s.hasClass(i[4])&&s.removeClass(i[4]);a.css("max-height","none");a.height()!==s.height()&&a.css("max-height",s.height());bt.call(this);"y"===r.axis||r.advanced.autoExpandHorizontalScroll||h.css("width",st(h));e.overflowed=ni.call(this);ht.call(this);r.autoDraggerLength&&dt.call(this);gt.call(this);ti.call(this);c=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)];"x"!==r.axis&&(e.overflowed[0]?l[0].height()>l[0].parent().height()?y.call(this):(u(s,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),e.contentReset.y=null):(y.call(this),"y"===r.axis?g.call(this):"yx"===r.axis&&e.overflowed[1]&&u(s,c[1].toString(),{dir:"x",dur:0,overwrite:"none"})));"y"!==r.axis&&(e.overflowed[1]?l[1].width()>l[1].parent().width()?y.call(this):(u(s,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),e.contentReset.x=null):(y.call(this),"x"===r.axis?g.call(this):"yx"===r.axis&&e.overflowed[0]&&u(s,c[0].toString(),{dir:"y",dur:0,overwrite:"none"})));f&&e&&(2===f&&r.callbacks.onImageLoad&&"function"==typeof r.callbacks.onImageLoad?r.callbacks.onImageLoad.call(this):3===f&&r.callbacks.onSelectorChange&&"function"==typeof r.callbacks.onSelectorChange?r.callbacks.onSelectorChange.call(this):r.callbacks.onUpdate&&"function"==typeof r.callbacks.onUpdate&&r.callbacks.onUpdate.call(this));ft.call(this)}})},scrollTo:function(i,r){if("undefined"!=typeof i&&null!=i){var f=v.call(this);return n(f).each(function(){var s=n(this);if(s.data(t)){var o=s.data(t),h=o.opt,c={trigger:"external",scrollInertia:h.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},f=n.extend(!0,{},c,r),e=ut.call(this,i),l=f.scrollInertia>0&&f.scrollInertia<17?17:f.scrollInertia;e[0]=ct.call(this,e[0],"y");e[1]=ct.call(this,e[1],"x");f.moveDragger&&(e[0]*=o.scrollRatio.y,e[1]*=o.scrollRatio.x);f.dur=yi()?0:l;setTimeout(function(){null!==e[0]&&"undefined"!=typeof e[0]&&"x"!==h.axis&&o.overflowed[0]&&(f.dir="y",f.overwrite="all",u(s,e[0].toString(),f));null!==e[1]&&"undefined"!=typeof e[1]&&"y"!==h.axis&&o.overflowed[1]&&(f.dir="x",f.overwrite="none",u(s,e[1].toString(),f))},f.timeout)}})}},stop:function(){var i=v.call(this);return n(i).each(function(){var i=n(this);i.data(t)&&o(i)})},disable:function(r){var u=v.call(this);return n(u).each(function(){var u=n(this);u.data(t)&&(u.data(t),ft.call(this,"remove"),g.call(this),r&&y.call(this),ht.call(this,!0),u.addClass(i[3]))})},destroy:function(){var r=v.call(this);return n(r).each(function(){var f=n(this);if(f.data(t)){var u=f.data(t),e=u.opt,s=n("#mCSB_"+u.idx),o=n("#mCSB_"+u.idx+"_container"),h=n(".mCSB_"+u.idx+"_scrollbar");e.live&&k(e.liveSelector||n(r).selector);ft.call(this,"remove");g.call(this);y.call(this);f.removeData(t);a(this,"mcs");h.remove();o.find("img."+i[2]).removeClass(i[2]);s.replaceWith(o.contents());f.removeClass(c+" _"+t+"_"+u.idx+" "+i[6]+" "+i[7]+" "+i[5]+" "+i[3]).addClass(i[4])}})}},v=function(){return"object"!=typeof n(this)||n(this).length<1?it:this},ot=function(t){t.autoDraggerLength=n.inArray(t.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"])>-1?!1:t.autoDraggerLength;t.autoExpandScrollbar=n.inArray(t.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"])>-1?!1:t.autoExpandScrollbar;t.scrollButtons.enable=n.inArray(t.theme,["minimal","minimal-dark"])>-1?!1:t.scrollButtons.enable;t.autoHideScrollbar=n.inArray(t.theme,["minimal","minimal-dark"])>-1?!0:t.autoHideScrollbar;t.scrollbarPosition=n.inArray(t.theme,["minimal","minimal-dark"])>-1?"outside":t.scrollbarPosition},k=function(n){b[n]&&(clearTimeout(b[n]),a(b,n))},yt=function(n){return"yx"===n||"xy"===n||"auto"===n?"yx":"x"===n||"horizontal"===n?"x":"y"},pt=function(n){return"stepped"===n||"pixels"===n||"step"===n||"click"===n?"stepped":"stepless"},wt=function(){var f=n(this),u=f.data(t),r=u.opt,l=r.autoExpandScrollbar?" "+i[1]+"_expand":"",o=["<div id='mCSB_"+u.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+u.idx+"_scrollbar mCS-"+r.theme+" mCSB_scrollTools_vertical"+l+"'><div class='"+i[12]+"'><div id='mCSB_"+u.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /><\/div><div class='mCSB_draggerRail' /><\/div><\/div>","<div id='mCSB_"+u.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+u.idx+"_scrollbar mCS-"+r.theme+" mCSB_scrollTools_horizontal"+l+"'><div class='"+i[12]+"'><div id='mCSB_"+u.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /><\/div><div class='mCSB_draggerRail' /><\/div><\/div>"],v="yx"===r.axis?"mCSB_vertical_horizontal":"x"===r.axis?"mCSB_horizontal":"mCSB_vertical",a="yx"===r.axis?o[0]+o[1]:"x"===r.axis?o[1]:o[0],y="yx"===r.axis?"<div id='mCSB_"+u.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",p=r.autoHideScrollbar?" "+i[6]:"",w="x"!==r.axis&&"rtl"===u.langDir?" "+i[7]:"",h,s,e;r.setWidth&&f.css("width",r.setWidth);r.setHeight&&f.css("height",r.setHeight);r.setLeft="y"!==r.axis&&"rtl"===u.langDir?"989999px":r.setLeft;f.addClass(c+" _"+t+"_"+u.idx+p+w).wrapInner("<div id='mCSB_"+u.idx+"' class='mCustomScrollBox mCS-"+r.theme+" "+v+"'><div id='mCSB_"+u.idx+"_container' class='mCSB_container' style='position:relative; top:"+r.setTop+"; left:"+r.setLeft+";' dir="+u.langDir+" /><\/div>");h=n("#mCSB_"+u.idx);s=n("#mCSB_"+u.idx+"_container");"y"===r.axis||r.advanced.autoExpandHorizontalScroll||s.css("width",st(s));"outside"===r.scrollbarPosition?("static"===f.css("position")&&f.css("position","relative"),f.css("overflow","visible"),h.addClass("mCSB_outside").after(a)):(h.addClass("mCSB_inside").append(a),s.wrap(y));kt.call(this);e=[n("#mCSB_"+u.idx+"_dragger_vertical"),n("#mCSB_"+u.idx+"_dragger_horizontal")];e[0].css("min-height",e[0].height());e[1].css("min-width",e[1].width())},st=function(t){var i=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return n(this).outerWidth(!0)}).get())],r=t.parent().width();return i[0]>r?i[0]:i[1]>r?i[1]:"100%"},bt=function(){var e=n(this),f=e.data(t),r=f.opt,i=n("#mCSB_"+f.idx+"_container"),u;r.advanced.autoExpandHorizontalScroll&&"y"!==r.axis&&(i.css({width:"auto","min-width":0,"overflow-x":"scroll"}),u=Math.ceil(i[0].scrollWidth),3===r.advanced.autoExpandHorizontalScroll||2!==r.advanced.autoExpandHorizontalScroll&&u>i.parent().width()?i.css({width:u,"min-width":"100%","overflow-x":"inherit"}):i.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(i[0].getBoundingClientRect().right+.4)-Math.floor(i[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap())},kt=function(){var s=n(this),o=s.data(t),u=o.opt,h=n(".mCSB_"+o.idx+"_scrollbar:first"),f=tt(u.scrollButtons.tabindex)?"tabindex='"+u.scrollButtons.tabindex+"'":"",r=["<a href='#' class='"+i[13]+"' oncontextmenu='return false;' "+f+" />","<a href='#' class='"+i[14]+"' oncontextmenu='return false;' "+f+" />","<a href='#' class='"+i[15]+"' oncontextmenu='return false;' "+f+" />","<a href='#' class='"+i[16]+"' oncontextmenu='return false;' "+f+" />"],e=["x"===u.axis?r[2]:r[0],"x"===u.axis?r[3]:r[1],r[2],r[3]];u.scrollButtons.enable&&h.prepend(e[0]).append(e[1]).next(".mCSB_scrollTools").prepend(e[2]).append(e[3])},dt=function(){var s=n(this),u=s.data(t),f=n("#mCSB_"+u.idx),e=n("#mCSB_"+u.idx+"_container"),r=[n("#mCSB_"+u.idx+"_dragger_vertical"),n("#mCSB_"+u.idx+"_dragger_horizontal")],o=[f.height()/e.outerHeight(!1),f.width()/e.outerWidth(!1)],i=[parseInt(r[0].css("min-height")),Math.round(o[0]*r[0].parent().height()),parseInt(r[1].css("min-width")),Math.round(o[1]*r[1].parent().width())],h=p&&i[1]<i[0]?i[0]:i[1],c=p&&i[3]<i[2]?i[2]:i[3];r[0].css({height:h,"max-height":r[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":i[0]+"px"});r[1].css({width:c,"max-width":r[1].parent().width()-10})},gt=function(){var s=n(this),i=s.data(t),u=n("#mCSB_"+i.idx),f=n("#mCSB_"+i.idx+"_container"),r=[n("#mCSB_"+i.idx+"_dragger_vertical"),n("#mCSB_"+i.idx+"_dragger_horizontal")],e=[f.outerHeight(!1)-u.height(),f.outerWidth(!1)-u.width()],o=[e[0]/(r[0].parent().height()-r[0].height()),e[1]/(r[1].parent().width()-r[1].width())];i.scrollRatio={y:o[0],x:o[1]}},d=function(n,t,r){var f=r?i[0]+"_expanded":"",u=n.closest(".mCSB_scrollTools");"active"===t?(n.toggleClass(i[0]+" "+f),u.toggleClass(i[1]),n[0]._draggable=n[0]._draggable?0:1):n[0]._draggable||("hide"===t?(n.removeClass(i[0]),u.removeClass(i[1])):(n.addClass(i[0]),u.addClass(i[1])))},ni=function(){var h=n(this),r=h.data(t),e=n("#mCSB_"+r.idx),i=n("#mCSB_"+r.idx+"_container"),u=null==r.overflowed?i.height():i.outerHeight(!1),f=null==r.overflowed?i.width():i.outerWidth(!1),o=i[0].scrollHeight,s=i[0].scrollWidth;return o>u&&(u=o),s>f&&(f=s),[u>e.height(),f>e.width()]},y=function(){var r=n(this),i=r.data(t),f=i.opt,c=n("#mCSB_"+i.idx),s=n("#mCSB_"+i.idx+"_container"),h=[n("#mCSB_"+i.idx+"_dragger_vertical"),n("#mCSB_"+i.idx+"_dragger_horizontal")],e;(o(r),("x"!==f.axis&&!i.overflowed[0]||"y"===f.axis&&i.overflowed[0])&&(h[0].add(s).css("top",0),u(r,"_resetY")),"y"!==f.axis&&!i.overflowed[1]||"x"===f.axis&&i.overflowed[1])&&(e=dx=0,"rtl"===i.langDir&&(e=c.width()-s.outerWidth(!1),dx=Math.abs(e/i.scrollRatio.x)),s.css("left",e),h[1].css("left",dx),u(r,"_resetX"))},ti=function(){function u(){e=setTimeout(function(){n.event.special.mousewheel?(clearTimeout(e),fi.call(f[0])):u()},100)}var f=n(this),r=f.data(t),i=r.opt,e;r.bindEvents||((ii.call(this),i.contentTouchScroll&&ri.call(this),ui.call(this),i.mouseWheel.enable)&&u(),oi.call(this),hi.call(this),i.advanced.autoScrollOnFocus&&si.call(this),i.scrollButtons.enable&&ci.call(this),i.keyboard.enable&&li.call(this),r.bindEvents=!0)},g=function(){var f=n(this),r=f.data(t),u=r.opt,o=t+"_"+r.idx,s=".mCSB_"+r.idx+"_scrollbar",e=n("#mCSB_"+r.idx+",#mCSB_"+r.idx+"_container,#mCSB_"+r.idx+"_container_wrapper,"+s+" ."+i[12]+",#mCSB_"+r.idx+"_dragger_vertical,#mCSB_"+r.idx+"_dragger_horizontal,"+s+">a"),h=n("#mCSB_"+r.idx+"_container");u.advanced.releaseDraggableSelectors&&e.add(n(u.advanced.releaseDraggableSelectors));u.advanced.extraDraggableSelectors&&e.add(n(u.advanced.extraDraggableSelectors));r.bindEvents&&(n(document).add(n(!l()||top.document)).unbind("."+o),e.each(function(){n(this).unbind("."+o)}),clearTimeout(f[0]._focusTimeout),a(f[0],"_focusTimeout"),clearTimeout(r.sequential.step),a(r.sequential,"step"),clearTimeout(h[0].onCompleteTimeout),a(h[0],"onCompleteTimeout"),r.bindEvents=!1)},ht=function(r){var h=n(this),u=h.data(t),o=u.opt,c=n("#mCSB_"+u.idx+"_container_wrapper"),f=c.length?c:n("#mCSB_"+u.idx+"_container"),e=[n("#mCSB_"+u.idx+"_scrollbar_vertical"),n("#mCSB_"+u.idx+"_scrollbar_horizontal")],s=[e[0].find(".mCSB_dragger"),e[1].find(".mCSB_dragger")];"x"!==o.axis&&(u.overflowed[0]&&!r?(e[0].add(s[0]).add(e[0].children("a")).css("display","block"),f.removeClass(i[8]+" "+i[10])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&s[0].css("display","none"),f.removeClass(i[10])):(e[0].css("display","none"),f.addClass(i[10])),f.addClass(i[8])));"y"!==o.axis&&(u.overflowed[1]&&!r?(e[1].add(s[1]).add(e[1].children("a")).css("display","block"),f.removeClass(i[9]+" "+i[11])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&s[1].css("display","none"),f.removeClass(i[11])):(e[1].css("display","none"),f.addClass(i[11])),f.addClass(i[9])));u.overflowed[0]||u.overflowed[1]?h.removeClass(i[5]):h.addClass(i[5])},r=function(t){var e=t.type,i=t.target.ownerDocument!==document?[n(frameElement).offset().top,n(frameElement).offset().left]:null,u=l()&&t.target.ownerDocument!==top.document?[n(t.view.frameElement).offset().top,n(t.view.frameElement).offset().left]:[0,0],r,f;switch(e){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[t.originalEvent.pageY-i[0]+u[0],t.originalEvent.pageX-i[1]+u[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":return r=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],f=t.originalEvent.touches.length||t.originalEvent.changedTouches.length,t.target.ownerDocument!==document?[r.screenY,r.screenX,f>1]:[r.pageY,r.pageX,f>1];default:return i?[t.pageY-i[0]+u[0],t.pageX-i[1]+u[1],!1]:[t.pageY,t.pageX,!1]}},ii=function(){function b(n){var t=g.find("iframe"),i;t.length&&(i=n?"auto":"none",t.css("pointer-events",i))}function k(n,t,r,f){var e,o;(g[0].idleTimer=h.scrollInertia<233?250:0,i.attr("id")===y[1])?(e="x",o=(i[0].offsetLeft-t+f)*s.scrollRatio.x):(e="y",o=(i[0].offsetTop-n+r)*s.scrollRatio.y);u(v,o.toString(),{dir:e,drag:!0})}var i,c,a,v=n(this),s=v.data(t),h=s.opt,e=t+"_"+s.idx,y=["mCSB_"+s.idx+"_dragger_vertical","mCSB_"+s.idx+"_dragger_horizontal"],g=n("#mCSB_"+s.idx+"_container"),w=n("#"+y[0]+",#"+y[1]),nt=h.advanced.releaseDraggableSelectors?w.add(n(h.advanced.releaseDraggableSelectors)):w,tt=h.advanced.extraDraggableSelectors?n(!l()||top.document).add(n(h.advanced.extraDraggableSelectors)):n(!l()||top.document);w.bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),at(t)){f=!0;p&&(document.onselectstart=function(){return!1});b(!1);o(v);i=n(this);var u=i.offset(),e=r(t)[0]-u.top,s=r(t)[1]-u.left,l=i.height()+u.top,y=i.width()+u.left;l>e&&e>0&&y>s&&s>0&&(c=e,a=s);d(i,"active",h.autoExpandScrollbar)}}).bind("touchmove."+e,function(n){n.stopImmediatePropagation();n.preventDefault();var t=i.offset(),u=r(n)[0]-t.top,f=r(n)[1]-t.left;k(c,a,u,f)});n(document).add(tt).bind("mousemove."+e+" pointermove."+e+" MSPointerMove."+e,function(n){if(i){var t=i.offset(),u=r(n)[0]-t.top,f=r(n)[1]-t.left;if(c===u&&a===f)return;k(c,a,u,f)}}).add(nt).bind("mouseup."+e+" touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(){i&&(d(i,"active",h.autoExpandScrollbar),i=null);f=!1;p&&(document.onselectstart=null);b(!0)})},ri=function(){function at(n){if(!nt(n)||f||r(n)[2])return void(h=0);h=1;it=0;rt=0;st=1;g.removeClass("mCS_touch_action");var t=b.offset();k=r(n)[0]-t.top;d=r(n)[1]-t.left;v=[r(n)[0],r(n)[1]]}function vt(n){var c,l,a,y;if(nt(n)&&!f&&!r(n)[2]&&(e.documentTouchScroll||n.preventDefault(),n.stopImmediatePropagation(),(!rt||it)&&st)){gt=w();var o=ut.offset(),t=r(n)[0]-o.top,u=r(n)[1]-o.left,h="mcsLinearOut";(et.push(t),ot.push(u),v[2]=Math.abs(r(n)[0]-v[0]),v[3]=Math.abs(r(n)[1]-v[1]),i.overflowed[0])&&(c=ft[0].parent().height()-ft[0].height(),l=k-t>0&&t-k>-(c*i.scrollRatio.y)&&(2*v[3]<v[2]||"yx"===e.axis));i.overflowed[1]&&(a=ft[1].parent().width()-ft[1].width(),y=d-u>0&&u-d>-(a*i.scrollRatio.x)&&(2*v[2]<v[3]||"yx"===e.axis));l||y?(ii||n.preventDefault(),it=1):(rt=1,g.addClass("mCS_touch_action"));ii&&n.preventDefault();s="yx"===e.axis?[k-t,d-u]:"x"===e.axis?[null,d-u]:[k-t,null];b[0].idleTimer=250;i.overflowed[0]&&tt(s[0],ni,h,"y","all",!0);i.overflowed[1]&&tt(s[1],ni,h,"x",lt,!0)}}function yt(n){if(!nt(n)||f||r(n)[2])return void(h=0);h=1;n.stopImmediatePropagation();o(g);dt=w();var t=ut.offset();bt=r(n)[0]-t.top;kt=r(n)[1]-t.left;et=[];ot=[]}function pt(n){var t,u,h;if(nt(n)&&!f&&!r(n)[2]){st=0;n.stopImmediatePropagation();it=0;rt=0;ht=w();var l=ut.offset(),a=r(n)[0]-l.top,v=r(n)[1]-l.left;if(!(ht-gt>30)){c=1e3/(ht-dt);var p="mcsEaseOut",o=2.5>c,k=o?[et[et.length-2],ot[ot.length-2]]:[0,0];y=o?[a-k[0],v-k[1]]:[a-bt,v-kt];t=[Math.abs(y[0]),Math.abs(y[1])];c=o?[Math.abs(y[0]/4),Math.abs(y[1]/4)]:[c,c];u=[Math.abs(b[0].offsetTop)-y[0]*wt(t[0]/c[0],c[0]),Math.abs(b[0].offsetLeft)-y[1]*wt(t[1]/c[1],c[1])];s="yx"===e.axis?[u[0],u[1]]:"x"===e.axis?[null,u[1]]:[u[0],null];ct=[4*t[0]+e.scrollInertia,4*t[1]+e.scrollInertia];h=parseInt(e.contentTouchScroll)||0;s[0]=t[0]>h?s[0]:0;s[1]=t[1]>h?s[1]:0;i.overflowed[0]&&tt(s[0],ct[0],p,"y",lt,!1);i.overflowed[1]&&tt(s[1],ct[1],p,"x",lt,!1)}}}function wt(n,t){var i=[1.5*t,2*t,t/1.5,t/2];return n>90?t>4?i[0]:i[3]:n>60?t>3?i[3]:i[2]:n>30?t>8?i[1]:t>6?i[0]:t>4?t:i[2]:t>8?t:i[3]}function tt(n,t,i,r,f,e){n&&u(g,n.toString(),{dur:t,scrollEasing:i,dir:r,overwrite:f,drag:e})}var st,k,d,bt,kt,dt,gt,ht,y,c,s,ct,it,rt,g=n(this),i=g.data(t),e=i.opt,a=t+"_"+i.idx,ut=n("#mCSB_"+i.idx),b=n("#mCSB_"+i.idx+"_container"),ft=[n("#mCSB_"+i.idx+"_dragger_vertical"),n("#mCSB_"+i.idx+"_dragger_horizontal")],et=[],ot=[],ni=0,lt="yx"===e.axis?"none":"all",v=[],ti=b.find("iframe"),p=["touchstart."+a+" pointerdown."+a+" MSPointerDown."+a,"touchmove."+a+" pointermove."+a+" MSPointerMove."+a,"touchend."+a+" pointerup."+a+" MSPointerUp."+a],ii=void 0!==document.body.style.touchAction;b.bind(p[0],function(n){at(n)}).bind(p[1],function(n){vt(n)});ut.bind(p[0],function(n){yt(n)}).bind(p[2],function(n){pt(n)});ti.length&&ti.each(function(){n(this).load(function(){l(this)&&n(this.contentDocument||this.contentWindow.document).bind(p[0],function(n){at(n);yt(n)}).bind(p[1],function(n){vt(n)}).bind(p[2],function(n){pt(n)})})})},ui=function(){function y(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function i(n,t,i){l.type=i&&u?"stepped":"stepless";l.scrollAmount=10;rt(a,n,t,"mcsLinearOut",i?60:null)}var u,a=n(this),e=a.data(t),v=e.opt,l=e.sequential,s=t+"_"+e.idx,o=n("#mCSB_"+e.idx+"_container"),c=o.parent();o.bind("mousedown."+s,function(){h||u||(u=1,f=!0)}).add(document).bind("mousemove."+s,function(n){if(!h&&u&&y()){var s=o.offset(),t=r(n)[0]-s.top+o[0].offsetTop,f=r(n)[1]-s.left+o[0].offsetLeft;t>0&&t<c.height()&&f>0&&f<c.width()?l.step&&i("off",null,"stepped"):("x"!==v.axis&&e.overflowed[0]&&(0>t?i("on",38):t>c.height()&&i("on",40)),"y"!==v.axis&&e.overflowed[1]&&(0>f?i("on",37):f>c.width()&&i("on",39)))}}).bind("mouseup."+s+" dragend."+s,function(){h||(u&&(u=0,i("off",null)),f=!1)})},fi=function(){function h(t,h){var v,y;if(o(s),!ei(s,t.target)){if(v="auto"!==i.mouseWheel.deltaFactor?parseInt(i.mouseWheel.deltaFactor):p&&t.deltaFactor<100?100:t.deltaFactor||100,y=i.scrollInertia,"x"===i.axis||"x"===i.mouseWheel.axis)var a="x",l=[Math.round(v*r.scrollRatio.x),parseInt(i.mouseWheel.scrollAmount)],w="auto"!==i.mouseWheel.scrollAmount?l[1]:l[0]>=e.width()?.9*e.width():l[0],k=Math.abs(n("#mCSB_"+r.idx+"_container")[0].offsetLeft),b=f[1][0].offsetLeft,d=f[1].parent().width()-f[1].width(),c=t.deltaX||t.deltaY||h;else var a="y",l=[Math.round(v*r.scrollRatio.y),parseInt(i.mouseWheel.scrollAmount)],w="auto"!==i.mouseWheel.scrollAmount?l[1]:l[0]>=e.height()?.9*e.height():l[0],k=Math.abs(n("#mCSB_"+r.idx+"_container")[0].offsetTop),b=f[0][0].offsetTop,d=f[0].parent().height()-f[0].height(),c=t.deltaY||h;("y"!==a||r.overflowed[0])&&("x"!==a||r.overflowed[1])&&((i.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(c=-c),i.mouseWheel.normalizeDelta&&(c=0>c?-1:1),(c>0&&0!==b||0>c&&b!==d||i.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<2&&!i.mouseWheel.normalizeDelta&&(w=t.deltaFactor,y=17),u(s,(k-c*w).toString(),{dir:a,dur:y}))}}if(n(this).data(t)){var s=n(this),r=s.data(t),i=r.opt,c=t+"_"+r.idx,e=n("#mCSB_"+r.idx),f=[n("#mCSB_"+r.idx+"_dragger_vertical"),n("#mCSB_"+r.idx+"_dragger_horizontal")],a=n("#mCSB_"+r.idx+"_container").find("iframe");a.length&&a.each(function(){n(this).load(function(){l(this)&&n(this.contentDocument||this.contentWindow.document).bind("mousewheel."+c,function(n,t){h(n,t)})})});e.bind("mousewheel."+c,function(n,t){h(n,t)})}},l=function(n){var i=null,t;if(n){try{t=n.contentDocument||n.contentWindow.document;i=t.body.innerHTML}catch(r){}return null!==i}try{t=top.document;i=t.body.innerHTML}catch(r){}return null!==i},ei=function(i,r){var u=r.nodeName.toLowerCase(),f=i.data(t).opt.mouseWheel.disableOver;return n.inArray(u,f)>-1&&!(n.inArray(u,["select","textarea"])>-1&&!n(r).is(":focus"))},oi=function(){var s,h=n(this),e=h.data(t),r=t+"_"+e.idx,c=n("#mCSB_"+e.idx+"_container"),l=c.parent(),a=n(".mCSB_"+e.idx+"_scrollbar ."+i[12]);a.bind("mousedown."+r+" touchstart."+r+" pointerdown."+r+" MSPointerDown."+r,function(t){f=!0;n(t.target).hasClass("mCSB_dragger")||(s=1)}).bind("touchend."+r+" pointerup."+r+" MSPointerUp."+r,function(){f=!1}).bind("click."+r,function(t){var r,f;if(s&&(s=0,n(t.target).hasClass(i[12])||n(t.target).hasClass("mCSB_draggerRail"))){if(o(h),r=n(this),f=r.find(".mCSB_dragger"),r.parent(".mCSB_scrollTools_horizontal").length>0){if(!e.overflowed[1])return;var v="x",a=t.pageX>f.offset().left?-1:1,y=Math.abs(c[0].offsetLeft)-.9*a*l.width()}else{if(!e.overflowed[0])return;var v="y",a=t.pageY>f.offset().top?-1:1,y=Math.abs(c[0].offsetTop)-.9*a*l.height()}u(h,y.toString(),{dir:v,scrollEasing:"mcsEaseInOut"})}})},si=function(){var i=n(this),s=i.data(t),f=s.opt,c=t+"_"+s.idx,r=n("#mCSB_"+s.idx+"_container"),h=r.parent();r.bind("focusin."+c,function(){var t=n(document.activeElement),c=r.find(".mCustomScrollBox").length,s=0;t.is(f.advanced.autoScrollOnFocus)&&(o(i),clearTimeout(i[0]._focusTimeout),i[0]._focusTimer=c?(s+17)*c:0,i[0]._focusTimeout=setTimeout(function(){var n=[e(t)[0],e(t)[1]],o=[r[0].offsetTop,r[0].offsetLeft],c=[o[0]+n[0]>=0&&o[0]+n[0]<h.height()-t.outerHeight(!1),o[1]+n[1]>=0&&o[0]+n[1]<h.width()-t.outerWidth(!1)],l="yx"!==f.axis||c[0]||c[1]?"all":"none";"x"===f.axis||c[0]||u(i,n[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:l,dur:s});"y"===f.axis||c[1]||u(i,n[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:l,dur:s})},i[0]._focusTimer))})},hi=function(){var u=n(this),i=u.data(t),f=t+"_"+i.idx,r=n("#mCSB_"+i.idx+"_container").parent();r.bind("scroll."+f,function(){(0!==r.scrollTop()||0!==r.scrollLeft())&&n(".mCSB_"+i.idx+"_scrollbar").css("visibility","hidden")})},ci=function(){var e=n(this),r=e.data(t),o=r.opt,u=r.sequential,i=t+"_"+r.idx,s=".mCSB_"+r.idx+"_scrollbar",h=n(s+">a");h.bind("mousedown."+i+" touchstart."+i+" pointerdown."+i+" MSPointerDown."+i+" mouseup."+i+" touchend."+i+" pointerup."+i+" MSPointerUp."+i+" mouseout."+i+" pointerout."+i+" MSPointerOut."+i+" click."+i,function(t){function i(n,t){u.scrollAmount=o.scrollButtons.scrollAmount;rt(e,n,t)}if(t.preventDefault(),at(t)){var s=n(this).attr("class");switch(u.type=o.scrollButtons.scrollType,t.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===u.type)return;f=!0;r.tweenRunning=!1;i("on",s);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===u.type)return;f=!1;u.dir&&i("off",s);break;case"click":if("stepped"!==u.type||r.tweenRunning)return;i("on",s)}}})},li=function(){function a(t){function w(n,t){s.type=r.keyboard.scrollType;s.scrollAmount=r.keyboard.scrollAmount;"stepped"===s.type&&i.tweenRunning||rt(e,n,t)}var c,y,p,l,a;switch(t.type){case"blur":i.tweenRunning&&s.dir&&w("off",null);break;case"keydown":case"keyup":if(c=t.keyCode?t.keyCode:t.which,y="on","x"!==r.axis&&(38===c||40===c)||"y"!==r.axis&&(37===c||39===c)){if((38===c||40===c)&&!i.overflowed[0]||(37===c||39===c)&&!i.overflowed[1])return;"keyup"===t.type&&(y="off");n(document.activeElement).is(v)||(t.preventDefault(),t.stopImmediatePropagation(),w(y,c))}else 33===c||34===c?((i.overflowed[0]||i.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)&&(o(e),p=34===c?-1:1,"x"===r.axis||"yx"===r.axis&&i.overflowed[1]&&!i.overflowed[0]?(l="x",a=Math.abs(f[0].offsetLeft)-.9*p*h.width()):(l="y",a=Math.abs(f[0].offsetTop)-.9*p*h.height()),u(e,a.toString(),{dir:l,scrollEasing:"mcsEaseInOut"})):35!==c&&36!==c||n(document.activeElement).is(v)||((i.overflowed[0]||i.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"!==t.type)||("x"===r.axis||"yx"===r.axis&&i.overflowed[1]&&!i.overflowed[0]?(l="x",a=35===c?Math.abs(h.width()-f.outerWidth(!1)):0):(l="y",a=35===c?Math.abs(h.height()-f.outerHeight(!1)):0),u(e,a.toString(),{dir:l,scrollEasing:"mcsEaseInOut"}))}}var e=n(this),i=e.data(t),r=i.opt,s=i.sequential,c=t+"_"+i.idx,w=n("#mCSB_"+i.idx),f=n("#mCSB_"+i.idx+"_container"),h=f.parent(),v="input,textarea,select,datalist,keygen,[contenteditable='true']",y=f.find("iframe"),p=["blur."+c+" keydown."+c+" keyup."+c];y.length&&y.each(function(){n(this).load(function(){l(this)&&n(this.contentDocument||this.contentWindow.document).bind(p[0],function(n){a(n)})})});w.attr("tabindex","0").bind(p[0],function(n){a(n)})},rt=function(r,f,e,s,h){function y(n){l.snapAmount&&(c.scrollAmount=l.snapAmount instanceof Array?"x"===c.dir[0]?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount);var i="stepped"!==c.type,f=h?h:n?i?k/1.5:d:1e3/60,e=n?i?7.5:40:2.5,t=[Math.abs(p[0].offsetTop),Math.abs(p[0].offsetLeft)],o=[v.scrollRatio.y>10?10:v.scrollRatio.y,v.scrollRatio.x>10?10:v.scrollRatio.x],w="x"===c.dir[0]?t[1]+c.dir[1]*o[1]*e:t[0]+c.dir[1]*o[0]*e,b="x"===c.dir[0]?t[1]+c.dir[1]*parseInt(c.scrollAmount):t[0]+c.dir[1]*parseInt(c.scrollAmount),a="auto"!==c.scrollAmount?b:w,g=s?s:n?i?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",nt=n?!0:!1;return n&&17>f&&(a="x"===c.dir[0]?t[1]:t[0]),u(r,a.toString(),{dir:c.dir[0],scrollEasing:g,dur:f,onComplete:nt}),n?void(c.dir=!1):(clearTimeout(c.step),void(c.step=setTimeout(function(){y()},f)))}function b(){clearTimeout(c.step);a(c,"step");o(r)}var v=r.data(t),l=v.opt,c=v.sequential,p=n("#mCSB_"+v.idx+"_container"),w="stepped"===c.type?!0:!1,k=l.scrollInertia<26?26:l.scrollInertia,d=l.scrollInertia<1?17:l.scrollInertia;switch(f){case"on":if(c.dir=[e===i[16]||e===i[15]||39===e||37===e?"x":"y",e===i[13]||e===i[15]||38===e||37===e?-1:1],o(r),tt(e)&&"stepped"===c.type)return;y(w);break;case"off":b();(w||v.tweenRunning&&c.dir)&&y(!0)}},ut=function(i){var u=n(this).data(t).opt,r=[];return"function"==typeof i&&(i=i()),i instanceof Array?r=i.length>1?[i[0],i[1]]:"x"===u.axis?[null,i[0]]:[i[0],null]:(r[0]=i.y?i.y:i.x||"x"===u.axis?null:i,r[1]=i.x?i.x:i.y||"y"===u.axis?null:i),"function"==typeof r[0]&&(r[0]=r[0]()),"function"==typeof r[1]&&(r[1]=r[1]()),r},ct=function(i,r){var o,f;if(null!=i&&"undefined"!=typeof i){var h=n(this),c=h.data(t),v=c.opt,u=n("#mCSB_"+c.idx+"_container"),l=u.parent(),y=typeof i;r||(r="x"===v.axis?"x":"y");var p="x"===r?u.outerWidth(!1):u.outerHeight(!1),a="x"===r?u[0].offsetLeft:u[0].offsetTop,w="x"===r?"left":"top";switch(y){case"function":return i();case"object":return(f=i.jquery?i:n(i),!f.length)?void 0:"x"===r?e(f)[1]:e(f)[0];case"string":case"number":return tt(i)?Math.abs(i):-1!==i.indexOf("%")?Math.abs(p*parseInt(i)/100):-1!==i.indexOf("-=")?Math.abs(a-parseInt(i.split("-=")[1])):-1!==i.indexOf("+=")?(o=a+parseInt(i.split("+=")[1]),o>=0?0:Math.abs(o)):-1!==i.indexOf("px")&&tt(i.split("px")[0])?Math.abs(i.split("px")[0]):"top"===i||"left"===i?0:"bottom"===i?Math.abs(l.height()-u.outerHeight(!1)):"right"===i?Math.abs(l.width()-u.outerWidth(!1)):"first"===i||"last"===i?(f=u.find(":"+i),"x"===r?e(f)[1]:e(f)[0]):n(i).length?"x"===r?e(n(i))[1]:e(n(i))[0]:(u.css(w,i),void s.update.call(null,h[0]))}}},ft=function(r){function c(){return clearTimeout(e[0].autoUpdate),0===o.parents("html").length?void(o=null):void(e[0].autoUpdate=setTimeout(function(){return f.advanced.updateOnSelectorChange&&(u.poll.change.n=v(),u.poll.change.n!==u.poll.change.o)?(u.poll.change.o=u.poll.change.n,void h(3)):f.advanced.updateOnContentResize&&(u.poll.size.n=o[0].scrollHeight+o[0].scrollWidth+e[0].offsetHeight+o[0].offsetHeight+o[0].offsetWidth,u.poll.size.n!==u.poll.size.o)?(u.poll.size.o=u.poll.size.n,void h(1)):!f.advanced.updateOnImageLoad||"auto"===f.advanced.updateOnImageLoad&&"y"===f.axis||(u.poll.img.n=e.find("img").length,u.poll.img.n===u.poll.img.o)?void((f.advanced.updateOnSelectorChange||f.advanced.updateOnContentResize||f.advanced.updateOnImageLoad)&&c()):(u.poll.img.o=u.poll.img.n,void e.find("img").each(function(){l(this)}))},f.advanced.autoUpdateTimeout))}function l(t){function u(n,t){return function(){return t.apply(n,arguments)}}function f(){this.onload=null;n(t).addClass(i[2]);h(2)}if(n(t).hasClass(i[2]))return void h();var r=new Image;r.onload=u(r,f);r.src=t.src}function v(){f.advanced.updateOnSelectorChange===!0&&(f.advanced.updateOnSelectorChange="*");var n=0,t=e.find(f.advanced.updateOnSelectorChange);return f.advanced.updateOnSelectorChange&&t.length>0&&t.each(function(){n+=this.offsetHeight+this.offsetWidth}),n}function h(n){clearTimeout(e[0].autoUpdate);s.update.call(null,o[0],n)}var o=n(this),u=o.data(t),f=u.opt,e=n("#mCSB_"+u.idx+"_container");return r?(clearTimeout(e[0].autoUpdate),void a(e[0],"autoUpdate")):void c()},ai=function(n,t,i){return Math.round(n/t)*t-i},o=function(i){var r=i.data(t),u=n("#mCSB_"+r.idx+"_container,#mCSB_"+r.idx+"_container_wrapper,#mCSB_"+r.idx+"_dragger_vertical,#mCSB_"+r.idx+"_dragger_horizontal");u.each(function(){vi.call(this)})},u=function(i,r,u){function h(n){return f&&e.callbacks[n]&&"function"==typeof e.callbacks[n]}function et(){return[e.callbacks.alwaysTriggerOffsets||p>=l[0]+v,e.callbacks.alwaysTriggerOffsets||-y>=p]}function a(){var n=[o[0].offsetTop,o[0].offsetLeft],t=[c[0].offsetTop,c[0].offsetLeft],r=[o.outerHeight(!1),o.outerWidth(!1)],f=[w.height(),w.width()];i[0].mcs={content:o,top:n[0],left:n[1],draggerTop:t[0],draggerLeft:t[1],topPct:Math.round(100*Math.abs(n[0])/(Math.abs(r[0])-f[0])),leftPct:Math.round(100*Math.abs(n[1])/(Math.abs(r[1])-f[1])),direction:u.dir}}var f=i.data(t),e=f.opt,ot={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:e.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},u=n.extend(ot,u),g=[u.dur,u.drag?0:u.dur],w=n("#mCSB_"+f.idx),o=n("#mCSB_"+f.idx+"_container"),b=o.parent(),nt=e.callbacks.onTotalScrollOffset?ut.call(i,e.callbacks.onTotalScrollOffset):[0,0],tt=e.callbacks.onTotalScrollBackOffset?ut.call(i,e.callbacks.onTotalScrollBackOffset):[0,0],it;if(f.trigger=u.trigger,(0!==b.scrollTop()||0!==b.scrollLeft())&&(n(".mCSB_"+f.idx+"_scrollbar").css("visibility","visible"),b.scrollTop(0).scrollLeft(0)),"_resetY"!==r||f.contentReset.y||(h("onOverflowYNone")&&e.callbacks.onOverflowYNone.call(i[0]),f.contentReset.y=1),"_resetX"!==r||f.contentReset.x||(h("onOverflowXNone")&&e.callbacks.onOverflowXNone.call(i[0]),f.contentReset.x=1),"_resetY"!==r&&"_resetX"!==r){(!f.contentReset.y&&i[0].mcs||!f.overflowed[0]||(h("onOverflowY")&&e.callbacks.onOverflowY.call(i[0]),f.contentReset.x=null),!f.contentReset.x&&i[0].mcs||!f.overflowed[1]||(h("onOverflowX")&&e.callbacks.onOverflowX.call(i[0]),f.contentReset.x=null),e.snapAmount)&&(it=e.snapAmount instanceof Array?"x"===u.dir?e.snapAmount[1]:e.snapAmount[0]:e.snapAmount,r=ai(r,it,e.snapOffset));switch(u.dir){case"x":var c=n("#mCSB_"+f.idx+"_dragger_horizontal"),k="left",p=o[0].offsetLeft,l=[w.width()-o.outerWidth(!1),c.parent().width()-c.width()],s=[r,0===r?0:r/f.scrollRatio.x],v=nt[1],y=tt[1],rt=v>0?v/f.scrollRatio.x:0,ft=y>0?y/f.scrollRatio.x:0;break;case"y":var c=n("#mCSB_"+f.idx+"_dragger_vertical"),k="top",p=o[0].offsetTop,l=[w.height()-o.outerHeight(!1),c.parent().height()-c.height()],s=[r,0===r?0:r/f.scrollRatio.y],v=nt[0],y=tt[0],rt=v>0?v/f.scrollRatio.y:0,ft=y>0?y/f.scrollRatio.y:0}s[1]<0||0===s[0]&&0===s[1]?s=[0,0]:s[1]>=l[1]?s=[l[0],l[1]]:s[0]=-s[0];i[0].mcs||(a(),h("onInit")&&e.callbacks.onInit.call(i[0]));clearTimeout(o[0].onCompleteTimeout);lt(c[0],k,Math.round(s[1]),g[1],u.scrollEasing);(f.tweenRunning||!(0===p&&s[0]>=0||p===l[0]&&s[0]<=l[0]))&&lt(o[0],k,Math.round(s[0]),g[0],u.scrollEasing,u.overwrite,{onStart:function(){u.callbacks&&u.onStart&&!f.tweenRunning&&(h("onScrollStart")&&(a(),e.callbacks.onScrollStart.call(i[0])),f.tweenRunning=!0,d(c),f.cbOffsets=et())},onUpdate:function(){u.callbacks&&u.onUpdate&&h("whileScrolling")&&(a(),e.callbacks.whileScrolling.call(i[0]))},onComplete:function(){if(u.callbacks&&u.onComplete){"yx"===e.axis&&clearTimeout(o[0].onCompleteTimeout);var n=o[0].idleTimer||0;o[0].onCompleteTimeout=setTimeout(function(){h("onScroll")&&(a(),e.callbacks.onScroll.call(i[0]));h("onTotalScroll")&&s[1]>=l[1]-rt&&f.cbOffsets[0]&&(a(),e.callbacks.onTotalScroll.call(i[0]));h("onTotalScrollBack")&&s[1]<=ft&&f.cbOffsets[1]&&(a(),e.callbacks.onTotalScrollBack.call(i[0]));f.tweenRunning=!1;o[0].idleTimer=0;d(c,"hide")},n)}}})}},lt=function(n,t,i,r,u,f,e){function a(){o.stop||(s||g.call(),s=w()-it,v(),s>=o.time&&(o.time=s>o.time?s+h-(s-o.time):s+h-1,o.time<s+1&&(o.time=s+1)),o.time<r?o.id=c(a):tt.call())}function v(){r>0?(o.currVal=d(o.time,l,p,r,u),y[t]=Math.round(o.currVal)+"px"):y[t]=i+"px";nt.call()}function b(){h=1e3/60;o.time=s+h;c=window.requestAnimationFrame?window.requestAnimationFrame:function(n){return v(),setTimeout(n,.01)};o.id=c(a)}function k(){null!=o.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(o.id):clearTimeout(o.id),o.id=null)}function d(n,t,i,r,u){switch(u){case"linear":case"mcsLinear":return i*n/r+t;case"mcsLinearOut":return n/=r,n--,i*Math.sqrt(1-n*n)+t;case"easeInOutSmooth":return n/=r/2,1>n?i/2*n*n+t:(n--,-i/2*(n*(n-2)-1)+t);case"easeInOutStrong":return n/=r/2,1>n?i/2*Math.pow(2,10*(n-1))+t:(n--,i/2*(-Math.pow(2,-10*n)+2)+t);case"easeInOut":case"mcsEaseInOut":return n/=r/2,1>n?i/2*n*n*n+t:(n-=2,i/2*(n*n*n+2)+t);case"easeOutSmooth":return n/=r,n--,-i*(n*n*n*n-1)+t;case"easeOutStrong":return i*(-Math.pow(2,-10*n/r)+1)+t;case"easeOut":case"mcsEaseOut":default:var f=(n/=r)*n,e=f*n;return t+i*(.499999999999997*e*f+-2.5*f*f+5.5*e+-6.5*f+4*n)}}var p;n._mTween||(n._mTween={top:{},left:{}});var h,c,e=e||{},g=e.onStart||function(){},nt=e.onUpdate||function(){},tt=e.onComplete||function(){},it=w(),s=0,l=n.offsetTop,y=n.style,o=n._mTween[t];"left"===t&&(l=n.offsetLeft);p=i-l;o.stop=0;"none"!==f&&k();b()},w=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},vi=function(){var n=this,r,i,t;for(n._mTween||(n._mTween={top:{},left:{}}),r=["top","left"],i=0;i<r.length;i++)t=r[i],n._mTween[t].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(n._mTween[t].id):clearTimeout(n._mTween[t].id),n._mTween[t].id=null,n._mTween[t].stop=1)},a=function(n,t){try{delete n[t]}catch(i){n[t]=null}},at=function(n){return!(n.which&&1!==n.which)},nt=function(n){var t=n.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},tt=function(n){return!isNaN(parseFloat(n))&&isFinite(n)},e=function(n){var t=n.parents(".mCSB_container");return[n.offset().top-t.offset().top,n.offset().left-t.offset().left]},yi=function(){function t(){var t=["webkit","moz","ms","o"],n;if("hidden"in document)return"hidden";for(n=0;n<t.length;n++)if(t[n]+"Hidden"in document)return t[n]+"Hidden";return null}var n=t();return n?document[n]:!1};n.fn[c]=function(t){return s[t]?s[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void n.error("Method "+t+" does not exist"):s.init.apply(this,arguments)};n[c]=function(t){return s[t]?s[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void n.error("Method "+t+" does not exist"):s.init.apply(this,arguments)};n[c].defaults=et;window[c]=!0;n(window).load(function(){n(it)[c]();n.extend(n.expr[":"],{mcsInView:n.expr[":"].mcsInView||function(t){var f,r,i=n(t),u=i.parents(".mCSB_container");if(u.length)return f=u.parent(),r=[u[0].offsetTop,u[0].offsetLeft],r[0]+e(i)[0]>=0&&r[0]+e(i)[0]<f.height()-i.outerHeight(!1)&&r[1]+e(i)[1]>=0&&r[1]+e(i)[1]<f.width()-i.outerWidth(!1)},mcsOverflow:n.expr[":"].mcsOverflow||function(i){var r=n(i).data(t);if(r)return r.overflowed[0]||r.overflowed[1]}})})})});!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?module.exports=n:n(jQuery)}(function(n){function u(r){var u=r||window.event,w=c.call(arguments,1),l=0,s=0,e=0,a=0,b=0,k=0,v,y,p;if(r=n.event.fix(u),r.type="mousewheel","detail"in u&&(e=-1*u.detail),"wheelDelta"in u&&(e=u.wheelDelta),"wheelDeltaY"in u&&(e=u.wheelDeltaY),"wheelDeltaX"in u&&(s=-1*u.wheelDeltaX),"axis"in u&&u.axis===u.HORIZONTAL_AXIS&&(s=-1*e,e=0),l=0===e?s:e,"deltaY"in u&&(e=-1*u.deltaY,l=e),"deltaX"in u&&(s=u.deltaX,0===e&&(l=-1*s)),0!==e||0!==s)return 1===u.deltaMode?(v=n.data(this,"mousewheel-line-height"),l*=v,e*=v,s*=v):2===u.deltaMode&&(y=n.data(this,"mousewheel-page-height"),l*=y,e*=y,s*=y),(a=Math.max(Math.abs(e),Math.abs(s)),(!t||t>a)&&(t=a,o(u,a)&&(t/=40)),o(u,a)&&(l/=40,s/=40,e/=40),l=Math[l>=1?"floor":"ceil"](l/t),s=Math[s>=1?"floor":"ceil"](s/t),e=Math[e>=1?"floor":"ceil"](e/t),i.settings.normalizeOffset&&this.getBoundingClientRect)&&(p=this.getBoundingClientRect(),b=r.clientX-p.left,k=r.clientY-p.top),r.deltaX=s,r.deltaY=e,r.deltaFactor=t,r.offsetX=b,r.offsetY=k,r.deltaMode=0,w.unshift(r,l,s,e),f&&clearTimeout(f),f=setTimeout(h,200),(n.event.dispatch||n.event.handle).apply(this,w)}function h(){t=null}function o(n,t){return i.settings.adjustOldDeltas&&"mousewheel"===n.type&&t%120==0}var f,t,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],c=Array.prototype.slice,e,i;if(n.event.fixHooks)for(e=s.length;e;)n.event.fixHooks[s[--e]]=n.event.mouseHooks;i=n.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=r.length;t;)this.addEventListener(r[--t],u,!1);else this.onmousewheel=u;n.data(this,"mousewheel-line-height",i.getLineHeight(this));n.data(this,"mousewheel-page-height",i.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=r.length;t;)this.removeEventListener(r[--t],u,!1);else this.onmousewheel=null;n.removeData(this,"mousewheel-line-height");n.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var r=n(t),i=r["offsetParent"in n.fn?"offsetParent":"parent"]();return i.length||(i=n("body")),parseInt(i.css("fontSize"),10)||parseInt(r.css("fontSize"),10)||16},getPageHeight:function(t){return n(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};n.fn.extend({mousewheel:function(n){return n?this.bind("mousewheel",n):this.trigger("mousewheel")},unmousewheel:function(n){return this.unbind("mousewheel",n)}})}),function(n){var t,rt,h,o,w,c,wt,l="Close",bt="BeforeClose",ii="AfterClose",ri="BeforeAppend",ut="MarkupParse",ft="Open",kt="Change",et="mfp",u="."+et,b="mfp-ready",dt="mfp-removing",ot="mfp-prevent-close",k=function(){},st=!!window.jQuery,f=n(window),r=function(n,i){t.ev.on(et+n+u,i)},e=function(t,i,r,u){var f=document.createElement("div");return f.className="mfp-"+t,r&&(f.innerHTML=r),u?i&&i.appendChild(f):(f=n(f),i&&f.appendTo(i)),f},i=function(i,r){t.ev.triggerHandler(et+i,r);t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,n.isArray(r)?r:[r]))},ht=function(i){return i===wt&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=n(t.st.closeMarkup.replace("%title%",t.st.tClose)),wt=i),t.currTemplate.closeBtn},ct=function(){n.magnificPopup.instance||(t=new k,t.init(),n.magnificPopup.instance=t)},ui=function(){var n=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==n.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in n)return!0;return!1},v,d,g,nt,lt,s,ni,vt,ti,tt,pt,it;k.prototype={constructor:k,init:function(){var i=navigator.appVersion;t.isIE7=-1!==i.indexOf("MSIE 7.");t.isIE8=-1!==i.indexOf("MSIE 8.");t.isLowIE=t.isIE7||t.isIE8;t.isAndroid=/android/gi.test(i);t.isIOS=/iphone|ipad|ipod/gi.test(i);t.supportsTransition=ui();t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent);o=n(document);t.popupsCache={}},open:function(s){var l,a,w,k,v,d,y,g,p;if(h||(h=n(document.body)),s.isObj===!1){for(t.items=s.items.toArray(),t.index=0,w=s.items,l=0;w.length>l;l++)if(a=w[l],a.parsed&&(a=a.el[0]),a===s.el[0]){t.index=l;break}}else t.items=n.isArray(s.items)?s.items:[s.items],t.index=s.index||0;if(t.isOpen)return t.updateItemHTML(),void 0;for(t.types=[],c="",t.ev=s.mainEl&&s.mainEl.length?s.mainEl.eq(0):o,s.key?(t.popupsCache[s.key]||(t.popupsCache[s.key]={}),t.currTemplate=t.popupsCache[s.key]):t.currTemplate={},t.st=n.extend(!0,{},n.magnificPopup.defaults,s),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=e("bg").on("click"+u,function(){t.close()}),t.wrap=e("wrap").attr("tabindex",-1).on("click"+u,function(n){t._checkIfClose(n.target)&&t.close()}),t.container=e("container",t.wrap)),t.contentContainer=e("content"),t.st.preloader&&(t.preloader=e("preloader",t.container,t.st.tLoading)),k=n.magnificPopup.modules,l=0;k.length>l;l++)v=k[l],v=v.charAt(0).toUpperCase()+v.slice(1),t["init"+v].call(t);return i("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(r(ut,function(n,t,i,r){i.close_replaceWith=ht(r.type)}),c+=" mfp-close-btn-in"):t.wrap.append(ht())),t.st.alignTop&&(c+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:f.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+u,function(n){27===n.keyCode&&t.close()}),f.on("resize"+u,function(){t.updateSize()}),t.st.closeOnContentClick||(c+=" mfp-auto-cursor"),c&&t.wrap.addClass(c),d=t.wH=f.height(),y={},t.fixedContentPos&&t._hasScrollBar(d)&&(g=t._getScrollbarSize(),g&&(y.marginRight=g)),t.fixedContentPos&&(t.isIE7?n("body, html").css("overflow","hidden"):y.overflow="hidden"),p=t.st.mainClass,t.isIE7&&(p+=" mfp-ie7"),p&&t._addClassToMFP(p),t.updateItemHTML(),i("BuildControls"),n("html").css(y),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||h),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(b),t._setFocus()):t.bgOverlay.addClass(b);o.on("focusin"+u,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(d),i(ft),s},close:function(){t.isOpen&&(i(bt),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(dt),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){var r,f;i(l);r=dt+" "+b+" ";(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(r+=t.st.mainClass+" "),t._removeClassFromMFP(r),t.fixedContentPos)&&(f={marginRight:""},t.isIE7?n("body, html").css("overflow",""):f.overflow="",n("html").css(f));o.off("keyup"+u+" focusin"+u);t.ev.off(u);t.wrap.attr("class","mfp-wrap").removeAttr("style");t.bgOverlay.attr("class","mfp-bg");t.container.attr("class","mfp-container");!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach();t._lastFocusedEl&&n(t._lastFocusedEl).focus();t.currItem=null;t.content=null;t.currTemplate=null;t.prevHeight=0;i(ii)},updateSize:function(n){if(t.isIOS){var u=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*u;t.wrap.css("height",r);t.wH=r}else t.wH=n||f.height();t.fixedContentPos||t.wrap.css("height",t.wH);i("Resize")},updateItemHTML:function(){var u=t.items[t.index],r,f,e;t.contentContainer.detach();t.content&&t.content.detach();u.parsed||(u=t.parseEl(t.index));r=u.type;(i("BeforeChange",[t.currItem?t.currItem.type:"",r]),t.currItem=u,t.currTemplate[r])||(f=t.st[r]?t.st[r].markup:!1,i("FirstMarkupParse",f),t.currTemplate[r]=f?n(f):!0);w&&w!==u.type&&t.container.removeClass("mfp-"+w+"-holder");e=t["get"+r.charAt(0).toUpperCase()+r.slice(1)](u,t.currTemplate[r]);t.appendContent(e,r);u.preloaded=!0;i(kt,u);w=u.type;t.container.prepend(t.contentContainer);i("AfterChange")},appendContent:function(n,r){t.content=n;n?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[r]===!0?t.content.find(".mfp-close").length||t.content.append(ht()):t.content=n:t.content="";i(ri);t.container.addClass("mfp-"+r+"-holder");t.contentContainer.append(t.content)},parseEl:function(r){var o,u=t.items[r],e,f;if(u.tagName?u={el:n(u)}:(o=u.type,u={data:u,src:u.src}),u.el){for(e=t.types,f=0;e.length>f;f++)if(u.el.hasClass("mfp-"+e[f])){o=e[f];break}u.src=u.el.attr("data-mfp-src");u.src||(u.src=u.el.attr("href"))}return u.type=o||t.st.type||"inline",u.index=r,u.parsed=!0,t.items[r]=u,i("ElementParse",u),t.items[r]},addGroup:function(n,i){var u=function(r){r.mfpEl=this;t._openClick(r,n,i)},r;i||(i={});r="click.magnificPopup";i.mainEl=n;i.items?(i.isObj=!0,n.off(r).on(r,u)):(i.isObj=!1,i.delegate?n.off(r).on(r,i.delegate,u):(i.items=n,n.off(r).on(r,u)))},_openClick:function(i,r,u){var o=void 0!==u.midClick?u.midClick:n.magnificPopup.defaults.midClick,e;if(o||2!==i.which&&!i.ctrlKey&&!i.metaKey){if(e=void 0!==u.disableOn?u.disableOn:n.magnificPopup.defaults.disableOn,e)if(n.isFunction(e)){if(!e.call(t))return!0}else if(e>f.width())return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation());u.el=n(i.mfpEl);u.delegate&&(u.items=r.find(u.delegate));t.open(u)}},updateStatus:function(n,r){if(t.preloader){rt!==n&&t.container.removeClass("mfp-s-"+rt);r||"loading"!==n||(r=t.st.tLoading);var u={status:n,text:r};i("UpdateStatus",u);n=u.status;r=u.text;t.preloader.html(r);t.preloader.find("a").on("click",function(n){n.stopImmediatePropagation()});t.container.addClass("mfp-s-"+n);rt=n}},_checkIfClose:function(i){if(!n(i).hasClass(ot)){var r=t.st.closeOnContentClick,u=t.st.closeOnBgClick;if(r&&u||!t.content||n(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||n.contains(t.content[0],i)){if(r)return!0}else if(u&&n.contains(document,i))return!0;return!1}},_addClassToMFP:function(n){t.bgOverlay.addClass(n);t.wrap.addClass(n)},_removeClassFromMFP:function(n){this.bgOverlay.removeClass(n);t.wrap.removeClass(n)},_hasScrollBar:function(n){return(t.isIE7?o.height():document.body.scrollHeight)>(n||f.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){if(i.target!==t.wrap[0]&&!n.contains(t.wrap[0],i.target))return(t._setFocus(),!1)},_parseMarkup:function(t,r,f){var e;f.data&&(r=n.extend(f.data,r));i(ut,[t,r,f]);n.each(r,function(n,i){var r,f;if(void 0===i||i===!1)return!0;(e=n.split("_"),e.length>1)?(r=t.find(u+"-"+e[0]),r.length>0&&(f=e[1],"replaceWith"===f?r[0]!==i[0]&&r.replaceWith(i):"img"===f?r.is("img")?r.attr("src",i):r.replaceWith('<img src="'+i+'" class="'+r.attr("class")+'" />'):r.attr(e[1],i))):t.find(u+"-"+n).html(i)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var n=document.createElement("div");n.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;";document.body.appendChild(n);t.scrollbarSize=n.offsetWidth-n.clientWidth;document.body.removeChild(n)}return t.scrollbarSize}};n.magnificPopup={instance:null,proto:k.prototype,modules:[],open:function(t,i){return ct(),t=t?n.extend(!0,{},t):{},t.isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return n.magnificPopup.instance&&n.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(n.magnificPopup.defaults[t]=i.options);n.extend(this.proto,i.proto);this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;<\/button>',tClose:"Close (Esc)",tLoading:"Loading..."}};n.fn.magnificPopup=function(i){var r,u,f,e;return ct(),r=n(this),"string"==typeof i?"open"===i?(f=st?r.data("magnificPopup"):r[0].magnificPopup,e=parseInt(arguments[1],10)||0,f.items?u=f.items[e]:(u=r,f.delegate&&(u=u.find(f.delegate)),u=u.eq(e)),t._openClick({mfpEl:u},r,f)):t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1)):(i=n.extend(!0,{},i),st?r.data("magnificPopup",i):r[0].magnificPopup=i,t.addGroup(r,i)),r};nt="inline";lt=function(){g&&(d.after(g.addClass(v)).detach(),g=null)};n.magnificPopup.registerModule(nt,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(nt);r(l+"."+nt,function(){lt()})},getInline:function(i,r){var f,u,o;return(lt(),i.src)?(f=t.st.inline,u=n(i.src),u.length?(o=u[0].parentNode,o&&o.tagName&&(d||(v=f.hiddenClass,d=e(v),v="mfp-"+v),g=u.after(d).detach().removeClass(v)),t.updateStatus("ready")):(t.updateStatus("error",f.tNotFound),u=n("<div>")),i.inlineElement=u,u):(t.updateStatus("ready"),t._parseMarkup(r,{},i),r)}}});var y,p="ajax",at=function(){y&&h.removeClass(y)},gt=function(){at();t.req&&t.req.abort()};n.magnificPopup.registerModule(p,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content<\/a> could not be loaded.'},proto:{initAjax:function(){t.types.push(p);y=t.st.ajax.cursor;r(l+"."+p,gt);r("BeforeChange."+p,gt)},getAjax:function(r){y&&h.addClass(y);t.updateStatus("loading");var u=n.extend({url:r.src,success:function(u,f,e){var o={data:u,xhr:e};i("ParseAjax",o);t.appendContent(n(o.data),p);r.finished=!0;at();t._setFocus();setTimeout(function(){t.wrap.addClass(b)},16);t.updateStatus("ready");i("AjaxContentAdded")},error:function(){at();r.finished=r.loadError=!0;t.updateStatus("error",t.st.ajax.tError.replace("%url%",r.src))}},t.st.ajax.settings);return t.req=n.ajax(u),""}}});ni=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var r=t.st.image.titleSrc;if(r){if(n.isFunction(r))return r.call(t,i);if(i.el)return i.el.attr(r)||""}return""};n.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"><\/div><figure><div class="mfp-img"><\/div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"><\/div><div class="mfp-counter"><\/div><\/div><\/figcaption><\/figure><\/div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image<\/a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image");r(ft+i,function(){"image"===t.currItem.type&&n.cursor&&h.addClass(n.cursor)});r(l+i,function(){n.cursor&&h.removeClass(n.cursor);f.off("resize"+u)});r("Resize"+i,t.resizeImage);t.isLowIE&&r("AfterChange",t.resizeImage)},resizeImage:function(){var n=t.currItem,i;n&&n.img&&t.st.image.verticalFit&&(i=0,t.isLowIE&&(i=parseInt(n.img.css("padding-top"),10)+parseInt(n.img.css("padding-bottom"),10)),n.img.css("max-height",t.wH-i))},_onImageHasSize:function(n){n.img&&(n.hasSize=!0,s&&clearInterval(s),n.isCheckingImgSize=!1,i("ImageHasSize",n),n.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),n.imgHidden=!1))},findImageSize:function(n){var i=0,u=n.img[0],r=function(f){s&&clearInterval(s);s=setInterval(function(){return u.naturalWidth>0?(t._onImageHasSize(n),void 0):(i>200&&clearInterval(s),i++,3===i?r(10):40===i?r(50):100===i&&r(500),void 0)},f)};r(1)},getImage:function(r,u){var e=0,o=function(){r&&(r.img[0].complete?(r.img.off(".mfploader"),r===t.currItem&&(t._onImageHasSize(r),t.updateStatus("ready")),r.hasSize=!0,r.loaded=!0,i("ImageLoadComplete")):(e++,200>e?setTimeout(o,100):h()))},h=function(){r&&(r.img.off(".mfploader"),r===t.currItem&&(t._onImageHasSize(r),t.updateStatus("error",c.tError.replace("%url%",r.src))),r.hasSize=!0,r.loaded=!0,r.loadError=!0)},c=t.st.image,l=u.find(".mfp-img"),f;return l.length&&(f=document.createElement("img"),f.className="mfp-img",r.img=n(f).on("load.mfploader",o).on("error.mfploader",h),f.src=r.src,l.is("img")&&(r.img=r.img.clone()),f=r.img[0],f.naturalWidth>0?r.hasSize=!0:f.width||(r.hasSize=!1)),t._parseMarkup(u,{title:ni(r),img_replaceWith:r.img},r),t.resizeImage(),r.hasSize?(s&&clearInterval(s),r.loadError?(u.addClass("mfp-loading"),t.updateStatus("error",c.tError.replace("%url%",r.src))):(u.removeClass("mfp-loading"),t.updateStatus("ready")),u):(t.updateStatus("loading"),r.loading=!0,r.hasSize||(r.imgHidden=!0,u.addClass("mfp-loading"),t.findImageSize(r)),u)}}});ti=function(){return void 0===vt&&(vt=void 0!==document.createElement("p").style.MozTransform),vt};n.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(n){return n.is("img")?n:n.find("img")}},proto:{initZoom:function(){var u,f=t.st.zoom,o=".zoom";if(f.enabled&&t.supportsTransition){var e,n,h=f.duration,c=function(n){var r=n.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),u="all "+f.duration/1e3+"s "+f.easing,t={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return t["-webkit-"+i]=t["-moz-"+i]=t["-o-"+i]=t[i]=u,r.css(t),r},s=function(){t.content.css("visibility","visible")};r("BuildControls"+o,function(){if(t._allowZoom()){if(clearTimeout(e),t.content.css("visibility","hidden"),u=t._getItemToZoom(),!u)return s(),void 0;n=c(u);n.css(t._getOffset());t.wrap.append(n);e=setTimeout(function(){n.css(t._getOffset(!0));e=setTimeout(function(){s();setTimeout(function(){n.remove();u=n=null;i("ZoomAnimationEnded")},16)},h)},16)}});r(bt+o,function(){if(t._allowZoom()){if(clearTimeout(e),t.st.removalDelay=h,!u){if(u=t._getItemToZoom(),!u)return;n=c(u)}n.css(t._getOffset(!0));t.wrap.append(n);t.content.css("visibility","hidden");setTimeout(function(){n.css(t._getOffset())},16)}});r(l+o,function(){t._allowZoom()&&(s(),n&&n.remove(),u=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(i){var r,u;r=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var f=r.offset(),e=parseInt(r.css("padding-top"),10),o=parseInt(r.css("padding-bottom"),10);return f.top-=n(window).scrollTop()-e,u={width:r.width(),height:(st?r.innerHeight():r[0].offsetHeight)-o-e},ti()?u["-moz-transform"]=u.transform="translate("+f.left+"px,"+f.top+"px)":(u.left=f.left,u.top=f.top),u}}});var a="iframe",fi="//about:blank",yt=function(n){if(t.currTemplate[a]){var i=t.currTemplate[a].find("iframe");i.length&&(n||(i[0].src=fi),t.isIE8&&i.css("display",n?"block":"none"))}};n.magnificPopup.registerModule(a,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"><\/div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen><\/iframe><\/div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(a);r("BeforeChange",function(n,t,i){t!==i&&(t===a?yt():i===a&&yt(!0))});r(l+"."+a,function(){yt()})},getIframe:function(i,r){var u=i.src,f=t.st.iframe,e;return n.each(f.patterns,function(){if(u.indexOf(this.index)>-1)return(this.id&&(u="string"==typeof this.id?u.substr(u.lastIndexOf(this.id)+this.id.length,u.length):this.id.call(this,u)),u=this.src.replace("%id%",u),!1)}),e={},f.srcAction&&(e[f.srcAction]=u),t._parseMarkup(r,e,i),t.updateStatus("ready"),r}}});tt=function(n){var i=t.items.length;return n>i-1?n-i:0>n?i+n:n};pt=function(n,t,i){return n.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};n.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"><\/button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var u=t.st.gallery,i=".mfp-gallery",f=Boolean(n.fn.mfpFastClick);return t.direction=!0,u&&u.enabled?(c+=" mfp-gallery",r(ft+i,function(){u.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){if(t.items.length>1)return(t.next(),!1)});o.on("keydown"+i,function(n){37===n.keyCode?t.prev():39===n.keyCode&&t.next()})}),r("UpdateStatus"+i,function(n,i){i.text&&(i.text=pt(i.text,t.currItem.index,t.items.length))}),r(ut+i,function(n,i,r,f){var e=t.items.length;r.counter=e>1?pt(u.tCounter,f.index,e):""}),r("BuildControls"+i,function(){if(t.items.length>1&&u.arrows&&!t.arrowLeft){var o=u.arrowMarkup,i=t.arrowLeft=n(o.replace(/%title%/gi,u.tPrev).replace(/%dir%/gi,"left")).addClass(ot),r=t.arrowRight=n(o.replace(/%title%/gi,u.tNext).replace(/%dir%/gi,"right")).addClass(ot),s=f?"mfpFastClick":"click";i[s](function(){t.prev()});r[s](function(){t.next()});t.isIE7&&(e("b",i[0],!1,!0),e("a",i[0],!1,!0),e("b",r[0],!1,!0),e("a",r[0],!1,!0));t.container.append(i.add(r))}}),r(kt+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout);t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages();t._preloadTimeout=null},16)}),r(l+i,function(){o.off(i);t.wrap.off("click"+i);t.arrowLeft&&f&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick();t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0;t.index=tt(t.index+1);t.updateItemHTML()},prev:function(){t.direction=!1;t.index=tt(t.index-1);t.updateItemHTML()},goTo:function(n){t.direction=n>=t.index;t.index=n;t.updateItemHTML()},preloadNearbyImages:function(){for(var i=t.st.gallery.preload,r=Math.min(i[0],t.items.length),u=Math.min(i[1],t.items.length),n=1;(t.direction?u:r)>=n;n++)t._preloadItem(t.index+n);for(n=1;(t.direction?r:u)>=n;n++)t._preloadItem(t.index-n)},_preloadItem:function(r){if(r=tt(r),!t.items[r].preloaded){var u=t.items[r];u.parsed||(u=t.parseEl(r));i("LazyLoad",u);"image"===u.type&&(u.img=n('<img class="mfp-img" />').on("load.mfploader",function(){u.hasSize=!0}).on("error.mfploader",function(){u.hasSize=!0;u.loadError=!0;i("LazyLoadError",u)}).attr("src",u.src));u.preloaded=!0}}}});it="retina";n.magnificPopup.registerModule(it,{options:{replaceSrc:function(n){return n.src.replace(/\.\w+$/,function(n){return"@2x"+n})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var i=t.st.retina,n=i.ratio;n=isNaN(n)?n():n;n>1&&(r("ImageHasSize."+it,function(t,i){i.img.css({"max-width":i.img[0].naturalWidth/n,width:"100%"})}),r("ElementParse."+it,function(t,r){r.src=i.replaceSrc(r,n)}))}}}}),function(){var u=1e3,i="ontouchstart"in window,r=function(){f.off("touchmove"+t+" touchend"+t)},t=".mfpFastClick";n.fn.mfpFastClick=function(e){return n(this).each(function(){var s,l=n(this),a,v,y,h,o,c;if(i)l.on("touchstart"+t,function(n){h=!1;c=1;o=n.originalEvent?n.originalEvent.touches[0]:n.touches[0];v=o.clientX;y=o.clientY;f.on("touchmove"+t,function(n){o=n.originalEvent?n.originalEvent.touches:n.touches;c=o.length;o=o[0];(Math.abs(o.clientX-v)>10||Math.abs(o.clientY-y)>10)&&(h=!0,r())}).on("touchend"+t,function(n){r();h||c>1||(s=!0,n.preventDefault(),clearTimeout(a),a=setTimeout(function(){s=!1},u),e())})});l.on("click"+t,function(){s||e()})})};n.fn.destroyMfpFastClick=function(){n(this).off("touchstart"+t+" click"+t);i&&f.off("touchmove"+t+" touchend"+t)}}();ct()}(window.jQuery||window.Zepto),function(n){"use strict";var t={init:function(i){return this.each(function(){this.self=n(this);t.destroy.call(this.self);this.opt=n.extend(!0,{},n.fn.raty.defaults,i);t._adjustCallback.call(this);t._adjustNumber.call(this);t._adjustHints.call(this);this.opt.score=t._adjustedScore.call(this,this.opt.score);this.opt.starType!=="img"&&t._adjustStarType.call(this);t._adjustPath.call(this);t._createStars.call(this);this.opt.cancel&&t._createCancel.call(this);this.opt.precision&&t._adjustPrecision.call(this);t._createScore.call(this);t._apply.call(this,this.opt.score);t._setTitle.call(this,this.opt.score);t._target.call(this,this.opt.score);this.opt.readOnly?t._lock.call(this):(this.style.cursor="pointer",t._binds.call(this))})},_adjustCallback:function(){for(var t=["number","readOnly","score","scoreName","target"],n=0;n<t.length;n++)typeof this.opt[t[n]]=="function"&&(this.opt[t[n]]=this.opt[t[n]].call(this))},_adjustedScore:function(n){return n?t._between(n,0,this.opt.number):n},_adjustHints:function(){var f,t,n,i,u,r;if(this.opt.hints||(this.opt.hints=[]),this.opt.halfShow||this.opt.half)for(f=this.opt.precision?10:2,t=0;t<this.opt.number;t++)for(n=this.opt.hints[t],Object.prototype.toString.call(n)!=="[object Array]"&&(n=[n]),this.opt.hints[t]=[],i=0;i<f;i++)u=n[i],r=n[n.length-1],r===undefined&&(r=null),this.opt.hints[t][i]=u===undefined?r:u},_adjustNumber:function(){this.opt.number=t._between(this.opt.number,1,this.opt.numberMax)},_adjustPath:function(){this.opt.path=this.opt.path||"";this.opt.path&&this.opt.path.charAt(this.opt.path.length-1)!=="/"&&(this.opt.path+="/")},_adjustPrecision:function(){this.opt.half=!0},_adjustStarType:function(){var t=["cancelOff","cancelOn","starHalf","starOff","starOn"],n;for(this.opt.path="",n=0;n<t.length;n++)this.opt[t[n]]=this.opt[t[n]].replace(".","-")},_apply:function(n){t._fill.call(this,n);n&&(n>0&&this.score.val(n),t._roundStars.call(this,n))},_between:function(n,t,i){return Math.min(Math.max(parseFloat(n),t),i)},_binds:function(){this.cancel&&(t._bindOverCancel.call(this),t._bindClickCancel.call(this),t._bindOutCancel.call(this));t._bindOver.call(this);t._bindClick.call(this);t._bindOut.call(this)},_bindClick:function(){var i=this;i.stars.on("click.raty",function(r){var f=!0,u=i.opt.half||i.opt.precision?i.self.data("score"):this.alt||n(this).data("alt");i.opt.click&&(f=i.opt.click.call(i,+u,r));(f||f===undefined)&&(i.opt.half&&!i.opt.precision&&(u=t._roundHalfScore.call(i,u)),t._apply.call(i,u))})},_bindClickCancel:function(){var n=this;n.cancel.on("click.raty",function(t){n.score.removeAttr("value");n.opt.click&&n.opt.click.call(n,null,t)})},_bindOut:function(){var n=this;n.self.on("mouseleave.raty",function(i){var r=+n.score.val()||undefined;t._apply.call(n,r);t._target.call(n,r,i);t._resetTitle.call(n);n.opt.mouseout&&n.opt.mouseout.call(n,r,i)})},_bindOutCancel:function(){var n=this;n.cancel.on("mouseleave.raty",function(i){var r=n.opt.cancelOff,u;n.opt.starType!=="img"&&(r=n.opt.cancelClass+" "+r);t._setIcon.call(n,this,r);n.opt.mouseout&&(u=+n.score.val()||undefined,n.opt.mouseout.call(n,u,i))})},_bindOver:function(){var n=this,i=n.opt.half?"mousemove.raty":"mouseover.raty";n.stars.on(i,function(i){var r=t._getScoreByPosition.call(n,i,this);t._fill.call(n,r);n.opt.half&&(t._roundStars.call(n,r,i),t._setTitle.call(n,r,i),n.self.data("score",r));t._target.call(n,r,i);n.opt.mouseover&&n.opt.mouseover.call(n,r,i)})},_bindOverCancel:function(){var n=this;n.cancel.on("mouseover.raty",function(i){var u=n.opt.path+n.opt.starOff,r=n.opt.cancelOn;n.opt.starType==="img"?n.stars.attr("src",u):(r=n.opt.cancelClass+" "+r,n.stars.attr("class",u));t._setIcon.call(n,this,r);t._target.call(n,null,i);n.opt.mouseover&&n.opt.mouseover.call(n,null)})},_buildScoreField:function(){return n("<input />",{name:this.opt.scoreName,type:"hidden"}).appendTo(this)},_createCancel:function(){var i=this.opt.path+this.opt.cancelOff,t=n("<"+this.opt.starType+" />",{title:this.opt.cancelHint,"class":this.opt.cancelClass});this.opt.starType==="img"?t.attr({src:i,alt:"x"}):t.attr("data-alt","x").addClass(i);this.opt.cancelPlace==="left"?this.self.prepend("&#160;").prepend(t):this.self.append("&#160;").append(t);this.cancel=t},_createScore:function(){var i=n(this.opt.targetScore);this.score=i.length?i:t._buildScoreField.call(this)},_createStars:function(){for(var u,r,i=1;i<=this.opt.number;i++)u=t._nameForIndex.call(this,i),r={alt:i,src:this.opt.path+this.opt[u]},this.opt.starType!=="img"&&(r={"data-alt":i,"class":r.src}),r.title=t._getHint.call(this,i),n("<"+this.opt.starType+" />",r).appendTo(this),this.opt.space&&this.self.append(i<this.opt.number?"&#160;":"");this.stars=this.self.children(this.opt.starType)},_error:function(t){n(this).text(t);n.error(t)},_fill:function(n){for(var f=0,r,e,o,u,i=1;i<=this.stars.length;i++)e=this.stars[i-1],o=t._turnOn.call(this,i,n),this.opt.iconRange&&this.opt.iconRange.length>f?(u=this.opt.iconRange[f],r=t._getRangeIcon.call(this,u,o),i<=u.range&&t._setIcon.call(this,e,r),i===u.range&&f++):(r=this.opt[o?"starOn":"starOff"],t._setIcon.call(this,e,r))},_getFirstDecimal:function(n){var t=n.toString().split(".")[1],i=0;return t&&(i=parseInt(t.charAt(0),10),t.slice(1,5)==="9999"&&i++),i},_getRangeIcon:function(n,t){return t?n.on||this.opt.starOn:n.off||this.opt.starOff},_getScoreByPosition:function(i,r){var u=parseInt(r.alt||r.getAttribute("data-alt"),10),f,e;return this.opt.half&&(f=t._getWidth.call(this),e=parseFloat((i.pageX-n(r).offset().left)/f),u=u-1+e),u},_getHint:function(n,i){if(n!==0&&!n)return this.opt.noRatedMsg;var r=t._getFirstDecimal.call(this,n),o=Math.ceil(n),f=this.opt.hints[(o||1)-1],u=f,e=!i||this.move;return this.opt.precision?(e&&(r=r===0?9:r-1),u=f[r]):(this.opt.halfShow||this.opt.half)&&(r=e&&r===0?1:r>5?1:0,u=f[r]),u===""?"":u||n},_getWidth:function(){var n=this.stars[0].width||parseFloat(this.stars.eq(0).css("font-size"));return n||t._error.call(this,"Could not get the icon width!"),n},_lock:function(){var n=t._getHint.call(this,this.score.val());this.style.cursor="";this.title=n;this.score.prop("readonly",!0);this.stars.prop("title",n);this.cancel&&this.cancel.hide();this.self.data("readonly",!0)},_nameForIndex:function(n){return this.opt.score&&this.opt.score>=n?"starOn":"starOff"},_resetTitle:function(){for(var n=0;n<this.opt.number;n++)this.stars[n].title=t._getHint.call(this,n+1)},_roundHalfScore:function(n){var r=parseInt(n,10),i=t._getFirstDecimal.call(this,n);return i!==0&&(i=i>5?1:.5),r+i},_roundStars:function(n,i){var u=(n%1).toFixed(2),r,f,e;i||this.move?r=u>.5?"starOn":"starHalf":u>this.opt.round.down&&(r="starOn",this.opt.halfShow&&u<this.opt.round.up?r="starHalf":u<this.opt.round.full&&(r="starOff"));r&&(f=this.opt[r],e=this.stars[Math.ceil(n)-1],t._setIcon.call(this,e,f))},_setIcon:function(n,t){n[this.opt.starType==="img"?"src":"className"]=this.opt.path+t},_setTarget:function(n,t){t&&(t=this.opt.targetFormat.toString().replace("{score}",t));n.is(":input")?n.val(t):n.html(t)},_setTitle:function(n,i){if(n){var r=parseInt(Math.ceil(n),10),u=this.stars[r-1];u.title=t._getHint.call(this,n,i)}},_target:function(i,r){var u,f,e;this.opt.target&&(u=n(this.opt.target),u.length||t._error.call(this,"Target selector invalid or missing!"),f=r&&r.type==="mouseover",i===undefined?i=this.opt.targetText:i===null?i=f?this.opt.cancelHint:this.opt.targetText:(this.opt.targetType==="hint"?i=t._getHint.call(this,i,r):this.opt.precision&&(i=parseFloat(i).toFixed(1)),e=r&&r.type==="mousemove",f||e||this.opt.targetKeep||(i=this.opt.targetText)),t._setTarget.call(this,u,i))},_turnOn:function(n,t){return this.opt.single?n===t:n<=t},_unlock:function(){this.style.cursor="pointer";this.removeAttribute("title");this.score.removeAttr("readonly");this.self.data("readonly",!1);for(var n=0;n<this.opt.number;n++)this.stars[n].title=t._getHint.call(this,n+1);this.cancel&&this.cancel.css("display","")},cancel:function(i){return this.each(function(){var r=n(this);r.data("readonly")!==!0&&(t[i?"click":"score"].call(r,null),this.score.removeAttr("value"))})},click:function(i){return this.each(function(){n(this).data("readonly")!==!0&&(i=t._adjustedScore.call(this,i),t._apply.call(this,i),this.opt.click&&this.opt.click.call(this,i,n.Event("click")),t._target.call(this,i))})},destroy:function(){return this.each(function(){var t=n(this),i=t.data("raw");i?t.off(".raty").empty().css({cursor:i.style.cursor}).removeData("readonly"):t.data("raw",t.clone()[0])})},getScore:function(){var n=[],t;return this.each(function(){t=this.score.val();n.push(t?+t:undefined)}),n.length>1?n:n[0]},move:function(i){return this.each(function(){var r=parseInt(i,10),u=t._getFirstDecimal.call(this,i);r>=this.opt.number&&(r=this.opt.number-1,u=10);var e=t._getWidth.call(this),o=e/10,f=n(this.stars[r]),s=f.offset().left+o*u,h=n.Event("mousemove",{pageX:s});this.move=!0;f.trigger(h);this.move=!1})},readOnly:function(i){return this.each(function(){var r=n(this);r.data("readonly")!==i&&(i?(r.off(".raty").children("img").off(".raty"),t._lock.call(this)):(t._binds.call(this),t._unlock.call(this)),r.data("readonly",i))})},reload:function(){return t.set.call(this,{})},score:function(){var i=n(this);return arguments.length?t.setScore.apply(i,arguments):t.getScore.call(i)},set:function(t){return this.each(function(){n(this).raty(n.extend({},this.opt,t))})},setScore:function(i){return this.each(function(){n(this).data("readonly")!==!0&&(i=t._adjustedScore.call(this,i),t._apply.call(this,i),t._target.call(this,i))})}};n.fn.raty=function(i){if(t[i])return t[i].apply(this,Array.prototype.slice.call(arguments,1));if(typeof i!="object"&&i)n.error("Method "+i+" does not exist!");else return t.init.apply(this,arguments)};n.fn.raty.defaults={cancel:!1,cancelClass:"raty-cancel",cancelHint:"Cancel this rating!",cancelOff:"cancel-off.png",cancelOn:"cancel-on.png",cancelPlace:"left",click:undefined,half:!1,halfShow:!0,hints:["bad","poor","regular","good","gorgeous"],iconRange:undefined,mouseout:undefined,mouseover:undefined,noRatedMsg:"Not rated yet!",number:5,numberMax:20,path:undefined,precision:!1,readOnly:!1,round:{down:.25,full:.6,up:.76},score:undefined,scoreName:"score",single:!1,space:!0,starHalf:"star-half.png",starOff:"star-off.png",starOn:"star-on.png",starType:"img",target:undefined,targetFormat:"{score}",targetKeep:!1,targetScore:undefined,targetText:"",targetType:"hint"}}(jQuery),function(){var t,n;t=this.jQuery||window.jQuery;n=t(window);t.fn.stick_in_parent=function(i){var s,e,a,h,c,v,r,u,o,l,f;for(null==i&&(i={}),f=i.sticky_class,c=i.inner_scrolling,l=i.recalc_every,o=i.parent,u=i.offset_top,r=i.spacer,e=i.bottoming,null==u&&(u=0),null==o&&(o=void 0),null==c&&(c=!0),null==f&&(f="is_stuck"),s=t(document),null==e&&(e=!0),a=function(i,h,a,v,y,p,w,b){var it,ot,nt,et,st,k,d,rt,ut,ft,g,tt;if(!i.data("sticky_kit")){if(i.data("sticky_kit",!0),st=s.height(),d=i.parent(),null!=o&&(d=d.closest(o)),!d.length)throw"failed to find stick parent";if(it=nt=!1,(g=null!=r?r&&i.closest(r):t("<div />"))&&g.css("position",i.css("position")),rt=function(){var n,t,e;if(!b&&(st=s.height(),n=parseInt(d.css("border-top-width"),10),t=parseInt(d.css("padding-top"),10),h=parseInt(d.css("padding-bottom"),10),a=d.offset().top+n+t,v=d.height(),nt&&(it=nt=!1,null==r&&(i.insertAfter(g),g.detach()),i.css({position:"",top:"",width:"",bottom:""}).removeClass(f),e=!0),y=i.offset().top-(parseInt(i.css("margin-top"),10)||0)-u,p=i.outerHeight(!0),w=i.css("float"),g&&g.css({width:i.outerWidth(!0),height:p,display:i.css("display"),"vertical-align":i.css("vertical-align"),float:w}),e))return tt()},rt(),p!==v)return et=void 0,k=u,ft=l,tt=function(){var o,ut,t,tt;if(!b&&(t=!1,null!=ft&&(--ft,0>=ft&&(ft=l,rt(),t=!0)),t||s.height()===st||rt(),t=n.scrollTop(),null!=et&&(ut=t-et),et=t,nt?(e&&(tt=t+p+k>v+a,it&&!tt&&(it=!1,i.css({position:"fixed",bottom:"",top:k}).trigger("sticky_kit:unbottom"))),t<y&&(nt=!1,k=u,null==r&&("left"!==w&&"right"!==w||i.insertAfter(g),g.detach()),o={position:"",width:"",top:""},i.css(o).removeClass(f).trigger("sticky_kit:unstick")),c&&(o=n.height(),p+u>o&&!it&&(k-=ut,k=Math.max(o-p,k),k=Math.min(u,k),nt&&i.css({top:k+"px"})))):t>y&&(nt=!0,o={position:"fixed",top:k},o.width="border-box"===i.css("box-sizing")?i.outerWidth()+"px":i.width()+"px",i.css(o).addClass(f),null==r&&(i.after(g),"left"!==w&&"right"!==w||g.append(i)),i.trigger("sticky_kit:stick")),nt&&e&&(null==tt&&(tt=t+p+k>v+a),!it&&tt)))return it=!0,"static"===d.css("position")&&d.css({position:"relative"}),i.css({position:"absolute",bottom:h,top:"auto"}).trigger("sticky_kit:bottom")},ut=function(){return rt(),tt()},ot=function(){return b=!0,n.off("touchmove",tt),n.off("scroll",tt),n.off("resize",ut),t(document.body).off("sticky_kit:recalc",ut),i.off("sticky_kit:detach",ot),i.removeData("sticky_kit"),i.css({position:"",bottom:"",top:"",width:""}),d.position("position",""),nt?(null==r&&("left"!==w&&"right"!==w||i.insertAfter(g),g.remove()),i.removeClass(f)):void 0},n.on("touchmove",tt),n.on("scroll",tt),n.on("resize",ut),t(document.body).on("sticky_kit:recalc",ut),i.on("sticky_kit:detach",ot),setTimeout(tt,0)}},h=0,v=this.length;h<v;h++)i=this[h],a(t(i));return this}}.call(this);!function(n,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return t(n,i)}):"object"==typeof module&&module.exports?module.exports=t(n,require("jquery")):n.jQueryBridget=t(n,n.jQuery)}(window,function(n,t){"use strict";function i(i,u,o){function s(n,t,r){var u,e="$()."+i+'("'+t+'")';return n.each(function(n,s){var h=o.data(s,i),c,l;if(!h)return void f(i+" not initialized. Cannot call methods, i.e. "+e);if(c=h[t],!c||"_"==t.charAt(0))return void f(e+" is not a valid method");l=c.apply(h,r);u=void 0===u?l:u}),void 0!==u?u:n}function h(n,t){n.each(function(n,r){var f=o.data(r,i);f?(f.option(t),f._init()):(f=new u(r,t),o.data(r,i,f))})}o=o||t||n.jQuery;o&&(u.prototype.option||(u.prototype.option=function(n){o.isPlainObject(n)&&(this.options=o.extend(!0,this.options,n))}),o.fn[i]=function(n){if("string"==typeof n){var t=e.call(arguments,1);return s(this,n,t)}return h(this,n),this},r(o))}function r(n){!n||n&&n.bridget||(n.bridget=i)}var e=Array.prototype.slice,u=n.console,f="undefined"==typeof u?function(){}:function(n){u.error(n)};return r(t||n.jQuery),i}),function(n,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():n.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function t(){}var n=t.prototype;return n.on=function(n,t){if(n&&t){var i=this._events=this._events||{},r=i[n]=i[n]||[];return r.indexOf(t)==-1&&r.push(t),this}},n.once=function(n,t){if(n&&t){this.on(n,t);var i=this._onceEvents=this._onceEvents||{},r=i[n]=i[n]||{};return r[t]=!0,this}},n.off=function(n,t){var i=this._events&&this._events[n],r;if(i&&i.length)return r=i.indexOf(t),r!=-1&&i.splice(r,1),this},n.emitEvent=function(n,t){var r=this._events&&this._events[n],u,i,f,e;if(r&&r.length){for(u=0,i=r[u],t=t||[],f=this._onceEvents&&this._onceEvents[n];i;)e=f&&f[i],e&&(this.off(n,i),delete f[i]),i.apply(this,t),u+=e?0:1,i=r[u];return this}},t}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():n.getSize=t()}(window,function(){"use strict";function n(n){var t=parseFloat(n),i=n.indexOf("%")==-1&&!isNaN(t);return i&&t}function o(){}function s(){for(var r,i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<f;n++)r=t[n],i[r]=0;return i}function i(n){var t=getComputedStyle(n);return t||c("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}function h(){var t,f,o;e||(e=!0,t=document.createElement("div"),t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box",f=document.body||document.documentElement,f.appendChild(t),o=i(t),r.isBoxSizeOuter=u=200==n(o.width),f.removeChild(t))}function r(r){var o,e,a,c,l;if(h(),"string"==typeof r&&(r=document.querySelector(r)),r&&"object"==typeof r&&r.nodeType){if(o=i(r),"none"==o.display)return s();for(e={},e.width=r.offsetWidth,e.height=r.offsetHeight,a=e.isBorderBox="border-box"==o.boxSizing,c=0;c<f;c++){var v=t[c],nt=o[v],y=parseFloat(nt);e[v]=isNaN(y)?0:y}var p=e.paddingLeft+e.paddingRight,w=e.paddingTop+e.paddingBottom,tt=e.marginLeft+e.marginRight,it=e.marginTop+e.marginBottom,b=e.borderLeftWidth+e.borderRightWidth,k=e.borderTopWidth+e.borderBottomWidth,d=a&&u,g=n(o.width);return g!==!1&&(e.width=g+(d?0:p+b)),l=n(o.height),l!==!1&&(e.height=l+(d?0:w+k)),e.innerWidth=e.width-(p+b),e.innerHeight=e.height-(w+k),e.outerWidth=e.width+tt,e.outerHeight=e.height+it,e}}var u,c="undefined"==typeof console?o:function(n){console.error(n)},t=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],f=t.length,e=!1;return r}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():n.matchesSelector=t()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype,i,n,u,r;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(i=["webkit","moz","ms","o"],n=0;n<i.length;n++)if(u=i[n],r=u+"MatchesSelector",t[r])return r}();return function(t,i){return t[n](i)}}),function(n,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return t(n,i)}):"object"==typeof module&&module.exports?module.exports=t(n,require("desandro-matches-selector")):n.fizzyUIUtils=t(n,n.matchesSelector)}(window,function(n,t){var i={},r;return i.extend=function(n,t){for(var i in t)n[i]=t[i];return n},i.modulo=function(n,t){return(n%t+t)%t},i.makeArray=function(n){var t=[],i;if(Array.isArray(n))t=n;else if(n&&"object"==typeof n&&"number"==typeof n.length)for(i=0;i<n.length;i++)t.push(n[i]);else t.push(n);return t},i.removeFrom=function(n,t){var i=n.indexOf(t);i!=-1&&n.splice(i,1)},i.getParent=function(n,i){for(;n.parentNode&&n!=document.body;)if(n=n.parentNode,t(n,i))return n},i.getQueryElement=function(n){return"string"==typeof n?document.querySelector(n):n},i.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},i.filterFindElements=function(n,r){n=i.makeArray(n);var u=[];return n.forEach(function(n){if(n instanceof HTMLElement){if(!r)return void u.push(n);t(n,r)&&u.push(n);for(var f=n.querySelectorAll(r),i=0;i<f.length;i++)u.push(f[i])}}),u},i.debounceMethod=function(n,t,i){var u=n.prototype[t],r=t+"Timeout";n.prototype[t]=function(){var t=this[r],f,n;t&&clearTimeout(t);f=arguments;n=this;this[r]=setTimeout(function(){u.apply(n,f);delete n[r]},i||100)}},i.docReady=function(n){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(n):document.addEventListener("DOMContentLoaded",n)},i.toDashed=function(n){return n.replace(/(.)([A-Z])/g,function(n,t,i){return t+"-"+i}).toLowerCase()},r=n.console,i.htmlInit=function(t,u){i.docReady(function(){var e=i.toDashed(u),f="data-"+e,s=document.querySelectorAll("["+f+"]"),h=document.querySelectorAll(".js-"+e),c=i.makeArray(s).concat(i.makeArray(h)),l=f+"-options",o=n.jQuery;c.forEach(function(n){var i,e=n.getAttribute(f)||n.getAttribute(l),s;try{i=e&&JSON.parse(e)}catch(h){return void(r&&r.error("Error parsing "+f+" on "+n.className+": "+h))}s=new t(n,i);o&&o.data(n,u,s)})})},i}),function(n,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(n.Outlayer={},n.Outlayer.Item=t(n.EvEmitter,n.getSize))}(window,function(n,t){"use strict";function l(n){for(var t in n)return!1;return t=null,!0}function u(n,t){n&&(this.element=n,this.layout=t,this.position={x:0,y:0},this._create())}function a(n){return n.replace(/([A-Z])/g,function(n){return"-"+n.toLowerCase()})}var f=document.documentElement.style,r="string"==typeof f.transition?"transition":"WebkitTransition",e="string"==typeof f.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],v={transform:e,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},i=u.prototype=Object.create(n.prototype),s,h,c;return i.constructor=u,i._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}};this.css({position:"absolute"})},i.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},i.getSize=function(){this.size=t(this.element)},i.css=function(n){var r=this.element.style,t,i;for(t in n)i=v[t]||t,r[i]=n[t]},i.getPosition=function(){var f=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),r=f[e?"left":"right"],u=f[o?"top":"bottom"],n=this.layout.size,t=r.indexOf("%")!=-1?parseFloat(r)/100*n.width:parseInt(r,10),i=u.indexOf("%")!=-1?parseFloat(u)/100*n.height:parseInt(u,10);t=isNaN(t)?0:t;i=isNaN(i)?0:i;t-=e?n.paddingLeft:n.paddingRight;i-=o?n.paddingTop:n.paddingBottom;this.position.x=t;this.position.y=i},i.layoutPosition=function(){var r=this.layout.size,n={},t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),u=t?"paddingLeft":"paddingRight",f=t?"left":"right",e=t?"right":"left",o=this.position.x+r[u];n[f]=this.getXValue(o);n[e]="";var s=i?"paddingTop":"paddingBottom",h=i?"top":"bottom",c=i?"bottom":"top",l=this.position.y+r[s];n[h]=this.getYValue(l);n[c]="";this.css(n);this.emitEvent("layout",[this])},i.getXValue=function(n){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?n/this.layout.size.width*100+"%":n+"px"},i.getYValue=function(n){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?n/this.layout.size.height*100+"%":n+"px"},i._transitionTo=function(n,t){this.getPosition();var r=this.position.x,u=this.position.y,f=parseInt(n,10),e=parseInt(t,10),o=f===this.position.x&&e===this.position.y;if(this.setPosition(n,t),o&&!this.isTransitioning)return void this.layoutPosition();var s=n-r,h=t-u,i={};i.transform=this.getTranslate(s,h);this.transition({to:i,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},i.getTranslate=function(n,t){var i=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop");return n=i?n:-n,t=r?t:-t,"translate3d("+n+"px, "+t+"px, 0)"},i.goTo=function(n,t){this.setPosition(n,t);this.layoutPosition()},i.moveTo=i._transitionTo,i.setPosition=function(n,t){this.position.x=parseInt(n,10);this.position.y=parseInt(t,10)},i._nonTransition=function(n){this.css(n.to);n.isCleaning&&this._removeStyles(n.to);for(var t in n.onTransitionEnd)n.onTransitionEnd[t].call(this)},i.transition=function(n){var i,t,r;if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(n);i=this._transn;for(t in n.onTransitionEnd)i.onEnd[t]=n.onTransitionEnd[t];for(t in n.to)i.ingProperties[t]=!0,n.isCleaning&&(i.clean[t]=!0);n.from&&(this.css(n.from),r=this.element.offsetHeight,r=null);this.enableTransition(n.to);this.css(n.to);this.isTransitioning=!0},s="opacity,"+a(e),i.enableTransition=function(){if(!this.isTransitioning){var n=this.layout.options.transitionDuration;n="number"==typeof n?n+"ms":n;this.css({transitionProperty:s,transitionDuration:n,transitionDelay:this.staggerDelay||0});this.element.addEventListener(o,this,!1)}},i.onwebkitTransitionEnd=function(n){this.ontransitionend(n)},i.onotransitionend=function(n){this.ontransitionend(n)},h={"-webkit-transform":"transform"},i.ontransitionend=function(n){var t,i,r;n.target===this.element&&(t=this._transn,i=h[n.propertyName]||n.propertyName,(delete t.ingProperties[i],l(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[n.propertyName]="",delete t.clean[i]),i in t.onEnd)&&(r=t.onEnd[i],r.call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this]))},i.disableTransition=function(){this.removeTransitionStyles();this.element.removeEventListener(o,this,!1);this.isTransitioning=!1},i._removeStyles=function(n){var t={},i;for(i in n)t[i]="";this.css(t)},c={transitionProperty:"",transitionDuration:"",transitionDelay:""},i.removeTransitionStyles=function(){this.css(c)},i.stagger=function(n){n=isNaN(n)?0:n;this.staggerDelay=n+"ms"},i.removeElem=function(){this.element.parentNode.removeChild(this.element);this.css({display:""});this.emitEvent("remove",[this])},i.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},i.reveal=function(){delete this.isHidden;this.css({display:""});var n=this.layout.options,t={},i=this.getHideRevealTransitionEndProperty("visibleStyle");t[i]=this.onRevealTransitionEnd;this.transition({from:n.hiddenStyle,to:n.visibleStyle,isCleaning:!0,onTransitionEnd:t})},i.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},i.getHideRevealTransitionEndProperty=function(n){var t=this.layout.options[n],i;if(t.opacity)return"opacity";for(i in t)return i},i.hide=function(){this.isHidden=!0;this.css({display:""});var n=this.layout.options,t={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");t[i]=this.onHideTransitionEnd;this.transition({from:n.visibleStyle,to:n.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},i.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},i.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},u}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,r,u,f){return t(n,i,r,u,f)}):"object"==typeof module&&module.exports?module.exports=t(n,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):n.Outlayer=t(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)}(window,function(n,t,i,r,u){"use strict";function e(n,t){var i=r.getQueryElement(n),u,f;if(!i)return void(c&&c.error("Bad element for "+this.constructor.namespace+": "+(i||n)));this.element=i;o&&(this.$element=o(this.element));this.options=r.extend({},this.constructor.defaults);this.option(t);u=++y;this.element.outlayerGUID=u;s[u]=this;this._create();f=this._getOption("initLayout");f&&this.layout()}function h(n){function t(){n.apply(this,arguments)}return t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t}function v(n){var r;if("number"==typeof n)return n;var t=n.match(/(^\d*\.?\d*)(\w*)/),i=t&&t[1],u=t&&t[2];return i.length?(i=parseFloat(i),r=a[u]||1,i*r):0}var c=n.console,o=n.jQuery,l=function(){},y=0,s={},f,a;return e.namespace="outlayer",e.Item=u,e.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},f=e.prototype,r.extend(f,t.prototype),f.option=function(n){r.extend(this.options,n)},f._getOption=function(n){var t=this.constructor.compatOptions[n];return t&&void 0!==this.options[t]?this.options[t]:this.options[n]},e.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems();this.stamps=[];this.stamp(this.options.stamp);r.extend(this.element.style,this.options.containerStyle);var n=this._getOption("resize");n&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(n){for(var u,f,i=this._filterFindItemElements(n),e=this.constructor.Item,r=[],t=0;t<i.length;t++)u=i[t],f=new e(u,this),r.push(f);return r},f._filterFindItemElements=function(n){return r.filterFindElements(n,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(n){return n.element})},f.layout=function(){this._resetLayout();this._manageStamps();var n=this._getOption("layoutInstant"),t=void 0!==n?n:!this._isLayoutInited;this.layoutItems(this.items,t);this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(n,t){var u,r=this.options[n];r?("string"==typeof r?u=this.element.querySelector(r):r instanceof HTMLElement&&(u=r),this[n]=u?i(u)[t]:r):this[n]=0},f.layoutItems=function(n,t){n=this._getItemsForLayout(n);this._layoutItems(n,t);this._postLayout()},f._getItemsForLayout=function(n){return n.filter(function(n){return!n.isIgnored})},f._layoutItems=function(n,t){if(this._emitCompleteOnItems("layout",n),n&&n.length){var i=[];n.forEach(function(n){var r=this._getItemLayoutPosition(n);r.item=n;r.isInstant=t||n.isLayoutInstant;i.push(r)},this);this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(n){this.updateStagger();n.forEach(function(n,t){this._positionItem(n.item,n.x,n.y,n.isInstant,t)},this)},f.updateStagger=function(){var n=this.options.stagger;return null===n||void 0===n?void(this.stagger=0):(this.stagger=v(n),this.stagger)},f._positionItem=function(n,t,i,r,u){r?n.goTo(t,i):(n.stagger(u*this.stagger),n.moveTo(t,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer"),n;t&&(n=this._getContainerSize(),n&&(this._setContainerMeasure(n.width,!0),this._setContainerMeasure(n.height,!1)))},f._getContainerSize=l,f._setContainerMeasure=function(n,t){if(void 0!==n){var i=this.size;i.isBorderBox&&(n+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth);n=Math.max(n,0);this.element.style[t?"width":"height"]=n+"px"}},f._emitCompleteOnItems=function(n,t){function r(){e.dispatchEvent(n+"Complete",null,[t])}function f(){i++;i==u&&r()}var e=this,u=t.length,i;if(!t||!u)return void r();i=0;t.forEach(function(t){t.once(n,f)})},f.dispatchEvent=function(n,t,i){var u=t?[t].concat(i):i,r;(this.emitEvent(n,u),o)&&((this.$element=this.$element||o(this.element),t)?(r=o.Event(t),r.type=n,this.$element.trigger(r,i)):this.$element.trigger(n,i))},f.ignore=function(n){var t=this.getItem(n);t&&(t.isIgnored=!0)},f.unignore=function(n){var t=this.getItem(n);t&&delete t.isIgnored},f.stamp=function(n){n=this._find(n);n&&(this.stamps=this.stamps.concat(n),n.forEach(this.ignore,this))},f.unstamp=function(n){n=this._find(n);n&&n.forEach(function(n){r.removeFrom(this.stamps,n);this.unignore(n)},this)},f._find=function(n){if(n)return"string"==typeof n&&(n=this.element.querySelectorAll(n)),n=r.makeArray(n)},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),n=this.size;this._boundingRect={left:t.left+n.paddingLeft+n.borderLeftWidth,top:t.top+n.paddingTop+n.borderTopWidth,right:t.right-(n.paddingRight+n.borderRightWidth),bottom:t.bottom-(n.paddingBottom+n.borderBottomWidth)}},f._manageStamp=l,f._getElementOffset=function(n){var t=n.getBoundingClientRect(),r=this._boundingRect,u=i(n);return{left:t.left-r.left-u.marginLeft,top:t.top-r.top-u.marginTop,right:r.right-t.right-u.marginRight,bottom:r.bottom-t.bottom-u.marginBottom}},f.handleEvent=r.handleEvent,f.bindResize=function(){n.addEventListener("resize",this);this.isResizeBound=!0},f.unbindResize=function(){n.removeEventListener("resize",this);this.isResizeBound=!1},f.onresize=function(){this.resize()},r.debounceMethod(e,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var n=i(this.element),t=this.size&&n;return t&&n.innerWidth!==this.size.innerWidth},f.addItems=function(n){var t=this._itemize(n);return t.length&&(this.items=this.items.concat(t)),t},f.appended=function(n){var t=this.addItems(n);t.length&&(this.layoutItems(t,!0),this.reveal(t))},f.prepended=function(n){var t=this._itemize(n),i;t.length&&(i=this.items.slice(0),this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i))},f.reveal=function(n){if(this._emitCompleteOnItems("reveal",n),n&&n.length){var t=this.updateStagger();n.forEach(function(n,i){n.stagger(i*t);n.reveal()})}},f.hide=function(n){if(this._emitCompleteOnItems("hide",n),n&&n.length){var t=this.updateStagger();n.forEach(function(n,i){n.stagger(i*t);n.hide()})}},f.revealItemElements=function(n){var t=this.getItems(n);this.reveal(t)},f.hideItemElements=function(n){var t=this.getItems(n);this.hide(t)},f.getItem=function(n){for(var i,t=0;t<this.items.length;t++)if(i=this.items[t],i.element==n)return i},f.getItems=function(n){n=r.makeArray(n);var t=[];return n.forEach(function(n){var i=this.getItem(n);i&&t.push(i)},this),t},f.remove=function(n){var t=this.getItems(n);this._emitCompleteOnItems("remove",t);t&&t.length&&t.forEach(function(n){n.remove();r.removeFrom(this.items,n)},this)},f.destroy=function(){var n=this.element.style,t;n.height="";n.position="";n.width="";this.items.forEach(function(n){n.destroy()});this.unbindResize();t=this.element.outlayerGUID;delete s[t];delete this.element.outlayerGUID;o&&o.removeData(this.element,this.constructor.namespace)},e.data=function(n){n=r.getQueryElement(n);var t=n&&n.outlayerGUID;return t&&s[t]},e.create=function(n,t){var i=h(e);return i.defaults=r.extend({},e.defaults),r.extend(i.defaults,t),i.compatOptions=r.extend({},e.compatOptions),i.namespace=n,i.data=e.data,i.Item=h(u),r.htmlInit(i,n),o&&o.bridget&&o.bridget(n,i),i},a={ms:1,s:1e3},e.Item=u,e}),function(n,t){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer")):(n.Isotope=n.Isotope||{},n.Isotope.Item=t(n.Outlayer))}(window,function(n){"use strict";function i(){n.Item.apply(this,arguments)}var t=i.prototype=Object.create(n.Item.prototype),u=t._create,r;return t._create=function(){this.id=this.layout.itemGUID++;u.call(this);this.sortData={}},t.updateSortData=function(){var t,i,n,r;if(!this.isIgnored){this.sortData.id=this.id;this.sortData["original-order"]=this.id;this.sortData.random=Math.random();t=this.layout.options.getSortData;i=this.layout._sorters;for(n in t)r=i[n],this.sortData[n]=r(this.element,this)}},r=t.destroy,t.destroy=function(){r.apply(this,arguments);this.css({display:""})},i}),function(n,t){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("get-size"),require("outlayer")):(n.Isotope=n.Isotope||{},n.Isotope.LayoutMode=t(n.getSize,n.Outlayer))}(window,function(n,t){"use strict";function r(n){this.isotope=n;n&&(this.options=n.options[this.namespace],this.element=n.element,this.items=n.filteredItems,this.size=n.size)}var i=r.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(n){i[n]=function(){return t.prototype[n].apply(this.isotope,arguments)}}),i.needsVerticalResizeLayout=function(){var t=n(this.isotope.element),i=this.isotope.size&&t;return i&&t.innerHeight!=this.isotope.size.innerHeight},i._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.getRowHeight=function(){this.getSegmentSize("row","Height")},i.getSegmentSize=function(n,t){var i=n+t,u="outer"+t,r;(this._getMeasurement(i,u),this[i])||(r=this.getFirstItemSize(),this[i]=r&&r[u]||this.isotope.size["inner"+t])},i.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&n(t.element)},i.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.getSize=function(){this.isotope.getSize();this.size=this.isotope.size},r.modes={},r.create=function(n,t){function u(){r.apply(this,arguments)}return u.prototype=Object.create(i),u.prototype.constructor=u,t&&(u.options=t),u.prototype.namespace=n,r.modes[n]=u,u},r}),function(n,t){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):n.Masonry=t(n.Outlayer,n.getSize)}(window,function(n,t){var r=n.create("masonry"),i;return r.compatOptions.fitWidth="isFitWidth",i=r.prototype,i._resetLayout=function(){this.getSize();this._getMeasurement("columnWidth","outerWidth");this._getMeasurement("gutter","outerWidth");this.measureColumns();this.colYs=[];for(var n=0;n<this.cols;n++)this.colYs.push(0);this.maxY=0;this.horizontalColIndex=0},i.measureColumns=function(){var n,i;(this.getContainerWidth(),this.columnWidth)||(n=this.items[0],i=n&&n.element,this.columnWidth=i&&t(i).outerWidth||this.containerWidth);var r=this.columnWidth+=this.gutter,f=this.containerWidth+this.gutter,u=f/r,e=r-f%r,o=e&&e<1?"round":"floor";u=Math[o](u);this.cols=Math.max(u,1)},i.getContainerWidth=function(){var i=this._getOption("fitWidth"),r=i?this.element.parentNode:this.element,n=t(r);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(n){n.getSize();var u=n.size.outerWidth%this.columnWidth,f=u&&u<1?"round":"ceil",i=Math[f](n.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var e=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",t=this[e](i,n),o={x:this.columnWidth*t.col,y:t.y},s=t.y+n.size.outerHeight,h=i+t.col,r=t.col;r<h;r++)this.colYs[r]=s;return o},i._getTopColPosition=function(n){var t=this._getTopColGroup(n),i=Math.min.apply(Math,t);return{col:t.indexOf(i),y:i}},i._getTopColGroup=function(n){if(n<2)return this.colYs;for(var i=[],r=this.cols+1-n,t=0;t<r;t++)i[t]=this._getColGroupY(t,n);return i},i._getColGroupY=function(n,t){if(t<2)return this.colYs[n];var i=this.colYs.slice(n,n+t);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(n,t){var i=this.horizontalColIndex%this.cols,u=n>1&&i+n>this.cols,r;return i=u?0:i,r=t.size.outerWidth&&t.size.outerHeight,this.horizontalColIndex=r?i+n:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,n)}},i._manageStamp=function(n){var e=t(n),r=this._getElementOffset(n),h=this._getOption("originLeft"),o=h?r.left:r.right,s=o+e.outerWidth,f=Math.floor(o/this.columnWidth),i;f=Math.max(0,f);i=Math.floor(s/this.columnWidth);i-=s%this.columnWidth?0:1;i=Math.min(this.cols-1,i);for(var c=this._getOption("originTop"),l=(c?r.top:r.bottom)+e.outerHeight,u=f;u<=i;u++)this.colYs[u]=Math.max(l,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var n={height:this.maxY};return this._getOption("fitWidth")&&(n.width=this._getContainerFitWidth()),n},i._getContainerFitWidth=function(){for(var n=0,t=this.cols;--t&&0===this.colYs[t];)n++;return(this.cols-n)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var n=this.containerWidth;return this.getContainerWidth(),n!=this.containerWidth},r}),function(n,t){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode"),require("masonry-layout")):t(n.Isotope.LayoutMode,n.Masonry)}(window,function(n,t){"use strict";var u=n.create("masonry"),i=u.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0},r,f,e;for(r in t.prototype)o[r]||(i[r]=t.prototype[r]);return f=i.measureColumns,i.measureColumns=function(){this.items=this.isotope.filteredItems;f.call(this)},e=i._getOption,i._getOption=function(n){return"fitWidth"==n?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:e.apply(this.isotope,arguments)},u}),function(n,t){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(n.Isotope.LayoutMode)}(window,function(n){"use strict";var i=n.create("fitRows"),t=i.prototype;return t._resetLayout=function(){this.x=0;this.y=0;this.maxY=0;this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(n){var t,i,r;return n.getSize(),t=n.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY),r={x:this.x,y:this.y},this.maxY=Math.max(this.maxY,this.y+n.size.outerHeight),this.x+=t,r},t._getContainerSize=function(){return{height:this.maxY}},i}),function(n,t){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode")):t(n.Isotope.LayoutMode)}(window,function(n){"use strict";var i=n.create("vertical",{horizontalAlignment:0}),t=i.prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(n){n.getSize();var t=(this.isotope.size.innerWidth-n.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=n.size.outerHeight,{x:t,y:i}},t._getContainerSize=function(){return{height:this.y}},i}),function(n,t){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(i,r,u,f,e,o){return t(n,i,r,u,f,e,o)}):"object"==typeof module&&module.exports?module.exports=t(n,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope/js/item"),require("isotope/js/layout-mode"),require("isotope/js/layout-modes/masonry"),require("isotope/js/layout-modes/fit-rows"),require("isotope/js/layout-modes/vertical")):n.Isotope=t(n,n.Outlayer,n.getSize,n.matchesSelector,n.fizzyUIUtils,n.Isotope.Item,n.Isotope.LayoutMode)}(window,function(n,t,i,r,u,f,e){function a(n,t){return function(i,r){for(var s,h,u=0;u<n.length;u++){var f=n[u],e=i.sortData[f],o=r.sortData[f];if(e>o||e<o)return s=void 0!==t[f]?t[f]:t,h=s?1:-1,(e>o?1:-1)*h}return 0}}var h=n.jQuery,v=String.prototype.trim?function(n){return n.trim()}:function(n){return n.replace(/^\s+|\s+$/g,"")},s=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),o,c,l;return s.Item=f,s.LayoutMode=e,o=s.prototype,o._create=function(){this.itemGUID=0;this._sorters={};this._getSorters();t.prototype._create.call(this);this.modes={};this.filteredItems=this.items;this.sortHistory=["original-order"];for(var n in e.modes)this._initLayoutMode(n)},o.reloadItems=function(){this.itemGUID=0;t.prototype.reloadItems.call(this)},o._itemize=function(){for(var r,n=t.prototype._itemize.apply(this,arguments),i=0;i<n.length;i++)r=n[i],r.id=this.itemGUID++;return this._updateItemsSortData(n),n},o._initLayoutMode=function(n){var t=e.modes[n],i=this.options[n]||{};this.options[n]=t.options?u.extend(t.options,i):i;this.modes[n]=new t(this)},o.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},o._layout=function(){var n=this._getIsInstant();this._resetLayout();this._manageStamps();this.layoutItems(this.filteredItems,n);this._isLayoutInited=!0},o.arrange=function(n){this.option(n);this._getIsInstant();var t=this._filter(this.items);this.filteredItems=t.matches;this._bindArrangeComplete();this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t);this._sort();this._layout()},o._init=o.arrange,o._hideReveal=function(n){this.reveal(n.needReveal);this.hide(n.needHide)},o._getIsInstant=function(){var n=this._getOption("layoutInstant"),t=void 0!==n?n:!this._isLayoutInited;return this._isInstant=t,t},o._bindArrangeComplete=function(){function n(){t&&i&&r&&u.dispatchEvent("arrangeComplete",null,[u.filteredItems])}var t,i,r,u=this;this.once("layoutComplete",function(){t=!0;n()});this.once("hideComplete",function(){i=!0;n()});this.once("revealComplete",function(){r=!0;n()})},o._filter=function(n){var r=this.options.filter,t,i;r=r||"*";for(var f=[],e=[],o=[],s=this._getFilterTest(r),u=0;u<n.length;u++)t=n[u],t.isIgnored||(i=s(t),i&&f.push(t),i&&t.isHidden?e.push(t):i||t.isHidden||o.push(t));return{matches:f,needReveal:e,needHide:o}},o._getFilterTest=function(n){return h&&this.options.isJQueryFiltering?function(t){return h(t.element).is(n)}:"function"==typeof n?function(t){return n(t.element)}:function(t){return r(t.element,n)}},o.updateSortData=function(n){var t;n?(n=u.makeArray(n),t=this.getItems(n)):t=this.items;this._getSorters();this._updateItemsSortData(t)},o._getSorters=function(){var t=this.options.getSortData,n,i;for(n in t)i=t[n],this._sorters[n]=c(i)},o._updateItemsSortData=function(n){for(var r,i=n&&n.length,t=0;i&&t<i;t++)r=n[t],r.updateSortData()},c=function(){function n(n){if("string"!=typeof n)return n;var i=v(n).split(" "),r=i[0],u=r.match(/^\[(.+)\]$/),o=u&&u[1],f=t(o,r),e=s.sortDataParsers[i[1]];return e?function(n){return n&&e(f(n))}:function(n){return n&&f(n)}}function t(n,t){return n?function(t){return t.getAttribute(n)}:function(n){var i=n.querySelector(t);return i&&i.textContent}}return n}(),s.sortDataParsers={parseInt:function(n){return parseInt(n,10)},parseFloat:function(n){return parseFloat(n)}},o._sort=function(){var n,t;this.options.sortBy&&(n=u.makeArray(this.options.sortBy),this._getIsSameSortBy(n)||(this.sortHistory=n.concat(this.sortHistory)),t=a(this.sortHistory,this.options.sortAscending),this.filteredItems.sort(t))},o._getIsSameSortBy=function(n){for(var t=0;t<n.length;t++)if(n[t]!=this.sortHistory[t])return!1;return!0},o._mode=function(){var n=this.options.layoutMode,t=this.modes[n];if(!t)throw new Error("No layout mode: "+n);return t.options=this.options[n],t},o._resetLayout=function(){t.prototype._resetLayout.call(this);this._mode()._resetLayout()},o._getItemLayoutPosition=function(n){return this._mode()._getItemLayoutPosition(n)},o._manageStamp=function(n){this._mode()._manageStamp(n)},o._getContainerSize=function(){return this._mode()._getContainerSize()},o.needsResizeLayout=function(){return this._mode().needsResizeLayout()},o.appended=function(n){var t=this.addItems(n),i;t.length&&(i=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(i))},o.prepended=function(n){var t=this._itemize(n),i;t.length&&(this._resetLayout(),this._manageStamps(),i=this._filterRevealAdded(t),this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=t.concat(this.items))},o._filterRevealAdded=function(n){var t=this._filter(n);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},o.insert=function(n){var i=this.addItems(n),t,u,r,f;if(i.length){for(r=i.length,t=0;t<r;t++)u=i[t],this.element.appendChild(u.element);for(f=this._filter(i).matches,t=0;t<r;t++)i[t].isLayoutInstant=!0;for(this.arrange(),t=0;t<r;t++)delete i[t].isLayoutInstant;this.reveal(f)}},l=o.remove,o.remove=function(n){var t,r,i,f;for(n=u.makeArray(n),t=this.getItems(n),l.call(this,n),r=t&&t.length,i=0;r&&i<r;i++)f=t[i],u.removeFrom(this.filteredItems,f)},o.shuffle=function(){for(var t,n=0;n<this.items.length;n++)t=this.items[n],t.sortData.random=Math.random();this.options.sortBy="random";this._sort();this._layout()},o._noTransition=function(n,t){var r=this.options.transitionDuration,i;return this.options.transitionDuration=0,i=n.apply(this,t),this.options.transitionDuration=r,i},o.getFilteredItemElements=function(){return this.filteredItems.map(function(n){return n.element})},s});window.Modernizr=function(n,t,i){function w(n){d.cssText=n}function f(n,t){return typeof n===t}function ut(n,t){return!!~(""+n).indexOf(t)}function b(n,t){var u,r;for(u in n)if(r=n[u],!ut(r,"-")&&d[r]!==i)return t=="pfx"?r:!0;return!1}function ft(n,t,r){var e,u;for(e in n)if(u=t[n[e]],u!==i)return r===!1?n[e]:f(u,"function")?u.bind(r||t):u;return!1}function e(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+tt.join(r+" ")+r).split(" ");return f(t,"string")||f(t,"undefined")?b(u,t):(u=(n+" "+it.join(r+" ")+r).split(" "),ft(u,t,i))}var r={},l=!0,u=t.documentElement,s="modernizr",k=t.createElement(s),d=k.style,et,ot={}.toString,g=" -webkit- -moz- -o- -ms- ".split(" "),nt="Webkit Moz O ms",tt=nt.split(" "),it=nt.toLowerCase().split(" "),o={},a=[],v=a.slice,h,rt=function(n,i,r,f){var l,a,c,v,e=t.createElement("div"),h=t.body,o=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=f?f[r]:s+(r+1),e.appendChild(c);return l=["&#173;",'<style id="s',s,'">',n,"<\/style>"].join(""),e.id=s,(h?e:o).innerHTML+=l,o.appendChild(e),h||(o.style.background="",o.style.overflow="hidden",v=u.style.overflow,u.style.overflow="hidden",u.appendChild(o)),a=i(e,n),h?e.parentNode.removeChild(e):(o.parentNode.removeChild(o),u.style.overflow=v),!!a},y={}.hasOwnProperty,p,c;p=!f(y,"undefined")&&!f(y.call,"undefined")?function(n,t){return y.call(n,t)}:function(n,t){return t in n&&f(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=v.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(v.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(v.call(arguments)))},r});o.csstransforms=function(){return!!e("transform")};o.csstransforms3d=function(){var n=!!e("perspective");return n&&"webkitPerspective"in u.style&&rt("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};o.csstransitions=function(){return e("transition")};for(c in o)p(o,c)&&(h=c.toLowerCase(),r[h]=o[c](),a.push((r[h]?"":"no-")+h));return r.addTest=function(n,t){if(typeof n=="object")for(var f in n)p(n,f)&&r.addTest(f,n[f]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof l!="undefined"&&l&&(u.className+=" "+(t?"":"no-")+n);r[n]=t}return r},w(""),k=et=null,function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},o++,n[l]=o,a[o]=t),t}function h(n,r,f){if(r||(r=t),i)return r.createElement(n);f||(f=u(r));var e;return e=f.cache[n]?f.cache[n].cloneNode():b.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),e.canHaveChildren&&!w.test(n)?f.frag.appendChild(e):e}function y(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||u(n);for(var e=r.frag.cloneNode(),f=0,o=s(),h=o.length;f<h;f++)e.createElement(o[f]);return e}function p(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?h(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/\w+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function c(n){n||(n=t);var f=u(n);return r.shivCSS&&!e&&!f.hasCSS&&(f.hasCSS=!!v(n,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),i||p(n,f),n}var f=n.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,b=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,e,l="_html5shiv",o=0,a={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;i=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(r){e=!0;i=!0}})();r={elements:f.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:f.shivCSS!==!1,supportsUnknownElements:i,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:y};n.html5=r;c(t)}(this,t),r._version="2.6.2",r._prefixes=g,r._domPrefixes=it,r._cssomPrefixes=tt,r.testProp=function(n){return b([n])},r.testAllProps=e,r.testStyles=rt,r.prefixed=function(n,t,i){return t?e(n,t,i):e(n,"pfx")},u.className=u.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(l?" js "+a.join(" "):""),r}(this,this.document),function(n,t,i){function h(n){return"[object Function]"==y.call(n)}function c(n){return"string"==typeof n}function l(){}function w(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function e(){var n=a.shift();v=1;n?n.t?s(function(){("c"==n.t?u.injectCss:u.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),e()):v=0}function ut(n,i,f,h,c,l,y){function k(t){if(!nt&&w(p.readyState)&&(tt.r=nt=1,!v&&e(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){g.removeChild(p)},50);for(var u in r[i])r[i].hasOwnProperty(u)&&r[i][u].onload()}}var y=y||u.errorTimeout,p=t.createElement(n),nt=0,b=0,tt={t:f,s:i,e:c,a:l,x:y};1===r[i]&&(b=1,r[i]=[]);"object"==n?p.data=i:(p.src=i,p.type=n);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){k.call(this,b)};a.splice(h,0,tt);"img"!=n&&(b||2===r[i]?(g.insertBefore(p,d?null:o),s(k,y)):r[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut("c"==t?et:nt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&e()),this}function b(){var n=u;return n.loader={load:ft,i:0},n}var f=t.documentElement,s=n.setTimeout,o=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,k="MozAppearance"in f.style,d=k&&!!t.createRange().compareNode,g=d?f:o.parentNode,f=n.opera&&"[object Opera]"==y.call(n.opera),f=!!t.attachEvent&&!f,nt=k?"object":f?"script":"img",et=f?"script":nt,tt=Array.isArray||function(n){return"[object Array]"==y.call(n)},p=[],r={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},rt,u;u=function(n){function a(n){for(var n=n.split("!"),f=p.length,t=n.pop(),e=n.length,t={url:t,origUrl:t,prefixes:n},u,r,i=0;i<e;i++)r=n[i].split("="),(u=it[r.shift()])&&(t=u(t,r));for(i=0;i<f;i++)t=p[i](t);return t}function f(n,t,u,f,e){var o=a(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift();o.bypass||(t&&(t=h(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,u,f,e):(r[o.url]?o.noexec=!0:r[o.url]=1,u.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(h(t)||h(s))&&u.load(function(){b();t&&t(o.origUrl,e,f);s&&s(o.origUrl,e,f);r[o.url]=2})))}function s(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),f(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t=0,i;for(i in n)n.hasOwnProperty(i)&&t++;return t}(),n)n.hasOwnProperty(r)&&(!o&&!--v&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);u()}}(s[r])),f(n[r],i,t,r,e))}else o||u()}var e=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l,v,r;a(e?n.yep:n.nope,!!o);o&&a(o)}var e,t,o=this.yepnope.loader;if(c(n))f(n,0,o,0);else if(tt(n))for(e=0;e<n.length;e++)t=n[e],c(t)?f(t,0,o,0):tt(t)?u(t):Object(t)===t&&s(t,o);else Object(n)===n&&s(n,o)};u.addPrefix=function(n,t){it[n]=t};u.addFilter=function(n){p.push(n)};u.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",rt=function(){t.removeEventListener("DOMContentLoaded",rt,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=e;n.yepnope.injectJs=function(n,i,r,f,h,c){var a=t.createElement("script"),v,y,f=f||u.errorTimeout;a.src=n;for(y in r)a.setAttribute(y,r[y]);i=c?e:i||l;a.onreadystatechange=a.onload=function(){!v&&w(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};s(function(){v||(v=1,i(1))},f);h?a.onload():o.parentNode.insertBefore(a,o)};n.yepnope.injectCss=function(n,i,r,u,f,h){var u=t.createElement("link"),c,i=h?e:i||l;u.href=n;u.rel="stylesheet";u.type="text/css";for(c in r)u.setAttribute(c,r[c]);f||(o.parentNode.insertBefore(u,o),s(i,0))}}(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};jQuery.fn.reverse=[].reverse,function(n,t,i){"use strict";var u=t.Modernizr,r;n.Baraja=function(t,i){this.$el=n(i);this._init(t)};n.Baraja.defaults={nextEl:"",prevEl:"",speed:300,easing:"ease-in-out"};n.Baraja.prototype={_init:function(t){this.options=n.extend(!0,{},n.Baraja.defaults,t);if(this.transEndEventName={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"}[u.prefixed("transition")],this._setDefaultFanSettings(),this.$items=this.$el.children("li"),this.itemsCount=this.$items.length,this.itemsCount===0)return!1;this.supportTransitions=u.csstransitions;this.closed=!0;this.itemZIndexMin=1e3;this._setStack();this._initEvents()},_setDefaultFanSettings:function(){this.fanSettings={speed:500,easing:"ease-out",range:90,direction:"right",origin:{x:25,y:100},translation:0,center:!0,scatter:!1}},_validateDefaultFanSettings:function(n){return n.origin?(n.origin.x=n.origin.x||this.fanSettings.origin.x,n.origin.y=n.origin.y||this.fanSettings.origin.y):n.origin=this.fanSettings.origin,n.speed=n.speed||this.fanSettings.speed,n.easing=n.easing||this.fanSettings.easing,n.direction=n.direction||this.fanSettings.direction,n.range=n.range||this.fanSettings.range,n.translation=n.translation||this.fanSettings.translation,n.center==i&&(n.center=this.fanSettings.center),n.scatter==i&&(n.scatter=this.fanSettings.scatter),this.direction=n.direction,n},_setStack:function(t){var i=this;t=t||this.$items;t.each(function(t){n(this).css("z-index",i.itemZIndexMin+i.itemsCount-1-t)})},_updateStack:function(t,i){var r=Number(t.css("z-index")),u=i==="next"?this.itemZIndexMin-1:this.itemZIndexMin+this.itemsCount,f=i==="next"?"+=1":"-=1";t.css("z-index",u);this.$items.filter(function(){var t=Number(n(this).css("z-index"));return i==="next"?t<r:t>r}).css("z-index",f)},_initEvents:function(){var t=this;if(this.options.nextEl!=="")n(this.options.nextEl).on("click.baraja",function(){return t._navigate("next"),!1});if(this.options.prevEl!=="")n(this.options.prevEl).on("click.baraja",function(){return t._navigate("prev"),!1});this.$el.on("click.baraja","li",function(){t.isAnimating||t._move2front(n(this))})},_resetTransition:function(n){n.css({"-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none",transition:"none"})},_setOrigin:function(n,t,i){n.css("transform-origin",t+"% "+i+"%")},_setTransition:function(n,t,i,r,u){if(!this.supportTransitions)return!1;t||(t="all");i||(i=this.options.speed);r||(r=this.options.easing);u||(u=0);var f="";f=t==="transform"?{"-webkit-transition":"-webkit-transform "+i+"ms "+r+" "+u+"ms","-moz-transition":"-moz-transform "+i+"ms "+r+" "+u+"ms","-ms-transition":"-ms-transform "+i+"ms "+r+" "+u+"ms","-o-transition":"-o-transform "+i+"ms "+r+" "+u+"ms",transition:"transform "+i+"ms "+r+" "+u+"ms"}:{"-webkit-transition":t+" "+i+"ms "+r+" "+u+"ms","-moz-transition":t+" "+i+"ms "+r+" "+u+"ms","-ms-transition":t+" "+i+"ms "+r+" "+u+"ms","-o-transition":t+" "+i+"ms "+r+" "+u+"ms",transition:t+" "+i+"ms "+r+" "+u+"ms"};n.css(f)},_applyTransition:function(n,t,i,r){if(this.supportTransitions){if(i){n.on(this.transEndEventName,i);r&&i.call()}setTimeout(function(){n.css(t)},25)}else n.css(t),i&&i.call()},_navigate:function(t){this.closed=!1;var i=this,u=15,f=t==="next"?i.itemZIndexMin+i.itemsCount-1:i.itemZIndexMin,r=this.$items.filter(function(){return Number(n(this).css("z-index"))===f}),e=t==="next"?r.outerWidth(!0)+u:r.outerWidth(!0)*-1-u,o=t==="next"?5:-5;this._setTransition(r,"transform",this.options.speed,this.options.easing);this._applyTransition(r,{transform:"translate("+e+"px) rotate("+o+"deg)"},function(){r.off(i.transEndEventName);i._updateStack(r,t);i._applyTransition(r,{transform:"translate(0px) rotate(0deg)"},function(){r.off(i.transEndEventName);i.isAnimating=!1;i.closed=!0})})},_move2front:function(n){this.isAnimating=!0;var t=this,i=Number(n.css("z-index"))===this.itemZIndexMin+this.itemsCount-1,r=i?function(){t.isAnimating=!1}:function(){return!1},n=i?null:n;if(this.closed||this._close(r,n),i)return!1;this._resetTransition(n);this._setOrigin(n,50,50);n.css({opacity:0,transform:"scale(2) translate(100px) rotate(20deg)"});this._updateStack(n,"prev");setTimeout(function(){t._setTransition(n,"all",t.options.speed,"ease-in");t._applyTransition(n,{transform:"none",opacity:1},function(){n.off(t.transEndEventName);t.isAnimating=!1})},this.options.speed/2)},_close:function(n,t){var r=this,i=r.$items,u=this.closed?!0:!1;t&&(i=i.not(t));this._applyTransition(i,{transform:"none"},function(){r.closed=!0;i.off(r.transEndEventName);r._resetTransition(i);setTimeout(function(){r._setOrigin(i,50,50);n&&n.call()},25)},u)},_fan:function(t){var i=this;if(this.closed=!1,t=this._validateDefaultFanSettings(t||{}),t.origin.minX&&t.origin.maxX){var u=t.origin.maxX,r=t.origin.minX,s=(u-r)/this.itemsCount;this.$items.each(function(){var e=n(this),o=i.itemsCount-1-(Number(e.css("z-index"))-i.itemZIndexMin),f=o*(u-r+s)/i.itemsCount+r;t.direction==="left"&&(f=u+r-f);i._setOrigin(n(this),f,t.origin.y)})}else this._setOrigin(this.$items,t.origin.x,t.origin.y);this._setTransition(this.$items,"transform",t.speed,t.easing);var f=t.range/(this.itemsCount-1),e=t.translation/(this.itemsCount-1),o=0;this.$items.each(function(){var s=n(this),h=i.itemsCount-1-(Number(s.css("z-index"))-i.itemZIndexMin),a=t.center?t.range/2:t.range,r=a-f*h,u=e*(i.itemsCount-h-1),c,l;t.direction==="left"&&(r*=-1,u*=-1);t.scatter&&(c=Math.floor(Math.random()*f),l=Math.floor(Math.random()*e),h!==i.itemsCount-1&&(r=t.direction==="left"?r+c:r-c,u=t.direction==="left"?u-l:u+l));s.data({translation:u,rotation:r});i._applyTransition(s,{transform:"translate("+u+"px) rotate("+r+"deg)"},function(){++o;s.off(i.transEndEventName);o===i.itemsCount-1&&(i.isAnimating=!1)})})},_add:function(t){var i=this,u=t.length,r=0;t.css("opacity",0).appendTo(this.$el);this.$items=this.$el.children("li");this.itemsCount=this.$items.length;this._setStack(t);t.css("transform","scale(1.8) translate(200px) rotate(15deg)").reverse().each(function(t){var f=n(this);i._setTransition(f,"all",500,"ease-out",t*200);i._applyTransition(f,{transform:"none",opacity:1},function(){++r;f.off(i.transEndEventName);i._resetTransition(f);r===u&&(i.isAnimating=!1)})})},_allowAction:function(){return this.itemsCount>1},_prepare:function(n){var t=this;this.closed?n.call():this._close(function(){n.call()})},_dispatch:function(n,t){var i=this;if((n===this._fan||n===this._navigate)&&!this._allowAction()||this.isAnimating)return!1;this.isAnimating=!0;this._prepare(function(){n.call(i,t)})},close:function(){if(this.isAnimating)return!1;this._close()},next:function(){this._dispatch(this._navigate,"next")},previous:function(){this._dispatch(this._navigate,"prev")},fan:function(n){this._dispatch(this._fan,n)},add:function(n){this._dispatch(this._add,n)}};r=function(n){t.console&&t.console.error(n)};n.fn.baraja=function(t){var i=n.data(this,"baraja"),u;return typeof t=="string"?(u=Array.prototype.slice.call(arguments,1),this.each(function(){if(!i){r("cannot call methods on baraja prior to initialization; attempted to call method '"+t+"'");return}if(!n.isFunction(i[t])||t.charAt(0)==="_"){r("no such method '"+t+"' for baraja instance");return}i[t].apply(i,u)})):this.each(function(){i?i._init():i=n.data(this,"baraja",new n.Baraja(t,this))}),i}}(jQuery,window);!function(n,t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(i){return t(i,n,n.document,n.Math)}):"object"==typeof exports&&exports?module.exports=t(require("jquery"),n,n.document,n.Math):t(jQuery,n,n.document,n.Math)}("undefined"!=typeof window?window:this,function(n,t,i,r,u){"use strict";var lt="fullpage-wrapper",b="."+lt,k="fp-responsive",tt="fp-notransition",it="fp-destroyed",d="fp-enabled",rt="fp-viewing",o="active",p="."+o,v="fp-completely",gt="."+v,g="fp-section",f="."+g,e=f+p,ni=f+":first",ti=f+":last",at="fp-tableCell",vt="."+at,ii="fp-auto-height",ri="fp-normal-scroll",yt="fp-nav",h="#"+yt,pt="fp-tooltip",ui="."+pt,fi="fp-show-active",ut="fp-slide",l="."+ut,c=l+p,wt="fp-slides",a="."+wt,ft="fp-slidesContainer",et="."+ft,ot="fp-table",bt="fp-slidesNav",nt="."+bt,kt=nt+" a",st="fp-controlArrow",w="."+st,ht="fp-prev",ei=st+" "+ht,ct=w+("."+ht),oi=st+" fp-next",dt=w+".fp-next",s=n(t),y=n(i);n.fn.fullpage=function(st){function fr(t,i){t||cr(0);ou("autoScrolling",t,i);var r=n(e);st.autoScrolling&&!st.scrollBar?(bi.css({overflow:"hidden",height:"100%"}),wu(nr.recordHistory,"internal"),si.css({"-ms-touch-action":"none","touch-action":"none"}),r.length&&cr(r.position().top)):(bi.css({overflow:"visible",height:"initial"}),wu(!1,"internal"),si.css({"-ms-touch-action":"","touch-action":""}),r.length&&bi.scrollTop(r.position().top))}function wu(n,t){ou("recordHistory",n,t)}function er(n,t){ou("scrollingSpeed",n,t)}function bu(n,t){ou("fitToSection",n,t)}function ku(n){n?(!function(){var n,r="",f;t.addEventListener?n="addEventListener":(n="attachEvent",r="on");f="onwheel"in i.createElement("div")?"wheel":i.onmousewheel!==u?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==f?i[n](r+"MozMousePixelScroll",tr,!1):i[n](r+f,tr,!1)}(),si.on("mousedown",le).on("mouseup",ae)):(i.addEventListener?(i.removeEventListener("mousewheel",tr,!1),i.removeEventListener("wheel",tr,!1),i.removeEventListener("MozMousePixelScroll",tr,!1)):i.detachEvent("onmousewheel",tr),si.off("mousedown",le).off("mouseup",ae))}function or(t,i){void 0!==i?(i=i.replace(/ /g,"").split(","),n.each(i,function(n,i){eu(t,i,"m")})):(eu(t,"all","m"),t?(ku(!0),(ar||vr)&&(st.autoScrolling&&li.off(pi.touchmove).on(pi.touchmove,oo),n(b).off(pi.touchstart).on(pi.touchstart,ho).off(pi.touchmove).on(pi.touchmove,so))):(ku(!1),(ar||vr)&&(st.autoScrolling&&li.off(pi.touchmove),n(b).off(pi.touchstart).off(pi.touchmove))))}function gf(t,i){void 0!==i?(i=i.replace(/ /g,"").split(","),n.each(i,function(n,i){eu(t,i,"k")})):(eu(t,"all","k"),st.keyboardScrolling=t)}function sr(){var t=n(e).prev(f);!t.length&&(st.loopTop||st.continuousVertical)&&(t=n(f).last());t.length&&ir(t,null,!0)}function kr(){var t=n(e).next(f);!t.length&&(st.loopBottom||st.continuousVertical)&&(t=n(f).first());t.length&&ir(t,null,!1)}function du(n,t){er(0,"internal");dr(n,t);er(nr.scrollingSpeed,"internal")}function dr(n,t){var i=sf(n);void 0!==t?hf(n,t):i.length>0&&ir(i)}function gr(n){ue("right",n)}function nu(n){ue("left",n)}function gu(t){if(!si.hasClass(it)){vi=!0;ai=s.height();n(f).each(function(){var t=n(this).find(a),i=n(this).find(l);st.verticalCentered&&n(this).find(vt).css("height",de(n(this))+"px");n(this).css("height",ai+"px");i.length>1&&hr(t,t.find(c))});st.scrollOverflow&&pf.createScrollBarForAll();var i=n(e).index(f);i&&du(i+1);vi=!1;n.isFunction(st.afterResize)&&t&&st.afterResize.call(si);n.isFunction(st.afterReBuild)&&!t&&st.afterReBuild.call(si)}}function tu(t){var i=li.hasClass(k);t?i||(fr(!1,"internal"),bu(!1,"internal"),n(h).hide(),li.addClass(k),n.isFunction(st.afterResponsive)&&st.afterResponsive.call(si,t)):i&&(fr(nr.autoScrolling,"internal"),bu(nr.autoScrolling,"internal"),n(h).show(),li.removeClass(k),n.isFunction(st.afterResponsive)&&st.afterResponsive.call(si,t))}function ne(){var i,t=n(e);t.addClass(v);uu(t);fu(t);st.scrollOverflow&&st.scrollOverflowHandler.afterLoad();(!(i=sf(ff().section))||i.length&&i.index()===vf.index())&&n.isFunction(st.afterLoad)&&st.afterLoad.call(t,t.data("anchor"),t.index(f)+1);n.isFunction(st.afterRender)&&st.afterRender.call(si)}function te(){var t,p,k,r;if(!st.autoScrolling||st.scrollBar){var u=s.scrollTop(),nt=(k=(p=u)>kf?"down":"up",kf=p,yu=p,k),h=0,tt=u+s.height()/2,it=li.height()-s.height()===u,l=i.querySelectorAll(f);if(it)h=l.length-1;else if(u)for(r=0;r<l.length;++r)l[r].offsetTop<=tt&&(h=r);else h=0;if(function(t){var i=n(e).position().top,r=i+s.height();return"up"==t?r>=s.scrollTop()+s.height():i<=s.scrollTop()}(nt)&&(n(e).hasClass(v)||n(e).addClass(v).siblings().removeClass(v)),!(t=n(l).eq(h)).hasClass(o)){vu=!0;var d,g,w=n(e),rt=w.index(f)+1,ut=of(t),a=t.data("anchor"),y=t.index(f)+1,b=t.find(c);b.length&&(g=b.data("anchor"),d=b.index());yi&&(t.addClass(o).siblings().removeClass(o),n.isFunction(st.onLeave)&&st.onLeave.call(w,rt,y,ut),n.isFunction(st.afterLoad)&&st.afterLoad.call(t,a,y),rf(w),uu(t),fu(t),ef(a,y-1),st.anchors.length&&(di=a),cf(d,g,a,y));clearTimeout(lu);lu=setTimeout(function(){vu=!1},100)}st.fitToSection&&(clearTimeout(au),au=setTimeout(function(){st.fitToSection&&n(e).outerHeight()<=ai&&ie()},st.fitToSectionDelay))}}function ie(){yi&&(vi=!0,ir(n(e)),vi=!1)}function nf(t){var i,r,u;if(ci.m[t])if(i="down"===t?kr:sr,st.scrollOverflow)if(r=st.scrollOverflowHandler.scrollable(n(e)),u="down"===t?"bottom":"top",r.length>0){if(!st.scrollOverflowHandler.isScrolled(u,r))return!0;i()}else i();else i()}function oo(n){var t=n.originalEvent;st.autoScrolling&&iu(t)&&n.preventDefault()}function so(t){var i=t.originalEvent,u=n(i.target).closest(f),e;iu(i)&&(st.autoScrolling&&t.preventDefault(),e=io(i),ur=e.y,wr=e.x,u.find(a).length&&r.abs(pr-wr)>r.abs(rr-ur)?!ki&&r.abs(pr-wr)>s.outerWidth()/100*st.touchSensitivity&&(pr>wr?ci.m.right&&gr(u):ci.m.left&&nu(u)):st.autoScrolling&&yi&&r.abs(rr-ur)>s.height()/100*st.touchSensitivity&&(rr>ur?nf("down"):ur>rr&&nf("up")))}function iu(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function ho(n){var i=n.originalEvent,t;(st.fitToSection&&bi.stop(),iu(i))&&(t=io(i),rr=t.y,pr=t.x)}function re(n,t){for(var u=0,f=n.slice(r.max(n.length-t,1)),i=0;i<f.length;i++)u+=f[i];return r.ceil(u/t)}function tr(i){var u=(new Date).getTime(),o=n(gt).hasClass(ri),e;if(st.autoScrolling&&!lr&&!o){var f=(i=i||t.event).wheelDelta||-i.deltaY||-i.detail,s=r.max(-1,r.min(1,f)),h=void 0!==i.wheelDeltaX||void 0!==i.deltaX,c=r.abs(i.wheelDeltaX)<r.abs(i.wheelDelta)||r.abs(i.deltaX)<r.abs(i.deltaY)||!h;return gi.length>149&&gi.shift(),gi.push(r.abs(f)),st.scrollBar&&(i.preventDefault?i.preventDefault():i.returnValue=!1),e=u-df,(df=u,e>200&&(gi=[]),yi)&&re(gi,10)>=re(gi,70)&&c&&nf(s<0?"down":"up"),!1}st.fitToSection&&bi.stop()}function ue(t,i){var u=(void 0===i?n(e):i).find(a),o=u.find(l).length,r,f;if(!(!u.length||ki||o<2)){if(r=u.find(c),f=null,!(f="left"===t?r.prev(l):r.next(l)).length){if(!st.loopHorizontal)return;f="left"===t?r.siblings(":last"):r.siblings(":first")}ki=!0;hr(u,f,t)}}function fe(){n(c).each(function(){ro(n(this),"internal")})}function ir(t,i,u){var a,v,l,y,p,w,d,g,h,k;if(void 0!==t&&(h={element:t,callback:i,isMovementUp:u,dtop:(v=(a=t).position(),l=v.top,y=v.top>yu,p=l-ai+a.outerHeight(),w=st.bigSectionsDestination,a.outerHeight()>ai?(y||w)&&"bottom"!==w||(l=p):(y||vi&&a.is(":last-child"))&&(l=p),yu=l,l),yMovement:of(t),anchorLink:t.data("anchor"),sectionIndex:t.index(f),activeSlide:t.find(c),activeSection:n(e),leavingSection:n(e).index(f)+1,localIsResizing:vi},!(h.activeSection.is(t)&&!vi||st.scrollBar&&s.scrollTop()===h.dtop&&!t.hasClass(ii)))){if((h.activeSlide.length&&(d=h.activeSlide.data("anchor"),g=h.activeSlide.index()),n.isFunction(st.onLeave)&&!h.localIsResizing)&&(k=h.yMovement,void 0!==u&&(k=u?"up":"down"),!1===st.onLeave.call(h.activeSection,h.leavingSection,h.sectionIndex+1,k)))return;st.autoScrolling&&st.continuousVertical&&void 0!==h.isMovementUp&&(!h.isMovementUp&&"up"==h.yMovement||h.isMovementUp&&"down"==h.yMovement)&&(h=function(t){return t.isMovementUp?n(e).before(t.activeSection.nextAll(f)):n(e).after(t.activeSection.prevAll(f).get().reverse()),cr(n(e).position().top),fe(),t.wrapAroundElements=t.activeSection,t.dtop=t.element.position().top,t.yMovement=of(t.element),t.leavingSection=t.activeSection.index(f)+1,t.sectionIndex=t.element.index(f),t}(h));h.localIsResizing||rf(h.activeSection);st.scrollOverflow&&st.scrollOverflowHandler.beforeLeave();t.addClass(o).siblings().removeClass(o);uu(t);st.scrollOverflow&&st.scrollOverflowHandler.onLeave();yi=!1;cf(g,d,h.anchorLink,h.sectionIndex),function(t){var u,i;st.css3&&st.autoScrolling&&!st.scrollBar?(u="translate3d(0px, -"+r.round(t.dtop)+"px, 0px)",ge(u,!0),st.scrollingSpeed?(clearTimeout(yr),yr=setTimeout(function(){ru(t)},st.scrollingSpeed)):ru(t)):(i=function(n){var t={};return st.autoScrolling&&!st.scrollBar?(t.options={top:-n.dtop},t.element=b):(t.options={scrollTop:n.dtop},t.element="html, body"),t}(t),n(i.element).animate(i.options,st.scrollingSpeed,st.easing).promise().done(function(){st.scrollBar?setTimeout(function(){ru(t)},30):ru(t)}))}(h);di=h.anchorLink;ef(h.anchorLink,h.sectionIndex)}}function ru(t){var i;(i=t).wrapAroundElements&&i.wrapAroundElements.length&&(i.isMovementUp?n(ni).before(i.wrapAroundElements):n(ti).after(i.wrapAroundElements),cr(n(e).position().top),fe());n.isFunction(st.afterLoad)&&!t.localIsResizing&&st.afterLoad.call(t.element,t.anchorLink,t.sectionIndex+1);st.scrollOverflow&&st.scrollOverflowHandler.afterLoad();t.localIsResizing||fu(t.element);t.element.addClass(v).siblings().removeClass(v);yi=!0;n.isFunction(t.callback)&&t.callback.call(this)}function tf(n,t){n.attr(t,n.data(t)).removeAttr("data-"+t)}function uu(t){var i;st.lazyLoading&&uf(t).find("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]").each(function(){if(i=n(this),n.each(["src","srcset"],function(n,t){var r=i.attr("data-"+t);void 0!==r&&r&&tf(i,t)}),i.is("source")){var t=i.closest("video").length?"video":"audio";i.closest(t).get(0).load()}})}function fu(t){var i=uf(t);i.find("video, audio").each(function(){var t=n(this).get(0);t.hasAttribute("data-autoplay")&&"function"==typeof t.play&&t.play()});i.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=n(this).get(0);t.hasAttribute("data-autoplay")&&ee(t);t.onload=function(){t.hasAttribute("data-autoplay")&&ee(t)}})}function ee(n){n.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function rf(t){var i=uf(t);i.find("video, audio").each(function(){var t=n(this).get(0);t.hasAttribute("data-keepplaying")||"function"!=typeof t.pause||t.pause()});i.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=n(this).get(0);/youtube\.com\/embed\//.test(n(this).attr("src"))&&!t.hasAttribute("data-keepplaying")&&n(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function uf(t){var i=t.find(c);return i.length&&(t=n(i)),t}function oe(){var t=ff(),n=t.section,i=t.slide;n&&(st.animateAnchor?hf(n,i):du(n,i))}function se(){if(!vu&&!st.lockAnchors){var i=ff(),n=i.section,t=i.slide,r=void 0===di,u=void 0===di&&void 0===t&&!ki;n&&n.length&&(n&&n!==di&&!r||u||!ki&&su!=t)&&hf(n,t)}}function ff(){var f,e,r=t.location.hash,n,u,i;return r.length&&(n=r.replace("#","").split("/"),u=r.indexOf("#/")>-1,f=u?"/"+n[1]:decodeURIComponent(n[0]),i=u?n[2]:n[1],i&&i.length&&(e=decodeURIComponent(i))),{section:f,slide:e}}function he(t){clearTimeout(wf);var i=n(":focus"),r=t.which;9===r?!function(t){function s(n){return n.preventDefault(),r.first().focus()}var u=t.shiftKey,i=n(":focus"),f=n(e),o=f.find(c),r=(o.length?o:f).find(eo).not('[tabindex="-1"]');i.length?i.closest(e,c).length||(i=s(t)):s(t);(!u&&i.is(r.last())||u&&i.is(r.first()))&&t.preventDefault()}(t):i.is("textarea")||i.is("input")||i.is("select")||"true"===i.attr("contentEditable")||""===i.attr("contentEditable")||!st.keyboardScrolling||!st.autoScrolling||(n.inArray(r,[40,38,32,33,34])>-1&&t.preventDefault(),lr=t.ctrlKey,wf=setTimeout(function(){!function(t){var i=t.shiftKey;if(yi||!([37,39].indexOf(t.which)<0))switch(t.which){case 38:case 33:ci.k.up&&sr();break;case 32:if(i&&ci.k.up){sr();break}case 40:case 34:ci.k.down&&kr();break;case 36:ci.k.up&&dr(1);break;case 35:ci.k.down&&dr(n(f).length);break;case 37:ci.k.left&&nu();break;case 39:ci.k.right&&gr()}}(t)},150))}function co(){n(this).prev().trigger("click")}function ce(n){yf&&(lr=n.ctrlKey)}function le(n){2==n.which&&(br=n.pageY,si.on("mousemove",po))}function ae(n){2==n.which&&si.off("mousemove")}function lo(){var t=n(this).closest(f);n(this).hasClass(ht)?ci.m.left&&nu(t):ci.m.right&&gr(t)}function ao(){yf=!1;lr=!1}function vo(t){t.preventDefault();var i=n(this).parent().index();ir(n(f).eq(i))}function yo(t){t.preventDefault();var i=n(this).closest(f).find(a);hr(i,i.find(l).eq(n(this).closest("li").index()))}function po(n){yi&&(n.pageY<br&&ci.m.up?sr():n.pageY>br&&ci.m.down&&kr());br=n.pageY}function hr(t,i,u){var s=t.closest(f),e={slides:t,destiny:i,direction:u,destinyPos:i.position(),slideIndex:i.index(),section:s,sectionIndex:s.index(f),anchorLink:s.data("anchor"),slidesNav:s.find(nt),slideAnchor:af(i),prevSlide:s.find(c),prevSlideIndex:s.find(c).index(),localIsResizing:vi};e.xMovement=function(n,t){return n==t?"none":n>t?"left":"right"}(e.prevSlideIndex,e.slideIndex);e.localIsResizing||(yi=!1);st.onSlideLeave&&!e.localIsResizing&&"none"!==e.xMovement&&n.isFunction(st.onSlideLeave)&&!1===st.onSlideLeave.call(e.prevSlide,e.anchorLink,e.sectionIndex+1,e.prevSlideIndex,e.direction,e.slideIndex)?ki=!1:(i.addClass(o).siblings().removeClass(o),e.localIsResizing||(rf(e.prevSlide),uu(i)),!st.loopHorizontal&&st.controlArrows&&(s.find(ct).toggle(0!==e.slideIndex),s.find(dt).toggle(!i.is(":last-child"))),s.hasClass(o)&&!e.localIsResizing&&cf(e.slideIndex,e.slideAnchor,e.anchorLink,e.sectionIndex),function(n,t,i){var u=t.destinyPos,f;st.css3?(f="translate3d(-"+r.round(u.left)+"px, 0px, 0px)",we(n.find(et)).css(uo(f)),cu=setTimeout(function(){i&&ve(t)},st.scrollingSpeed,st.easing)):n.animate({scrollLeft:r.round(u.left)},st.scrollingSpeed,st.easing,function(){i&&ve(t)})}(t,e,!0))}function ve(t){var i,r;i=t.slidesNav;r=t.slideIndex;i.find(p).removeClass(o);i.find("li").eq(r).find("a").addClass(o);t.localIsResizing||(n.isFunction(st.afterSlideLoad)&&st.afterSlideLoad.call(t.destiny,t.anchorLink,t.sectionIndex+1,t.slideAnchor,t.slideIndex),yi=!0,fu(t.destiny));ki=!1}function ye(){var t,u;(pe(),ar)?(t=n(i.activeElement),t.is("textarea")||t.is("input")||t.is("select")||(u=s.height(),r.abs(u-pu)>r.max(pu,u)/5&&(gu(!0),pu=u))):(clearTimeout(hu),hu=setTimeout(function(){gu(!0)},350))}function pe(){var n=st.responsive||st.responsiveWidth,t=st.responsiveHeight,i=n&&s.outerWidth()<n,r=t&&s.height()<t;n&&t?tu(i||r):n?tu(i):t&&tu(r)}function we(n){var t="all "+st.scrollingSpeed+"ms "+st.easingcss3;return n.removeClass(tt),n.css({"-webkit-transition":t,transition:t})}function be(n){return n.addClass(tt)}function ef(t,i){var u,r,f;u=t;st.menu&&(n(st.menu).find(p).removeClass(o),n(st.menu).find('[data-menuanchor="'+u+'"]').addClass(o));r=t;f=i;st.navigation&&(n(h).find(p).removeClass(o),r?n(h).find('a[href="#'+r+'"]').addClass(o):n(h).find("li").eq(f).find("a").addClass(o))}function of(t){var i=n(e).index(f),r=t.index(f);return i==r?"none":i>r?"up":"down"}function ke(t){if(!t.hasClass(ot)){var i=n('<div class="'+at+'" />').height(de(t));t.addClass(ot).wrapInner(i)}}function de(n){var i=ai,t,r;return(st.paddingTop||st.paddingBottom)&&(t=n,t.hasClass(g)||(t=n.closest(f)),r=parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom")),i=ai-r),i}function ge(n,t){t?we(si):be(si);si.css(uo(n));setTimeout(function(){si.removeClass(tt)},10)}function sf(t){var i=si.find(f+'[data-anchor="'+t+'"]'),r;return i.length||(r=void 0!==t?t-1:0,i=n(f).eq(r)),i}function hf(n,t){var r=sf(n),i,e,u,f;r.length&&(f=(i=t,(u=(e=r).find(l+'[data-anchor="'+i+'"]')).length||(i=void 0!==i?i:0,u=e.find(l).eq(i)),u),n===di||r.hasClass(o)?no(f):ir(r,function(){no(f)}))}function no(n){n.length&&hr(n.closest(a),n)}function cf(n,t,i){var r="";st.anchors.length&&!st.lockAnchors&&(n?(void 0!==i&&(r=i),void 0===t&&(t=n),su=t,lf(r+"/"+t)):void 0!==n?(su=t,lf(i)):lf(i));to()}function lf(n){if(st.recordHistory)location.hash=n;else if(ar||vr)t.history.replaceState(u,u,"#"+n);else{var i=t.location.href.split("#")[0];t.location.replace(i+"#"+n)}}function af(n){var t=n.data("anchor"),i=n.index();return void 0===t&&(t=i),t}function to(){var i=n(e),r=i.find(c),f=af(i),o=af(r),t=String(f),u;r.length&&(t=t+"-"+o);t=t.replace("/","-").replace("#","");u=new RegExp("\\b\\s?"+rt+"-[^\\s]+\\b","g");li[0].className=li[0].className.replace(u,"");li.addClass(rt+"-"+t)}function io(n){var t=[];return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,vr&&iu(n)&&(st.scrollBar||!st.autoScrolling)&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function ro(n,t){er(0,"internal");void 0!==t&&(vi=!0);hr(n.closest(a),n);void 0!==t&&(vi=!1);er(nr.scrollingSpeed,"internal")}function cr(n){var t=r.round(n);st.css3&&st.autoScrolling&&!st.scrollBar?ge("translate3d(0px, -"+t+"px, 0px)",!1):st.autoScrolling&&!st.scrollBar?si.css("top",-t):bi.scrollTop(t)}function uo(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function eu(t,i,r){"all"!==i?ci[r][i]=t:n.each(Object.keys(ci[r]),function(n,i){ci[r][i]=t})}function ou(n,t,i){st[n]=t;"internal"!==i&&(nr[n]=t)}function fo(){n("html").hasClass(d)?wi("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(st.continuousVertical&&(st.loopTop||st.loopBottom)&&(st.continuousVertical=!1,wi("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),st.scrollBar&&st.scrollOverflow&&wi("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!st.continuousVertical||!st.scrollBar&&st.autoScrolling||(st.continuousVertical=!1,wi("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),st.scrollOverflow&&!st.scrollOverflowHandler&&(st.scrollOverflow=!1,wi("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),n.each(["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset","parallax"],function(n,t){st[t]&&wi("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+t)}),n.each(st.anchors,function(t,i){var r=y.find("[name]").filter(function(){return n(this).attr("name")&&n(this).attr("name").toLowerCase()==i.toLowerCase()}),u=y.find("[id]").filter(function(){return n(this).attr("id")&&n(this).attr("id").toLowerCase()==i.toLowerCase()});(u.length||r.length)&&(wi("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),u.length&&wi("error",'"'+i+'" is is being used by another element `id` property'),r.length&&wi("error",'"'+i+'" is is being used by another element `name` property'))}))}function wi(n,t){console&&console[n]&&console[n]("fullPage: "+t)}if(n("html").hasClass(d))fo();else{var bi=n("html, body"),li=n("body"),hi=n.fn.fullpage;st=n.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:n.fn.fp_scrolloverflow?n.fn.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},st);var di,su,lr,vf,ki=!1,ar=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),vr="ontouchstart"in t||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,si=n(this),ai=s.height(),vi=!1,yf=!0,yi=!0,gi=[],ci={m:{up:!0,down:!0,left:!0,right:!0}};ci.k=n.extend(!0,{},ci.m);var pf,hu,yr,cu,lu,au,wf,bf=function(){return t.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}(),pi={touchmove:"ontouchmove"in t?"touchmove":bf.move,touchstart:"ontouchstart"in t?"touchstart":bf.down},eo='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',nr=n.extend(!0,{},st);fo();n.extend(n.easing,{easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i}});n(this).length&&(hi.version="2.9.6",hi.setAutoScrolling=fr,hi.setRecordHistory=wu,hi.setScrollingSpeed=er,hi.setFitToSection=bu,hi.setLockAnchors=function(n){st.lockAnchors=n},hi.setMouseWheelScrolling=ku,hi.setAllowScrolling=or,hi.setKeyboardScrolling=gf,hi.moveSectionUp=sr,hi.moveSectionDown=kr,hi.silentMoveTo=du,hi.moveTo=dr,hi.moveSlideRight=gr,hi.moveSlideLeft=nu,hi.fitToSection=ie,hi.reBuild=gu,hi.setResponsive=tu,hi.destroy=function(t){fr(!1,"internal");or(!1);gf(!1);si.addClass(it);clearTimeout(cu);clearTimeout(yr);clearTimeout(hu);clearTimeout(lu);clearTimeout(au);s.off("scroll",te).off("hashchange",se).off("resize",ye);y.off("keydown",he).off("keyup",ce).off("click touchstart",h+" a").off("mouseenter",h+" li").off("mouseleave",h+" li").off("click touchstart",kt).off("mouseover",st.normalScrollElements).off("mouseout",st.normalScrollElements);n(f).off("click touchstart",w);clearTimeout(cu);clearTimeout(yr);t&&function(){cr(0);si.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){tf(n(this),"src")});si.find("img[data-srcset]").each(function(){tf(n(this),"srcset")});n(h+", "+nt+", "+w).remove();n(f).css({height:"","background-color":"",padding:""});n(l).css({width:""});si.css({height:"",position:"","-ms-touch-action":"","touch-action":""});bi.css({overflow:"",height:""});n("html").removeClass(d);li.removeClass(k);n.each(li.get(0).className.split(/\s+/),function(n,t){0===t.indexOf(rt)&&li.removeClass(t)});n(f+", "+l).each(function(){st.scrollOverflowHandler&&st.scrollOverflowHandler.remove(n(this));n(this).removeClass(ot+" "+o);n(this).attr("style",n(this).data("fp-styles"))});be(si);si.find(vt+", "+et+", "+a).each(function(){n(this).replaceWith(this.childNodes)});si.css({"-webkit-transition":"none",transition:"none"});bi.scrollTop(0);var t=[g,ut,ft];n.each(t,function(t,i){n("."+i).removeClass(i)})}()},hi.shared={afterRenderActions:ne},function(){st.css3&&(st.css3=function(){var r,n=i.createElement("p"),e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"},f;for(f in i.body.insertBefore(n,null),e)n.style[f]!==u&&(n.style[f]="translate3d(1px,1px,1px)",r=t.getComputedStyle(n).getPropertyValue(e[f]));return i.body.removeChild(n),r!==u&&r.length>0&&"none"!==r}());st.scrollBar=st.scrollBar||st.hybrid;r=si.find(st.sectionSelector);st.anchors.length||(st.anchors=r.filter("[data-anchor]").map(function(){return n(this).data("anchor").toString()}).get());st.navigationTooltips.length||(st.navigationTooltips=r.filter("[data-tooltip]").map(function(){return n(this).data("tooltip").toString()}).get());si.css({height:"100%",position:"relative"});si.addClass(lt);n("html").addClass(d);ai=s.height();si.removeClass(it);si.find(st.sectionSelector).addClass(g);si.find(st.slideSelector).addClass(ut);n(f).each(function(t){var h,s,i,u,r=n(this),v=r.find(l),y=v.length;r.data("fp-styles",r.attr("style"));i=r;(u=t)||0!==n(e).length||i.addClass(o);vf=n(e);i.css("height",ai+"px");st.paddingTop&&i.css("padding-top",st.paddingTop);st.paddingBottom&&i.css("padding-bottom",st.paddingBottom);void 0!==st.sectionsColor[u]&&i.css("background-color",st.sectionsColor[u]);void 0!==st.anchors[u]&&i.attr("data-anchor",st.anchors[u]);h=r;s=t;void 0!==st.anchors[s]&&h.hasClass(o)&&ef(st.anchors[s],s);st.menu&&st.css3&&n(st.menu).closest(b).length&&n(st.menu).appendTo(li);y>0?function(t,i,r){var u,h=100*r,l=100/r,s;i.wrapAll('<div class="'+ft+'" />');i.parent().wrap('<div class="'+wt+'" />');t.find(et).css("width",h+"%");r>1&&(st.controlArrows&&((u=t).find(a).after('<div class="'+ei+'"><\/div><div class="'+oi+'"><\/div>'),"#fff"!=st.controlArrowColor&&(u.find(dt).css("border-color","transparent transparent transparent "+st.controlArrowColor),u.find(ct).css("border-color","transparent "+st.controlArrowColor+" transparent transparent")),st.loopHorizontal||u.find(ct).hide()),st.slidesNavigation&&function(n,t){var i,r;for(n.append('<div class="'+bt+'"><ul><\/ul><\/div>'),i=n.find(nt),i.addClass(st.slidesNavPosition),r=0;r<t;r++)i.find("ul").append('<li><a href="#"><span><\/span><\/a><\/li>');i.css("margin-left","-"+i.width()/2+"px");i.find("li").first().find("a").addClass(o)}(t,r));i.each(function(){n(this).css("width",l+"%");st.verticalCentered&&ke(n(this))});s=t.find(c);s.length&&(0!==n(e).index(f)||0===n(e).index(f)&&0!==s.index())?ro(s,"internal"):i.eq(0).addClass(o)}(r,v,y):st.verticalCentered&&ke(r)});st.fixedElements&&st.css3&&n(st.fixedElements).appendTo(li);st.navigation&&function(){var u,t,s,i,r;for(li.append('<div id="'+yt+'"><ul><\/ul><\/div>'),u=n(h),u.addClass(function(){return st.showActiveTooltip?fi+" "+st.navigationPosition:st.navigationPosition}),t=0;t<n(f).length;t++)s="",st.anchors.length&&(s=st.anchors[t]),i='<li><a href="#'+s+'"><span><\/span><\/a>',r=st.navigationTooltips[t],void 0!==r&&""!==r&&(i+='<div class="'+pt+" "+st.navigationPosition+'">'+r+"<\/div>"),i+="<\/li>",u.find("ul").append(i);n(h).css("margin-top","-"+n(h).height()/2+"px");n(h).find("li").eq(n(e).index(f)).find("a").addClass(o)}();si.find('iframe[src*="youtube.com/embed/"]').each(function(){var t,r,i;t=n(this);r="enablejsapi=1";i=t.attr("src");t.attr("src",i+(/\?/.test(i)?"&":"?")+r)});st.scrollOverflow?pf=st.scrollOverflowHandler.init(st):ne();or(!0);fr(st.autoScrolling,"internal");pe();to();"complete"===i.readyState&&oe();var r;s.on("load",oe)}(),s.on("scroll",te).on("hashchange",se).blur(ao).resize(ye),y.keydown(he).keyup(ce).on("click touchstart",h+" a",vo).on("click touchstart",kt,yo).on("click",ui,co),n(f).on("click touchstart",w,lo),st.normalScrollElements&&(y.on("mouseenter touchstart",st.normalScrollElements,function(){or(!1)}),y.on("mouseleave touchend",st.normalScrollElements,function(){or(!0)})));var vu=!1,kf=0,rr=0,pr=0,ur=0,wr=0,df=(new Date).getTime(),yu=0,br=0,pu=ai}}}),function(n,t,i){function u(i,u){this.wrapper="string"==typeof i?t.querySelector(i):i;this.scroller=this.wrapper.children[0];this.scrollerStyle=this.scroller.style;this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!r.hasPointer,disableTouch:r.hasPointer||!r.hasTouch,disableMouse:r.hasPointer||r.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof n.onmousedown};for(var f in u)this.options[f]=u[f];this.translateZ=this.options.HWCompositing&&r.hasPerspective?" translateZ(0)":"";this.options.useTransition=r.hasTransition&&this.options.useTransition;this.options.useTransform=r.hasTransform&&this.options.useTransform;this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough;this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault;this.options.scrollY="vertical"==this.options.eventPassthrough?!1:this.options.scrollY;this.options.scrollX="horizontal"==this.options.eventPassthrough?!1:this.options.scrollX;this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough;this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold;this.options.bounceEasing="string"==typeof this.options.bounceEasing?r.ease[this.options.bounceEasing]||r.ease.circular:this.options.bounceEasing;this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling;!0===this.options.tap&&(this.options.tap="tap");this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative");"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1);this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1;this.directionY=this.directionX=this.y=this.x=0;this._events={};this._init();this.refresh();this.scrollTo(this.options.startX,this.options.startY);this.enable()}function e(n,i,r){var u=t.createElement("div"),f=t.createElement("div");return!0===r&&(u.style.cssText="position:absolute;z-index:9999",f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),f.className="iScrollIndicator","h"==n?(!0===r&&(u.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",f.style.height="100%"),u.className="iScrollHorizontalScrollbar"):(!0===r&&(u.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",f.style.width="100%"),u.className="iScrollVerticalScrollbar"),u.style.cssText+=";overflow:hidden",i||(u.style.pointerEvents="none"),u.appendChild(f),u}function o(i,u){var o,e,s;this.wrapper="string"==typeof u.el?t.querySelector(u.el):u.el;this.wrapperStyle=this.wrapper.style;this.indicator=this.wrapper.children[0];this.indicatorStyle=this.indicator.style;this.scroller=i;this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(o in u)this.options[o]=u[o];this.sizeRatioY=this.sizeRatioX=1;this.maxPosY=this.maxPosX=0;this.options.interactive&&(this.options.disableTouch||(r.addEvent(this.indicator,"touchstart",this),r.addEvent(n,"touchend",this)),this.options.disablePointer||(r.addEvent(this.indicator,r.prefixPointerEvent("pointerdown"),this),r.addEvent(n,r.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(r.addEvent(this.indicator,"mousedown",this),r.addEvent(n,"mouseup",this)));this.options.fade&&(this.wrapperStyle[r.style.transform]=this.scroller.translateZ,e=r.style.transitionDuration,e&&(this.wrapperStyle[e]=r.isBadAndroid?"0.0001ms":"0ms",s=this,r.isBadAndroid&&f(function(){"0.0001ms"===s.wrapperStyle[e]&&(s.wrapperStyle[e]="0s")}),this.wrapperStyle.opacity="0"))}var f=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||n.msRequestAnimationFrame||function(t){n.setTimeout(t,1e3/60)},r=function(){function u(n){return!1===e?!1:""===e?n:e+n.charAt(0).toUpperCase()+n.substr(1)}var r={},f=t.createElement("div").style,e=function(){for(var t=["t","webkitT","MozT","msT","OT"],i,n=0,r=t.length;n<r;n++)if(i=t[n]+"ransform",i in f)return t[n].substr(0,t[n].length-1);return!1}(),o;return r.getTime=Date.now||function(){return(new Date).getTime()},r.extend=function(n,t){for(var i in t)n[i]=t[i]},r.addEvent=function(n,t,i,r){n.addEventListener(t,i,!!r)},r.removeEvent=function(n,t,i,r){n.removeEventListener(t,i,!!r)},r.prefixPointerEvent=function(t){return n.MSPointerEvent?"MSPointer"+t.charAt(7).toUpperCase()+t.substr(8):t},r.momentum=function(n,t,r,u,f,e){t=n-t;r=i.abs(t)/r;var o;return e=void 0===e?.0006:e,o=n+r*r/(2*e)*(0>t?-1:1),e=r/e,o<u?(o=f?u-f/2.5*(r/8):u,t=i.abs(o-n),e=t/r):0<o&&(o=f?f/2.5*(r/8):0,t=i.abs(n)+o,e=t/r),{destination:i.round(o),duration:e}},o=u("transform"),r.extend(r,{hasTransform:!1!==o,hasPerspective:u("perspective")in f,hasTouch:"ontouchstart"in n,hasPointer:!(!n.PointerEvent&&!n.MSPointerEvent),hasTransition:u("transition")in f}),r.isBadAndroid=function(){var t=n.navigator.appVersion;return/Android/.test(t)&&!/Chrome\/\d/.test(t)?(t=t.match(/Safari\/(\d+.\d)/))&&"object"==typeof t&&2<=t.length?535.19>parseFloat(t[1]):!0:!1}(),r.extend(r.style={},{transform:o,transitionTimingFunction:u("transitionTimingFunction"),transitionDuration:u("transitionDuration"),transitionDelay:u("transitionDelay"),transformOrigin:u("transformOrigin")}),r.hasClass=function(n,t){return new RegExp("(^|\\s)"+t+"(\\s|$)").test(n.className)},r.addClass=function(n,t){if(!r.hasClass(n,t)){var i=n.className.split(" ");i.push(t);n.className=i.join(" ")}},r.removeClass=function(n,t){r.hasClass(n,t)&&(n.className=n.className.replace(new RegExp("(^|\\s)"+t+"(\\s|$)","g")," "))},r.offset=function(n){for(var t=-n.offsetLeft,i=-n.offsetTop;n=n.offsetParent;)t-=n.offsetLeft,i-=n.offsetTop;return{left:t,top:i}},r.preventDefaultException=function(n,t){for(var i in t)if(t[i].test(n[i]))return!0;return!1},r.extend(r.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),r.extend(r.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(n){return n*(2-n)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(n){return i.sqrt(1- --n*n)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(n){return--n*n*(5*n+4)+1}},bounce:{style:"",fn:function(n){return(n/=1)<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}},elastic:{style:"",fn:function(n){return 0===n?0:1==n?1:.4*i.pow(2,-10*n)*i.sin(2*(n-.055)*i.PI/.22)+1}}}),r.tap=function(n,i){var r=t.createEvent("Event");r.initEvent(i,!0,!0);r.pageX=n.pageX;r.pageY=n.pageY;n.target.dispatchEvent(r)},r.click=function(i){var u=i.target,r;/(SELECT|INPUT|TEXTAREA)/i.test(u.tagName)||(r=t.createEvent(n.MouseEvent?"MouseEvents":"Event"),r.initEvent("click",!0,!0),r.view=i.view||n,r.detail=1,r.screenX=u.screenX||0,r.screenY=u.screenY||0,r.clientX=u.clientX||0,r.clientY=u.clientY||0,r.ctrlKey=!!i.ctrlKey,r.altKey=!!i.altKey,r.shiftKey=!!i.shiftKey,r.metaKey=!!i.metaKey,r.button=0,r.relatedTarget=null,r._constructed=!0,u.dispatchEvent(r))},r}();u.prototype={version:"5.2.0",_init:function(){this._initEvents();(this.options.scrollbars||this.options.indicators)&&this._initIndicators();this.options.mouseWheel&&this._initWheel();this.options.snap&&this._initSnap();this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0);clearTimeout(this.resizeTimeout);this.resizeTimeout=null;this._execEvent("destroy")},_transitionEnd:function(n){n.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(n){if(!(1!=r.eventType[n.type]&&0!==(n.which?n.button:2>n.button?0:4==n.button?1:2)||!this.enabled||this.initiated&&r.eventType[n.type]!==this.initiated)){!this.options.preventDefault||r.isBadAndroid||r.preventDefaultException(n.target,this.options.preventDefaultException)||n.preventDefault();var t=n.touches?n.touches[0]:n;this.initiated=r.eventType[n.type];this.moved=!1;this.directionLocked=this.directionY=this.directionX=this.distY=this.distX=0;this.startTime=r.getTime();this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,n=this.getComputedPosition(),this._translate(i.round(n.x),i.round(n.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd"));this.startX=this.x;this.startY=this.y;this.absStartX=this.x;this.absStartY=this.y;this.pointX=t.pageX;this.pointY=t.pageY;this._execEvent("beforeScrollStart")}},_move:function(n){if(this.enabled&&r.eventType[n.type]===this.initiated){this.options.preventDefault&&n.preventDefault();var t=n.touches?n.touches[0]:n,u=t.pageX-this.pointX,f=t.pageY-this.pointY,o=r.getTime(),e;if(this.pointX=t.pageX,this.pointY=t.pageY,this.distX+=u,this.distY+=f,t=i.abs(this.distX),e=i.abs(this.distY),!(300<o-this.endTime&&10>t&&10>e)){if(this.directionLocked||this.options.freeScroll||(this.directionLocked=t>e+this.options.directionLockThreshold?"h":e>=t+this.options.directionLockThreshold?"v":"n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)n.preventDefault();else if("horizontal"==this.options.eventPassthrough){this.initiated=!1;return}f=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)n.preventDefault();else if("vertical"==this.options.eventPassthrough){this.initiated=!1;return}u=0}u=this.hasHorizontalScroll?u:0;f=this.hasVerticalScroll?f:0;n=this.x+u;t=this.y+f;(0<n||n<this.maxScrollX)&&(n=this.options.bounce?this.x+u/3:0<n?0:this.maxScrollX);(0<t||t<this.maxScrollY)&&(t=this.options.bounce?this.y+f/3:0<t?0:this.maxScrollY);this.directionX=0<u?-1:0>u?1:0;this.directionY=0<f?-1:0>f?1:0;this.moved||this._execEvent("scrollStart");this.moved=!0;this._translate(n,t);300<o-this.startTime&&(this.startTime=o,this.startX=this.x,this.startY=this.y)}}},_end:function(n){var o,e,f;if(this.enabled&&r.eventType[n.type]===this.initiated){this.options.preventDefault&&!r.preventDefaultException(n.target,this.options.preventDefaultException)&&n.preventDefault();e=r.getTime()-this.startTime;var t=i.round(this.x),u=i.round(this.y),s=i.abs(t-this.startX),h=i.abs(u-this.startY);o=0;f="";this.initiated=this.isInTransition=0;this.endTime=r.getTime();this.resetPosition(this.options.bounceTime)||((this.scrollTo(t,u),this.moved)?this._events.flick&&200>e&&100>s&&100>h?this._execEvent("flick"):(this.options.momentum&&300>e&&(o=this.hasHorizontalScroll?r.momentum(this.x,this.startX,e,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:t,duration:0},e=this.hasVerticalScroll?r.momentum(this.y,this.startY,e,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:u,duration:0},t=o.destination,u=e.destination,o=i.max(o.duration,e.duration),this.isInTransition=1),this.options.snap&&(this.currentPage=f=this._nearestSnap(t,u),o=this.options.snapSpeed||i.max(i.max(i.min(i.abs(t-f.x),1e3),i.min(i.abs(u-f.y),1e3)),300),t=f.x,u=f.y,this.directionY=this.directionX=0,f=this.options.bounceEasing),t!=this.x||u!=this.y)?((0<t||t<this.maxScrollX||0<u||u<this.maxScrollY)&&(f=r.ease.quadratic),this.scrollTo(t,u,o,f)):this._execEvent("scrollEnd"):(this.options.tap&&r.tap(n,this.options.tap),this.options.click&&r.click(n),this._execEvent("scrollCancel")))}},_resize:function(){var n=this;clearTimeout(this.resizeTimeout);this.resizeTimeout=setTimeout(function(){n.refresh()},this.options.resizePolling)},resetPosition:function(n){var t=this.x,i=this.y;return(!this.hasHorizontalScroll||0<this.x?t=0:this.x<this.maxScrollX&&(t=this.maxScrollX),!this.hasVerticalScroll||0<this.y?i=0:this.y<this.maxScrollY&&(i=this.maxScrollY),t==this.x&&i==this.y)?!1:(this.scrollTo(t,i,n||0,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){this.wrapperWidth=this.wrapper.clientWidth;this.wrapperHeight=this.wrapper.clientHeight;this.scrollerWidth=this.scroller.offsetWidth;this.scrollerHeight=this.scroller.offsetHeight;this.maxScrollX=this.wrapperWidth-this.scrollerWidth;this.maxScrollY=this.wrapperHeight-this.scrollerHeight;this.hasHorizontalScroll=this.options.scrollX&&0>this.maxScrollX;this.hasVerticalScroll=this.options.scrollY&&0>this.maxScrollY;this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth);this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight);this.directionY=this.directionX=this.endTime=0;this.wrapperOffset=r.offset(this.wrapper);this._execEvent("refresh");this.resetPosition()},on:function(n,t){this._events[n]||(this._events[n]=[]);this._events[n].push(t)},off:function(n,t){if(this._events[n]){var i=this._events[n].indexOf(t);-1<i&&this._events[n].splice(i,1)}},_execEvent:function(n){if(this._events[n]){var t=0,i=this._events[n].length;if(i)for(;t<i;t++)this._events[n][t].apply(this,[].slice.call(arguments,1))}},scrollBy:function(n,t,i,r){n=this.x+n;t=this.y+t;this.scrollTo(n,t,i||0,r)},scrollTo:function(n,t,i,u){u=u||r.ease.circular;this.isInTransition=this.options.useTransition&&0<i;var f=this.options.useTransition&&u.style;!i||f?(f&&(this._transitionTimingFunction(u.style),this._transitionTime(i)),this._translate(n,t)):this._animate(n,t,i,u.fn)},scrollToElement:function(n,t,u,f,e){if(n=n.nodeType?n:this.scroller.querySelector(n)){var o=r.offset(n);o.left-=this.wrapperOffset.left;o.top-=this.wrapperOffset.top;!0===u&&(u=i.round(n.offsetWidth/2-this.wrapper.offsetWidth/2));!0===f&&(f=i.round(n.offsetHeight/2-this.wrapper.offsetHeight/2));o.left-=u||0;o.top-=f||0;o.left=0<o.left?0:o.left<this.maxScrollX?this.maxScrollX:o.left;o.top=0<o.top?0:o.top<this.maxScrollY?this.maxScrollY:o.top;t=void 0===t||null===t||"auto"===t?i.max(i.abs(this.x-o.left),i.abs(this.y-o.top)):t;this.scrollTo(o.left,o.top,t,e)}},_transitionTime:function(n){var t,i,u;if(this.options.useTransition&&(n=n||0,t=r.style.transitionDuration,t&&(this.scrollerStyle[t]=n+"ms",!n&&r.isBadAndroid&&(this.scrollerStyle[t]="0.0001ms",i=this,f(function(){"0.0001ms"===i.scrollerStyle[t]&&(i.scrollerStyle[t]="0s")})),this.indicators)))for(u=this.indicators.length;u--;)this.indicators[u].transitionTime(n)},_transitionTimingFunction:function(n){if(this.scrollerStyle[r.style.transitionTimingFunction]=n,this.indicators)for(var t=this.indicators.length;t--;)this.indicators[t].transitionTimingFunction(n)},_translate:function(n,t){if(this.options.useTransform?this.scrollerStyle[r.style.transform]="translate("+n+"px,"+t+"px)"+this.translateZ:(n=i.round(n),t=i.round(t),this.scrollerStyle.left=n+"px",this.scrollerStyle.top=t+"px"),this.x=n,this.y=t,this.indicators)for(var u=this.indicators.length;u--;)this.indicators[u].updatePosition()},_initEvents:function(t){t=t?r.removeEvent:r.addEvent;var i=this.options.bindToWrapper?this.wrapper:n;t(n,"orientationchange",this);t(n,"resize",this);this.options.click&&t(this.wrapper,"click",this,!0);this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(i,"mousemove",this),t(i,"mousecancel",this),t(i,"mouseup",this));r.hasPointer&&!this.options.disablePointer&&(t(this.wrapper,r.prefixPointerEvent("pointerdown"),this),t(i,r.prefixPointerEvent("pointermove"),this),t(i,r.prefixPointerEvent("pointercancel"),this),t(i,r.prefixPointerEvent("pointerup"),this));r.hasTouch&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(i,"touchmove",this),t(i,"touchcancel",this),t(i,"touchend",this));t(this.scroller,"transitionend",this);t(this.scroller,"webkitTransitionEnd",this);t(this.scroller,"oTransitionEnd",this);t(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var t=n.getComputedStyle(this.scroller,null),i;return this.options.useTransform?(t=t[r.style.transform].split(")")[0].split(", "),i=+(t[12]||t[4]),t=+(t[13]||t[5])):(i=+t.left.replace(/[^-\d.]/g,""),t=+t.top.replace(/[^-\d.]/g,"")),{x:i,y:t}},_initIndicators:function(){function t(n){if(u.indicators)for(var t=u.indicators.length;t--;)n.call(u.indicators[t])}var n=this.options.interactiveScrollbars,f="string"!=typeof this.options.scrollbars,i=[],r,u=this;for(this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(r={el:e("v",n,this.options.scrollbars),interactive:n,defaultScrollbars:!0,customStyle:f,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(r.el),i.push(r)),this.options.scrollX&&(r={el:e("h",n,this.options.scrollbars),interactive:n,defaultScrollbars:!0,customStyle:f,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(r.el),i.push(r))),this.options.indicators&&(i=i.concat(this.options.indicators)),n=i.length;n--;)this.indicators.push(new o(this,i[n]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})}));this.on("refresh",function(){t(function(){this.refresh()})});this.on("destroy",function(){t(function(){this.destroy()});delete this.indicators})},_initWheel:function(){r.addEvent(this.wrapper,"wheel",this);r.addEvent(this.wrapper,"mousewheel",this);r.addEvent(this.wrapper,"DOMMouseScroll",this);this.on("destroy",function(){clearTimeout(this.wheelTimeout);this.wheelTimeout=null;r.removeEvent(this.wrapper,"wheel",this);r.removeEvent(this.wrapper,"mousewheel",this);r.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(n){if(this.enabled){var t,r,u,f=this;if(void 0===this.wheelTimeout&&f._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){f.options.snap||f._execEvent("scrollEnd");f.wheelTimeout=void 0},400),"deltaX"in n)1===n.deltaMode?(t=-n.deltaX*this.options.mouseWheelSpeed,n=-n.deltaY*this.options.mouseWheelSpeed):(t=-n.deltaX,n=-n.deltaY);else if("wheelDeltaX"in n)t=n.wheelDeltaX/120*this.options.mouseWheelSpeed,n=n.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in n)t=n=n.wheelDelta/120*this.options.mouseWheelSpeed;else if("detail"in n)t=n=-n.detail/3*this.options.mouseWheelSpeed;else return;t*=this.options.invertWheelDirection;n*=this.options.invertWheelDirection;this.hasVerticalScroll||(t=n,n=0);this.options.snap?(r=this.currentPage.pageX,u=this.currentPage.pageY,0<t?r--:0>t&&r++,0<n?u--:0>n&&u++,this.goToPage(r,u)):(r=this.x+i.round(this.hasHorizontalScroll?t:0),u=this.y+i.round(this.hasVerticalScroll?n:0),this.directionX=0<t?-1:0>t?1:0,this.directionY=0<n?-1:0>n?1:0,0<r?r=0:r<this.maxScrollX&&(r=this.maxScrollX),0<u?u=0:u<this.maxScrollY&&(u=this.maxScrollY),this.scrollTo(r,u,0))}},_initSnap:function(){this.currentPage={};"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap));this.on("refresh",function(){var n=0,e,o=0,f,s,h,r=0,u,t;if(f=this.options.snapStepX||this.wrapperWidth,t=this.options.snapStepY||this.wrapperHeight,this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(!0===this.options.snap)for(s=i.round(f/2),h=i.round(t/2);r>-this.scrollerWidth;){for(this.pages[n]=[],u=e=0;u>-this.scrollerHeight;)this.pages[n][e]={x:i.max(r,this.maxScrollX),y:i.max(u,this.maxScrollY),width:f,height:t,cx:r-s,cy:u-h},u-=t,e++;r-=f;n++}else for(t=this.options.snap,e=t.length,f=-1;n<e;n++)(0===n||t[n].offsetLeft<=t[n-1].offsetLeft)&&(o=0,f++),this.pages[o]||(this.pages[o]=[]),r=i.max(-t[n].offsetLeft,this.maxScrollX),u=i.max(-t[n].offsetTop,this.maxScrollY),s=r-i.round(t[n].offsetWidth/2),h=u-i.round(t[n].offsetHeight/2),this.pages[o][f]={x:r,y:u,width:t[n].offsetWidth,height:t[n].offsetHeight,cx:s,cy:h},r>this.maxScrollX&&o++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0);0==this.options.snapThreshold%1?this.snapThresholdY=this.snapThresholdX=this.options.snapThreshold:(this.snapThresholdX=i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}});this.on("flick",function(){var n=this.options.snapSpeed||i.max(i.max(i.min(i.abs(this.x-this.startX),1e3),i.min(i.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,n)})},_nearestSnap:function(n,t){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var r=0,f=this.pages.length,u=0;if(i.abs(n-this.absStartX)<this.snapThresholdX&&i.abs(t-this.absStartY)<this.snapThresholdY)return this.currentPage;for(0<n?n=0:n<this.maxScrollX&&(n=this.maxScrollX),0<t?t=0:t<this.maxScrollY&&(t=this.maxScrollY);r<f;r++)if(n>=this.pages[r][0].cx){n=this.pages[r][0].x;break}for(f=this.pages[r].length;u<f;u++)if(t>=this.pages[0][u].cy){t=this.pages[0][u].y;break}return r==this.currentPage.pageX&&(r+=this.directionX,0>r?r=0:r>=this.pages.length&&(r=this.pages.length-1),n=this.pages[r][0].x),u==this.currentPage.pageY&&(u+=this.directionY,0>u?u=0:u>=this.pages[0].length&&(u=this.pages[0].length-1),t=this.pages[0][u].y),{x:n,y:t,pageX:r,pageY:u}},goToPage:function(n,t,r,u){u=u||this.options.bounceEasing;n>=this.pages.length?n=this.pages.length-1:0>n&&(n=0);t>=this.pages[n].length?t=this.pages[n].length-1:0>t&&(t=0);var f=this.pages[n][t].x,e=this.pages[n][t].y;r=void 0===r?this.options.snapSpeed||i.max(i.max(i.min(i.abs(f-this.x),1e3),i.min(i.abs(e-this.y),1e3)),300):r;this.currentPage={x:f,y:e,pageX:n,pageY:t};this.scrollTo(f,e,r,u)},next:function(n,t){var i=this.currentPage.pageX,r=this.currentPage.pageY;i++;i>=this.pages.length&&this.hasVerticalScroll&&(i=0,r++);this.goToPage(i,r,n,t)},prev:function(n,t){var i=this.currentPage.pageX,r=this.currentPage.pageY;i--;0>i&&this.hasVerticalScroll&&(i=0,r--);this.goToPage(i,r,n,t)},_initKeys:function(t){t={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};var i;if("object"==typeof this.options.keyBindings)for(i in this.options.keyBindings)"string"==typeof this.options.keyBindings[i]&&(this.options.keyBindings[i]=this.options.keyBindings[i].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(i in t)this.options.keyBindings[i]=this.options.keyBindings[i]||t[i];r.addEvent(n,"keydown",this);this.on("destroy",function(){r.removeEvent(n,"keydown",this)})},_key:function(n){if(this.enabled){var t=this.options.snap,u=t?this.currentPage.pageX:this.x,f=t?this.currentPage.pageY:this.y,o=r.getTime(),s=this.keyTime||0,e;this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(i.round(e.x),i.round(e.y)),this.isInTransition=!1);this.keyAcceleration=200>o-s?i.min(this.keyAcceleration+.25,50):0;switch(n.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?u+=t?1:this.wrapperWidth:f+=t?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?u-=t?1:this.wrapperWidth:f-=t?1:this.wrapperHeight;break;case this.options.keyBindings.end:u=t?this.pages.length-1:this.maxScrollX;f=t?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:f=u=0;break;case this.options.keyBindings.left:u+=t?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:f+=t?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:u-=t?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:f-=t?1:5+this.keyAcceleration>>0;break;default:return}t?this.goToPage(u,f):(0<u?this.keyAcceleration=u=0:u<this.maxScrollX&&(u=this.maxScrollX,this.keyAcceleration=0),0<f?this.keyAcceleration=f=0:f<this.maxScrollY&&(f=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(u,f,0),this.keyTime=o)}},_animate:function(n,t,i,u){function o(){var a=r.getTime(),v;a>=l?(e.isAnimating=!1,e._translate(n,t),e.resetPosition(e.options.bounceTime)||e._execEvent("scrollEnd")):(a=(a-c)/i,v=u(a),a=(n-s)*v+s,v=(t-h)*v+h,e._translate(a,v),e.isAnimating&&f(o))}var e=this,s=this.x,h=this.y,c=r.getTime(),l=c+i;this.isAnimating=!0;o()},handleEvent:function(n){switch(n.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(n);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(n);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(n);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(n);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(n);break;case"keydown":this._key(n);break;case"click":this.enabled&&!n._constructed&&(n.preventDefault(),n.stopPropagation())}}};o.prototype={handleEvent:function(n){switch(n.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(n);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(n);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(n)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null);this.options.interactive&&(r.removeEvent(this.indicator,"touchstart",this),r.removeEvent(this.indicator,r.prefixPointerEvent("pointerdown"),this),r.removeEvent(this.indicator,"mousedown",this),r.removeEvent(n,"touchmove",this),r.removeEvent(n,r.prefixPointerEvent("pointermove"),this),r.removeEvent(n,"mousemove",this),r.removeEvent(n,"touchend",this),r.removeEvent(n,r.prefixPointerEvent("pointerup"),this),r.removeEvent(n,"mouseup",this));this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(t){var i=t.touches?t.touches[0]:t;t.preventDefault();t.stopPropagation();this.transitionTime();this.initiated=!0;this.moved=!1;this.lastPointX=i.pageX;this.lastPointY=i.pageY;this.startTime=r.getTime();this.options.disableTouch||r.addEvent(n,"touchmove",this);this.options.disablePointer||r.addEvent(n,r.prefixPointerEvent("pointermove"),this);this.options.disableMouse||r.addEvent(n,"mousemove",this);this.scroller._execEvent("beforeScrollStart")},_move:function(n){var t=n.touches?n.touches[0]:n,i,u;r.getTime();this.moved||this.scroller._execEvent("scrollStart");this.moved=!0;i=t.pageX-this.lastPointX;this.lastPointX=t.pageX;u=t.pageY-this.lastPointY;this.lastPointY=t.pageY;this._pos(this.x+i,this.y+u);n.preventDefault();n.stopPropagation()},_end:function(t){if(this.initiated){if(this.initiated=!1,t.preventDefault(),t.stopPropagation(),r.removeEvent(n,"touchmove",this),r.removeEvent(n,r.prefixPointerEvent("pointermove"),this),r.removeEvent(n,"mousemove",this),this.scroller.options.snap){t=this.scroller._nearestSnap(this.scroller.x,this.scroller.y);var u=this.options.snapSpeed||i.max(i.max(i.min(i.abs(this.scroller.x-t.x),1e3),i.min(i.abs(this.scroller.y-t.y),1e3)),300);(this.scroller.x!=t.x||this.scroller.y!=t.y)&&(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=t,this.scroller.scrollTo(t.x,t.y,u,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(n){var t,i;n=n||0;t=r.style.transitionDuration;t&&(this.indicatorStyle[t]=n+"ms",!n&&r.isBadAndroid)&&(this.indicatorStyle[t]="0.0001ms",i=this,f(function(){"0.0001ms"===i.indicatorStyle[t]&&(i.indicatorStyle[t]="0s")}))},transitionTimingFunction:function(n){this.indicatorStyle[r.style.transitionTimingFunction]=n},refresh:function(){this.transitionTime();this.indicatorStyle.display=this.options.listenX&&!this.options.listenY?this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.scroller.hasVerticalScroll?"block":"none":this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none";this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(r.addClass(this.wrapper,"iScrollBothScrollbars"),r.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(r.removeClass(this.wrapper,"iScrollBothScrollbars"),r.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px"));this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=i.max(i.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX);this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=i.max(i.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY);this.updatePosition()},updatePosition:function(){var n=this.options.listenX&&i.round(this.sizeRatioX*this.scroller.x)||0,t=this.options.listenY&&i.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(n<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=i.max(this.indicatorWidth+n,8),this.indicatorStyle.width=this.width+"px"),n=this.minBoundaryX):n>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=i.max(this.indicatorWidth-(n-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",n=this.maxPosX+this.indicatorWidth-this.width):n=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),t<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=i.max(this.indicatorHeight+3*t,8),this.indicatorStyle.height=this.height+"px"),t=this.minBoundaryY):t>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=i.max(this.indicatorHeight-3*(t-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",t=this.maxPosY+this.indicatorHeight-this.height):t=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px"));this.x=n;this.y=t;this.scroller.options.useTransform?this.indicatorStyle[r.style.transform]="translate("+n+"px,"+t+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=n+"px",this.indicatorStyle.top=t+"px")},_pos:function(n,t){0>n?n=0:n>this.maxPosX&&(n=this.maxPosX);0>t?t=0:t>this.maxPosY&&(t=this.maxPosY);n=this.options.listenX?i.round(n/this.sizeRatioX):this.scroller.x;t=this.options.listenY?i.round(t/this.sizeRatioY):this.scroller.y;this.scroller.scrollTo(n,t)},fade:function(n,t){if(!t||this.visible){clearTimeout(this.fadeTimeout);this.fadeTimeout=null;var i=n?0:300;this.wrapperStyle[r.style.transitionDuration]=(n?250:500)+"ms";this.fadeTimeout=setTimeout(function(n){this.wrapperStyle.opacity=n;this.visible=+n}.bind(this,n?"1":"0"),i)}}};u.utils=r;"undefined"!=typeof module&&module.exports?module.exports=u:"function"==typeof define&&define.amd?define(function(){return u}):n.IScroll=u}(window,document,Math),function(n){"use strict";n(function(){function o(){t=n("#newsletterForm");i=n("#newsletterFooterForm");r=n("#contactUsForm");u();f();e()}var t,i,r,u=function(){t.submit(function(t){var i,r,u;(t.preventDefault(),i=n(this),i.valid())&&(r=[],n("input:checkbox.interestCheckb:checked").each(function(){r.push(n(this).closest(".tg-list-item").find(".interestText").text())}),n(".interestedIn").val(r),u=i.serialize(),n.ajax({url:i.attr("action"),method:"POST",data:u}).then(function(n){n.success&&(i.trigger("reset"),i.hide(500),i.next(".thankU").show(500))},function(){console.log("error")}))})},f=function(){i.submit(function(t){var i,r,u;(t.preventDefault(),i=n(this),i.valid())&&(r="",n(".interestedIn").val(r),u=i.serialize(),n.ajax({url:i.attr("action"),method:"POST",data:u}).then(function(n){n.success&&(i.trigger("reset"),i.hide(),setTimeout(function(){i.next(".thankU").show(500)},500))},function(){console.log("error")}))})},e=function(){r.submit(function(t){var i,r;(t.preventDefault(),n(".errorAnswer").hide(),i=n(this),i.valid())&&(r=i.serialize(),n.ajax({url:i.attr("action"),method:"POST",data:r}).then(function(t){t.success?(i.trigger("reset"),i.hide(500),i.next(".thankU").show(500)):n(".errorAnswer").show(500)},function(){console.log("error")}))})};o()})}(jQuery),function(n){function cr(n){return n&&n.Object===Object?n:null}function yt(n){for(var i=[],t=0,r=n.length;t<r;t++)i.push(n[t]);return i}function ey(n){return function(){try{return n.apply(this,arguments)}catch(t){return r.e=t,r}}}function ft(n){throw n;}function oy(n,t){var r,i,u;if(ir&&t.stack&&typeof n=="object"&&n!==null&&n.stack&&n.stack.indexOf(su)===-1){for(r=[],i=t;!!i;i=i.source)i.stack&&r.unshift(i.stack);r.unshift(n.stack);u=r.join("\n"+su+"\n");n.stack=sy(u)}}function sy(n){for(var r=n.split("\n"),u=[],t,i=0,f=r.length;i<f;i++)t=r[i],hy(t)||cy(t)||!t||u.push(t);return u.join("\n")}function hy(n){var t=pf(n),r,i;return t?(r=t[0],i=t[1],r===vf&&i>=af&&i<=ry):!1}function cy(n){return n.indexOf("(module.js:")!==-1||n.indexOf("(node.js:")!==-1}function yf(){if(ir)try{throw new Error;}catch(i){var n=i.stack.split("\n"),r=n[0].indexOf("@")>0?n[1]:n[2],t=pf(r);return t?(vf=t[0],t[1]):void 0}}function pf(n){var r=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(n),t,i;return r?[r[1],Number(r[2])]:(t=/at ([^ ]+):(\d+):(?:\d+)$/.exec(n),t)?[t[1],Number(t[2])]:(i=/.*@(.+):(\d+)$/.exec(n),i?[i[1],Number(i[2])]:void 0)}function ay(t,i,r,u,f,e){var a=ie(t),v=a.length,b=ie(i),k=b.length,s,o,l,y,p,w,h,c;if(v!==k&&!u)return!1;for(s=v;s--;)if(o=a[s],!(u?o in i:cu.call(i,o)))return!1;for(l=u;++s<v;){if(o=a[s],y=t[o],p=i[o],!(w===n?r(y,p,u,f,e):w))return!1;l||(l=o==="constructor")}return!l&&(h=t.constructor,c=i.constructor,h!==c&&"constructor"in t&&"constructor"in i&&!(typeof h=="function"&&h instanceof h&&typeof c=="function"&&c instanceof c))?!1:!0}function vy(n,t,i){switch(i){case wf:case bf:return+n==+t;case kf:return n.name===t.name&&n.message===t.message;case df:return n!==+n?t!==+t:n===+t;case gf:case ne:return n===t+""}return!1}function lu(n){return!!n&&typeof n=="object"}function re(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=ly}function yy(n){return lu(n)&&re(n.length)&&!!g[wr.call(n)]}function py(n,t){for(var i=-1,r=n.length;++i<r;)if(t(n[i],i,n))return!0;return!1}function wy(t,i,r,u,f,e){var s=-1,h=t.length,l=i.length,o,c,a;if(h!==l&&!(u&&l>h))return!1;while(++s<h){if(o=t[s],c=i[s],a!==n){if(a)continue;return!1}if(u){if(!py(i,function(n){return o===n||r(o,n,u,f,e)}))return!1}else if(!(o===c||r(o,c,u,f,e)))return!1}return!0}function by(n,t,i,r,u,f){var s=vu(n),p=vu(t),e=pr,o=pr,c,l,h,y;s||(e=wr.call(n),e===hu?e=wi:e!==wi&&(s=yy(n)));p||(o=wr.call(t),o===hu&&(o=wi));var a=e===wi&&!au(n),w=o===wi&&!au(t),v=e===o;if(v&&!(s||a))return vy(n,t,e);if(!r&&(c=a&&cu.call(n,"__wrapped__"),l=w&&cu.call(t,"__wrapped__"),c||l))return i(c?n.value():n,l?t.value():t,r,u,f);if(!v)return!1;for(u||(u=[]),f||(f=[]),h=u.length;h--;)if(u[h]===n)return f[h]===t;return u.push(n),f.push(t),y=(s?wy:ay)(n,t,i,r,u,f),u.pop(),f.pop(),y}function ue(n,t,i,r,u){return n===t?!0:n==null||t==null||!isObject(n)&&!lu(t)?n!==n&&t!==t:by(n,t,ue,i,r,u)}function li(n,t){for(var r=new Array(n),i=0;i<n;i++)r[i]=t();return r}function fe(n,t){this.id=n;this.value=t}function ee(n,t){this.scheduler=n;this.disposable=t;this.isDisposed=!1}function gy(n,t){t.isDisposed||(t.isDisposed=!0,t.disposable.dispose())}function dr(n){this._s=n;this.isDisposed=!1}function no(n){this._s=n}function gu(n){this._s=n;this._l=n.length;this._i=0}function to(n){this._a=n}function nf(n){this._a=n;this._l=dp(n);this._i=0}function wp(n){return typeof n=="number"&&p.isFinite(n)}function bp(t){var r=t[ot],i;if(!r&&typeof t=="string")return i=new no(t),i[ot]();if(!r&&t.length!==n)return i=new to(t),i[ot]();if(!r)throw new TypeError("Object is not iterable");return t[ot]()}function kp(n){var t=+n;return t===0?t:isNaN(t)?t:t<0?-1:1}function dp(n){var t=+n.length;return isNaN(t)?0:t===0||!wp(t)?t:(t=kp(t)*Math.floor(Math.abs(t)),t<=0)?0:t>ge?ge:t}function io(n,t){return v(n)||(n=ut),new nu(t,n)}function fo(n,t){this.observer=n;this.parent=t}function ow(n,t){return n.amb(t)}function ur(){return!1}function fr(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return i}function ur(){return!1}function fr(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return i}function ur(){return!1}function bo(){return[]}function ur(){return!1}function bo(){return[]}function fr(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return i}function ub(n){return function(t){return n.subscribe(t)}}function iu(n){return n.toArray()}function fb(n){return n.length>0}function bs(n,t,i){var r=tt(t,i,3);return n.map(function(t,i){var u=r(t,i,n);return a(u)&&(u=l(u)),(pi(u)||yi(u))&&(u=gr(u)),u}).concatAll()}function eb(n,t,i){for(var r=0,u=n.length;r<u;r++)if(i(n[r],t))return r;return-1}function ds(n){this.comparer=n;this.set=[]}function ob(t,i){return function(r){for(var f=r,e,u=0;u<i;u++)if(e=f[t[u]],typeof e!="undefined")f=e;else return n;return f}}function sh(n){if(n.length===0)throw new dt;return n[0]}function yc(n,t,i,r){var u=tt(t,i,3);return new y(function(t){return n.subscribe(new vc(t,n,u,r))},n)}function ef(n){return n?s.isObservable(n)?n:a(n)?s.fromPromise(n):lb(n)||rl(n)?il.call(this,n):c(n)?cb.call(this,n):pi(n)||yi(n)?sb.call(this,n):isObject(n)?hb.call(this,n):n:n}function sb(n){return s.from(n).concatMap(function(n){return s.isObservable(n)||isObject(n)?ef.call(null,n):f.Observable.just(n)}).toArray()}function hb(t){function c(t,i){r[i]=n;o.push(t.map(function(n){r[i]=n}))}for(var r=new t.constructor,e=Object.keys(t),o=[],i,f,u=0,h=e.length;u<h;u++)i=e[u],f=ef.call(this,t[i]),f&&s.isObservable(f)?c(f,i):r[i]=t[i];return s.forkJoin.apply(s,o).map(function(){return r})}function cb(n){var t=this;return new y(function(i){n.call(t,function(){var r=arguments[0],u=arguments[1],t,n,f;if(r)return i.onError(r);if(arguments.length>2){for(t=[],n=1,f=arguments.length;n<f;n++)t.push(arguments[n]);u=t}i.onNext(u);i.onCompleted()})})}function rl(n){return c(n.next)&&c(n["throw"])}function lb(n){var t=n.constructor;return t?t.name==="GeneratorFunction"||t.displayName==="GeneratorFunction"?!0:rl(t.prototype):!1}function isObject(n){return Object==n.constructor}function ab(n,t,i,r){var u=new di;return r.push(vb(u,t,i)),n.apply(t,r),u.asObservable()}function vb(n,t,i){return function(){for(var o=arguments.length,f=new Array(o),e=0;e<o;e++)f[e]=arguments[e];if(c(i)){if(f=u(i).apply(t,f),f===r)return n.onError(f.e);n.onNext(f)}else if(f.length<=1)n.onNext(f[0]);else n.onNext(f);n.onCompleted()}}function yb(n,t,i,r){var u=new di;return r.push(pb(u,t,i)),n.apply(t,r),u.asObservable()}function pb(n,t,i){return function(){var o=arguments[0],s,e,f;if(o)return n.onError(o);for(s=arguments.length,f=[],e=1;e<s;e++)f[e-1]=arguments[e];if(c(i)){if(f=u(i).apply(t,f),f===r)return n.onError(f.e);n.onNext(f)}else if(f.length<=1)n.onNext(f[0]);else n.onNext(f);n.onCompleted()}}function wb(n){return p.StaticNodeList?n instanceof p.StaticNodeList||n instanceof p.NodeList:Object.prototype.toString.call(n)==="[object NodeList]"}function fl(n,t,i){this._e=n;this._n=t;this._fn=i;this._e.addEventListener(this._n,this._fn,!1);this.isDisposed=!1}function el(n,t,i){var u=new it,e=Object.prototype.toString.call(n),r,f;if(wb(n)||e==="[object HTMLCollection]")for(r=0,f=n.length;r<f;r++)u.add(el(n.item(r),t,i));else n&&u.add(new fl(n,t,i));return u}function bb(n,t,i){return new y(function(f){function h(n,t){if(e[t]=n,c[t]=!0,l||(l=c.every(vt))){if(s)return f.onError(s);var h=u(i).apply(null,e);if(h===r)return f.onError(h.e);f.onNext(h)}o&&e[1]&&f.onCompleted()}var c=[!1,!1],l=!1,o=!1,e=new Array(2),s;return new w(n.subscribe(function(n){h(n,0)},function(n){if(e[1])f.onError(n);else s=n},function(){o=!0;e[1]&&f.onCompleted()}),t.subscribe(function(n){h(n,1)},function(n){f.onError(n)},function(){o=!0;h(!0,1)}))},n)}function iu(n){return n.toArray()}function kb(n,t){return n.groupJoin(this,t,ki,function(n,t){return t})}function db(n){var t=this;return new y(function(i){var r=new rt,u=new it,f=new fi(u);i.onNext(pt(r,f));return u.add(t.subscribe(function(n){r.onNext(n)},function(n){r.onError(n);i.onError(n)},function(){r.onCompleted();i.onCompleted()})),a(n)&&(n=l(n)),u.add(n.subscribe(function(){r.onCompleted();r=new rt;i.onNext(pt(r,f))},function(n){r.onError(n);i.onError(n)},function(){r.onCompleted();i.onCompleted()})),f},t)}function gb(n){var t=this;return new y(function(i){function o(){var t,e;try{t=n()}catch(s){i.onError(s);return}a(t)&&(t=l(t));e=new h;f.setDisposable(e);e.setDisposable(t.take(1).subscribe(nt,function(n){r.onError(n);i.onError(n)},function(){r.onCompleted();r=new rt;i.onNext(pt(r,u));o()}))}var f=new d,e=new it(f),u=new fi(e),r=new rt;i.onNext(pt(r,u));return e.add(t.subscribe(function(n){r.onNext(n)},function(n){r.onError(n);i.onError(n)},function(){r.onCompleted();i.onCompleted()})),o(),u},t)}function nk(n,t){return new dl(n,t)}function fr(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return i}function or(n){this.patterns=n}function fa(n,t){this.expression=n;this.selector=t}function tk(n){return function(t){n.onError(t)}}function ik(n,t){return function(){var i=u(n.selector).apply(n,arguments);if(i===r)return t.onError(i.e);t.onNext(i)}}function rk(n,t,i){var u=n.get(t),r;return u?u:(r=new ea(t,i),n.set(t,r),r)}function sf(n,t,i){var r,f,u;for(this.joinObserverArray=n,this.onNext=t,this.onCompleted=i,this.joinObservers=new oi,r=0,f=this.joinObserverArray.length;r<f;r++)u=this.joinObserverArray[r],this.joinObservers.set(u,u)}function uk(n,t){return new oa(n,t)}function sa(n,t,i){return new y(function(r){var u=n,f=oe(t);return i.scheduleRecursiveFuture(0,u,function(n,t){if(f>0){var e=i.now();u=new Date(u.getTime()+f);u.getTime()<=e&&(u=new Date(e+f))}r.onNext(n);t(n+1,new Date(u))})})}function ha(n,t,i){return n===t?new y(function(n){return i.schedulePeriodic(0,t,function(t){n.onNext(t);return t+1})}):rr(function(){return sa(new Date(i.now()+n),t,i)})}function la(n,t,i){return new y(function(r){var e=!1,s=new d,f=null,u=[],o=!1,c;return c=n.materialize().timestamp(i).subscribe(function(n){var c,l;if(n.value.kind==="E"?(u=[],u.push(n),f=n.value.error,l=!o):(u.push({value:n.value,timestamp:n.timestamp+t}),l=!e,e=!0),l)if(f!==null)r.onError(f);else c=new h,s.setDisposable(c),c.setDisposable(i.scheduleRecursiveFuture(null,t,function(n,t){var h,c,s,l;if(f===null){o=!0;do s=null,u.length>0&&u[0].timestamp-i.now()<=0&&(s=u.shift().value),s!==null&&s.accept(r);while(s!==null);if(l=!1,c=0,u.length>0?(l=!0,c=Math.max(0,u[0].timestamp-i.now())):e=!1,h=f,o=!1,h!==null)r.onError(h);else l&&t(null,c)}}))}),new w(c,s)},n)}function ek(n,t,i){return rr(function(){return la(n,t-i.now(),i)})}function ok(n,t,i){var f,e;return c(t)?e=t:(f=t,e=i),new y(function(t){function s(){o.setDisposable(n.subscribe(function(n){var o=u(e)(n),f;if(o===r)return t.onError(o.e);f=new h;i.add(f);f.setDisposable(o.subscribe(function(){t.onNext(n);i.remove(f);c()},function(n){t.onError(n)},function(){t.onNext(n);i.remove(f);c()}))},function(n){t.onError(n)},function(){l=!0;o.dispose();c()}))}function c(){l&&i.length===0&&t.onCompleted()}var i=new it,l=!1,o=new d;return f?o.setDisposable(f.subscribe(s,function(n){t.onError(n)},s)):s(),new w(o,i)},this)}function sk(n,t){return new y(function(i){var o,f=!1,s=new d,e=0,c=n.subscribe(function(n){var c=u(t)(n),y,v;if(c===r)return i.onError(c.e);a(c)&&(c=l(c));f=!0;o=n;e++;y=e;v=new h;s.setDisposable(v);v.setDisposable(c.subscribe(function(){f&&e===y&&i.onNext(o);f=!1;v.dispose()},function(n){i.onError(n)},function(){f&&e===y&&i.onNext(o);f=!1;v.dispose()}))},function(n){s.dispose();i.onError(n);f=!1;e++},function(){s.dispose();f&&i.onNext(o);i.onCompleted();f=!1;e++});return new w(c,s)},n)}function iu(n){return n.toArray()}function iu(n){return n.toArray()}function ka(n,t){return new y(function(i){function o(){if(r){r=!1;i.onNext(e)}f&&i.onCompleted()}var f=!1,e,r=!1,u=new h;return u.setDisposable(n.subscribe(function(n){r=!0;e=n},function(n){i.onError(n)},function(){f=!0;u.dispose()})),new w(u,t.subscribe(o,function(n){i.onError(n)},o))},n)}function hk(n,t,i,f){return c(t)&&(f=i,i=t,t=tf()),s.isObservable(f)||(f=ii(new sr)),new y(function(e){function b(n){function i(){return c=r===s}var r=s,t=new h;y.setDisposable(t);t.setDisposable(n.subscribe(function(){i()&&o.setDisposable(f.subscribe(e));t.dispose()},function(n){i()&&e.onError(n)},function(){i()&&o.setDisposable(f.subscribe(e))}))}function v(){var n=!c;return n&&s++,n}var o=new d,y=new d,p=new h,s,c;return o.setDisposable(p),s=0,c=!1,b(t),p.setDisposable(n.subscribe(function(n){if(v()){e.onNext(n);var t=u(i)(n);if(t===r)return e.onError(t.e);b(a(t)?l(t):t)}},function(n){v()&&e.onError(n)},function(){v()&&e.onCompleted()})),new w(o,y)},n)}function ck(n,t,i,r){return v(i)&&(r=i,i=ii(new sr)),i instanceof Error&&(i=ii(i)),v(r)||(r=k),s.isObservable(i)||(i=ii(new sr)),new y(function(u){function v(){var n=f;c.setDisposable(r.scheduleFuture(null,t,function(){e=f===n;e&&(a(i)&&(i=l(i)),o.setDisposable(i.subscribe(u)))}))}var f=0,s=new h,o=new d,e=!1,c=new d;return o.setDisposable(s),v(),s.setDisposable(n.subscribe(function(n){if(!e){f++;u.onNext(n);v()}},function(n){if(!e){f++;u.onError(n)}},function(){e||(f++,u.onCompleted())})),new w(o,c)},n)}function lk(n){return{"@@transducer/init":function(){return n},"@@transducer/step":function(n,t){return n.onNext(t)},"@@transducer/result":function(n){return n.onCompleted()}}}function yv(n){this.predicate=n}function pv(n){this.predicate=n}function hr(n,t){var e=this,i,u,r,f;for(this.scheduler=n,this.messages=t,this.subscriptions=[],this.observers=[],i=0,u=this.messages.length;i<u;i++)r=this.messages[i],f=r.value,function(t){n.scheduleAbsolute(null,r.time,function(){for(var i=e.observers.slice(0),n=0,r=i.length;n<r;n++)t.accept(i[n]);return b})}(f)}var gi={"function":!0,object:!0},nr=gi[typeof exports]&&exports&&!exports.nodeType?exports:null,tr=gi[typeof module]&&module&&!module.nodeType?module:null,fu=cr(nr&&tr&&typeof global=="object"&&global),uy=cr(gi[typeof self]&&self),hf=cr(gi[typeof window]&&window),cf=tr&&tr.exports===nr?nr:null,eu=cr(gi[typeof this]&&this),p=fu||hf!==(eu&&eu.window)&&hf||uy||eu||Function("return this")(),f={internals:{},config:{Promise:p.Promise},helpers:{}},nt=f.helpers.noop=function(){},vt=f.helpers.identity=function(n){return n},lf=f.helpers.defaultNow=Date.now,lr=f.helpers.defaultComparer=function(n,t){return ky(n,t)},ar=f.helpers.defaultSubComparer=function(n,t){return n>t?1:n<t?-1:0},yk=f.helpers.defaultKeySerializer=function(n){return n.toString()},fy=f.helpers.defaultError=function(n){throw n;},a=f.helpers.isPromise=function(n){return!!n&&typeof n.subscribe!="function"&&typeof n.then=="function"},c=f.helpers.isFunction=function(){var n=function(n){return typeof n=="function"||!1};return n(/x/)&&(n=function(n){return typeof n=="function"&&toString.call(n)=="[object Function]"}),n}(),r={e:{}},u=f.internals.tryCatch=function(n){if(!c(n))throw new TypeError("fn must be a function");return ey(n)},ir,ou,af,vf,su,dt,vr,ht,si,ri,isObject,au,vu,bi,gt,it,br,ni,d,w,wt,fi,ai,ti,ye,pe,we,be,l,ke,ro,uo,eo,oo,so,co,lo,tu,ao,vo,yo,po,wo,ko,go,ns,ts,is,rs,us,fs,es,os,ss,hs,cs,ls,as,vs,ys,ps,ws,ks,gs,nh,rf,th,ih,rh,uh,fh,eh,uf,ff,oh,hh,ch,lh,ah,vh,yh,ph,wh,bh,kh,dh,gh,nc,tc,ic,rc,uc,fc,ec,oc,sc,hc,cc,lc,ac,vc,pc,wc,bc,kc,dc,gc,nl,tl,il,ul,ol,sl,of,hl,cl,ru,ll,al,vl,yl,er,pl,wl,bl,kl,dl,gl,na,ta,ia,ra,ua,oi,ea,oa,ca,fk,aa,va,ya,pa,wa,ba,sr,da,ga,nv,tv,iv,rv,uv,fv,ev,ov,sv,hv,cv,lv,av,vv,uu,bt,kt,wv,bv,kv,dv,ry;f.config.longStackSupport=!1;ir=!1;ou=u(function(){throw new Error;})();ir=!!ou.e&&!!ou.e.stack;af=yf();su="From previous event:";dt=f.EmptyError=function(){this.message="Sequence contains no elements.";Error.call(this)};dt.prototype=Object.create(Error.prototype);dt.prototype.name="EmptyError";vr=f.ObjectDisposedError=function(){this.message="Object has been disposed";Error.call(this)};vr.prototype=Object.create(Error.prototype);vr.prototype.name="ObjectDisposedError";ht=f.ArgumentOutOfRangeError=function(){this.message="Argument out of range";Error.call(this)};ht.prototype=Object.create(Error.prototype);ht.prototype.name="ArgumentOutOfRangeError";si=f.NotSupportedError=function(n){this.message=n||"This operation is not supported";Error.call(this)};si.prototype=Object.create(Error.prototype);si.prototype.name="NotSupportedError";ri=f.NotImplementedError=function(n){this.message=n||"This operation is not implemented";Error.call(this)};ri.prototype=Object.create(Error.prototype);ri.prototype.name="NotImplementedError";var hi=f.helpers.notImplemented=function(){throw new ri;},pk=f.helpers.notSupported=function(){throw new si;},ot=typeof Symbol=="function"&&Symbol.iterator||"_es6shim_iterator_";p.Set&&typeof(new p.Set)["@@iterator"]=="function"&&(ot="@@iterator");var yr=f.doneEnumerator={done:!0,value:n},yi=f.helpers.isIterable=function(t){return t&&t[ot]!==n},pi=f.helpers.isArrayLike=function(t){return t&&t.length!==n};f.helpers.iterator=ot;var tt=f.internals.bindCallback=function(n,t,i){if(typeof t=="undefined")return n;switch(i){case 0:return function(){return n.call(t)};case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)}}return function(){return n.apply(t,arguments)}},wk=7,hu="[object Arguments]",pr="[object Array]",wf="[object Boolean]",bf="[object Date]",kf="[object Error]",df="[object Number]",wi="[object Object]",gf="[object RegExp]",ne="[object String]",g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0;g[hu]=g[pr]=g["[object ArrayBuffer]"]=g[wf]=g[bf]=g[kf]=g["[object Function]"]=g["[object Map]"]=g[df]=g[wi]=g[gf]=g["[object Set]"]=g[ne]=g["[object WeakMap]"]=!1;var te=Object.prototype,cu=te.hasOwnProperty,wr=te.toString,ly=Math.pow(2,53)-1,ie=Object.keys||function(){var t=Object.prototype.hasOwnProperty,i=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(u){if(typeof u!="object"&&(typeof u!="function"||u===null))throw new TypeError("Object.keys called on non-object");var e=[],o,f;for(o in u)t.call(u,o)&&e.push(o);if(i)for(f=0;f<r;f++)t.call(u,n[f])&&e.push(n[f]);return e}}();isObject=f.internals.isObject=function(n){var t=typeof n;return!!n&&(t==="object"||t==="function")};au=function(){try{Object({toString:0}+"")}catch(n){return function(){return!1}}return function(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}}();vu=Array.isArray||function(n){return lu(n)&&re(n.length)&&wr.call(n)===pr};var ky=f.internals.isEqual=function(n,t){return ue(n,t)},bk={}.hasOwnProperty,kk=Array.prototype.slice,t=f.internals.inherits=function(n,t){function i(){this.constructor=n}i.prototype=t.prototype;n.prototype=new i},ci=f.internals.addProperties=function(n){for(var t,e,u,f,i=[],r=1,o=arguments.length;r<o;r++)i.push(arguments[r]);for(t=0,e=i.length;t<e;t++){u=i[t];for(f in u)n[f]=u[f]}},pt=f.internals.addRef=function(n,t){return new y(function(i){return new w(t.getDisposable(),n.subscribe(i))})};fe.prototype.compareTo=function(n){var t=this.value.compareTo(n.value);return t===0&&(t=this.id-n.id),t};bi=f.internals.PriorityQueue=function(n){this.items=new Array(n);this.length=0};gt=bi.prototype;gt.isHigherPriority=function(n,t){return this.items[n].compareTo(this.items[t])<0};gt.percolate=function(n){var t,i;n>=this.length||n<0||(t=n-1>>1,t<0||t===n)||this.isHigherPriority(n,t)&&(i=this.items[n],this.items[n]=this.items[t],this.items[t]=i,this.percolate(t))};gt.heapify=function(n){var u;if(+n||(n=0),!(n>=this.length)&&!(n<0)){var i=2*n+1,r=2*n+2,t=n;i<this.length&&this.isHigherPriority(i,t)&&(t=i);r<this.length&&this.isHigherPriority(r,t)&&(t=r);t!==n&&(u=this.items[n],this.items[n]=this.items[t],this.items[t]=u,this.heapify(t))}};gt.peek=function(){return this.items[0].value};gt.removeAt=function(t){this.items[t]=this.items[--this.length];this.items[this.length]=n;this.heapify()};gt.dequeue=function(){var n=this.peek();return this.removeAt(0),n};gt.enqueue=function(n){var t=this.length++;this.items[t]=new fe(bi.count++,n);this.percolate(t)};gt.remove=function(n){for(var t=0;t<this.length;t++)if(this.items[t].value===n)return this.removeAt(t),!0;return!1};bi.count=0;it=f.CompositeDisposable=function(){var n=[],t,i;if(Array.isArray(arguments[0]))n=arguments[0];else for(i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];this.disposables=n;this.isDisposed=!1;this.length=n.length};br=it.prototype;br.add=function(n){this.isDisposed?n.dispose():(this.disposables.push(n),this.length++)};br.remove=function(n){var i=!1,t;return this.isDisposed||(t=this.disposables.indexOf(n),t!==-1&&(i=!0,this.disposables.splice(t,1),this.length--,n.dispose())),i};br.dispose=function(){var t,i,n;if(!this.isDisposed){for(this.isDisposed=!0,t=this.disposables.length,i=new Array(t),n=0;n<t;n++)i[n]=this.disposables[n];for(this.disposables=[],this.length=0,n=0;n<t;n++)i[n].dispose()}};ni=f.Disposable=function(n){this.isDisposed=!1;this.action=n||nt};ni.prototype.dispose=function(){this.isDisposed||(this.action(),this.isDisposed=!0)};var ui=ni.create=function(n){return new ni(n)},b=ni.empty={dispose:nt},dy=ni.isDisposable=function(n){return n&&c(n.dispose)},et=ni.checkDisposed=function(n){if(n.isDisposed)throw new vr;},yu=ni._fixup=function(n){return dy(n)?n:b},h=f.SingleAssignmentDisposable=function(){this.isDisposed=!1;this.current=null};h.prototype.getDisposable=function(){return this.current};h.prototype.setDisposable=function(n){if(this.current)throw new Error("Disposable has already been assigned");var t=this.isDisposed;t||(this.current=n);t&&n&&n.dispose()};h.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var n=this.current;this.current=null;n&&n.dispose()}};d=f.SerialDisposable=function(){this.isDisposed=!1;this.current=null};d.prototype.getDisposable=function(){return this.current};d.prototype.setDisposable=function(n){var i=this.isDisposed,t;i||(t=this.current,this.current=n);t&&t.dispose();i&&n&&n.dispose()};d.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var n=this.current;this.current=null}n&&n.dispose()};w=f.BinaryDisposable=function(n,t){this._first=n;this._second=t;this.isDisposed=!1};w.prototype.dispose=function(){var n,t;this.isDisposed||(this.isDisposed=!0,n=this._first,this._first=null,n&&n.dispose(),t=this._second,this._second=null,t&&t.dispose())};wt=f.NAryDisposable=function(n){this._disposables=n;this.isDisposed=!1};wt.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;for(var n=0,t=this._disposables.length;n<t;n++)this._disposables[n].dispose();this._disposables.length=0}};fi=f.RefCountDisposable=function(){function t(n){this.disposable=n;this.disposable.count++;this.isInnerDisposed=!1}function n(n){this.underlyingDisposable=n;this.isDisposed=!1;this.isPrimaryDisposed=!1;this.count=0}return t.prototype.dispose=function(){this.disposable.isDisposed||this.isInnerDisposed||(this.isInnerDisposed=!0,this.disposable.count--,this.disposable.count===0&&this.disposable.isPrimaryDisposed&&(this.disposable.isDisposed=!0,this.disposable.underlyingDisposable.dispose()))},n.prototype.dispose=function(){this.isDisposed||this.isPrimaryDisposed||(this.isPrimaryDisposed=!0,this.count===0&&(this.isDisposed=!0,this.underlyingDisposable.dispose()))},n.prototype.getDisposable=function(){return this.isDisposed?b:new t(this)},n}();ee.prototype.dispose=function(){this.scheduler.schedule(this,gy)};ai=f.internals.ScheduledItem=function(n,t,i,r,u){this.scheduler=n;this.state=t;this.action=i;this.dueTime=r;this.comparer=u||ar;this.disposable=new h};ai.prototype.invoke=function(){this.disposable.setDisposable(this.invokeCore())};ai.prototype.compareTo=function(n){return this.comparer(this.dueTime,n.dueTime)};ai.prototype.isCancelled=function(){return this.disposable.isDisposed};ai.prototype.invokeCore=function(){return yu(this.action(this.scheduler,this.state))};var lt=f.Scheduler=function(){function n(){}n.isScheduler=function(t){return t instanceof n};var t=n.prototype;return t.schedule=function(){throw new ri;},t.scheduleFuture=function(t,i,r){var u=i;return(u instanceof Date&&(u=u-this.now()),u=n.normalize(u),u===0)?this.schedule(t,r):this._scheduleFuture(t,u,r)},t._scheduleFuture=function(){throw new ri;},n.now=lf,n.prototype.now=lf,n.normalize=function(n){return n<0&&(n=0),n},n}(),oe=lt.normalize,v=lt.isScheduler;(function(n){function t(n,t){function u(t){function s(n,t){return f?i.remove(o):e=!0,r(t,u),b}var f=!1,e=!1,o=n.schedule(t,s);e||(i.add(o),f=!0)}var f=t[0],r=t[1],i=new it;return r(f,u),i}function i(n,t){function u(t,f){function h(n,t){return e?i.remove(s):o=!0,r(t,u),b}var e=!1,o=!1,s=n.scheduleFuture(t,f,h);o||(i.add(s),e=!0)}var f=t[0],r=t[1],i=new it;return r(f,u),i}n.scheduleRecursive=function(n,i){return this.schedule([n,i],t)};n.scheduleRecursiveFuture=function(n,t,r){return this.scheduleFuture([n,r],t,i)}})(lt.prototype),function(n){n.schedulePeriodic=function(n,t,i){if(typeof p.setInterval=="undefined")throw new si;t=oe(t);var r=n,u=p.setInterval(function(){r=i(r)},t);return ui(function(){p.clearInterval(u)})}}(lt.prototype),function(n){n.catchError=n["catch"]=function(n){return new fp(this,n)}}(lt.prototype);var np=f.internals.SchedulePeriodicRecursive=function(){function t(n){return function(t,i){i(0,n._period);var f=u(n._action)(n._state);f===r&&(n._cancel.dispose(),ft(f.e));n._state=f}}function n(n,t,i,r){this._scheduler=n;this._state=t;this._period=i;this._action=r}return n.prototype.start=function(){var n=new h;return this._cancel=n,n.setDisposable(this._scheduler.scheduleRecursiveFuture(0,this._period,t(this))),n},n}(),tp=function(n){function i(){n.call(this)}return t(i,n),i.prototype.schedule=function(n,t){return yu(t(this,n))},i}(lt),at=lt.immediate=new tp,ip=function(n){function e(){while(i.length>0){var n=i.dequeue();n.isCancelled()||n.invoke()}}function f(){n.call(this)}var i;return t(f,n),f.prototype.schedule=function(n,t){var f=new ai(this,n,t,this.now()),o;return i?i.enqueue(f):(i=new bi(4),i.enqueue(f),o=u(e)(),i=null,o===r&&ft(o.e)),f.disposable},f.prototype.scheduleRequired=function(){return!i},f}(lt),ut=lt.currentThread=new ip,vi,pu,se=function(){var n,t=nt;if(!p.setTimeout)if(!p.WScript)throw new si;else n=function(n,t){p.WScript.Sleep(t);n()};else n=p.setTimeout,t=p.clearTimeout;return{setTimeout:n,clearTimeout:t}}(),wu=se.setTimeout,rp=se.clearTimeout;(function(){function t(i){var f,e;o?wu(function(){t(i)},0):(f=n[i],f&&(o=!0,e=u(f)(),pu(i),o=!1,e===r&&ft(e.e)))}function a(){if(!p.postMessage||p.importScripts)return!1;var n=!1,t=p.onmessage;return p.onmessage=function(){n=!0},p.postMessage("","*"),p.onmessage=t,n}var i=1,n={},o=!1,h,f,e,l,s;pu=function(t){delete n[t]};h=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$");f=typeof(f=fu&&cf&&fu.setImmediate)=="function"&&!h.test(f)&&f;c(f)?vi=function(r){var u=i++;return n[u]=r,f(function(){t(u)}),u}:typeof process!="undefined"&&{}.toString.call(process)==="[object process]"?vi=function(r){var u=i++;return n[u]=r,process.nextTick(function(){t(u)}),u}:a()?(e="ms.rx.schedule"+Math.random(),l=function(n){typeof n.data=="string"&&n.data.substring(0,e.length)===e&&t(n.data.substring(e.length))},p.addEventListener("message",l,!1),vi=function(t){var r=i++;return n[r]=t,p.postMessage(e+currentId,"*"),r}):p.MessageChannel?(s=new p.MessageChannel,s.port1.onmessage=function(n){t(n.data)},vi=function(t){var r=i++;return n[r]=t,s.port2.postMessage(r),r}):vi="document"in p&&"onreadystatechange"in p.document.createElement("script")?function(r){var u=p.document.createElement("script"),f=i++;return n[f]=r,u.onreadystatechange=function(){t(f);u.onreadystatechange=null;u.parentNode.removeChild(u);u=null},p.document.documentElement.appendChild(u),f}:function(r){var u=i++;return n[u]=r,wu(function(){t(u)},0),u}})();var up=function(n){function i(){n.call(this)}function r(n,t,i,r){return function(){n.setDisposable(ni._fixup(t(i,r)))}}function u(n){this._id=n;this.isDisposed=!1}function f(n){this._id=n;this.isDisposed=!1}return t(i,n),u.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,pu(this._id))},f.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,rp(this._id))},i.prototype.schedule=function(n,t){var i=new h,f=vi(r(i,t,this,n));return new w(i,new u(f))},i.prototype._scheduleFuture=function(n,t,i){if(t===0)return this.schedule(n,i);var u=new h,e=wu(r(u,i,this,n),t);return new w(u,new f(e))},i}(lt),k=lt["default"]=lt.async=new up,fp=function(n){function i(t,i){this._scheduler=t;this._handler=i;this._recursiveOriginal=null;this._recursiveWrapper=null;n.call(this)}return t(i,n),i.prototype.schedule=function(n,t){return this._scheduler.schedule(n,this._wrap(t))},i.prototype._scheduleFuture=function(n,t,i){return this._scheduler.schedule(n,t,this._wrap(i))},i.prototype.now=function(){return this._scheduler.now()},i.prototype._clone=function(n){return new i(n,this._handler)},i.prototype._wrap=function(n){var t=this;return function(i,f){var e=u(n)(t._getRecursiveWrapper(i),f);return e===r?(t._handler(e.e)||ft(e.e),b):yu(e)}},i.prototype._getRecursiveWrapper=function(n){if(this._recursiveOriginal!==n){this._recursiveOriginal=n;var t=this._clone(n);t._recursiveOriginal=n;t._recursiveWrapper=t;this._recursiveWrapper=t}return this._recursiveWrapper},i.prototype.schedulePeriodic=function(n,t,i){var o=this,e=!1,f=new h;return f.setDisposable(this._scheduler.schedulePeriodic(n,t,function(n){if(e)return null;var t=u(i)(n);return t===r?(e=!0,o._handler(t.e)||ft(t.e),f.dispose(),null):t})),f},i}(lt),ct=f.Notification=function(){function n(){}return n.prototype._accept=function(){throw new ri;},n.prototype._acceptObserver=function(){throw new ri;},n.prototype.accept=function(n,t,i){return n&&typeof n=="object"?this._acceptObserver(n):this._accept(n,t,i)},n.prototype.toObservable=function(n){var t=this;return v(n)||(n=at),new y(function(i){return n.schedule(t,function(n,t){t._acceptObserver(i);t.kind==="N"&&i.onCompleted()})})},n}(),ep=function(n){function i(n){this.value=n;this.kind="N"}return t(i,n),i.prototype._accept=function(n){return n(this.value)},i.prototype._acceptObserver=function(n){return n.onNext(this.value)},i.prototype.toString=function(){return"OnNext("+this.value+")"},i}(ct),op=function(n){function i(n){this.error=n;this.kind="E"}return t(i,n),i.prototype._accept=function(n,t){return t(this.error)},i.prototype._acceptObserver=function(n){return n.onError(this.error)},i.prototype.toString=function(){return"OnError("+this.error+")"},i}(ct),sp=function(n){function i(){this.kind="C"}return t(i,n),i.prototype._accept=function(n,t,i){return i()},i.prototype._acceptObserver=function(n){return n.onCompleted()},i.prototype.toString=function(){return"OnCompleted()"},i}(ct),he=ct.createOnNext=function(n){return new ep(n)},ce=ct.createOnError=function(n){return new op(n)},le=ct.createOnCompleted=function(){return new sp},st=f.Observer=function(){};st.prototype.toNotifier=function(){var n=this;return function(t){return t.accept(n)}};st.prototype.asObserver=function(){var n=this;return new bu(function(t){n.onNext(t)},function(t){n.onError(t)},function(){n.onCompleted()})};st.prototype.checked=function(){return new hp(this)};ti=st.create=function(n,t,i){return n||(n=nt),t||(t=fy),i||(i=nt),new bu(n,t,i)};st.fromNotifier=function(n,t){var i=tt(n,t,1);return new bu(function(n){return i(he(n))},function(n){return i(ce(n))},function(){return i(le())})};st.prototype.notifyOn=function(n){return new ve(n,this)};st.prototype.makeSafe=function(n){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,n)};var o=f.internals.AbstractObserver=function(n){function i(){this.isStopped=!1}return t(i,n),i.prototype.next=hi,i.prototype.error=hi,i.prototype.completed=hi,i.prototype.onNext=function(n){this.isStopped||this.next(n)},i.prototype.onError=function(n){this.isStopped||(this.isStopped=!0,this.error(n))},i.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},i.prototype.dispose=function(){this.isStopped=!0},i.prototype.fail=function(n){return this.isStopped?!1:(this.isStopped=!0,this.error(n),!0)},i}(st),bu=f.AnonymousObserver=function(n){function i(t,i,r){n.call(this);this._onNext=t;this._onError=i;this._onCompleted=r}return t(i,n),i.prototype.next=function(n){this._onNext(n)},i.prototype.error=function(n){this._onError(n)},i.prototype.completed=function(){this._onCompleted()},i}(o),hp=function(n){function f(t){n.call(this);this._observer=t;this._state=0}t(f,n);var i=f.prototype;return i.onNext=function(n){this.checkAccess();var t=u(this._observer.onNext).call(this._observer,n);this._state=0;t===r&&ft(t.e)},i.onError=function(n){this.checkAccess();var t=u(this._observer.onError).call(this._observer,n);this._state=2;t===r&&ft(t.e)},i.onCompleted=function(){this.checkAccess();var n=u(this._observer.onCompleted).call(this._observer);this._state=2;n===r&&ft(n.e)},i.checkAccess=function(){if(this._state===1)throw new Error("Re-entrancy detected");if(this._state===2)throw new Error("Observer completed");this._state===0&&(this._state=1)},f}(st),ae=f.internals.ScheduledObserver=function(n){function i(t,i){n.call(this);this.scheduler=t;this.observer=i;this.isAcquired=!1;this.hasFaulted=!1;this.queue=[];this.disposable=new d}function f(n,t){return function(){n.onNext(t)}}function e(n,t){return function(){n.onError(t)}}function o(n){return function(){n.onCompleted()}}function s(n,t){var f,i;if(n.queue.length>0)f=n.queue.shift();else{n.isAcquired=!1;return}if(i=u(f)(),i===r)return n.queue=[],n.hasFaulted=!0,ft(i.e);t(n)}return t(i,n),i.prototype.next=function(n){this.queue.push(f(this.observer,n))},i.prototype.error=function(n){this.queue.push(e(this.observer,n))},i.prototype.completed=function(){this.queue.push(o(this.observer))},i.prototype.ensureActive=function(){var n=!1;!this.hasFaulted&&this.queue.length>0&&(n=!this.isAcquired,this.isAcquired=!0);n&&this.disposable.setDisposable(this.scheduler.scheduleRecursive(this,s))},i.prototype.dispose=function(){n.prototype.dispose.call(this);this.disposable.dispose()},i}(o),ve=function(n){function i(t,i,r){n.call(this,t,i);this._cancel=r}return t(i,n),i.prototype.next=function(t){n.prototype.next.call(this,t);this.ensureActive()},i.prototype.error=function(t){n.prototype.error.call(this,t);this.ensureActive()},i.prototype.completed=function(){n.prototype.completed.call(this);this.ensureActive()},i.prototype.dispose=function(){n.prototype.dispose.call(this);this._cancel&&this._cancel.dispose();this._cancel=null},i}(ae),i,s=f.Observable=function(){function t(n,t){return function(i){var r=i.onError;return i.onError=function(t){oy(t,n);r.call(i,t)},t.call(n,i)}}function n(){if(f.config.longStackSupport&&ir){var i=this._subscribe,n=u(ft)(new Error).e;this.stack=n.stack.substring(n.stack.indexOf("\n")+1);this._subscribe=t(this,i)}}return i=n.prototype,n.isObservable=function(n){return n&&c(n.subscribe)},i.subscribe=i.forEach=function(n,t,i){return this._subscribe(typeof n=="object"?n:ti(n,t,i))},i.subscribeOnNext=function(n,t){return this._subscribe(ti(typeof t!="undefined"?function(i){n.call(t,i)}:n))},i.subscribeOnError=function(n,t){return this._subscribe(ti(null,typeof t!="undefined"?function(i){n.call(t,i)}:n))},i.subscribeOnCompleted=function(n,t){return this._subscribe(ti(null,null,typeof t!="undefined"?function(){n.call(t)}:n))},n}(),e=f.ObservableBase=function(n){function e(n){return n&&c(n.dispose)?n:c(n)?ui(n):b}function f(n,t){var i=t[0],f=t[1],o=u(f.subscribeCore).call(f,i);o!==r||i.fail(r.e)||ft(r.e);i.setDisposable(e(o))}function i(){n.call(this)}return t(i,n),i.prototype._subscribe=function(n){var t=new gv(n),i=[t,this];return ut.scheduleRequired()?ut.schedule(i,f):f(null,i),t},i.prototype.subscribeCore=hi,i}(s),kr=f.FlatMapObservable=function(n){function f(t,i,r,u){this.resultSelector=c(r)?r:null;this.selector=tt(c(i)?i:function(){return i},u,3);this.source=t;n.call(this)}function i(n,t,i,r){this.i=0;this.selector=t;this.resultSelector=i;this.source=r;this.o=n;o.call(this)}return t(f,n),f.prototype.subscribeCore=function(n){return this.source.subscribe(new i(n,this.selector,this.resultSelector,this))},t(i,o),i.prototype._wrapResult=function(n,t,i){return this.resultSelector?n.map(function(n,r){return this.resultSelector(t,n,i,r)},this):n},i.prototype.next=function(n){var i=this.i++,t=u(this.selector)(n,i,this.source);if(t===r)return this.o.onError(t.e);a(t)&&(t=l(t));(pi(t)||yi(t))&&(t=s.from(t));this.o.onNext(this._wrapResult(t,n,i))},i.prototype.error=function(n){this.o.onError(n)},i.prototype.completed=function(){this.o.onCompleted()},f}(e),ei=f.internals.Enumerable=function(){};dr.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.isDisposed=!0)};ye=function(n){function f(t){this.sources=t;n.call(this)}function e(n,t){var f,e,o;if(!n.isDisposed){if(f=u(n.e.next).call(n.e),f===r)return n.o.onError(f.e);if(f.done)return n.o.onCompleted();e=f.value;a(e)&&(e=l(e));o=new h;n.subscription.setDisposable(o);o.setDisposable(e.subscribe(new i(n,t)))}}function i(n,t){this._state=n;this._recurse=t;o.call(this)}return t(f,n),f.prototype.subscribeCore=function(n){var t=new d,i={isDisposed:!1,o:n,subscription:t,e:this.sources[ot]()},r=ut.scheduleRecursive(i,e);return new wt([t,r,new dr(i)])},t(i,o),i.prototype.next=function(n){this._state.o.onNext(n)},i.prototype.error=function(n){this._state.o.onError(n)},i.prototype.completed=function(){this._recurse(this._state)},f}(e);ei.prototype.concat=function(){return new ye(this)};pe=function(n){function f(t){this.sources=t;n.call(this)}function e(n,t){var f,e,o;if(!n.isDisposed){if(f=u(n.e.next).call(n.e),f===r)return n.o.onError(f.e);if(f.done)return n.lastError!==null?n.o.onError(n.lastError):n.o.onCompleted();e=f.value;a(e)&&(e=l(e));o=new h;n.subscription.setDisposable(o);o.setDisposable(e.subscribe(new i(n,t)))}}function i(n,t){this._state=n;this._recurse=t;o.call(this)}return t(f,n),f.prototype.subscribeCore=function(n){var t=new d,i={isDisposed:!1,e:this.sources[ot](),subscription:t,lastError:null,o:n},r=ut.scheduleRecursive(i,e);return new wt([t,r,new dr(i)])},t(i,o),i.prototype.next=function(n){this._state.o.onNext(n)},i.prototype.error=function(n){this._state.lastError=n;this._recurse(this._state)},i.prototype.completed=function(){this._state.o.onCompleted()},f}(e);ei.prototype.catchError=function(){return new pe(this)};ei.prototype.catchErrorWhen=function(n){var t=this;return new y(function(i){var f=new rt,e=new rt,y=n(f),p=y.subscribe(e),o=t[ot](),s={isDisposed:!1},c,v=new d,b=ut.scheduleRecursive(null,function(n,t){var y,p,b,k;if(!s.isDisposed){if(y=u(o.next).call(o),y===r)return i.onError(y.e);if(y.done){if(c)i.onError(c);else i.onCompleted();return}p=y.value;a(p)&&(p=l(p));b=new h;k=new h;v.setDisposable(new w(k,b));b.setDisposable(p.subscribe(function(n){i.onNext(n)},function(n){k.setDisposable(e.subscribe(t,function(n){i.onError(n)},function(){i.onCompleted()}));f.onNext(n)},function(){i.onCompleted()}))}});return new wt([p,v,b,new dr(s)])})};var cp=function(n){function i(n,t){this.v=n;this.c=t==null?-1:t}function r(n){this.v=n.v;this.l=n.c}return t(i,n),i.prototype[ot]=function(){return new r(this)},r.prototype.next=function(){return this.l===0?yr:(this.l>0&&this.l--,{done:!1,value:this.v})},i}(ei),ku=ei.repeat=function(n,t){return new cp(n,t)},lp=function(n){function i(n,t,i){this.s=n;this.fn=t?tt(t,i,3):null}function r(n){this.i=-1;this.s=n.s;this.l=this.s.length;this.fn=n.fn}return t(i,n),i.prototype[ot]=function(){return new r(this)},r.prototype.next=function(){return++this.i<this.l?{done:!1,value:this.fn?this.fn(this.s[this.i],this.i,this.s):this.s[this.i]}:yr},i}(ei),du=ei.of=function(n,t,i){return new lp(n,t,i)},ap=function(n){function i(t,i){this.source=t;this._s=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new ve(this._s,n))},i}(e);i.observeOn=function(n){return new ap(this,n)};we=function(n){function i(t,i){this.source=t;this._s=i;n.call(this)}function r(n,t){var i=t[0],r=t[1],u=t[2];r.setDisposable(new ee(n,i.subscribe(u)))}return t(i,n),i.prototype.subscribeCore=function(n){var i=new h,t=new d;return t.setDisposable(i),i.setDisposable(this._s.schedule([this.source,t,n],r)),t},i}(e);i.subscribeOn=function(n){return new we(this,n)};be=function(n){function i(t,i){this._p=t;this._s=i;n.call(this)}function r(n,t){var i=t[0],r=t[1];i.onNext(r);i.onCompleted()}function u(n,t){var i=t[0],r=t[1];i.onError(r)}return t(i,n),i.prototype.subscribeCore=function(n){var t=new h,i=this;return this._p.then(function(u){t.setDisposable(i._s.schedule([n,u],r))},function(r){t.setDisposable(i._s.schedule([n,r],u))}),t},i}(e);l=s.fromPromise=function(n,t){return t||(t=k),new be(n,t)};i.toPromise=function(n){if(n||(n=f.config.Promise),!n)throw new si("Promise type not provided nor in Rx.config.Promise");var t=this;return new n(function(n,i){var r;t.subscribe(function(n){r=n},i,function(){n(r)})})};ke=function(n){function r(t){this.source=t;n.call(this)}function i(n){this.o=n;this.a=[];o.call(this)}return t(r,n),r.prototype.subscribeCore=function(n){return this.source.subscribe(new i(n))},t(i,o),i.prototype.next=function(n){this.a.push(n)},i.prototype.error=function(n){this.o.onError(n)},i.prototype.completed=function(){this.o.onNext(this.a);this.o.onCompleted()},r}(e);i.toArray=function(){return new ke(this)};s.create=function(n,t){return new y(n,t)};var vp=function(n){function i(t){this._f=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=u(this._f)();return t===r?ii(t.e).subscribe(n):(a(t)&&(t=l(t)),t.subscribe(n))},i}(e),rr=s.defer=function(n){return new vp(n)},de=function(n){function i(t){this.scheduler=t;n.call(this)}function r(n,t){this.observer=n;this.scheduler=t}function u(n,t){return t.onCompleted(),b}return t(i,n),i.prototype.subscribeCore=function(n){var t=new r(n,this.scheduler);return t.run()},r.prototype.run=function(){var n=this.observer;return this.scheduler===at?u(null,n):this.scheduler.schedule(n,u)},i}(e),yp=new de(at),ki=s.empty=function(n){return v(n)||(n=at),n===at?yp:new de(n)},pp=function(n){function i(t,i,r){this._iterable=t;this._fn=i;this._scheduler=r;n.call(this)}function f(n,t,i){return function(f,e){var s=u(t.next).call(t),o;if(s===r)return n.onError(s.e);if(s.done)return n.onCompleted();if(o=s.value,c(i)&&(o=u(i)(o,f),o===r))return n.onError(o.e);n.onNext(o);e(f+1)}}return t(i,n),i.prototype.subscribeCore=function(n){var t=Object(this._iterable),i=bp(t);return this._scheduler.scheduleRecursive(0,f(n,i,this._fn))},i}(e),ge=Math.pow(2,53)-1;no.prototype[ot]=function(){return new gu(this._s)};gu.prototype[ot]=function(){return this};gu.prototype.next=function(){return this._i<this._l?{done:!1,value:this._s.charAt(this._i++)}:yr};to.prototype[ot]=function(){return new nf(this._a)};nf.prototype[ot]=function(){return this};nf.prototype.next=function(){return this._i<this._l?{done:!1,value:this._a[this._i++]}:yr};var gr=s.from=function(n,t,i,r){if(n==null)throw new Error("iterable cannot be null.");if(t&&!c(t))throw new Error("mapFn when provided must be a function");if(t)var u=tt(t,i,2);return v(r)||(r=ut),new pp(n,u,r)},nu=function(n){function i(t,i){this._args=t;this._scheduler=i;n.call(this)}function r(n,t){var i=t.length;return function(r,u){if(r<i){n.onNext(t[r]);u(r+1)}else n.onCompleted()}}return t(i,n),i.prototype.subscribeCore=function(n){return this._scheduler.scheduleRecursive(0,r(n,this._args))},i}(e),gp=s.fromArray=function(n,t){return v(t)||(t=ut),new nu(n,t)},nw=function(n){function i(t,i,r,u,f){this._state=t;this._cndFn=i;this._itrFn=r;this._resFn=u;this._s=f;this._first=!0;n.call(this)}function f(n,t){var i,f;if(n._first)n._first=!1;else if(n._state=u(n._itrFn)(n._state),n._state===r)return n._o.onError(n._state.e);if(i=u(n._cndFn)(n._state),i===r)return n._o.onError(i.e);if(i){if(f=u(n._resFn)(n._state),f===r)return n._o.onError(f.e);n._o.onNext(f);t(n)}else n._o.onCompleted()}return t(i,n),i.prototype.subscribeCore=function(n){return this._o=n,this._s.scheduleRecursive(this,f)},i}(e);s.generate=function(n,t,i,r,u){return v(u)||(u=ut),new nw(n,t,i,r,u)};s.of=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return new nu(i,ut)};s.ofWithScheduler=function(n){for(var i=arguments.length,r=new Array(i-1),t=1;t<i;t++)r[t-1]=arguments[t];return new nu(r,n)};s.ofArrayChanges=function(n){if(!Array.isArray(n))throw new TypeError("Array.observe only accepts arrays.");if(typeof Array.observe!="function"&&typeof Array.unobserve!="function")throw new TypeError("Array.observe is not supported on your platform");return new y(function(t){function i(n){for(var i=0,r=n.length;i<r;i++)t.onNext(n[i])}return Array.observe(n,i),function(){Array.unobserve(n,i)}})};s.ofObjectChanges=function(n){if(n==null)throw new TypeError("object must not be null or undefined.");if(typeof Object.observe!="function"&&typeof Object.unobserve!="function")throw new TypeError("Object.observe is not supported on your platform");return new y(function(t){function i(n){for(var i=0,r=n.length;i<r;i++)t.onNext(n[i])}return Object.observe(n,i),function(){Object.unobserve(n,i)}})};var tw=function(n){function i(){n.call(this)}return t(i,n),i.prototype.subscribeCore=function(){return b},i}(e),iw=new tw,tf=s.never=function(){return iw},rw=function(n){function i(t,i){this._o=t;this._keys=Object.keys(t);this._scheduler=i;n.call(this)}function r(n,t,i){return function(r,u){if(r<i.length){var f=i[r];n.onNext([f,t[f]]);u(r+1)}else n.onCompleted()}}return t(i,n),i.prototype.subscribeCore=function(n){return this._scheduler.scheduleRecursive(0,r(n,this._o,this._keys))},i}(e);s.pairs=function(n,t){return t||(t=ut),new rw(n,t)};ro=function(n){function i(t,i,r){this.start=t;this.rangeCount=i;this.scheduler=r;n.call(this)}function r(n,t,i){return function(r,u){if(r<t){i.onNext(n+r);u(r+1)}else i.onCompleted()}}return t(i,n),i.prototype.subscribeCore=function(n){return this.scheduler.scheduleRecursive(0,r(this.start,this.rangeCount,n))},i}(e);s.range=function(n,t,i){return v(i)||(i=ut),new ro(n,t,i)};uo=function(n){function i(t,i,r){this.value=t;this.repeatCount=i==null?-1:i;this.scheduler=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=new fo(n,this);return t.run()},i}(e);fo.prototype.run=function(){function i(i,r){if(i===-1||i>0){n.onNext(t);i>0&&i--}if(i===0)return n.onCompleted();r(i)}var n=this.observer,t=this.parent.value;return this.parent.scheduler.scheduleRecursive(this.parent.repeatCount,i)};s.repeat=function(n,t,i){return v(i)||(i=ut),new uo(n,t,i)};var uw=function(n){function i(t,i){this._value=t;this._scheduler=i;n.call(this)}function r(n,t){var r=t[0],i=t[1];i.onNext(r);return i.onCompleted(),b}return t(i,n),i.prototype.subscribeCore=function(n){var t=[this._value,n];return this._scheduler===at?r(null,t):this._scheduler.schedule(t,r)},i}(e),dk=s["return"]=s.just=function(n,t){return v(t)||(t=at),new uw(n,t)},fw=function(n){function i(t,i){this._error=t;this._scheduler=i;n.call(this)}function r(n,t){var i=t[0],r=t[1];r.onError(i);return b}return t(i,n),i.prototype.subscribeCore=function(n){var t=[this._error,n];return this._scheduler===at?r(null,t):this._scheduler.schedule(t,r)},i}(e),ii=s["throw"]=function(n,t){return v(t)||(t=at),new fw(n,t)},ew=function(n){function i(t,i){this._resFn=t;this._obsFn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var i=b,t=u(this._resFn)(),f;return t===r?new w(ii(t.e).subscribe(n),i):(t&&(i=t),f=u(this._obsFn)(t),f===r)?new w(ii(f.e).subscribe(n),i):new w(f.subscribe(n),i)},i}(e);s.using=function(n,t){return new ew(n,t)};i.amb=function(n){var t=this;return new y(function(i){function s(){r||(r=u,o.dispose())}function c(){r||(r=f,e.dispose())}var r,u="L",f="R",e=new h,o=new h,v,y;return a(n)&&(n=l(n)),v=ti(function(n){s();r===u&&i.onNext(n)},function(n){s();r===u&&i.onError(n)},function(){s();r===u&&i.onCompleted()}),y=ti(function(n){c();r===f&&i.onNext(n)},function(n){c();r===f&&i.onError(n)},function(){c();r===f&&i.onCompleted()}),e.setDisposable(t.subscribe(v)),o.setDisposable(n.subscribe(y)),new w(e,o)})};s.amb=function(){var r=tf(),t,n,i;if(Array.isArray(arguments[0]))t=arguments[0];else for(i=arguments.length,t=new Array(t),n=0;n<i;n++)t[n]=arguments[n];for(n=0,i=t.length;n<i;n++)r=ow(r,t[n]);return r};eo=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var i=new h,t=new d;return t.setDisposable(i),i.setDisposable(this.source.subscribe(new oo(n,t,this._fn))),t},i}(e);oo=function(n){function i(t,i,r){this._o=t;this._s=i;this._fn=r;n.call(this)}return t(i,n),i.prototype.next=function(n){this._o.onNext(n)},i.prototype.completed=function(){return this._o.onCompleted()},i.prototype.error=function(n){var t=u(this._fn)(n),i;if(t===r)return this._o.onError(t.e);a(t)&&(t=l(t));i=new h;this._s.setDisposable(i);i.setDisposable(t.subscribe(this._o))},i}(o);i["catch"]=function(n){return c(n)?new eo(this,n):so([this,n])};so=s["catch"]=function(){var t,i,n;if(Array.isArray(arguments[0]))t=arguments[0];else for(i=arguments.length,t=new Array(i),n=0;n<i;n++)t[n]=arguments[n];return du(t).catchError()};i.combineLatest=function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return Array.isArray(n[0])?n[0].unshift(this):n.unshift(this),cw.apply(this,n)};var sw=function(n){function i(t,i){this._params=t;this._cb=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){for(var i=this._params.length,f=new Array(i),e={hasValue:li(i,ur),hasValueAll:!1,isDone:li(i,ur),values:new Array(i)},r,u,t=0;t<i;t++)r=this._params[t],u=new h,f[t]=u,a(r)&&(r=l(r)),u.setDisposable(r.subscribe(new hw(n,t,this._cb,e)));return new wt(f)},i}(e),hw=function(n){function i(t,i,r,u){this._o=t;this._i=i;this._cb=r;this._state=u;n.call(this)}function f(n){return function(t,i){return i!==n}}return t(i,n),i.prototype.next=function(n){if(this._state.values[this._i]=n,this._state.hasValue[this._i]=!0,this._state.hasValueAll||(this._state.hasValueAll=this._state.hasValue.every(vt))){var t=u(this._cb).apply(null,this._state.values);if(t===r)return this._o.onError(t.e);this._o.onNext(t)}else this._state.isDone.filter(f(this._i)).every(vt)&&this._o.onCompleted()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._state.isDone[this._i]=!0;this._state.isDone.every(vt)&&this._o.onCompleted()},i}(o),cw=s.combineLatest=function(){for(var i=arguments.length,n=new Array(i),r,t=0;t<i;t++)n[t]=arguments[t];return r=c(n[i-1])?n.pop():fr,Array.isArray(n[0])&&(n=n[0]),new sw(n,r)};i.concat=function(){for(var n=[],t=0,i=arguments.length;t<i;t++)n.push(arguments[t]);return n.unshift(this),ho.apply(null,n)};var lw=function(n){function i(t,i){this._s=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.next=function(n){this._s.o.onNext(n)},i.prototype.error=function(n){this._s.o.onError(n)},i.prototype.completed=function(){this._s.i++;this._fn(this._s)},i}(o),aw=function(n){function i(t){this._sources=t;n.call(this)}function r(n,t){var i,r;if(!n.disposable.isDisposed){if(n.i===n.sources.length)return n.o.onCompleted();i=n.sources[n.i];a(i)&&(i=l(i));r=new h;n.subscription.setDisposable(r);r.setDisposable(i.subscribe(new lw(n,t)))}}return t(i,n),i.prototype.subscribeCore=function(n){var t=new d,i=ui(nt),u={o:n,i:0,subscription:t,disposable:i,sources:this._sources},f=at.scheduleRecursive(u,r);return new wt([t,i,f])},i}(e),ho=s.concat=function(){var t,n,i;if(Array.isArray(arguments[0]))t=arguments[0];else for(t=new Array(arguments.length),n=0,i=arguments.length;n<i;n++)t[n]=arguments[n];return new aw(t)};i.concatAll=function(){return this.merge(1)};co=function(n){function i(t,i){this.source=t;this.maxConcurrent=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=new it;return t.add(this.source.subscribe(new lo(n,this.maxConcurrent,t))),t},i}(e);lo=function(n){function i(t,i,r){this.o=t;this.max=i;this.g=r;this.done=!1;this.q=[];this.activeCount=0;n.call(this)}function r(t,i){this.parent=t;this.sad=i;n.call(this)}return t(i,n),i.prototype.handleSubscribe=function(n){var t=new h;this.g.add(t);a(n)&&(n=l(n));t.setDisposable(n.subscribe(new r(this,t)))},i.prototype.next=function(n){this.activeCount<this.max?(this.activeCount++,this.handleSubscribe(n)):this.q.push(n)},i.prototype.error=function(n){this.o.onError(n)},i.prototype.completed=function(){this.done=!0;this.activeCount===0&&this.o.onCompleted()},t(r,n),r.prototype.next=function(n){this.parent.o.onNext(n)},r.prototype.error=function(n){this.parent.o.onError(n)},r.prototype.completed=function(){this.parent.g.remove(this.sad);this.parent.q.length>0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&this.parent.activeCount===0&&this.parent.o.onCompleted())},i}(o);i.merge=function(n){return typeof n!="number"?vw(this,n):new co(this,n)};var vw=s.merge=function(){var i,t=[],n,r=arguments.length;if(arguments[0])if(v(arguments[0]))for(i=arguments[0],n=1;n<r;n++)t.push(arguments[n]);else for(i=at,n=0;n<r;n++)t.push(arguments[n]);else for(i=at,n=1;n<r;n++)t.push(arguments[n]);return Array.isArray(t[0])&&(t=t[0]),io(i,t).mergeAll()},yw=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=new it,i=new h;return t.add(i),i.setDisposable(this.source.subscribe(new pw(n,t))),t},i}(e),pw=function(n){function i(t,i){this.o=t;this.g=i;this.done=!1;n.call(this)}function r(t,i){this.parent=t;this.sad=i;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=new h;this.g.add(t);a(n)&&(n=l(n));t.setDisposable(n.subscribe(new r(this,t)))},i.prototype.error=function(n){this.o.onError(n)},i.prototype.completed=function(){this.done=!0;this.g.length===1&&this.o.onCompleted()},t(r,n),r.prototype.next=function(n){this.parent.o.onNext(n)},r.prototype.error=function(n){this.parent.o.onError(n)},r.prototype.completed=function(){this.parent.g.remove(this.sad);this.parent.done&&this.parent.g.length===1&&this.parent.o.onCompleted()},i}(o);i.mergeAll=function(){return new yw(this)};tu=f.CompositeError=function(n){this.innerErrors=n;this.message="This contains multiple errors. Check the innerErrors";Error.call(this)};tu.prototype=Object.create(Error.prototype);tu.prototype.name="CompositeError";ao=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=new it,i=new h,r={isStopped:!1,errors:[],o:n};return t.add(i),i.setDisposable(this.source.subscribe(new vo(t,r))),t},i}(e);vo=function(n){function i(t,i){this._group=t;this._state=i;n.call(this)}function u(n,t){if(t.length===0)n.onCompleted();else if(t.length===1)n.onError(t[0]);else n.onError(new tu(t))}function r(t,i,r){this._inner=t;this._group=i;this._state=r;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=new h;this._group.add(t);a(n)&&(n=l(n));t.setDisposable(n.subscribe(new r(t,this._group,this._state)))},i.prototype.error=function(n){this._state.errors.push(n);this._state.isStopped=!0;this._group.length===1&&u(this._state.o,this._state.errors)},i.prototype.completed=function(){this._state.isStopped=!0;this._group.length===1&&u(this._state.o,this._state.errors)},t(r,n),r.prototype.next=function(n){this._state.o.onNext(n)},r.prototype.error=function(n){this._state.errors.push(n);this._group.remove(this._inner);this._state.isStopped&&this._group.length===1&&u(this._state.o,this._state.errors)},r.prototype.completed=function(){this._group.remove(this._inner);this._state.isStopped&&this._group.length===1&&u(this._state.o,this._state.errors)},i}(o);s.mergeDelayError=function(){var t,i,n,r;if(Array.isArray(arguments[0]))t=arguments[0];else for(i=arguments.length,t=new Array(i),n=0;n<i;n++)t[n]=arguments[n];return r=io(null,t),new ao(r)};i.onErrorResumeNext=function(n){if(!n)throw new Error("Second observable is required");return kw([this,n])};var ww=function(n){function i(t){this.sources=t;n.call(this)}function r(n,t){var i,r;n.pos<n.sources.length?(i=n.sources[n.pos++],a(i)&&(i=l(i)),r=new h,n.subscription.setDisposable(r),r.setDisposable(i.subscribe(new bw(n,t)))):n.o.onCompleted()}return t(i,n),i.prototype.subscribeCore=function(n){var t=new d,i={pos:0,subscription:t,o:n,sources:this.sources},u=at.scheduleRecursive(i,r);return new w(t,u)},i}(e),bw=function(n){function i(t,i){this._state=t;this._recurse=i;n.call(this)}return t(i,n),i.prototype.next=function(n){this._state.o.onNext(n)},i.prototype.error=function(){this._recurse(this._state)},i.prototype.completed=function(){this._recurse(this._state)},i}(o),kw=s.onErrorResumeNext=function(){var t=[],i,n;if(Array.isArray(arguments[0]))t=arguments[0];else for(i=arguments.length,t=new Array(i),n=0;n<i;n++)t[n]=arguments[n];return new ww(t)},dw=function(n){function i(t,i){this._s=t;this._o=a(i)?l(i):i;this._open=!1;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var i=new h,t;return i.setDisposable(this._s.subscribe(new gw(n,this))),a(this._o)&&(this._o=l(this._o)),t=new h,t.setDisposable(this._o.subscribe(new nb(n,this,t))),new w(i,t)},i}(e),gw=function(n){function i(t,i){this._o=t;this._p=i;n.call(this)}return t(i,n),i.prototype.next=function(n){this._p._open&&this._o.onNext(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.onCompleted=function(){this._p._open&&this._o.onCompleted()},i}(o),nb=function(n){function i(t,i,r){this._o=t;this._p=i;this._r=r;n.call(this)}return t(i,n),i.prototype.next=function(){this._p._open=!0;this._r.dispose()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.onCompleted=function(){this._r.dispose()},i}(o);i.skipUntil=function(n){return new dw(this,n)};yo=function(n){function u(t){this.source=t;n.call(this)}function i(n,t){this.o=n;this.inner=t;this.stopped=!1;this.latest=0;this.hasLatest=!1;o.call(this)}function r(n,t){this.parent=n;this.id=t;o.call(this)}return t(u,n),u.prototype.subscribeCore=function(n){var t=new d,r=this.source.subscribe(new i(n,t));return new w(r,t)},t(i,o),i.prototype.next=function(n){var t=new h,i=++this.latest;this.hasLatest=!0;this.inner.setDisposable(t);a(n)&&(n=l(n));t.setDisposable(n.subscribe(new r(this,i)))},i.prototype.error=function(n){this.o.onError(n)},i.prototype.completed=function(){this.stopped=!0;this.hasLatest||this.o.onCompleted()},t(r,o),r.prototype.next=function(n){this.parent.latest===this.id&&this.parent.o.onNext(n)},r.prototype.error=function(n){this.parent.latest===this.id&&this.parent.o.onError(n)},r.prototype.completed=function(){this.parent.latest===this.id&&(this.parent.hasLatest=!1,this.parent.stopped&&this.parent.o.onCompleted())},u}(e);i["switch"]=i.switchLatest=function(){return new yo(this)};po=function(n){function i(t,i){this.source=t;this.other=a(i)?l(i):i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return new w(this.source.subscribe(n),this.other.subscribe(new wo(n)))},i}(e);wo=function(n){function i(t){this._o=t;n.call(this)}return t(i,n),i.prototype.next=function(){this._o.onCompleted()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.onCompleted=nt,i}(o);i.takeUntil=function(n){return new po(this,n)};var tb=function(n){function i(t,i,r){this._s=t;this._ss=i;this._cb=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){for(var o=this._ss.length,s={hasValue:li(o,ur),hasValueAll:!1,values:new Array(o)},r=this._ss.length,u=new Array(r+1),i,f,e,t=0;t<r;t++)i=this._ss[t],f=new h,a(i)&&(i=l(i)),f.setDisposable(i.subscribe(new ib(n,t,s))),u[t]=f;return e=new h,e.setDisposable(this._s.subscribe(new rb(n,this._cb,s))),u[r]=e,new wt(u)},i}(e),ib=function(n){function i(t,i,r){this._o=t;this._i=i;this._state=r;n.call(this)}return t(i,n),i.prototype.next=function(n){this._state.values[this._i]=n;this._state.hasValue[this._i]=!0;this._state.hasValueAll=this._state.hasValue.every(vt)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=nt,i}(o),rb=function(n){function i(t,i,r){this._o=t;this._cb=i;this._state=r;n.call(this)}return t(i,n),i.prototype.next=function(n){var i=[n].concat(this._state.values),t;if(this._state.hasValueAll){if(t=u(this._cb).apply(null,i),t===r)return this._o.onError(t.e);this._o.onNext(t)}},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.withLatestFrom=function(){var i,n,t,r;if(arguments.length===0)throw new Error("invalid arguments");for(i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return r=c(n[i-1])?n.pop():fr,Array.isArray(n[0])&&(n=n[0]),new tb(this,n,r)};ko=function(n){function i(t,i){this._s=t;this._cb=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){for(var r=this._s.length,f=new Array(r),e=li(r,ur),o=li(r,bo),i,u,t=0;t<r;t++)i=this._s[t],u=new h,f[t]=u,a(i)&&(i=l(i)),u.setDisposable(i.subscribe(new go(n,t,this,o,e)));return new wt(f)},i}(e);go=function(n){function i(t,i,r,u,f){this._o=t;this._i=i;this._p=r;this._q=u;this._d=f;n.call(this)}function f(n){return n.length>0}function e(n){return n.shift()}function o(n){return function(t,i){return i!==n}}return t(i,n),i.prototype.next=function(n){if(this._q[this._i].push(n),this._q.every(f)){var i=this._q.map(e),t=u(this._p._cb).apply(null,i);if(t===r)return this._o.onError(t.e);this._o.onNext(t)}else this._d.filter(o(this._i)).every(vt)&&this._o.onCompleted()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._d[this._i]=!0;this._d.every(vt)&&this._o.onCompleted()},i}(o);i.zip=function(){var i,n,t,r,u;if(arguments.length===0)throw new Error("invalid arguments");for(i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return r=c(n[i-1])?n.pop():fr,Array.isArray(n[0])&&(n=n[0]),u=this,n.unshift(u),new ko(n,r)};s.zip=function(){for(var r=arguments.length,n=new Array(r),i,t=0;t<r;t++)n[t]=arguments[t];return Array.isArray(n[0])&&(n=c(n[1])?n[0].concat(n[1]):n[0]),i=n.shift(),i.zip.apply(i,n)};ns=function(n){function i(t,i){this.sources=t;this._cb=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){for(var r=this.sources,t=r.length,u=new Array(t),f={q:li(t,bo),done:li(t,ur),cb:this._cb,o:n},i=0;i<t;i++)(function(n){var t=r[n],i=new h;(pi(t)||yi(t))&&(t=gr(t));u[n]=i;i.setDisposable(t.subscribe(new ts(f,n)))})(i);return new wt(u)},i}(e);ts=function(n){function i(t,i){this._s=t;this._i=i;n.call(this)}function f(n){return n.length>0}function e(n){return n.shift()}function o(n){return function(t,i){return i!==n}}return t(i,n),i.prototype.next=function(n){if(this._s.q[this._i].push(n),this._s.q.every(f)){var i=this._s.q.map(e),t=u(this._s.cb).apply(null,i);if(t===r)return this._s.o.onError(t.e);this._s.o.onNext(t)}else this._s.done.filter(o(this._i)).every(vt)&&this._s.o.onCompleted()},i.prototype.error=function(n){this._s.o.onError(n)},i.prototype.completed=function(){this._s.done[this._i]=!0;this._s.done.every(vt)&&this._s.o.onCompleted()},i}(o);i.zipIterable=function(){var i,n,t,r,u;if(arguments.length===0)throw new Error("invalid arguments");for(i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return r=c(n[i-1])?n.pop():fr,u=this,n.unshift(u),new ns(n,r)};i.asObservable=function(){return new y(ub(this),this)};i.bufferWithCount=function(n,t){return typeof t!="number"&&(t=n),this.windowWithCount(n,t).flatMap(iu).filter(fb)};is=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new rs(n))},i}(e);rs=function(n){function i(t){this._o=t;n.call(this)}return t(i,n),i.prototype.next=function(n){n.accept(this._o)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.dematerialize=function(){return new is(this)};us=function(n){function i(t,i,r){this.source=t;this.keyFn=i;this.comparer=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new fs(n,this.keyFn,this.comparer))},i}(e);fs=function(n){function i(t,i,r){this.o=t;this.keyFn=i;this.comparer=r;this.hasCurrentKey=!1;this.currentKey=null;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=n,i;if(c(this.keyFn)&&(t=u(this.keyFn)(n),t===r))return this.o.onError(t.e);if(this.hasCurrentKey&&(i=u(this.comparer)(this.currentKey,t),i===r))return this.o.onError(i.e);if(!this.hasCurrentKey||!i){this.hasCurrentKey=!0;this.currentKey=t;this.o.onNext(n)}},i.prototype.error=function(n){this.o.onError(n)},i.prototype.completed=function(){this.o.onCompleted()},i}(o);i.distinctUntilChanged=function(n,t){return t||(t=lr),new us(this,n,t)};es=function(n){function f(t,i,r,u){this.source=t;this._oN=i;this._oE=r;this._oC=u;n.call(this)}function i(n,t){this.o=n;this.t=!t._oN||c(t._oN)?ti(t._oN||nt,t._oE||nt,t._oC||nt):t._oN;this.isStopped=!1;o.call(this)}return t(f,n),f.prototype.subscribeCore=function(n){return this.source.subscribe(new i(n,this))},t(i,o),i.prototype.next=function(n){var t=u(this.t.onNext).call(this.t,n);if(t===r)this.o.onError(t.e);this.o.onNext(n)},i.prototype.error=function(n){var t=u(this.t.onError).call(this.t,n);if(t===r)return this.o.onError(t.e);this.o.onError(n)},i.prototype.completed=function(){var n=u(this.t.onCompleted).call(this.t);if(n===r)return this.o.onError(n.e);this.o.onCompleted()},f}(e);i["do"]=i.tap=i.doAction=function(n,t,i){return new es(this,n,t,i)};i.doOnNext=i.tapOnNext=function(n,t){return this.tap(typeof t!="undefined"?function(i){n.call(t,i)}:n)};i.doOnError=i.tapOnError=function(n,t){return this.tap(nt,typeof t!="undefined"?function(i){n.call(t,i)}:n)};i.doOnCompleted=i.tapOnCompleted=function(n,t){return this.tap(nt,null,typeof t!="undefined"?function(){n.call(t)}:n)};os=function(n){function i(t,i,r){this.source=t;this._fn=tt(i,r,0);n.call(this)}function f(n,t){this.isDisposed=!1;this._s=n;this._fn=t}return t(i,n),i.prototype.subscribeCore=function(n){var t=u(this.source.subscribe).call(this.source,n);return t===r&&(this._fn(),ft(t.e)),new f(t,this._fn)},f.prototype.dispose=function(){if(!this.isDisposed){var n=u(this._s.dispose).call(this._s);this._fn();n===r&&ft(n.e)}},i}(e);i["finally"]=function(n,t){return new os(this,n,t)};ss=function(n){function r(t){this.source=t;n.call(this)}function i(n){this.o=n;this.isStopped=!1}return t(r,n),r.prototype.subscribeCore=function(n){return this.source.subscribe(new i(n))},i.prototype.onNext=nt,i.prototype.onError=function(n){if(!this.isStopped){this.isStopped=!0;this.o.onError(n)}},i.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.o.onCompleted())},i.prototype.dispose=function(){this.isStopped=!0},i.prototype.fail=function(n){if(!this.isStopped){this.isStopped=!0;this.observer.onError(n);return!0}return!1},r}(e);i.ignoreElements=function(){return new ss(this)};hs=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new cs(n))},i}(e);cs=function(n){function i(t){this._o=t;n.call(this)}return t(i,n),i.prototype.next=function(n){this._o.onNext(he(n))},i.prototype.error=function(n){this._o.onNext(ce(n));this._o.onCompleted()},i.prototype.completed=function(){this._o.onNext(le());this._o.onCompleted()},i}(o);i.materialize=function(){return new hs(this)};i.repeat=function(n){return ku(this,n).concat()};i.retry=function(n){return ku(this,n).catchError()};i.retryWhen=function(n){return ku(this).catchErrorWhen(n)};ls=function(n){function i(t,i,r,u){this.source=t;this.accumulator=i;this.hasSeed=r;this.seed=u;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new as(n,this))},i}(e);as=function(n){function i(t,i){this._o=t;this._p=i;this._fn=i.accumulator;this._hs=i.hasSeed;this._s=i.seed;this._ha=!1;this._a=null;this._hv=!1;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._hv||(this._hv=!0),this._ha?this._a=u(this._fn)(this._a,n,this._i,this._p):(this._a=this._hs?u(this._fn)(this._s,n,this._i,this._p):n,this._ha=!0),this._a===r)return this._o.onError(this._a.e);this._o.onNext(this._a);this._i++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){!this._hv&&this._hs&&this._o.onNext(this._s);this._o.onCompleted()},i}(o);i.scan=function(){var n=!1,t,i=arguments[0];return arguments.length===2&&(n=!0,t=arguments[1]),new ls(this,i,n,t)};vs=function(n){function i(t,i){this.source=t;this._c=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new ys(n,this._c))},i}(e);ys=function(n){function i(t,i){this._o=t;this._c=i;this._q=[];n.call(this)}return t(i,n),i.prototype.next=function(n){this._q.push(n);this._q.length>this._c&&this._o.onNext(this._q.shift())},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.skipLast=function(n){if(n<0)throw new ht;return new vs(this,n)};i.startWith=function(){var n,i=0;!!arguments.length&&v(arguments[0])?(n=arguments[0],i=1):n=at;for(var r=[],t=i,u=arguments.length;t<u;t++)r.push(arguments[t]);return du([gp(r,n),this]).concat()};ps=function(n){function i(t,i){this._o=t;this._c=i;this._q=[];n.call(this)}return t(i,n),i.prototype.next=function(n){this._q.push(n);this._q.length>this._c&&this._q.shift()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){while(this._q.length>0)this._o.onNext(this._q.shift());this._o.onCompleted()},i}(o);i.takeLast=function(n){if(n<0)throw new ht;var t=this;return new y(function(i){return t.subscribe(new ps(i,n))},t)};ws=function(n){function i(t,i){this._o=t;this._c=i;this._q=[];n.call(this)}return t(i,n),i.prototype.next=function(n){this._q.push(n);this._q.length>this._c&&this._q.shift()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(this._q);this._o.onCompleted()},i}(o);i.takeLastBuffer=function(n){if(n<0)throw new ht;var t=this;return new y(function(i){return t.subscribe(new ws(i,n))},t)};i.windowWithCount=function(n,t){var i=this;if(+n||(n=0),Math.abs(n)===Infinity&&(n=0),n<=0)throw new ht;if(t==null&&(t=n),+t||(t=0),Math.abs(t)===Infinity&&(t=0),t<=0)throw new ht;return new y(function(r){function s(){var n=new rt;u.push(n);r.onNext(pt(n,e))}var f=new h,e=new fi(f),o=0,u=[];return s(),f.setDisposable(i.subscribe(function(i){for(var f,r=0,e=u.length;r<e;r++)u[r].onNext(i);f=o-n+1;f>=0&&f%t==0&&u.shift().onCompleted();++o%t==0&&s()},function(n){while(u.length>0)u.shift().onError(n);r.onError(n)},function(){while(u.length>0)u.shift().onCompleted();r.onCompleted()})),e},i)};i.selectConcat=i.concatMap=function(n,t,i){return c(n)&&c(t)?this.concatMap(function(i,r){var u=n(i,r);return a(u)&&(u=l(u)),(pi(u)||yi(u))&&(u=gr(u)),u.map(function(n,u){return t(i,n,r,u)})}):c(n)?bs(this,n,i):bs(this,function(){return n})};i.concatMapObserver=i.selectConcatObserver=function(n,t,i,r){var u=this,f=tt(n,r,2),e=tt(t,r,1),o=tt(i,r,0);return new y(function(n){var t=0;return u.subscribe(function(i){var r;try{r=f(i,t++)}catch(u){n.onError(u);return}a(r)&&(r=l(r));n.onNext(r)},function(t){var i;try{i=e(t)}catch(r){n.onError(r);return}a(i)&&(i=l(i));n.onNext(i);n.onCompleted()},function(){var t;try{t=o()}catch(i){n.onError(i);return}a(t)&&(t=l(t));n.onNext(t);n.onCompleted()})},this).concatAll()};ks=function(n){function i(t,i){this._o=t;this._d=i;this._f=!1;n.call(this)}return t(i,n),i.prototype.next=function(n){this._f=!0;this._o.onNext(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._f||this._o.onNext(this._d);this._o.onCompleted()},i}(o);i.defaultIfEmpty=function(t){var i=this;return t===n&&(t=null),new y(function(n){return i.subscribe(new ks(n,t))},i)};ds.prototype.push=function(n){var t=eb(this.set,n,this.comparer)===-1;return t&&this.set.push(n),t};gs=function(n){function i(t,i,r){this.source=t;this._keyFn=i;this._cmpFn=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new nh(n,this._keyFn,this._cmpFn))},i}(e);nh=function(n){function i(t,i,r){this._o=t;this._keyFn=i;this._h=new ds(r);n.call(this)}return t(i,n),i.prototype.next=function(n){var t=n;if(c(this._keyFn)&&(t=u(this._keyFn)(n),t===r))return this._o.onError(t.e);this._h.push(t)&&this._o.onNext(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.distinct=function(n,t){return t||(t=lr),new gs(this,n,t)};i.groupBy=function(n,t){return this.groupByUntil(n,t,tf)};i.groupByUntil=function(t,i,f){var e=this;return new y(function(o){var s=new oi,a=new it,v=new fi(a),l=function(n){return function(t){t.onError(n)}};return a.add(e.subscribe(function(e){var y=u(t)(e),d,p,k,w;if(y===r){s.forEach(l(y.e));return o.onError(y.e)}if(d=!1,p=s.get(y),p===n&&(p=new rt,s.set(y,p),d=!0),d){var g=new ny(y,p,v),tt=new ny(y,p),b=u(f)(tt);if(b===r){s.forEach(l(b.e));return o.onError(b.e)}o.onNext(g);k=new h;a.add(k);k.setDisposable(b.take(1).subscribe(nt,function(n){s.forEach(l(n));o.onError(n)},function(){s["delete"](y)&&p.onCompleted();a.remove(k)}))}if(w=e,c(i)&&(w=u(i)(e),w===r)){s.forEach(l(w.e));return o.onError(w.e)}p.onNext(w)},function(n){s.forEach(l(n));o.onError(n)},function(){s.forEach(function(n){n.onCompleted()});o.onCompleted()})),v},e)};rf=function(n){function i(t,i,r){this.source=t;this.selector=tt(i,r,3);n.call(this)}function e(n,t){return function(i,r,u){return n.call(this,t.selector(i,r,u),r,u)}}function f(n,t,i){this.o=n;this.selector=t;this.source=i;this.i=0;o.call(this)}return t(i,n),i.prototype.internalMap=function(n,t){return new i(this.source,e(n,this),t)},i.prototype.subscribeCore=function(n){return this.source.subscribe(new f(n,this.selector,this))},t(f,o),f.prototype.next=function(n){var t=u(this.selector)(n,this.i++,this.source);if(t===r)return this.o.onError(t.e);this.o.onNext(t)},f.prototype.error=function(n){this.o.onError(n)},f.prototype.completed=function(){this.o.onCompleted()},i}(e);i.map=i.select=function(n,t){var i=typeof n=="function"?n:function(){return n};return this instanceof rf?this.internalMap(i,t):new rf(this,i,t)};i.pluck=function(){var t=arguments.length,i=new Array(t),n;if(t===0)throw new Error("List of properties cannot be empty.");for(n=0;n<t;n++)i[n]=arguments[n];return this.map(ob(i,t))};i.flatMap=i.selectMany=function(n,t,i){return new kr(this,n,t,i).mergeAll()};i.flatMapObserver=i.selectManyObserver=function(n,t,i,r){var u=this;return new y(function(f){var e=0;return u.subscribe(function(t){var i;try{i=n.call(r,t,e++)}catch(u){f.onError(u);return}a(i)&&(i=l(i));f.onNext(i)},function(n){var i;try{i=t.call(r,n)}catch(u){f.onError(u);return}a(i)&&(i=l(i));f.onNext(i);f.onCompleted()},function(){var n;try{n=i.call(r)}catch(t){f.onError(t);return}a(n)&&(n=l(n));f.onNext(n);f.onCompleted()})},u).mergeAll()};f.Observable.prototype.flatMapLatest=function(n,t,i){return new kr(this,n,t,i).switchLatest()};th=function(n){function r(t,i){this.source=t;this._count=i;n.call(this)}function i(n,t){this._o=n;this._r=t;o.call(this)}return t(r,n),r.prototype.subscribeCore=function(n){return this.source.subscribe(new i(n,this._count))},t(i,o),i.prototype.next=function(n){if(this._r<=0)this._o.onNext(n);else this._r--},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},r}(e);i.skip=function(n){if(n<0)throw new ht;return new th(this,n)};ih=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new rh(n,this))},i}(e);rh=function(n){function i(t,i){this._o=t;this._p=i;this._i=0;this._r=!1;n.call(this)}return t(i,n),i.prototype.next=function(n){if(!this._r){var t=u(this._p._fn)(n,this._i++,this._p);if(t===r)return this._o.onError(t.e);this._r=!t}this._r&&this._o.onNext(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.skipWhile=function(n,t){var i=tt(n,t,3);return new ih(this,i)};uh=function(n){function r(t,i){this.source=t;this._count=i;n.call(this)}function i(n,t){this._o=n;this._c=t;this._r=t;o.call(this)}return t(r,n),r.prototype.subscribeCore=function(n){return this.source.subscribe(new i(n,this._count))},t(i,o),i.prototype.next=function(n){if(this._r-->0){this._o.onNext(n);this._r<=0&&this._o.onCompleted()}},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},r}(e);i.take=function(n,t){if(n<0)throw new ht;return n===0?ki(t):new uh(this,n)};fh=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new eh(n,this))},i}(e);eh=function(n){function i(t,i){this._o=t;this._p=i;this._i=0;this._r=!0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._r&&(this._r=u(this._p._fn)(n,this._i++,this._p),this._r===r))return this._o.onError(this._r.e);if(this._r)this._o.onNext(n);else this._o.onCompleted()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.takeWhile=function(n,t){var i=tt(n,t,3);return new fh(this,i)};uf=function(n){function i(t,i,r){this.source=t;this.predicate=tt(i,r,3);n.call(this)}function e(n,t){return function(i,r,u){return t.predicate(i,r,u)&&n.call(this,i,r,u)}}function f(n,t,i){this.o=n;this.predicate=t;this.source=i;this.i=0;o.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new f(n,this.predicate,this))},i.prototype.internalFilter=function(n,t){return new i(this.source,e(n,this),t)},t(f,o),f.prototype.next=function(n){var t=u(this.predicate)(n,this.i++,this.source);if(t===r)return this.o.onError(t.e);t&&this.o.onNext(n)},f.prototype.error=function(n){this.o.onError(n)},f.prototype.completed=function(){this.o.onCompleted()},i}(e);i.filter=i.where=function(n,t){return this instanceof uf?this.internalFilter(n,t):new uf(this,n,t)};ff=function(n){function i(t,i,r){this.source=t;this._k=i;this._c=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new oh(n,this._k,this._c))},i}(e);oh=function(n){function i(t,i,r){this._o=t;this._k=i;this._c=r;this._v=null;this._hv=!1;this._l=[];n.call(this)}return t(i,n),i.prototype.next=function(n){var i=u(this._k)(n),t;if(i===r)return this._o.onError(i.e);if(t=0,this._hv){if(t=u(this._c)(i,this._v),t===r)return this._o.onError(t.e)}else this._hv=!0,this._v=i;t>0&&(this._v=i,this._l=[]);t>=0&&this._l.push(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(this._l);this._o.onCompleted()},i}(o);hh=function(n){function i(t,i,r,u){this.source=t;this.accumulator=i;this.hasSeed=r;this.seed=u;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new ch(n,this))},i}(e);ch=function(n){function i(t,i){this._o=t;this._p=i;this._fn=i.accumulator;this._hs=i.hasSeed;this._s=i.seed;this._ha=!1;this._a=null;this._hv=!1;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._hv||(this._hv=!0),this._ha?this._a=u(this._fn)(this._a,n,this._i,this._p):(this._a=this._hs?u(this._fn)(this._s,n,this._i,this._p):n,this._ha=!0),this._a===r)return this._o.onError(this._a.e);this._i++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._hv&&this._o.onNext(this._a);!this._hv&&this._hs&&this._o.onNext(this._s);this._hv||this._hs||this._o.onError(new dt);this._o.onCompleted()},i}(o);i.reduce=function(){var n=!1,t,i=arguments[0];return arguments.length===2&&(n=!0,t=arguments[1]),new hh(this,i,n,t)};lh=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new ah(n,this._fn,this.source))},i}(e);ah=function(n){function i(t,i,r){this._o=t;this._fn=i;this._s=r;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=u(this._fn)(n,this._i++,this._s);if(t===r)return this._o.onError(t.e);if(Boolean(t)){this._o.onNext(!0);this._o.onCompleted()}},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(!1);this._o.onCompleted()},i}(o);i.some=function(n,t){var i=tt(n,t,3);return new lh(this,i)};vh=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new yh(n))},i}(e);yh=function(n){function i(t){this._o=t;n.call(this)}return t(i,n),i.prototype.next=function(){this._o.onNext(!1);this._o.onCompleted()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(!0);this._o.onCompleted()},i}(o);i.isEmpty=function(){return new vh(this)};ph=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new wh(n,this._fn,this.source))},i}(e);wh=function(n){function i(t,i,r){this._o=t;this._fn=i;this._s=r;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=u(this._fn)(n,this._i++,this._s);if(t===r)return this._o.onError(t.e);if(!Boolean(t)){this._o.onNext(!1);this._o.onCompleted()}},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(!0);this._o.onCompleted()},i}(o);i.every=function(n,t){var i=tt(n,t,3);return new ph(this,i)};bh=function(n){function i(t,i,r){var u=+r||0;Math.abs(u)===Infinity&&(u=0);this.source=t;this._elem=i;this._n=u;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){if(this._n<0){n.onNext(!1);return n.onCompleted(),b}return this.source.subscribe(new kh(n,this._elem,this._n))},i}(e);kh=function(n){function i(t,i,r){this._o=t;this._elem=i;this._n=r;this._i=0;n.call(this)}function r(n,t){return n===0&&t===0||n===t||isNaN(n)&&isNaN(t)}return t(i,n),i.prototype.next=function(n){if(this._i++>=this._n&&r(n,this._elem)){this._o.onNext(!0);this._o.onCompleted()}},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(!1);this._o.onCompleted()},i}(o);i.includes=function(n,t){return new bh(this,n,t)};dh=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new gh(n,this._fn,this.source))},i}(e);gh=function(n){function i(t,i,r){this._o=t;this._fn=i;this._s=r;this._i=0;this._c=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._fn){var t=u(this._fn)(n,this._i++,this._s);if(t===r)return this._o.onError(t.e);Boolean(t)&&this._c++}else this._c++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(this._c);this._o.onCompleted()},i}(o);i.count=function(n,t){var i=tt(n,t,3);return new dh(this,i)};nc=function(n){function i(t,i,r){this.source=t;this._e=i;this._n=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){if(this._n<0){n.onNext(-1);return n.onCompleted(),b}return this.source.subscribe(new tc(n,this._e,this._n))},i}(e);tc=function(n){function i(t,i,r){this._o=t;this._e=i;this._n=r;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._i>=this._n&&n===this._e){this._o.onNext(this._i);this._o.onCompleted()}this._i++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(-1);this._o.onCompleted()},i}(o);i.indexOf=function(n,t){var i=+t||0;return Math.abs(i)===Infinity&&(i=0),new nc(this,n,i)};ic=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new rc(n,this._fn,this.source))},i}(e);rc=function(n){function i(t,i,r){this._o=t;this._fn=i;this._s=r;this._i=0;this._c=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._fn){var t=u(this._fn)(n,this._i++,this._s);if(t===r)return this._o.onError(t.e);this._c+=t}else this._c+=n},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(this._c);this._o.onCompleted()},i}(o);i.sum=function(n,t){var i=tt(n,t,3);return new ic(this,i)};i.minBy=function(n,t){return t||(t=ar),new ff(this,n,function(n,i){return t(n,i)*-1})};i.min=function(n){return this.minBy(vt,n).map(function(n){return sh(n)})};i.maxBy=function(n,t){return t||(t=ar),new ff(this,n,t)};i.max=function(n){return this.maxBy(vt,n).map(function(n){return sh(n)})};uc=function(n){function i(t,i){this.source=t;this._fn=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new fc(n,this._fn,this.source))},i}(e);fc=function(n){function i(t,i,r){this._o=t;this._fn=i;this._s=r;this._c=0;this._t=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._fn){var t=u(this._fn)(n,this._c++,this._s);if(t===r)return this._o.onError(t.e);this._t+=t}else this._c++,this._t+=n},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){if(this._c===0)return this._o.onError(new dt);this._o.onNext(this._t/this._c);this._o.onCompleted()},i}(o);i.average=function(n,t){var r=this,i;return c(n)&&(i=tt(n,t,3)),new uc(r,i)};i.sequenceEqual=function(n,t){var i=this;return t||(t=lr),new y(function(f){var s=!1,h=!1,e=[],o=[],v=i.subscribe(function(n){if(o.length>0){var s=o.shift(),i=u(t)(s,n);if(i===r)return f.onError(i.e);if(!i){f.onNext(!1);f.onCompleted()}}else if(h){f.onNext(!1);f.onCompleted()}else e.push(n)},function(n){f.onError(n)},function(){if(s=!0,e.length===0)if(o.length>0){f.onNext(!1);f.onCompleted()}else if(h){f.onNext(!0);f.onCompleted()}}),c;return(pi(n)||yi(n))&&(n=gr(n)),a(n)&&(n=l(n)),c=n.subscribe(function(n){if(e.length>0){var h=e.shift(),i=u(t)(h,n);if(i===r)return f.onError(i.e);if(!i){f.onNext(!1);f.onCompleted()}}else if(s){f.onNext(!1);f.onCompleted()}else o.push(n)},function(n){f.onError(n)},function(){if(h=!0,o.length===0)if(e.length>0){f.onNext(!1);f.onCompleted()}else if(s){f.onNext(!0);f.onCompleted()}}),new w(v,c)},i)};ec=function(n){function i(t,i,r){this.source=t;this._i=i;this._d=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new oc(n,this._i,this._d))},i}(e);oc=function(i){function r(n,t,r){this._o=n;this._i=t;this._d=r;i.call(this)}return t(r,i),r.prototype.next=function(n){if(this._i--==0){this._o.onNext(n);this._o.onCompleted()}},r.prototype.error=function(n){this._o.onError(n)},r.prototype.completed=function(){if(this._d===n)this._o.onError(new ht);else{this._o.onNext(this._d);this._o.onCompleted()}},r}(o);i.elementAt=function(n,t){if(n<0)throw new ht;return new ec(this,n,t)};sc=function(i){function f(n,t,r){this._o=n;this._obj=t;this._s=r;this._i=0;this._hv=!1;this._v=null;i.call(this)}return t(f,i),f.prototype.next=function(n){var i=!1,t;if(this._obj.predicate){if(t=u(this._obj.predicate)(n,this._i++,this._s),t===r)return this._o.onError(t.e);Boolean(t)&&(i=!0)}else this._obj.predicate||(i=!0);if(i){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0;this._v=n}},f.prototype.error=function(n){this._o.onError(n)},f.prototype.completed=function(){if(this._hv){this._o.onNext(this._v);this._o.onCompleted()}else if(this._obj.defaultValue===n)this._o.onError(new dt);else{this._o.onNext(this._obj.defaultValue);this._o.onCompleted()}},f}(o);i.single=function(){var n={},t=this,i;return n=typeof arguments[0]=="object"?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},c(n.predicate)&&(i=n.predicate,n.predicate=tt(i,n.thisArg,3)),new y(function(i){return t.subscribe(new sc(i,n,t))},t)};hc=function(n){function i(t,i){this.source=t;this._obj=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new cc(n,this._obj,this.source))},i}(e);cc=function(i){function f(n,t,r){this._o=n;this._obj=t;this._s=r;this._i=0;i.call(this)}return t(f,i),f.prototype.next=function(n){if(this._obj.predicate){var t=u(this._obj.predicate)(n,this._i++,this._s);if(t===r)return this._o.onError(t.e);if(Boolean(t)){this._o.onNext(n);this._o.onCompleted()}}else if(!this._obj.predicate){this._o.onNext(n);this._o.onCompleted()}},f.prototype.error=function(n){this._o.onError(n)},f.prototype.completed=function(){if(this._obj.defaultValue===n)this._o.onError(new dt);else{this._o.onNext(this._obj.defaultValue);this._o.onCompleted()}},f}(o);i.first=function(){var n={},i=this,t;return n=typeof arguments[0]=="object"?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},c(n.predicate)&&(t=n.predicate,n.predicate=tt(t,n.thisArg,3)),new hc(this,n)};lc=function(n){function i(t,i){this.source=t;this._obj=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new ac(n,this._obj,this.source))},i}(e);ac=function(i){function f(n,t,r){this._o=n;this._obj=t;this._s=r;this._i=0;this._hv=!1;this._v=null;i.call(this)}return t(f,i),f.prototype.next=function(n){var i=!1,t;if(this._obj.predicate){if(t=u(this._obj.predicate)(n,this._i++,this._s),t===r)return this._o.onError(t.e);Boolean(t)&&(i=!0)}else this._obj.predicate||(i=!0);i&&(this._hv=!0,this._v=n)},f.prototype.error=function(n){this._o.onError(n)},f.prototype.completed=function(){if(this._hv){this._o.onNext(this._v);this._o.onCompleted()}else if(this._obj.defaultValue===n)this._o.onError(new dt);else{this._o.onNext(this._obj.defaultValue);this._o.onCompleted()}},f}(o);i.last=function(){var n={},i=this,t;return n=typeof arguments[0]=="object"?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},c(n.predicate)&&(t=n.predicate,n.predicate=tt(t,n.thisArg,3)),new lc(this,n)};vc=function(n){function i(t,i,r,u){this._o=t;this._s=i;this._cb=r;this._y=u;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=u(this._cb)(n,this._i,this._s);if(t===r)return this._o.onError(t.e);if(t){this._o.onNext(this._y?this._i:n);this._o.onCompleted()}else this._i++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._y&&this._o.onNext(-1);this._o.onCompleted()},i}(o);i.find=function(n,t){return yc(this,n,t,!1)};i.findIndex=function(n,t){return yc(this,n,t,!0)};pc=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new wc(n))},i}(e);wc=function(n){function i(t){this._o=t;this._s=new p.Set;n.call(this)}return t(i,n),i.prototype.next=function(n){this._s.add(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(this._s);this._o.onCompleted()},i}(o);i.toSet=function(){if(typeof p.Set=="undefined")throw new TypeError;return new pc(this)};bc=function(n){function i(t,i,r){this.source=t;this._k=i;this._e=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new kc(n,this._k,this._e))},i}(e);kc=function(n){function i(t,i,r){this._o=t;this._k=i;this._e=r;this._m=new p.Map;n.call(this)}return t(i,n),i.prototype.next=function(n){var i=u(this._k)(n),t;if(i===r)return this._o.onError(i.e);if(t=n,this._e&&(t=u(this._e)(n),t===r))return this._o.onError(t.e);this._m.set(i,t)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onNext(this._m);this._o.onCompleted()},i}(o);i.toMap=function(n,t){if(typeof p.Map=="undefined")throw new TypeError;return new bc(this,n,t)};dc=function(n){function i(t,i,r){this.source=t;this._b=i;this._e=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new gc(n,this._b,this._e))},i}(e);gc=function(n){function i(t,i,r){this._o=t;this._b=i;this._e=r;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){if(this._i>=this._b)if(this._e===this._i)this._o.onCompleted();else this._o.onNext(n);this._i++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.slice=function(n,t){var i=n||0;if(i<0)throw new f.ArgumentOutOfRangeError;if(typeof t=="number"&&t<i)throw new f.ArgumentOutOfRangeError;return new dc(this,i,t)};nl=function(n){function i(t,i,r){this.source=t;this._e=i;this._n=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){if(this._n<0){n.onNext(-1);return n.onCompleted(),b}return this.source.subscribe(new tl(n,this._e,this._n))},i}(e);tl=function(n){function i(t,i,r){this._o=t;this._e=i;this._n=r;this._v=0;this._hv=!1;this._i=0;n.call(this)}return t(i,n),i.prototype.next=function(n){this._i>=this._n&&n===this._e&&(this._hv=!0,this._v=this._i);this._i++},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){if(this._hv)this._o.onNext(this._v);else this._o.onNext(-1);this._o.onCompleted()},i}(o);i.lastIndexOf=function(n,t){var i=+t||0;return Math.abs(i)===Infinity&&(i=0),new nl(this,n,i)};s.wrap=function(n){function t(){return s.spawn.call(this,n.apply(this,arguments))}return t.__generatorFunction__=n,t};il=s.spawn=function(){for(var n=arguments[0],i=this,f=[],t=1,e=arguments.length;t<e;t++)f.push(arguments[t]);return new y(function(t){function o(i){var f=u(n.next).call(n,i);if(f===r)return t.onError(f.e);l(f)}function h(i){var f=u(n.next).call(n,i);if(f===r)return t.onError(f.e);l(f)}function l(n){if(n.done){t.onNext(n.value);t.onCompleted();return}var r=ef.call(i,n.value),u=null,f=!1;s.isObservable(r)?e.add(r.subscribe(function(n){f=!0;u=n},h,function(){f&&o(u)})):h(new TypeError("type not supported"))}var e=new it;if(c(n)&&(n=n.apply(i,f)),!n||!c(n.next)){t.onNext(n);return t.onCompleted()}return o(),e})};s.start=function(n,t,i){return ul(n,t,i)()};ul=s.toAsync=function(n,t,i){return v(i)||(i=k),function(){var u=arguments,r=new di;return i.schedule(null,function(){var i;try{i=n.apply(t,u)}catch(f){r.onError(f);return}r.onNext(i);r.onCompleted()}),r.asObservable()}};s.fromCallback=function(n,t,i){return function(){var u,f,r;for(typeof t=="undefined"&&(t=this),u=arguments.length,f=new Array(u),r=0;r<u;r++)f[r]=arguments[r];return ab(n,t,i,f)}};s.fromNodeCallback=function(n,t,i){return function(){var u,f,r;for(typeof t=="undefined"&&(t=this),u=arguments.length,f=new Array(u),r=0;r<u;r++)f[r]=arguments[r];return yb(n,t,i,f)}};fl.prototype.dispose=function(){this.isDisposed||(this._e.removeEventListener(this._n,this._fn,!1),this.isDisposed=!0)};f.config.useNativeEvents=!1;ol=function(n){function i(t,i,r){this._el=t;this._n=i;this._fn=r;n.call(this)}function f(n,t){return function(){var i=arguments[0];if(c(t)&&(i=u(t).apply(null,arguments),i===r))return n.onError(i.e);n.onNext(i)}}return t(i,n),i.prototype.subscribeCore=function(n){return el(this._el,this._n,f(n,this._fn))},i}(e);s.fromEvent=function(n,t,i){return n.addListener?of(function(i){n.addListener(t,i)},function(i){n.removeListener(t,i)},i):!f.config.useNativeEvents&&typeof n.on=="function"&&typeof n.off=="function"?of(function(i){n.on(t,i)},function(i){n.off(t,i)},i):new ol(n,t,i).publish().refCount()};sl=function(n){function i(t,i,r){this._add=t;this._del=i;this._fn=r;n.call(this)}function e(n,t){return function(){var i=arguments[0];if(c(t)&&(i=u(t).apply(null,arguments),i===r))return n.onError(i.e);n.onNext(i)}}function f(n,t,i){this._del=n;this._fn=t;this._ret=i;this.isDisposed=!1}return t(i,n),i.prototype.subscribeCore=function(n){var t=e(n,this._fn),i=this._add(t);return new f(this._del,t,i)},f.prototype.dispose=function(){this.isDisposed||c(this._del)&&this._del(this._fn,this._ret)},i}(e);of=s.fromEventPattern=function(n,t,i){return new sl(n,t,i).publish().refCount()};s.startAsync=function(n){var t=u(n)();return t===r?ii(t.e):l(t)};hl=function(n){function i(t,i){this.source=t;this.controller=new rt;this.pauser=i&&i.subscribe?this.controller.merge(i):this.controller;n.call(this)}return t(i,n),i.prototype._subscribe=function(n){var i=this.source.publish(),r=i.subscribe(n),t=b,u=this.pauser.distinctUntilChanged().subscribe(function(n){n?t=i.connect():(t.dispose(),t=b)});return new wt([r,t,u])},i.prototype.pause=function(){this.controller.onNext(!1)},i.prototype.resume=function(){this.controller.onNext(!0)},i}(s);i.pausable=function(n){return new hl(this,n)};cl=function(i){function r(n,t){this.source=n;this.controller=new rt;this.pauser=t&&t.subscribe?this.controller.merge(t):this.controller;i.call(this)}return t(r,i),r.prototype._subscribe=function(t){function u(){while(r.length>0)t.onNext(r.shift())}var r=[],i;return bb(this.source,this.pauser.startWith(!1).distinctUntilChanged(),function(n,t){return{data:n,shouldFire:t}}).subscribe(function(f){if(i!==n&&f.shouldFire!==i)i=f.shouldFire,f.shouldFire&&u();else if(i=f.shouldFire,f.shouldFire)t.onNext(f.data);else r.push(f.data)},function(n){u();t.onError(n)},function(){u();t.onCompleted()})},r.prototype.pause=function(){this.controller.onNext(!1)},r.prototype.resume=function(){this.controller.onNext(!0)},r}(s);i.pausableBuffered=function(n){return new cl(this,n)};ru=function(n){function i(t,i,r){n.call(this);this.subject=new ll(i,r);this.source=t.multicast(this.subject).refCount()}return t(i,n),i.prototype._subscribe=function(n){return this.source.subscribe(n)},i.prototype.request=function(n){return this.subject.request(n==null?-1:n)},i}(s);ll=function(n){function i(t,i){t==null&&(t=!0);n.call(this);this.subject=new rt;this.enableQueue=t;this.queue=t?[]:null;this.requestedCount=0;this.requestedDisposable=null;this.error=null;this.hasFailed=!1;this.hasCompleted=!1;this.scheduler=i||ut}return t(i,n),ci(i.prototype,st,{_subscribe:function(n){return this.subject.subscribe(n)},onCompleted:function(){this.hasCompleted=!0;this.enableQueue&&this.queue.length!==0?this.queue.push(ct.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(n){if(this.hasFailed=!0,this.error=n,this.enableQueue&&this.queue.length!==0)this.queue.push(ct.createOnError(n));else{this.subject.onError(n);this.disposeCurrentRequest()}},onNext:function(n){if(this.requestedCount<=0)this.enableQueue&&this.queue.push(ct.createOnNext(n));else{this.requestedCount--==0&&this.disposeCurrentRequest();this.subject.onNext(n)}},_processRequest:function(n){if(this.enableQueue)while(this.queue.length>0&&(n>0||this.queue[0].kind!=="N")){var t=this.queue.shift();t.accept(this.subject);t.kind==="N"?n--:(this.disposeCurrentRequest(),this.queue=[])}return n},request:function(n){this.disposeCurrentRequest();var t=this;return this.requestedDisposable=this.scheduler.schedule(n,function(n,i){var r=t._processRequest(i),u=t.hasCompleted||t.hasFailed;if(!u&&r>0)return t.requestedCount=r,ui(function(){t.requestedCount=0})}),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),i}(s);i.controlled=function(n,t){return n&&v(n)&&(t=n,n=!0),n==null&&(n=!0),new ru(this,n,t)};al=function(n){function i(t){n.call(this);this.source=t}function r(n,t){t.source.request(1)}t(i,n);i.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new u(n,this,this.subscription)),new w(this.subscription,k.schedule(this,r))};var u=function(n){function r(t,i,r){n.call(this);this.observer=t;this.observable=i;this.cancel=r;this.scheduleDisposable=null}function u(n,t){t.observable.source.request(1)}return t(r,n),r.prototype.completed=function(){this.observer.onCompleted();this.dispose()},r.prototype.error=function(n){this.observer.onError(n);this.dispose()},r.prototype.next=function(n){this.observer.onNext(n);this.scheduleDisposable=k.schedule(this,u)},i.dispose=function(){this.observer=null;this.cancel&&(this.cancel.dispose(),this.cancel=null);this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null);n.prototype.dispose.call(this)},r}(o);return i}(s);ru.prototype.stopAndWait=function(){return new al(this)};vl=function(n){function i(t,i){n.call(this);this.source=t;this.windowSize=i}function r(n,t){t.source.request(t.windowSize)}t(i,n);i.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new u(n,this,this.subscription)),new w(this.subscription,k.schedule(this,r))};var u=function(n){function i(t,i,r){this.observer=t;this.observable=i;this.cancel=r;this.received=0;this.scheduleDisposable=null;n.call(this)}function r(n,t){t.observable.source.request(t.observable.windowSize)}return t(i,n),i.prototype.completed=function(){this.observer.onCompleted();this.dispose()},i.prototype.error=function(n){this.observer.onError(n);this.dispose()},i.prototype.next=function(n){this.observer.onNext(n);this.received=++this.received%this.observable.windowSize;this.received===0&&(this.scheduleDisposable=k.schedule(this,r))},i.prototype.dispose=function(){this.observer=null;this.cancel&&(this.cancel.dispose(),this.cancel=null);this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null);n.prototype.dispose.call(this)},i}(o);return i}(s);ru.prototype.windowed=function(n){return new vl(this,n)};i.pipe=function(n){function i(){t.resume()}var t=this.pausableBuffered();return n.addListener("drain",i),t.subscribe(function(i){n.write(String(i))||t.pause()},function(t){n.emit("error",t)},function(){n._isStdio||n.end();n.removeListener("drain",i)}),t.resume(),n};yl=function(n){function i(t,i,r){this.source=t;this._fn1=i;this._fn2=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=this.source.multicast(this._fn1());return new w(this._fn2(t).subscribe(n),t.connect())},i}(e);i.multicast=function(n,t){return c(n)?new yl(this,n,t):new wl(this,n)};i.publish=function(n){return n&&c(n)?this.multicast(function(){return new rt},n):this.multicast(new rt)};i.share=function(){return this.publish().refCount()};i.publishLast=function(n){return n&&c(n)?this.multicast(function(){return new di},n):this.multicast(new di)};i.publishValue=function(n,t){return arguments.length===2?this.multicast(function(){return new ty(t)},n):this.multicast(new ty(n))};i.shareValue=function(n){return this.publishValue(n).refCount()};i.replay=function(n,t,i,r){return n&&c(n)?this.multicast(function(){return new iy(t,i,r)},n):this.multicast(new iy(t,i,r))};i.shareReplay=function(n,t,i){return this.replay(null,n,t,i).refCount()};er=function(n,t){this._s=n;this._o=t};er.prototype.dispose=function(){if(!this._s.isDisposed&&this._o!==null){var n=this._s.observers.indexOf(this._o);this._s.observers.splice(n,1);this._o=null}};pl=function(n){function i(t){this.source=t;this._count=0;this._connectableSubscription=null;n.call(this)}function r(n,t){this._p=n;this._s=t;this.isDisposed=!1}return t(i,n),i.prototype.subscribeCore=function(n){var t=this.source.subscribe(n);return++this._count==1&&(this._connectableSubscription=this.source.connect()),new r(this,t)},r.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),--this._p._count==0&&this._p._connectableSubscription.dispose())},i}(e);wl=f.ConnectableObservable=function(n){function i(t,i){this.source=t;this._connection=null;this._source=t.asObservable();this._subject=i;n.call(this)}function r(n,t){this._p=n;this._s=t}return t(i,n),r.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},i.prototype.connect=function(){if(!this._connection){var n=this._source.subscribe(this._subject);this._connection=new r(this,n)}return this._connection},i.prototype._subscribe=function(n){return this._subject.subscribe(n)},i.prototype.refCount=function(){return new pl(this)},i}(s);i.singleInstance=function(){function r(){return n||(n=!0,t=i["finally"](function(){n=!1}).publish().refCount()),t}var i=this,n=!1,t;return new y(function(n){return r().subscribe(n)})};i.join=function(n,t,i,f){var e=this;return new y(function(o){var s=new it,v=!1,y=!1,p=0,w=0,c=new oi,l=new oi,a=function(n){o.onError(n)};return s.add(e.subscribe(function(n){var y=p++,e=new h,i;if(c.set(y,n),s.add(e),i=u(t)(n),i===r)return o.onError(i.e);e.setDisposable(i.take(1).subscribe(nt,a,function(){c["delete"](y)&&c.size===0&&v&&o.onCompleted();s.remove(e)}));l.forEach(function(t){var i=u(f)(n,t);if(i===r)return o.onError(i.e);o.onNext(i)})},a,function(){v=!0;(y||c.size===0)&&o.onCompleted()})),s.add(n.subscribe(function(n){var v=w++,e=new h,t;if(l.set(v,n),s.add(e),t=u(i)(n),t===r)return o.onError(t.e);e.setDisposable(t.take(1).subscribe(nt,a,function(){l["delete"](v)&&l.size===0&&y&&o.onCompleted();s.remove(e)}));c.forEach(function(t){var i=u(f)(t,n);if(i===r)return o.onError(i.e);o.onNext(i)})},a,function(){y=!0;(v||l.size===0)&&o.onCompleted()})),s},e)};i.groupJoin=function(n,t,i,f){var e=this;return new y(function(o){function handleError(){}var c=new it,a=new fi(c),s=new oi,l=new oi,v=0,y=0,handleError=function(n){return function(t){t.onError(n)}};return c.add(e.subscribe(function(n){var y=new rt,w=v++,i,p,e;if(s.set(w,y),i=u(f)(n,pt(y,a)),i===r){s.forEach(handleError(i.e));return o.onError(i.e)}o.onNext(i);if(l.forEach(function(n){y.onNext(n)}),p=new h,c.add(p),e=u(t)(n),e===r){s.forEach(handleError(e.e));return o.onError(e.e)}p.setDisposable(e.take(1).subscribe(nt,function(n){s.forEach(handleError(n));o.onError(n)},function(){s["delete"](w)&&y.onCompleted();c.remove(p)}))},function(n){s.forEach(handleError(n));o.onError(n)},function(){o.onCompleted()})),c.add(n.subscribe(function(n){var e=y++,f,t;if(l.set(e,n),f=new h,c.add(f),t=u(i)(n),t===r){s.forEach(handleError(t.e));return o.onError(t.e)}f.setDisposable(t.take(1).subscribe(nt,function(n){s.forEach(handleError(n));o.onError(n)},function(){l["delete"](e);c.remove(f)}));s.forEach(function(t){t.onNext(n)})},function(n){s.forEach(handleError(n));o.onError(n)})),a},e)};i.buffer=function(){return this.window.apply(this,arguments).flatMap(iu)};i.window=function(n,t){return arguments.length===1&&typeof arguments[0]!="function"?db.call(this,n):typeof n=="function"?gb.call(this,n):kb.call(this,n,t)};bl=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new kl(n))},i}(e);kl=function(n){function i(n){this._o=n;this._p=null;this._hp=!1}return t(i,n),i.prototype.next=function(n){if(this._hp)this._o.onNext([this._p,n]);else this._hp=!0;this._p=n},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.pairwise=function(){return new bl(this)};i.partition=function(n,t){var i=tt(n,t,3);return[this.filter(n,t),this.filter(function(n,t,r){return!i(n,t,r)})]};dl=function(n){function i(n,t){this.c=n;this.s=t}return t(i,n),i.prototype[ot]=function(){var n=this;return{next:function(){return n.c()?{done:!1,value:n.s}:{done:!0,value:void 0}}}},i}(ei);i.letBind=i.let=function(n){return n(this)};s["if"]=function(n,t,i){return rr(function(){return i||(i=ki()),a(t)&&(t=l(t)),a(i)&&(i=l(i)),typeof i.now=="function"&&(i=ki(i)),n()?t:i})};s["for"]=s.forIn=function(n,t,i){return du(n,t,i).concat()};gl=s["while"]=s.whileDo=function(n,t){return a(t)&&(t=l(t)),nk(n,t).concat()};i.doWhile=function(n){return ho([this,gl(n,this)])};s["case"]=function(n,t,i){return rr(function(){a(i)&&(i=l(i));i||(i=ki());v(i)&&(i=ki(i));var r=t[n()];return a(r)&&(r=l(r)),r||i})};na=function(n){function i(t,i,r){this.source=t;this._fn=i;this._scheduler=r;n.call(this)}function r(n,t){var i=n[0],u=n[1],f,r;if(i.q.length>0)f=i.q.shift();else{i.isAcquired=!1;return}r=new h;i.d.add(r);r.setDisposable(f.subscribe(new ta(i,u,r)));t([i,u])}return t(i,n),i.prototype._ensureActive=function(n){var t=!1;n.q.length>0&&(t=!n.isAcquired,n.isAcquired=!0);t&&n.m.setDisposable(this._scheduler.scheduleRecursive([n,this],r))},i.prototype.subscribeCore=function(n){var i=new d,r=new it(i),t={q:[],m:i,d:r,activeCount:0,isAcquired:!1,o:n};return t.q.push(this.source),t.activeCount++,this._ensureActive(t),r},i}(e);ta=function(n){function i(t,i,r){this._s=t;this._p=i;this._m1=r;n.call(this)}return t(i,n),i.prototype.next=function(n){this._s.o.onNext(n);var t=u(this._p._fn)(n);if(t===r)return this._s.o.onError(t.e);this._s.q.push(t);this._s.activeCount++;this._p._ensureActive(this._s)},i.prototype.error=function(n){this._s.o.onError(n)},i.prototype.completed=function(){this._s.d.remove(this._m1);this._s.activeCount--;this._s.activeCount===0&&this._s.o.onCompleted()},i}(o);i.expand=function(n,t){return v(t)||(t=ut),new na(this,n,t)};ia=function(n){function i(t,i){this._sources=t;this._cb=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t,f,i;if(this._sources.length===0)return n.onCompleted(),b;var r=this._sources.length,e={finished:!1,hasResults:new Array(r),hasCompleted:new Array(r),results:new Array(r)},u=new it;for(t=0,f=this._sources.length;t<f;t++)i=this._sources[t],a(i)&&(i=l(i)),u.add(i.subscribe(new ra(n,e,t,this._cb,u)));return u},i}(e);ra=function(n){function i(t,i,r,u,f){this._o=t;this._s=i;this._i=r;this._cb=u;this._subs=f;n.call(this)}return t(i,n),i.prototype.next=function(n){this._s.finished||(this._s.hasResults[this._i]=!0,this._s.results[this._i]=n)},i.prototype.error=function(n){this._s.finished=!0;this._o.onError(n);this._subs.dispose()},i.prototype.completed=function(){var n,t;if(!this._s.finished){if(!this._s.hasResults[this._i])return this._o.onCompleted();for(this._s.hasCompleted[this._i]=!0,n=0;n<this._s.results.length;n++)if(!this._s.hasCompleted[n])return;if(this._s.finished=!0,t=u(this._cb).apply(null,this._s.results),t===r)return this._o.onError(t.e);this._o.onNext(t);this._o.onCompleted()}},i}(o);s.forkJoin=function(){for(var i=arguments.length,n=new Array(i),r,t=0;t<i;t++)n[t]=arguments[t];return r=c(n[i-1])?n.pop():fr,Array.isArray(n[0])&&(n=n[0]),new ia(n,r)};i.forkJoin=function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return Array.isArray(n[0])?n[0].unshift(this):n.unshift(this),s.forkJoin.apply(null,n)};i.manySelect=i.extend=function(n,t){v(t)||(t=f.Scheduler.immediate);var i=this;return rr(function(){var r;return i.map(function(n){var t=new ua(n);return r&&r.onNext(n),r=t,t}).tap(nt,function(n){r&&r.onError(n)},function(){r&&r.onCompleted()}).observeOn(t).map(n)},i)};ua=function(n){function i(t){n.call(this);this.head=t;this.tail=new di}return t(i,n),ci(i.prototype,st,{_subscribe:function(n){var t=new it;return t.add(ut.schedule(this,function(i,r){n.onNext(r.head);t.add(r.tail.mergeAll().subscribe(n))})),t},onCompleted:function(){this.onNext(s.empty())},onError:function(n){this.onNext(s["throw"](n))},onNext:function(n){this.tail.onNext(n);this.tail.onCompleted()}}),i}(s);oi=p.Map||function(){function t(){this.size=0;this._values=[];this._keys=[]}return t.prototype["delete"]=function(n){var t=this._keys.indexOf(n);return t===-1?!1:(this._values.splice(t,1),this._keys.splice(t,1),this.size--,!0)},t.prototype.get=function(t){var i=this._keys.indexOf(t);return i===-1?n:this._values[i]},t.prototype.set=function(n,t){var i=this._keys.indexOf(n);return i===-1?(this._keys.push(n),this._values.push(t),this.size++):this._values[i]=t,this},t.prototype.forEach=function(n,t){for(var i=0;i<this.size;i++)n.call(t,this._values[i],this._keys[i])},t}();or.prototype.and=function(n){return new or(this.patterns.concat(n))};or.prototype.thenDo=function(n){return new fa(this,n)};fa.prototype.activate=function(n,t,i){for(var u=[],o=tk(t),f,r=0,e=this.expression.patterns.length;r<e;r++)u.push(rk(n,this.expression.patterns[r],o));for(f=new sf(u,ik(this,t),function(){for(var n=0,t=u.length;n<t;n++)u[n].removeActivePlan(f);i(f)}),r=0,e=u.length;r<e;r++)u[r].addActivePlan(f);return f};sf.prototype.dequeue=function(){this.joinObservers.forEach(function(n){n.queue.shift()})};sf.prototype.match=function(){for(var f=!0,i,r,u,n=0,t=this.joinObserverArray.length;n<t;n++)if(this.joinObserverArray[n].queue.length===0){f=!1;break}if(f){for(i=[],r=!1,n=0,t=this.joinObserverArray.length;n<t;n++)i.push(this.joinObserverArray[n].queue[0]),this.joinObserverArray[n].queue[0].kind==="C"&&(r=!0);if(r)this.onCompleted();else{for(this.dequeue(),u=[],n=0,t=i.length;n<i.length;n++)u.push(i[n].value);this.onNext.apply(this,u)}}};ea=function(n){function r(t,i){n.call(this);this.source=t;this.onError=i;this.queue=[];this.activePlans=[];this.subscription=new h;this.isDisposed=!1}t(r,n);var i=r.prototype;return i.next=function(n){var i,t,r;if(!this.isDisposed){if(n.kind==="E")return this.onError(n.error);for(this.queue.push(n),i=this.activePlans.slice(0),t=0,r=i.length;t<r;t++)i[t].match()}},i.error=nt,i.completed=nt,i.addActivePlan=function(n){this.activePlans.push(n)},i.subscribe=function(){this.subscription.setDisposable(this.source.materialize().subscribe(this))},i.removeActivePlan=function(n){this.activePlans.splice(this.activePlans.indexOf(n),1);this.activePlans.length===0&&this.dispose()},i.dispose=function(){n.prototype.dispose.call(this);this.isDisposed||(this.isDisposed=!0,this.subscription.dispose())},r}(o);i.and=function(n){return new or([this,n])};i.thenDo=function(n){return new or([this]).thenDo(n)};s.when=function(){var i=arguments.length,n,t;if(Array.isArray(arguments[0]))n=arguments[0];else for(n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return new y(function(t){var i=[],u=new oi,o=ti(function(n){t.onNext(n)},function(n){u.forEach(function(t){t.onError(n)});t.onError(n)},function(){t.onCompleted()}),r,e,f;try{for(r=0,e=n.length;r<e;r++)i.push(n[r].activate(u,o,function(n){var r=i.indexOf(n);i.splice(r,1);i.length===0&&t.onCompleted()}))}catch(s){ii(s).subscribe(t)}return f=new it,u.forEach(function(n){n.subscribe();f.add(n)}),f})};oa=function(n){function i(t,i){this._dt=t;this._s=i;n.call(this)}function r(n,t){t.onNext(0);t.onCompleted()}return t(i,n),i.prototype.subscribeCore=function(n){return this._s.scheduleFuture(n,this._dt,r)},i}(e);ca=s.interval=function(n,t){return ha(n,n,v(t)?t:k)};fk=s.timer=function(t,i,r){var u;return(v(r)||(r=k),i!=null&&typeof i=="number"?u=i:v(i)&&(r=i),(t instanceof Date||typeof t=="number")&&u===n)?uk(t,r):t instanceof Date&&u!==n?sa(t.getTime(),i,r):ha(t,u,r)};i.delay=function(){var n=arguments[0],i,t;if(typeof n=="number"||n instanceof Date)return i=n,t=arguments[1],v(t)||(t=k),i instanceof Date?ek(this,i,t):la(this,i,t);if(s.isObservable(n)||c(n))return ok(this,n,arguments[1]);throw new Error("Invalid arguments");};aa=function(n){function i(t,i,r){v(r)||(r=k);this.source=t;this._dt=i;this._s=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var t=new d;return new w(this.source.subscribe(new va(n,this.source,this._dt,this._s,t)),t)},i}(e);va=function(n){function i(t,i,r,u,f){this._o=t;this._s=i;this._d=r;this._scheduler=u;this._c=f;this._v=null;this._hv=!1;this._id=0;n.call(this)}return t(i,n),i.prototype.next=function(n){this._hv=!0;this._v=n;var i=++this._id,t=new h;this._c.setDisposable(t);t.setDisposable(this._scheduler.scheduleFuture(this,this._d,function(t,r){r._hv&&r._id===i&&r._o.onNext(n);r._hv=!1}))},i.prototype.error=function(n){this._c.dispose();this._o.onError(n);this._hv=!1;this._id++},i.prototype.completed=function(){this._c.dispose();this._hv&&this._o.onNext(this._v);this._o.onCompleted();this._hv=!1;this._id++},i}(o);i.debounce=function(){if(c(arguments[0]))return sk(this,arguments[0]);if(typeof arguments[0]=="number")return new aa(this,arguments[0],arguments[1]);throw new Error("Invalid arguments");};i.windowWithTime=function(n,t,i){var u=this,r;return t==null&&(r=n),v(i)||(i=k),typeof t=="number"?r=t:v(t)&&(r=n,i=t),new y(function(t){function v(){var y=new h,n=!1,u=!1,c,p;l.setDisposable(y);o===e?(n=!0,u=!0):o<e?n=!0:u=!0;c=n?o:e;p=c-a;a=c;n&&(o+=r);u&&(e+=r);y.setDisposable(i.scheduleFuture(null,p,function(){if(u){var i=new rt;f.push(i);t.onNext(pt(i,s))}n&&f.shift().onCompleted();v()}))}var c,e=r,o=n,f=[],s,l=new d,a=0;c=new it(l);s=new fi(c);f.push(new rt);t.onNext(pt(f[0],s));return v(),c.add(u.subscribe(function(n){for(var t=0,i=f.length;t<i;t++)f[t].onNext(n)},function(n){for(var i=0,r=f.length;i<r;i++)f[i].onError(n);t.onError(n)},function(){for(var n=0,i=f.length;n<i;n++)f[n].onCompleted();t.onCompleted()})),s},u)};i.windowWithTimeOrCount=function(n,t,i){var r=this;return v(i)||(i=k),new y(function(u){function c(t){var r=new h;l.setDisposable(r);r.setDisposable(i.scheduleFuture(null,n,function(){if(t===s){o=0;var n=++s;f.onCompleted();f=new rt;u.onNext(pt(f,e));c(n)}}))}var l=new d,a=new it(l),e=new fi(a),o=0,s=0,f=new rt;u.onNext(pt(f,e));return c(0),a.add(r.subscribe(function(n){var i=0,r=!1;f.onNext(n);if(++o===t){r=!0;o=0;i=++s;f.onCompleted();f=new rt;u.onNext(pt(f,e))}r&&c(i)},function(n){f.onError(n);u.onError(n)},function(){f.onCompleted();u.onCompleted()})),e},r)};i.bufferWithTime=function(n,t,i){return this.windowWithTime(n,t,i).flatMap(iu)};i.bufferWithTimeOrCount=function(n,t,i){return this.windowWithTimeOrCount(n,t,i).flatMap(iu)};ya=function(n){function i(t,i){this.source=t;this._s=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new pa(n,this._s))},i}(e);pa=function(n){function i(t,i){this._o=t;this._s=i;this._l=i.now();n.call(this)}return t(i,n),i.prototype.next=function(n){var t=this._s.now(),i=t-this._l;this._l=t;this._o.onNext({value:n,interval:i})},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.timeInterval=function(n){return v(n)||(n=k),new ya(this,n)};wa=function(n){function i(t,i){this.source=t;this._s=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new ba(n,this._s))},i}(e);ba=function(n){function i(t,i){this._o=t;this._s=i;n.call(this)}return t(i,n),i.prototype.next=function(n){this._o.onNext({value:n,timestamp:this._s.now()})},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.timestamp=function(n){return v(n)||(n=k),new wa(this,n)};i.sample=i.throttleLatest=function(n,t){return v(t)||(t=k),typeof n=="number"?ka(this,ca(n,t)):ka(this,n)};sr=f.TimeoutError=function(n){this.message=n||"Timeout has occurred";this.name="TimeoutError";Error.call(this)};sr.prototype=Object.create(Error.prototype);i.timeout=function(){var n=arguments[0];if(n instanceof Date||typeof n=="number")return ck(this,n,arguments[1],arguments[2]);if(s.isObservable(n)||c(n))return hk(this,n,arguments[1],arguments[2]);throw new Error("Invalid arguments");};da=function(n){function i(t,i,r,u,f,e){this._state=t;this._cndFn=i;this._itrFn=r;this._resFn=u;this._timeFn=f;this._s=e;this._first=!0;this._hasResult=!1;n.call(this)}function f(n,t){var f,i;if(n._hasResult&&n._o.onNext(n._state),n._first)n._first=!1;else if(n._state=u(n._itrFn)(n._state),n._state===r)return n._o.onError(n._state.e);if(n._hasResult=u(n._cndFn)(n._state),n._hasResult===r)return n._o.onError(n._hasResult.e);if(n._hasResult){if(f=u(n._resFn)(n._state),f===r)return n._o.onError(f.e);if(i=u(n._timeFn)(n._state),i===r)return n._o.onError(i.e);t(n,i)}else n._o.onCompleted()}return t(i,n),i.prototype.subscribeCore=function(n){return this._o=n,this._s.scheduleRecursiveFuture(this,new Date(this._s.now()),f)},i}(e);s.generateWithAbsoluteTime=function(n,t,i,r,u,f){return v(f)||(f=k),new da(n,t,i,r,u,f)};ga=function(n){function i(t,i,r,u,f,e){this._state=t;this._cndFn=i;this._itrFn=r;this._resFn=u;this._timeFn=f;this._s=e;this._first=!0;this._hasResult=!1;n.call(this)}function f(n,t){var f,i;if(n._hasResult&&n._o.onNext(n._state),n._first)n._first=!1;else if(n._state=u(n._itrFn)(n._state),n._state===r)return n._o.onError(n._state.e);if(n._hasResult=u(n._cndFn)(n._state),n._hasResult===r)return n._o.onError(n._hasResult.e);if(n._hasResult){if(f=u(n._resFn)(n._state),f===r)return n._o.onError(f.e);if(i=u(n._timeFn)(n._state),i===r)return n._o.onError(i.e);t(n,i)}else n._o.onCompleted()}return t(i,n),i.prototype.subscribeCore=function(n){return this._o=n,this._s.scheduleRecursiveFuture(this,0,f)},i}(e);s.generateWithRelativeTime=function(n,t,i,r,u,f){return v(f)||(f=k),new ga(n,t,i,r,u,f)};nv=function(n){function i(t,i,r){this.source=t;this._dt=i;this._s=r;n.call(this)}function r(n,t){var i=t[0],r=t[1],u=t[2];u.setDisposable(i.subscribe(r))}return t(i,n),i.prototype.subscribeCore=function(n){var t=new d;return t.setDisposable(this._s.scheduleFuture([this.source,n,t],this._dt,r)),t},i}(e);i.delaySubscription=function(n,t){return v(t)||(t=k),new nv(this,n,t)};tv=function(n){function i(t,i,r){this.source=t;this._d=i;this._s=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new iv(n,this))},i}(e);iv=function(n){function i(t,i){this._o=t;this._s=i._s;this._d=i._d;this._q=[];n.call(this)}return t(i,n),i.prototype.next=function(n){var t=this._s.now();for(this._q.push({interval:t,value:n});this._q.length>0&&t-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){for(var n=this._s.now();this._q.length>0&&n-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},i}(o);i.skipLastWithTime=function(n,t){return v(t)||(t=k),new tv(this,n,t)};rv=function(n){function i(t,i,r){this.source=t;this._d=i;this._s=r;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return this.source.subscribe(new uv(n,this._d,this._s))},i}(e);uv=function(n){function i(t,i,r){this._o=t;this._d=i;this._s=r;this._q=[];n.call(this)}return t(i,n),i.prototype.next=function(n){var t=this._s.now();for(this._q.push({interval:t,value:n});this._q.length>0&&t-this._q[0].interval>=this._d;)this._q.shift()},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){for(var t=this._s.now(),n;this._q.length>0;)if(n=this._q.shift(),t-n.interval<=this._d)this._o.onNext(n.value);this._o.onCompleted()},i}(o);i.takeLastWithTime=function(n,t){return v(t)||(t=k),new rv(this,n,t)};i.takeLastBufferWithTime=function(n,t){var i=this;return v(t)||(t=k),new y(function(r){var u=[];return i.subscribe(function(i){var r=t.now();for(u.push({interval:r,value:i});u.length>0&&r-u[0].interval>=n;)u.shift()},function(n){r.onError(n)},function(){for(var e=t.now(),f=[],i;u.length>0;)i=u.shift(),e-i.interval<=n&&f.push(i.value);r.onNext(f);r.onCompleted()})},i)};fv=function(n){function i(t,i,r){this.source=t;this._d=i;this._s=r;n.call(this)}function r(n,t){t.onCompleted()}return t(i,n),i.prototype.subscribeCore=function(n){return new w(this._s.scheduleFuture(n,this._d,r),this.source.subscribe(n))},i}(e);i.takeWithTime=function(n,t){return v(t)||(t=k),new fv(this,n,t)};ev=function(n){function i(t,i,r){this.source=t;this._d=i;this._s=r;this._open=!1;n.call(this)}function r(n,t){t._open=!0}return t(i,n),i.prototype.subscribeCore=function(n){return new w(this._s.scheduleFuture(this,this._d,r),this.source.subscribe(new ov(n,this)))},i}(e);ov=function(n){function i(t,i){this._o=t;this._p=i;n.call(this)}return t(i,n),i.prototype.next=function(n){this._p._open&&this._o.onNext(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.skipWithTime=function(n,t){return v(t)||(t=k),new ev(this,n,t)};sv=function(n){function i(t,i,r){this.source=t;this._st=i;this._s=r;n.call(this)}function r(n,t){t._open=!0}return t(i,n),i.prototype.subscribeCore=function(n){return this._open=!1,new w(this._s.scheduleFuture(this,this._st,r),this.source.subscribe(new hv(n,this)))},i}(e);hv=function(n){function i(t,i){this._o=t;this._p=i;n.call(this)}return t(i,n),i.prototype.next=function(n){this._p._open&&this._o.onNext(n)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._o.onCompleted()},i}(o);i.skipUntilWithTime=function(n,t){return v(t)||(t=k),new sv(this,n,t)};i.takeUntilWithTime=function(n,t){v(t)||(t=k);var i=this;return new y(function(r){return new w(t.scheduleFuture(r,n,function(n,t){t.onCompleted()}),i.subscribe(r))},i)};i.throttle=function(n,t){var i,r;if(v(t)||(t=k),i=+n||0,i<=0)throw new RangeError("windowDuration cannot be less or equal zero.");return r=this,new y(function(n){var u=0;return r.subscribe(function(r){var f=t.now();if(u===0||f-u>=i){u=f;n.onNext(r)}},function(t){n.onError(t)},function(){n.onCompleted()})},r)};cv=function(n){function i(t,i){this._o=t;this._xform=i;n.call(this)}return t(i,n),i.prototype.next=function(n){var t=u(this._xform["@@transducer/step"]).call(this._xform,this._o,n);if(t===r)this._o.onError(t.e)},i.prototype.error=function(n){this._o.onError(n)},i.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},i}(o);i.transduce=function(n){var t=this;return new y(function(i){var r=n(lk(i));return t.subscribe(new cv(i,r))},t)};lv=function(n){function i(t){this.source=t;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){var i=new h,t=new it,r={hasCurrent:!1,isStopped:!1,o:n,g:t};return t.add(i),i.setDisposable(this.source.subscribe(new av(r))),t},i}(e);av=function(n){function i(t){this._s=t;n.call(this)}function r(t,i){this._s=t;this._i=i;n.call(this)}return t(i,n),i.prototype.next=function(n){if(!this._s.hasCurrent){this._s.hasCurrent=!0;a(n)&&(n=l(n));var t=new h;this._s.g.add(t);t.setDisposable(n.subscribe(new r(this._s,t)))}},i.prototype.error=function(n){this._s.o.onError(n)},i.prototype.completed=function(){this._s.isStopped=!0;this._s.hasCurrent||this._s.g.length!==1||this._s.o.onCompleted()},t(r,n),r.prototype.next=function(n){this._s.o.onNext(n)},r.prototype.error=function(n){this._s.o.onError(n)},r.prototype.completed=function(){this._s.g.remove(this._i);this._s.hasCurrent=!1;this._s.isStopped&&this._s.g.length===1&&this._s.o.onCompleted()},i}(o);i.switchFirst=function(){return new lv(this)};i.flatMapFirst=i.selectManyFirst=function(n,t,i){return new kr(this,n,t,i).switchFirst()};f.Observable.prototype.flatMapWithMaxConcurrent=function(n,t,i,r){return new kr(this,t,i,r).merge(n)};vv=f.VirtualTimeScheduler=function(n){function r(t,i){this.clock=t;this.comparer=i;this.isEnabled=!1;this.queue=new bi(1024);n.call(this)}t(r,n);var i=r.prototype;return i.now=function(){return this.toAbsoluteTime(this.clock)},i.schedule=function(n,t){return this.scheduleAbsolute(n,this.clock,t)},i.scheduleFuture=function(n,t,i){var r=t instanceof Date?this.toRelativeTime(t-this.now()):this.toRelativeTime(t);return this.scheduleRelative(n,r,i)},i.add=hi,i.toAbsoluteTime=hi,i.toRelativeTime=hi,i.schedulePeriodic=function(n,t,i){var r=new np(this,n,t,i);return r.start()},i.scheduleRelative=function(n,t,i){var r=this.add(this.clock,t);return this.scheduleAbsolute(n,r,i)},i.start=function(){if(!this.isEnabled){this.isEnabled=!0;do{var n=this.getNext();n!==null?(this.comparer(n.dueTime,this.clock)>0&&(this.clock=n.dueTime),n.invoke()):this.isEnabled=!1}while(this.isEnabled)}},i.stop=function(){this.isEnabled=!1},i.advanceTo=function(n){var i=this.comparer(this.clock,n),t;if(this.comparer(this.clock,n)>0)throw new ht;if(i!==0&&!this.isEnabled){this.isEnabled=!0;do t=this.getNext(),t!==null&&this.comparer(t.dueTime,n)<=0?(this.comparer(t.dueTime,this.clock)>0&&(this.clock=t.dueTime),t.invoke()):this.isEnabled=!1;while(this.isEnabled);this.clock=n}},i.advanceBy=function(n){var t=this.add(this.clock,n),i=this.comparer(this.clock,t);if(i>0)throw new ht;i!==0&&this.advanceTo(t)},i.sleep=function(n){var t=this.add(this.clock,n);if(this.comparer(this.clock,t)>=0)throw new ht;this.clock=t},i.getNext=function(){while(this.queue.length>0){var n=this.queue.peek();if(n.isCancelled())this.queue.dequeue();else return n}return null},i.scheduleAbsolute=function(n,t,i){function f(n,t){return u.queue.remove(r),i(n,t)}var u=this,r=new ai(this,n,f,t,this.comparer);return this.queue.enqueue(r),r.disposable},r}(lt);f.HistoricalScheduler=function(n){function i(t,i){var r=t==null?0:t,u=i||ar;n.call(this,r,u)}t(i,n);var r=i.prototype;return r.add=function(n,t){return n+t},r.toAbsoluteTime=function(n){return new Date(n).getTime()},r.toRelativeTime=function(n){return n},i}(f.VirtualTimeScheduler);yv.prototype.equals=function(n){return n===this?!0:n==null?!1:n.kind!=="N"?!1:this.predicate(n.value)};pv.prototype.equals=function(n){return n===this?!0:n==null?!1:n.kind!=="E"?!1:this.predicate(n.error)};uu=f.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(n,t){return typeof t=="function"?new bt(n,new yv(t)):new bt(n,ct.createOnNext(t))},onError:function(n,t){return typeof t=="function"?new bt(n,new pv(t)):new bt(n,ct.createOnError(t))},onCompleted:function(n){return new bt(n,ct.createOnCompleted())},subscribe:function(n,t){return new kt(n,t)}};bt=f.Recorded=function(n,t,i){this.time=n;this.value=t;this.comparer=i||lr};bt.prototype.equals=function(n){return this.time===n.time&&this.comparer(this.value,n.value)};bt.prototype.toString=function(){return this.value.toString()+"@"+this.time};kt=f.Subscription=function(n,t){this.subscribe=n;this.unsubscribe=t||Number.MAX_VALUE};kt.prototype.equals=function(n){return this.subscribe===n.subscribe&&this.unsubscribe===n.unsubscribe};kt.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"};wv=f.MockDisposable=function(n){this.scheduler=n;this.disposes=[];this.disposes.push(this.scheduler.clock)};wv.prototype.dispose=function(){this.disposes.push(this.scheduler.clock)};bv=function(n){function i(t){n.call(this);this.scheduler=t;this.messages=[]}t(i,n);var r=i.prototype;return r.onNext=function(n){this.messages.push(new bt(this.scheduler.clock,ct.createOnNext(n)))},r.onError=function(n){this.messages.push(new bt(this.scheduler.clock,ct.createOnError(n)))},r.onCompleted=function(){this.messages.push(new bt(this.scheduler.clock,ct.createOnCompleted()))},i}(st);hr.prototype.then=function(t,i){var r=this,u,o,e;return this.subscriptions.push(new kt(this.scheduler.clock)),u=this.subscriptions.length-1,e=f.Observer.create(function(i){var s=t(i),h,c;s&&typeof s.then=="function"?o=s:(h=r.scheduler.clock,o=new hr(r.scheduler,[f.ReactiveTest.onNext(h,n),f.ReactiveTest.onCompleted(h)]));c=r.observers.indexOf(e);r.observers.splice(c,1);r.subscriptions[u]=new kt(r.subscriptions[u].subscribe,r.scheduler.clock)},function(n){i(n);var t=r.observers.indexOf(e);r.observers.splice(t,1);r.subscriptions[u]=new kt(r.subscriptions[u].subscribe,r.scheduler.clock)}),this.observers.push(e),o||new hr(this.scheduler,this.messages)};kv=function(n){function i(t,i){var u,f,e,r,o;for(n.call(this),e=this,this.scheduler=t,this.messages=i,this.subscriptions=[],this.observers=[],r=0,o=this.messages.length;r<o;r++)u=this.messages[r],f=u.value,function(n){t.scheduleAbsolute(null,u.time,function(){for(var i=e.observers.slice(0),t=0,r=i.length;t<r;t++)n.accept(i[t]);return b})}(f)}return t(i,n),i.prototype._subscribe=function(n){var t=this,i;return this.observers.push(n),this.subscriptions.push(new kt(this.scheduler.clock)),i=this.subscriptions.length-1,ui(function(){var r=t.observers.indexOf(n);t.observers.splice(r,1);t.subscriptions[i]=new kt(t.subscriptions[i].subscribe,t.scheduler.clock)})},i}(s);dv=function(n){function i(t,i){n.call(this);this.scheduler=t;this.messages=i;this.subscriptions=[]}return t(i,n),i.prototype._subscribe=function(n){var r,e,t=this,u,f,i,o;for(this.subscriptions.push(new kt(this.scheduler.clock)),u=this.subscriptions.length-1,f=new it,i=0,o=this.messages.length;i<o;i++)r=this.messages[i],e=r.value,function(i){f.add(t.scheduler.scheduleRelative(null,r.time,function(){return i.accept(n),b}))}(e);return ui(function(){t.subscriptions[u]=new kt(t.subscriptions[u].subscribe,t.scheduler.clock);f.dispose()})},i}(s);f.TestScheduler=function(n){function r(n,t){return n>t?1:n<t?-1:0}function i(){n.call(this,0,r)}return t(i,n),i.prototype.scheduleAbsolute=function(t,i,r){return i<=this.clock&&(i=this.clock+1),n.prototype.scheduleAbsolute.call(this,t,i,r)},i.prototype.add=function(n,t){return n+t},i.prototype.toAbsoluteTime=function(n){return new Date(n).getTime()},i.prototype.toRelativeTime=function(n){return n},i.prototype.startScheduler=function(n,t){t||(t={});t.created==null&&(t.created=uu.created);t.subscribed==null&&(t.subscribed=uu.subscribed);t.disposed==null&&(t.disposed=uu.disposed);var i=this.createObserver(),r,u;return this.scheduleAbsolute(null,t.created,function(){return r=n(),b}),this.scheduleAbsolute(null,t.subscribed,function(){return u=r.subscribe(i),b}),this.scheduleAbsolute(null,t.disposed,function(){return u.dispose(),b}),this.start(),i},i.prototype.createHotObservable=function(){var i=arguments.length,t,n;if(Array.isArray(arguments[0]))t=arguments[0];else for(t=new Array(i),n=0;n<i;n++)t[n]=arguments[n];return new kv(this,t)},i.prototype.createColdObservable=function(){var i=arguments.length,t,n;if(Array.isArray(arguments[0]))t=arguments[0];else for(t=new Array(i),n=0;n<i;n++)t[n]=arguments[n];return new dv(this,t)},i.prototype.createResolvedPromise=function(n,t){return new hr(this,[f.ReactiveTest.onNext(n,t),f.ReactiveTest.onCompleted(n)])},i.prototype.createRejectedPromise=function(n,t){return new hr(this,[f.ReactiveTest.onError(n,t)])},i.prototype.createObserver=function(){return new bv(this)},i}(vv);var y=f.AnonymousObservable=function(n){function e(n){return n&&c(n.dispose)?n:c(n)?ui(n):b}function f(n,t){var i=t[0],f=t[1],o=u(f.__subscribe).call(f,i);o!==r||i.fail(r.e)||ft(r.e);i.setDisposable(e(o))}function i(t,i){this.source=i;this.__subscribe=t;n.call(this)}return t(i,n),i.prototype._subscribe=function(n){var t=new gv(n),i=[t,this];return ut.scheduleRequired()?ut.schedule(i,f):f(null,i),t},i}(s),gv=function(n){function f(t){n.call(this);this.observer=t;this.m=new h}t(f,n);var i=f.prototype;return i.next=function(n){var t=u(this.observer.onNext).call(this.observer,n);t===r&&(this.dispose(),ft(t.e))},i.error=function(n){var t=u(this.observer.onError).call(this.observer,n);this.dispose();t===r&&ft(t.e)},i.completed=function(){var n=u(this.observer.onCompleted).call(this.observer);this.dispose();n===r&&ft(n.e)},i.setDisposable=function(n){this.m.setDisposable(n)},i.getDisposable=function(){return this.m.getDisposable()},i.dispose=function(){n.prototype.dispose.call(this);this.m.dispose()},f}(o),ak=function(n){function i(t,i){this._m=t;this._u=i;n.call(this)}return t(i,n),i.prototype.subscribeCore=function(n){return new w(this._m.getDisposable(),this._u.subscribe(n))},i}(e),ny=function(n){function i(t,i,r){n.call(this);this.key=t;this.underlyingObservable=r?new ak(r,i):i}return t(i,n),i.prototype._subscribe=function(n){return this.underlyingObservable.subscribe(n)},i}(s),rt=f.Subject=function(n){function i(){n.call(this);this.isDisposed=!1;this.isStopped=!1;this.observers=[];this.hasError=!1}return t(i,n),ci(i.prototype,st.prototype,{_subscribe:function(n){if(et(this),!this.isStopped)return this.observers.push(n),new er(this,n);if(this.hasError){n.onError(this.error);return b}return n.onCompleted(),b},hasObservers:function(){return this.observers.length>0},onCompleted:function(){if(et(this),!this.isStopped){this.isStopped=!0;for(var n=0,t=yt(this.observers),i=t.length;n<i;n++)t[n].onCompleted();this.observers.length=0}},onError:function(n){if(et(this),!this.isStopped){this.isStopped=!0;this.error=n;this.hasError=!0;for(var t=0,i=yt(this.observers),r=i.length;t<r;t++)i[t].onError(n);this.observers.length=0}},onNext:function(n){if(et(this),!this.isStopped)for(var t=0,i=yt(this.observers),r=i.length;t<r;t++)i[t].onNext(n)},dispose:function(){this.isDisposed=!0;this.observers=null}}),i.create=function(n,t){return new vk(n,t)},i}(s),di=f.AsyncSubject=function(n){function i(){n.call(this);this.isDisposed=!1;this.isStopped=!1;this.hasValue=!1;this.observers=[];this.hasError=!1}return t(i,n),ci(i.prototype,st.prototype,{_subscribe:function(n){if(et(this),!this.isStopped)return this.observers.push(n),new er(this,n);if(this.hasError)n.onError(this.error);else if(this.hasValue){n.onNext(this.value);n.onCompleted()}else n.onCompleted();return b},hasObservers:function(){return et(this),this.observers.length>0},onCompleted:function(){var n,i,t,r;if(et(this),!this.isStopped){if(this.isStopped=!0,i=yt(this.observers),t=i.length,this.hasValue)for(n=0;n<t;n++){r=i[n];r.onNext(this.value);r.onCompleted()}else for(n=0;n<t;n++)i[n].onCompleted();this.observers.length=0}},onError:function(n){if(et(this),!this.isStopped){this.isStopped=!0;this.hasError=!0;this.error=n;for(var t=0,i=yt(this.observers),r=i.length;t<r;t++)i[t].onError(n);this.observers.length=0}},onNext:function(n){(et(this),this.isStopped)||(this.value=n,this.hasValue=!0)},dispose:function(){this.isDisposed=!0;this.observers=null;this.error=null;this.value=null}}),i}(s),ty=f.BehaviorSubject=function(n){function i(t){n.call(this);this.value=t;this.observers=[];this.isDisposed=!1;this.isStopped=!1;this.hasError=!1}return t(i,n),ci(i.prototype,st.prototype,{_subscribe:function(n){if(et(this),!this.isStopped){this.observers.push(n);n.onNext(this.value);return new er(this,n)}if(this.hasError)n.onError(this.error);else n.onCompleted();return b},getValue:function(){return et(this),this.hasError&&ft(this.error),this.value},hasObservers:function(){return this.observers.length>0},onCompleted:function(){if(et(this),!this.isStopped){this.isStopped=!0;for(var n=0,t=yt(this.observers),i=t.length;n<i;n++)t[n].onCompleted();this.observers.length=0}},onError:function(n){if(et(this),!this.isStopped){this.isStopped=!0;this.hasError=!0;this.error=n;for(var t=0,i=yt(this.observers),r=i.length;t<r;t++)i[t].onError(n);this.observers.length=0}},onNext:function(n){if(et(this),!this.isStopped){this.value=n;for(var t=0,i=yt(this.observers),r=i.length;t<r;t++)i[t].onNext(n)}},dispose:function(){this.isDisposed=!0;this.observers=null;this.value=null;this.error=null}}),i}(s),iy=f.ReplaySubject=function(n){function u(n,t){return ui(function(){t.dispose();n.isDisposed||n.observers.splice(n.observers.indexOf(t),1)})}function i(t,i,u){this.bufferSize=t==null?r:t;this.windowSize=i==null?r:i;this.scheduler=u||ut;this.q=[];this.observers=[];this.isStopped=!1;this.isDisposed=!1;this.hasError=!1;this.error=null;n.call(this)}var r=Math.pow(2,53)-1;return t(i,n),ci(i.prototype,st.prototype,{_subscribe:function(n){var t,r,i,f;for(et(this),t=new ae(this.scheduler,n),r=u(this,t),this._trim(this.scheduler.now()),this.observers.push(t),i=0,f=this.q.length;i<f;i++)t.onNext(this.q[i].value);if(this.hasError)t.onError(this.error);else this.isStopped&&t.onCompleted();return t.ensureActive(),r},hasObservers:function(){return this.observers.length>0},_trim:function(n){while(this.q.length>this.bufferSize)this.q.shift();while(this.q.length>0&&n-this.q[0].interval>this.windowSize)this.q.shift()},onNext:function(n){var t,r;if(et(this),!this.isStopped){t=this.scheduler.now();this.q.push({interval:t,value:n});this._trim(t);for(var i=0,u=yt(this.observers),f=u.length;i<f;i++){r=u[i];r.onNext(n);r.ensureActive()}}},onError:function(n){var r,i;if(et(this),!this.isStopped){this.isStopped=!0;this.error=n;this.hasError=!0;r=this.scheduler.now();this._trim(r);for(var t=0,u=yt(this.observers),f=u.length;t<f;t++){i=u[t];i.onError(n);i.ensureActive()}this.observers.length=0}},onCompleted:function(){var i,t;if(et(this),!this.isStopped){this.isStopped=!0;i=this.scheduler.now();this._trim(i);for(var n=0,r=yt(this.observers),u=r.length;n<u;n++)t=r[n],t.onCompleted(),t.ensureActive();this.observers.length=0}},dispose:function(){this.isDisposed=!0;this.observers=null}}),i}(s),vk=f.AnonymousSubject=function(n){function i(t,i){this.observer=t;this.observable=i;n.call(this)}return t(i,n),ci(i.prototype,st.prototype,{_subscribe:function(n){return this.observable.subscribe(n)},onCompleted:function(){this.observer.onCompleted()},onError:function(n){this.observer.onError(n)},onNext:function(n){this.observer.onNext(n)}}),i}(s);f.Pauser=function(n){function i(){n.call(this)}return t(i,n),i.prototype.pause=function(){this.onNext(!1)},i.prototype.resume=function(){this.onNext(!0)},i}(rt);typeof define=="function"&&typeof define.amd=="object"&&define.amd?(p.Rx=f,define(function(){return f})):nr&&tr?cf?(tr.exports=f).Rx=f:nr.Rx=f:p.Rx=f;ry=yf()}.call(this),function(n){function o(i,r,f,o){var s={data:o||o===0||o===!1?o:r?r.data:{},_wrap:r?r._wrap:null,tmpl:null,parent:r||null,nodes:[],calls:d,nest:g,wrap:nt,html:tt,update:it};return i&&n.extend(s,i,{nodes:[],parent:r}),f&&(s.tmpl=f,s._ctnt=s._ctnt||s.tmpl(n,s),s.key=++e,(c.length?u:t)[e]=s),s}function s(t,i,u){var f,e=u?n.map(u,function(n){return typeof n=="string"?t.key?n.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+r+'="'+t.key+'" $2'):n:s(n,t,n._ctnt)}):t;return i?e:(e=e.join(""),e.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(t,i,r,u){f=n(r).get();b(f);i&&(f=l(i).concat(f));u&&(f=f.concat(l(u)))}),f?f:l(e))}function l(t){var i=document.createElement("div");return i.innerHTML=t,n.makeArray(i.childNodes)}function p(t){return new Function("jQuery","$item","var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('"+n.trim(t).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(t,i,r,u,f,e,o){var c=n.tmpl.tag[r],l,s,a;if(!c)throw"Unknown template tag: "+r;return l=c._default||[],e&&!/\w$/.test(f)&&(f+=e,e=""),f?(f=h(f),o=o?","+h(o)+")":e?")":"",s=e?f.indexOf(".")>-1?f+h(e):"("+f+").call($item"+o:f,a=e?s:"(typeof("+f+")==='function'?("+f+").call($item):("+f+"))"):a=s=l.$1||"null",u=h(u),"');"+c[i?"close":"open"].split("$notnull_1").join(f?"typeof("+f+")!=='undefined' && ("+f+")!=null":"true").split("$1a").join(a).split("$1").join(s).split("$2").join(u||l.$2||"")+"__.push('"})+"');}return __;")}function w(t,i){t._wrap=s(t,!0,n.isArray(i)?i:[v.test(i)?i:n(i).html()]).join("")}function h(n){return n?n.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function k(n){var t=document.createElement("div");return t.appendChild(n.cloneNode(!0)),t.innerHTML}function b(f){function p(f){function p(n){n=n+a;s=v[n]=v[n]||o(s,t[s.parent.key+a]||s.parent)}var y,h=f,c,s,l;if(l=f.getAttribute(r)){while(h.parentNode&&(h=h.parentNode).nodeType===1&&!(y=h.getAttribute(r)));y!==l&&(h=h.parentNode?h.nodeType===11?0:h.getAttribute(r)||0:0,(s=t[l])||(s=u[l],s=o(s,t[h]||u[h]),s.key=++e,t[e]=s),i&&p(l));f.removeAttribute(r)}else i&&(s=n.data(f,"tmplItem"))&&(p(s.key),t[s.key]=s,h=n.data(f.parentNode,"tmplItem"),h=h?h.key:0);if(s){for(c=s;c&&c.key!=h;)c.nodes.push(f),c=c.parent;delete s._ctnt;delete s._wrap;n.data(f,"tmplItem",s)}}for(var a="_"+i,c,l,v={},h,s=0,y=f.length;s<y;s++)if((c=f[s]).nodeType===1){for(l=c.getElementsByTagName("*"),h=l.length-1;h>=0;h--)p(l[h]);p(c)}}function d(n,t,i,r){if(!n)return c.pop();c.push({_:n,tmpl:t,item:this,data:i,options:r})}function g(t,i,r){return n.tmpl(n.template(t),i,r,this)}function nt(t,i){var r=t.options||{};return r.wrapped=i,n.tmpl(n.template(t.tmpl),t.data,r,t.item)}function tt(t,i){var r=this._wrap;return n.map(n(n.isArray(r)?r.join(""):r).filter(t||"*"),function(n){return i?n.innerText||n.textContent:n.outerHTML||k(n)})}function it(){var t=this.nodes;n.tmpl(null,null,null,this).insertBefore(t[0]);n(t).remove()}var a=n.fn.domManip,r="_tmplitem",v=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,t={},u={},f,y={key:0,data:{}},e=0,i=0,c=[];n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(r,u){n.fn[r]=function(e){var o=[],h=n(e),c,s,a,v,l=this.length===1&&this[0].parentNode;if(f=t||{},l&&l.nodeType===11&&l.childNodes.length===1&&h.length===1)h[u](this[0]),o=this;else{for(s=0,a=h.length;s<a;s++)i=s,c=(s>0?this.clone(!0):this).get(),n(h[s])[u](c),o=o.concat(c);i=0;o=this.pushStack(o,r,h.selector)}return v=f,f=null,n.tmpl.complete(v),o}});n.fn.extend({tmpl:function(t,i,r){return n.tmpl(this[0],t,i,r)},tmplItem:function(){return n.tmplItem(this[0])},template:function(t){return n.template(t,this[0])},domManip:function(r,u,e){if(r[0]&&n.isArray(r[0])){for(var o=n.makeArray(arguments),s=r[0],l=s.length,h=0,c;h<l&&!(c=n.data(s[h++],"tmplItem")););c&&i&&(o[2]=function(t){n.tmpl.afterManip(this,t,e)});a.apply(this,o)}else a.apply(this,arguments);return i=0,f||n.tmpl.complete(t),this}});n.extend({tmpl:function(i,r,f,e){var h,c=!e;if(c)e=y,i=n.template[i]||n.template(null,i),u={};else if(!i)return i=e.tmpl,t[e.key]=e,e.nodes=[],e.wrapped&&w(e,e.wrapped),n(s(e,null,e.tmpl(n,e)));return i?(typeof r=="function"&&(r=r.call(e||{})),f&&f.wrapped&&w(f,f.wrapped),h=n.isArray(r)?n.map(r,function(n){return n?o(f,e,i,n):null}):[o(f,e,i,r)],c?n(s(e,null,h)):h):[]},tmplItem:function(t){var i;for(t instanceof n&&(t=t[0]);t&&t.nodeType===1&&!(i=n.data(t,"tmplItem"))&&(t=t.parentNode););return i||y},template:function(t,i){return i?(typeof i=="string"?i=p(i):i instanceof n&&(i=i[0]||{}),i.nodeType&&(i=n.data(i,"tmpl")||n.data(i,"tmpl",p(i.innerHTML))),typeof t=="string"?n.template[t]=i:i):t?typeof t!="string"?n.template(null,t):n.template[t]||n.template(null,v.test(t)?t:n(t)):null},encode:function(n){return(""+n).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});n.extend(n.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(){t={}},afterManip:function(t,r,u){var f=r.nodeType===11?n.makeArray(r.childNodes):r.nodeType===1?[r]:[];u.call(t,r);b(f);i++}})}(jQuery),function(){(function(n){var r=this||eval("this"),t=r.document,f=r.navigator,i=r.jQuery,u=r.JSON;(function(n){"function"==typeof define&&define.amd?define(["exports","require"],n):"object"==typeof exports&&"object"==typeof module?n(module.exports||exports):n(r.ko={})})(function(e,o){function b(n,t){return null===n||typeof n in nt?n===t:!1}function tt(t,i){var r;return function(){r||(r=s.a.setTimeout(function(){r=n;t()},i))}}function it(n,t){var i;return function(){clearTimeout(i);i=s.a.setTimeout(n,t)}}function rt(n,t){t&&t!==p?"beforeChange"===t?this.Kb(n):this.Ha(n,t):this.Lb(n)}function ut(n,t){null!==t&&t.k&&t.k()}function ft(n,t){var i=this.Hc,r=i[h];r.R||(this.lb&&this.Ma[t]?(i.Pb(t,n,this.Ma[t]),this.Ma[t]=null,--this.lb):r.r[t]||i.Pb(t,n,r.s?{ia:n}:i.uc(n)))}function k(n,t,i,r){s.d[n]={init:function(n,u,f,e,o){var c,h;return s.m(function(){var l=s.a.c(u()),f=!i!=!l,e=!h;(e||t||f!==c)&&(e&&s.va.Aa()&&(h=s.a.ua(s.f.childNodes(n),!0)),f?(e||s.f.da(n,s.a.ua(h)),s.eb(r?r(o,l):o,n)):s.f.xa(n),c=f)},null,{i:n}),{controlsDescendantBindings:!0}}};s.h.ta[n]=!1;s.f.Z[n]=!0}var s="undefined"!=typeof e?e:{},nt,p,l,v,a,y,h,d,g,w;s.b=function(n,t){for(var i=n.split("."),r=s,u=0;u<i.length-1;u++)r=r[i[u]];r[i[i.length-1]]=t};s.G=function(n,t,i){n[t]=i};s.version="3.4.0";s.b("version",s.version);s.options={deferUpdates:!1,useOnlyNativeEvents:!1};s.a=function(){function o(n,t){for(var i in n)n.hasOwnProperty(i)&&t(i,n[i])}function l(n,t){if(t)for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n}function a(n,t){return n.__proto__=t,n}function v(n,t,i,r){var u=n[t].match(c)||[];s.a.q(i.match(c),function(n){s.a.pa(u,n,r)});n[t]=u.join(" ")}var y={__proto__:[]}instanceof Array,w="function"==typeof Symbol,h={},p={};h[f&&/Firefox\/2/i.test(f.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"];h.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" ");o(h,function(n,t){if(t.length)for(var i=0,r=t.length;i<r;i++)p[t[i]]=n});var b={propertychange:!0},e=t&&function(){for(var i=3,r=t.createElement("div"),u=r.getElementsByTagName("i");r.innerHTML="<!--[if gt IE "+ ++i+"]><i><\/i><![endif]-->",u[0];);return 4<i?i:n}(),c=/\S+/g;return{cc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],q:function(n,t){for(var i=0,r=n.length;i<r;i++)t(n[i],i)},o:function(n,t){if("function"==typeof Array.prototype.indexOf)return Array.prototype.indexOf.call(n,t);for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},Sb:function(n,t,i){for(var r=0,u=n.length;r<u;r++)if(t.call(i,n[r],r))return n[r];return null},La:function(n,t){var i=s.a.o(n,t);0<i?n.splice(i,1):0===i&&n.shift()},Tb:function(n){n=n||[];for(var i=[],t=0,r=n.length;t<r;t++)0>s.a.o(i,n[t])&&i.push(n[t]);return i},fb:function(n,t){n=n||[];for(var r=[],i=0,u=n.length;i<u;i++)r.push(t(n[i],i));return r},Ka:function(n,t){n=n||[];for(var r=[],i=0,u=n.length;i<u;i++)t(n[i],i)&&r.push(n[i]);return r},ra:function(n,t){if(t instanceof Array)n.push.apply(n,t);else for(var i=0,r=t.length;i<r;i++)n.push(t[i]);return n},pa:function(n,t,i){var r=s.a.o(s.a.zb(n),t);0>r?i&&n.push(t):i||n.splice(r,1)},ka:y,extend:l,Xa:a,Ya:y?a:l,D:o,Ca:function(n,t){if(!n)return n;var r={},i;for(i in n)n.hasOwnProperty(i)&&(r[i]=t(n[i],i,n));return r},ob:function(n){for(;n.firstChild;)s.removeNode(n.firstChild)},jc:function(n){n=s.a.V(n);for(var r=(n[0]&&n[0].ownerDocument||t).createElement("div"),i=0,u=n.length;i<u;i++)r.appendChild(s.$(n[i]));return r},ua:function(n,t){for(var r,i=0,f=n.length,u=[];i<f;i++)r=n[i].cloneNode(!0),u.push(t?s.$(r):r);return u},da:function(n,t){if(s.a.ob(n),t)for(var i=0,r=t.length;i<r;i++)n.appendChild(t[i])},qc:function(n,t){var r=n.nodeType?[n]:n;if(0<r.length){for(var f=r[0],e=f.parentNode,i=0,u=t.length;i<u;i++)e.insertBefore(t[i],f);for(i=0,u=r.length;i<u;i++)s.removeNode(r[i])}},za:function(n,t){if(n.length){for(t=8===t.nodeType&&t.parentNode||t;n.length&&n[0].parentNode!==t;)n.splice(0,1);for(;1<n.length&&n[n.length-1].parentNode!==t;)n.length--;if(1<n.length){var i=n[0],r=n[n.length-1];for(n.length=0;i!==r;)n.push(i),i=i.nextSibling;n.push(r)}}return n},sc:function(n,t){7>e?n.setAttribute("selected",t):n.selected=t},$a:function(t){return null===t||t===n?"":t.trim?t.trim():t.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},nd:function(n,t){return n=n||"",t.length>n.length?!1:n.substring(0,t.length)===t},Mc:function(n,t){if(n===t)return!0;if(11===n.nodeType)return!1;if(t.contains)return t.contains(3===n.nodeType?n.parentNode:n);if(t.compareDocumentPosition)return 16==(t.compareDocumentPosition(n)&16);for(;n&&n!=t;)n=n.parentNode;return!!n},nb:function(n){return s.a.Mc(n,n.ownerDocument.documentElement)},Qb:function(n){return!!s.a.Sb(n,s.a.nb)},A:function(n){return n&&n.tagName&&n.tagName.toLowerCase()},Wb:function(n){return s.onError?function(){try{return n.apply(this,arguments)}catch(t){throw s.onError&&s.onError(t),t;}}:n},setTimeout:function(n,t){return setTimeout(s.a.Wb(n),t)},$b:function(n){setTimeout(function(){s.onError&&s.onError(n);throw n;},0)},p:function(n,t,r){var u=s.a.Wb(r),f,o;if(r=e&&b[t],s.options.useOnlyNativeEvents||r||!i)if(r||"function"!=typeof n.addEventListener)if("undefined"!=typeof n.attachEvent)f=function(t){u.call(n,t)},o="on"+t,n.attachEvent(o,f),s.a.F.oa(n,function(){n.detachEvent(o,f)});else throw Error("Browser doesn't support addEventListener or attachEvent");else n.addEventListener(t,u,!1);else i(n).bind(t,u)},Da:function(n,u){if(!n||!n.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var f;if("input"===s.a.A(n)&&n.type&&"click"==u.toLowerCase()?(f=n.type,f="checkbox"==f||"radio"==f):f=!1,s.options.useOnlyNativeEvents||!i||f)if("function"==typeof t.createEvent)if("function"==typeof n.dispatchEvent)f=t.createEvent(p[u]||"HTMLEvents"),f.initEvent(u,!0,!0,r,0,0,0,0,0,!1,!1,!1,!1,0,n),n.dispatchEvent(f);else throw Error("The supplied element doesn't support dispatchEvent");else if(f&&n.click)n.click();else if("undefined"!=typeof n.fireEvent)n.fireEvent("on"+u);else throw Error("Browser doesn't support triggering events");else i(n).trigger(u)},c:function(n){return s.H(n)?n():n},zb:function(n){return s.H(n)?n.t():n},bb:function(n,t,i){var r;t&&("object"==typeof n.classList?(r=n.classList[i?"add":"remove"],s.a.q(t.match(c),function(t){r.call(n.classList,t)})):"string"==typeof n.className.baseVal?v(n.className,"baseVal",t,i):v(n,"className",t,i))},Za:function(t,i){var r=s.a.c(i),u;(null===r||r===n)&&(r="");u=s.f.firstChild(t);!u||3!=u.nodeType||s.f.nextSibling(u)?s.f.da(t,[t.ownerDocument.createTextNode(r)]):u.data=r;s.a.Rc(t)},rc:function(n,i){if(n.name=i,7>=e)try{n.mergeAttributes(t.createElement("<input name='"+n.name+"'/>"),!1)}catch(r){}},Rc:function(n){9<=e&&(n=1==n.nodeType?n:n.parentNode,n.style&&(n.style.zoom=n.style.zoom))},Nc:function(n){if(e){var t=n.style.width;n.style.width=0;n.style.width=t}},hd:function(n,t){n=s.a.c(n);t=s.a.c(t);for(var r=[],i=n;i<=t;i++)r.push(i);return r},V:function(n){for(var i=[],t=0,r=n.length;t<r;t++)i.push(n[t]);return i},Yb:function(n){return w?Symbol(n):n},rd:6===e,sd:7===e,C:e,ec:function(n,t){for(var r=s.a.V(n.getElementsByTagName("input")).concat(s.a.V(n.getElementsByTagName("textarea"))),f="string"==typeof t?function(n){return n.name===t}:function(n){return t.test(n.name)},u=[],i=r.length-1;0<=i;i--)f(r[i])&&u.push(r[i]);return u},ed:function(n){return"string"==typeof n&&(n=s.a.$a(n))?u&&u.parse?u.parse(n):new Function("return "+n)():null},Eb:function(n,t,i){if(!u||!u.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return u.stringify(s.a.c(n),t,i)},fd:function(n,i,r){var c,e,h,f,u,l;r=r||{};var a=r.params||{},v=r.includeFields||this.cc,c=n;if("object"==typeof n&&"form"===s.a.A(n))for(c=n.action,e=v.length-1;0<=e;e--)for(h=s.a.ec(n,v[e]),f=h.length-1;0<=f;f--)a[h[f].name]=h[f].value;i=s.a.c(i);u=t.createElement("form");u.style.display="none";u.action=c;u.method="post";for(l in i)n=t.createElement("input"),n.type="hidden",n.name=l,n.value=s.a.Eb(s.a.c(i[l])),u.appendChild(n);o(a,function(n,i){var r=t.createElement("input");r.type="hidden";r.name=n;r.value=i;u.appendChild(r)});t.body.appendChild(u);r.submitter?r.submitter(u):u.submit();setTimeout(function(){u.parentNode.removeChild(u)},0)}}}();s.b("utils",s.a);s.b("utils.arrayForEach",s.a.q);s.b("utils.arrayFirst",s.a.Sb);s.b("utils.arrayFilter",s.a.Ka);s.b("utils.arrayGetDistinctValues",s.a.Tb);s.b("utils.arrayIndexOf",s.a.o);s.b("utils.arrayMap",s.a.fb);s.b("utils.arrayPushAll",s.a.ra);s.b("utils.arrayRemoveItem",s.a.La);s.b("utils.extend",s.a.extend);s.b("utils.fieldsIncludedWithJsonPost",s.a.cc);s.b("utils.getFormFields",s.a.ec);s.b("utils.peekObservable",s.a.zb);s.b("utils.postJson",s.a.fd);s.b("utils.parseJson",s.a.ed);s.b("utils.registerEventHandler",s.a.p);s.b("utils.stringifyJson",s.a.Eb);s.b("utils.range",s.a.hd);s.b("utils.toggleDomNodeCssClass",s.a.bb);s.b("utils.triggerEvent",s.a.Da);s.b("utils.unwrapObservable",s.a.c);s.b("utils.objectForEach",s.a.D);s.b("utils.addOrRemoveItem",s.a.pa);s.b("utils.setTextContent",s.a.Za);s.b("unwrap",s.a.c);Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i;return 1===arguments.length?function(){return t.apply(n,arguments)}:(i=Array.prototype.slice.call(arguments,1),function(){var r=i.slice(0);return r.push.apply(r,arguments),t.apply(n,r)})});s.a.e=new function(){function r(r,f){var e=r[t];if(!e||"null"===e||!i[e]){if(!f)return n;e=r[t]="ko"+u++;i[e]={}}return i[e]}var u=0,t="__ko__"+(new Date).getTime(),i={};return{get:function(t,i){var u=r(t,!1);return u===n?n:u[i]},set:function(t,i,u){(u!==n||r(t,!1)!==n)&&(r(t,!0)[i]=u)},clear:function(n){var r=n[t];return r?(delete i[r],n[t]=null,!0):!1},I:function(){return u+++t}}};s.b("utils.domData",s.a.e);s.b("utils.domData.clear",s.a.e.clear);s.a.F=new function(){function t(t,i){var r=s.a.e.get(t,u);return r===n&&i&&(r=[],s.a.e.set(t,u,r)),r}function r(n){var i=t(n,!1),u;if(i)for(i=i.slice(0),u=0;u<i.length;u++)i[u](n);if(s.a.e.clear(n),s.a.F.cleanExternalData(n),f[n.nodeType])for(i=n.firstChild;n=i;)i=n.nextSibling,8===n.nodeType&&r(n)}var u=s.a.e.I(),e={1:!0,8:!0,9:!0},f={1:!0,9:!0};return{oa:function(n,i){if("function"!=typeof i)throw Error("Callback must be a function");t(n,!0).push(i)},pc:function(i,r){var f=t(i,!1);f&&(s.a.La(f,r),0==f.length&&s.a.e.set(i,u,n))},$:function(n){var t,i,u;if(e[n.nodeType]&&(r(n),f[n.nodeType]))for(t=[],s.a.ra(t,n.getElementsByTagName("*")),i=0,u=t.length;i<u;i++)r(t[i]);return n},removeNode:function(n){s.$(n);n.parentNode&&n.parentNode.removeChild(n)},cleanExternalData:function(n){i&&"function"==typeof i.cleanData&&i.cleanData([n])}}};s.$=s.a.F.$;s.removeNode=s.a.F.removeNode;s.b("cleanNode",s.$);s.b("removeNode",s.removeNode);s.b("utils.domNodeDisposal",s.a.F);s.b("utils.domNodeDisposal.addDisposeCallback",s.a.F.oa);s.b("utils.domNodeDisposal.removeDisposeCallback",s.a.F.pc),function(){var h=[0,"",""],u=[1,"<table>","<\/table>"],f=[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],e=[1,"<select multiple='multiple'>","<\/select>"],c={thead:u,tbody:u,tfoot:u,tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:f,th:f,option:e,optgroup:e},o=8>=s.a.C;s.a.ma=function(n,u){var f,e;if(i){if(i.parseHTML)f=i.parseHTML(n,u)||[];else if((f=i.clean([n],u))&&f[0]){for(e=f[0];e.parentNode&&11!==e.parentNode.nodeType;)e=e.parentNode;e.parentNode&&e.parentNode.removeChild(e)}}else{(f=u)||(f=t);var e=f.parentWindow||f.defaultView||r,v=s.a.$a(n).toLowerCase(),l=f.createElement("div"),a;for(a=(v=v.match(/^<([a-z]+)[ >]/))&&c[v[1]]||h,v=a[0],a="ignored<div>"+a[1]+n+a[2]+"<\/div>","function"==typeof e.innerShiv?l.appendChild(e.innerShiv(a)):(o&&f.appendChild(l),l.innerHTML=a,o&&l.parentNode.removeChild(l));v--;)l=l.lastChild;f=s.a.V(l.lastChild.childNodes)}return f};s.a.Cb=function(t,r){if(s.a.ob(t),r=s.a.c(r),null!==r&&r!==n)if("string"!=typeof r&&(r=r.toString()),i)i(t).html(r);else for(var f=s.a.ma(r,t.ownerDocument),u=0;u<f.length;u++)t.appendChild(f[u])}}();s.b("utils.parseHtmlFragment",s.a.ma);s.b("utils.setHtml",s.a.Cb);s.M=function(){function i(n,t){var r;if(n)if(8==n.nodeType)r=s.M.lc(n.nodeValue),null!=r&&t.push({Lc:n,cd:r});else if(1==n.nodeType)for(var r=0,u=n.childNodes,f=u.length;r<f;r++)i(u[r],t)}var t={};return{wb:function(n){if("function"!=typeof n)throw Error("You can only pass a function to ko.memoization.memoize()");var i=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return t[i]=n,"<!--[ko_memo:"+i+"]-->"},xc:function(i,r){var u=t[i];if(u===n)throw Error("Couldn't find any memo with ID "+i+". Perhaps it's already been unmemoized.");try{return u.apply(null,r||[]),!0}finally{delete t[i]}},yc:function(n,t){var f=[],u,o,r,e;for(i(n,f),u=0,o=f.length;u<o;u++)r=f[u].Lc,e=[r],t&&s.a.ra(e,t),s.M.xc(f[u].cd,e),r.nodeValue="",r.parentNode&&r.parentNode.removeChild(r)},lc:function(n){return(n=n.match(/^\[ko_memo\:(.*?)\]$/))?n[1]:null}}}();s.b("memoization",s.M);s.b("memoization.memoize",s.M.wb);s.b("memoization.unmemoize",s.M.xc);s.b("memoization.parseMemoText",s.M.lc);s.b("memoization.unmemoizeDomNodeAndDescendants",s.M.yc);s.Y=function(){function f(){if(n)for(var t=n,r=0,f;i<n;)if(f=u[i++]){if(i>t){if(5e3<=++r){i=n;s.a.$b(Error("'Too much recursion' after processing "+r+" task groups."));break}t=n}try{f()}catch(e){s.a.$b(e)}}}function e(){f();i=n=u.length=0}var u=[],n=0,o=1,i=0;return{scheduler:r.MutationObserver?function(n){var i=t.createElement("div");return new MutationObserver(n).observe(i,{attributes:!0}),function(){i.classList.toggle("foo")}}(e):t&&"onreadystatechange"in t.createElement("script")?function(n){var i=t.createElement("script");i.onreadystatechange=function(){i.onreadystatechange=null;t.documentElement.removeChild(i);i=null;n()};t.documentElement.appendChild(i)}:function(n){setTimeout(n,0)},Wa:function(t){return n||s.Y.scheduler(e),u[n++]=t,o++},cancel:function(t){t-=o-n;t>=i&&t<n&&(u[t]=null)},resetForTesting:function(){var t=n-i;return i=n=u.length=0,t},md:f}}();s.b("tasks",s.Y);s.b("tasks.schedule",s.Y.Wa);s.b("tasks.runEarly",s.Y.md);s.ya={throttle:function(n,t){n.throttleEvaluation=t;var i=null;return s.B({read:n,write:function(r){clearTimeout(i);i=s.a.setTimeout(function(){n(r)},t)}})},rateLimit:function(n,t){var i,r,u;"number"==typeof t?i=t:(i=t.timeout,r=t.method);n.cb=!1;u="notifyWhenChangesStop"==r?it:tt;n.Ta(function(n){return u(n,i)})},deferred:function(t,i){if(!0!==i)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");t.cb||(t.cb=!0,t.Ta(function(i){var r;return function(){s.Y.cancel(r);r=s.Y.Wa(i);t.notifySubscribers(n,"dirty")}}))},notify:function(n,t){n.equalityComparer="always"==t?null:b}};nt={undefined:1,boolean:1,number:1,string:1};s.b("extenders",s.ya);s.vc=function(n,t,i){this.ia=n;this.gb=t;this.Kc=i;this.R=!1;s.G(this,"dispose",this.k)};s.vc.prototype.k=function(){this.R=!0;this.Kc()};s.J=function(){s.a.Ya(this,l);l.rb(this)};p="change";l={rb:function(n){n.K={};n.Nb=1},X:function(n,t,i){var r=this,u;return i=i||p,u=new s.vc(r,t?n.bind(t):n,function(){s.a.La(r.K[i],u);r.Ia&&r.Ia(i)}),r.sa&&r.sa(i),r.K[i]||(r.K[i]=[]),r.K[i].push(u),u},notifySubscribers:function(n,t){if(t=t||p,t===p&&this.zc(),this.Pa(t))try{s.l.Ub();for(var u=this.K[t].slice(0),r=0,i;i=u[r];++r)i.R||i.gb(n)}finally{s.l.end()}},Na:function(){return this.Nb},Uc:function(n){return this.Na()!==n},zc:function(){++this.Nb},Ta:function(n){var t=this,e=s.H(t),r,u,i,f;t.Ha||(t.Ha=t.notifySubscribers,t.notifySubscribers=rt);f=n(function(){t.Mb=!1;e&&i===t&&(i=t());r=!1;t.tb(u,i)&&t.Ha(u=i)});t.Lb=function(n){t.Mb=r=!0;i=n;f()};t.Kb=function(n){r||(u=n,t.Ha(n,"beforeChange"))}},Pa:function(n){return this.K[n]&&this.K[n].length},Sc:function(n){if(n)return this.K[n]&&this.K[n].length||0;var t=0;return s.a.D(this.K,function(n,i){"dirty"!==n&&(t+=i.length)}),t},tb:function(n,t){return!this.equalityComparer||!this.equalityComparer(n,t)},extend:function(n){var t=this;return n&&s.a.D(n,function(n,i){var r=s.ya[n];"function"==typeof r&&(t=r(t,i)||t)}),t}};s.G(l,"subscribe",l.X);s.G(l,"extend",l.extend);s.G(l,"getSubscriptionsCount",l.Sc);s.a.ka&&s.a.Xa(l,Function.prototype);s.J.fn=l;s.hc=function(n){return null!=n&&"function"==typeof n.X&&"function"==typeof n.notifySubscribers};s.b("subscribable",s.J);s.b("isSubscribable",s.hc);s.va=s.l=function(){function t(t){r.push(n);n=t}function i(){n=r.pop()}var r=[],n,u=0;return{Ub:t,end:i,oc:function(t){if(n){if(!s.hc(t))throw Error("Only subscribable things can act as dependencies");n.gb.call(n.Gc,t,t.Cc||(t.Cc=++u))}},w:function(n,r,u){try{return t(),n.apply(r,u||[])}finally{i()}},Aa:function(){if(n)return n.m.Aa()},Sa:function(){if(n)return n.Sa}}}();s.b("computedContext",s.va);s.b("computedContext.getDependenciesCount",s.va.Aa);s.b("computedContext.isInitial",s.va.Sa);s.b("ignoreDependencies",s.qd=s.l.w);v=s.a.Yb("_latestValue");s.N=function(n){function t(){return 0<arguments.length?(t.tb(t[v],arguments[0])&&(t.ga(),t[v]=arguments[0],t.fa()),this):(s.l.oc(t),t[v])}return t[v]=n,s.a.ka||s.a.extend(t,s.J.fn),s.J.fn.rb(t),s.a.Ya(t,a),s.options.deferUpdates&&s.ya.deferred(t,!0),t};a={equalityComparer:b,t:function(){return this[v]},fa:function(){this.notifySubscribers(this[v])},ga:function(){this.notifySubscribers(this[v],"beforeChange")}};s.a.ka&&s.a.Xa(a,s.J.fn);y=s.N.gd="__ko_proto__";a[y]=s.N;s.Oa=function(t,i){return null===t||t===n||t[y]===n?!1:t[y]===i?!0:s.Oa(t[y],i)};s.H=function(n){return s.Oa(n,s.N)};s.Ba=function(n){return"function"==typeof n&&n[y]===s.N||"function"==typeof n&&n[y]===s.B&&n.Vc?!0:!1};s.b("observable",s.N);s.b("isObservable",s.H);s.b("isWriteableObservable",s.Ba);s.b("isWritableObservable",s.Ba);s.b("observable.fn",a);s.G(a,"peek",a.t);s.G(a,"valueHasMutated",a.fa);s.G(a,"valueWillMutate",a.ga);s.la=function(n){if(n=n||[],"object"!=typeof n||!("length"in n))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return n=s.N(n),s.a.Ya(n,s.la.fn),n.extend({trackArrayChanges:!0})};s.la.fn={remove:function(n){for(var u,r=this.t(),i=[],f="function"!=typeof n||s.H(n)?function(t){return t===n}:n,t=0;t<r.length;t++)u=r[t],f(u)&&(0===i.length&&this.ga(),i.push(u),r.splice(t,1),t--);return i.length&&this.fa(),i},removeAll:function(t){if(t===n){var i=this.t(),r=i.slice(0);return this.ga(),i.splice(0,i.length),this.fa(),r}return t?this.remove(function(n){return 0<=s.a.o(t,n)}):[]},destroy:function(n){var i=this.t(),r="function"!=typeof n||s.H(n)?function(t){return t===n}:n,t;for(this.ga(),t=i.length-1;0<=t;t--)r(i[t])&&(i[t]._destroy=!0);this.fa()},destroyAll:function(t){return t===n?this.destroy(function(){return!0}):t?this.destroy(function(n){return 0<=s.a.o(t,n)}):[]},indexOf:function(n){var t=this();return s.a.o(t,n)},replace:function(n,t){var i=this.indexOf(n);0<=i&&(this.ga(),this.t()[i]=t,this.fa())}};s.a.ka&&s.a.Xa(s.la.fn,s.N.fn);s.a.q("pop push reverse shift sort splice unshift".split(" "),function(n){s.la.fn[n]=function(){var t=this.t(),i;return this.ga(),this.Vb(t,n,arguments),i=t[n].apply(t,arguments),this.fa(),i===t?this:i}});s.a.q(["slice"],function(n){s.la.fn[n]=function(){var t=this();return t[n].apply(t,arguments)}});s.b("observableArray",s.la);s.ya.trackArrayChanges=function(n,t){function h(){var e,t;r||(r=!0,e=n.notifySubscribers,n.notifySubscribers=function(n,t){return t&&t!==p||++u,e.apply(this,arguments)},t=[].concat(n.t()||[]),i=null,f=n.X(function(r){if(r=[].concat(r||[]),n.Pa("arrayChange")){var f;(!i||1<u)&&(i=s.a.ib(t,r,n.hb));f=i}t=r;i=null;u=0;f&&f.length&&n.notifySubscribers(f,"arrayChange")}))}if(n.hb={},t&&"object"==typeof t&&s.a.extend(n.hb,t),n.hb.sparse=!0,!n.Vb){var r=!1,i=null,f,u=0,e=n.sa,o=n.Ia;n.sa=function(t){e&&e.call(n,t);"arrayChange"===t&&h()};n.Ia=function(t){o&&o.call(n,t);"arrayChange"!==t||n.Pa("arrayChange")||(f.k(),r=!1)};n.Vb=function(n,t,f){function c(n,t,i){return l[l.length]={status:n,value:t,index:i}}if(r&&!u){var l=[],e=n.length,h=f.length,o=0;switch(t){case"push":o=e;case"unshift":for(t=0;t<h;t++)c("added",f[t],o+t);break;case"pop":o=e-1;case"shift":e&&c("deleted",n[o],o);break;case"splice":t=Math.min(Math.max(0,0>f[0]?e+f[0]:f[0]),e);for(var e=1===h?e:Math.min(t+(f[1]||0),e),h=t+h-2,o=Math.max(e,h),a=[],v=[],y=2;t<o;++t,++y)t<e&&v.push(c("deleted",n[t],t)),t<h&&a.push(c("added",f[y],t));s.a.dc(v,a);break;default:return}i=l}}}};h=s.a.Yb("_state");s.m=s.B=function(t,i,r){function u(){if(0<arguments.length){if("function"==typeof e)e.apply(f.pb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return this}return s.l.oc(u),(f.S||f.s&&u.Qa())&&u.aa(),f.T}if("object"==typeof t?r=t:(r=r||{},t&&(r.read=t)),"function"!=typeof r.read)throw Error("Pass a function that returns the value of the ko.computed");var e=r.write,f={T:n,S:!0,Ra:!1,Fb:!1,R:!1,Va:!1,s:!1,jd:r.read,pb:i||r.owner,i:r.disposeWhenNodeIsRemoved||r.i||null,wa:r.disposeWhen||r.wa,mb:null,r:{},L:0,bc:null};return u[h]=f,u.Vc="function"==typeof e,s.a.ka||s.a.extend(u,s.J.fn),s.J.fn.rb(u),s.a.Ya(u,c),r.pure?(f.Va=!0,f.s=!0,s.a.extend(u,et)):r.deferEvaluation&&s.a.extend(u,ot),s.options.deferUpdates&&s.ya.deferred(u,!0),f.i&&(f.Fb=!0,f.i.nodeType||(f.i=null)),f.s||r.deferEvaluation||u.aa(),f.i&&u.ba()&&s.a.F.oa(f.i,f.mb=function(){u.k()}),u};var c={equalityComparer:b,Aa:function(){return this[h].L},Pb:function(n,t,i){if(this[h].Va&&t===this)throw Error("A 'pure' computed must not be called recursively");this[h].r[n]=i;i.Ga=this[h].L++;i.na=t.Na()},Qa:function(){var n,t,i=this[h].r;for(n in i)if(i.hasOwnProperty(n)&&(t=i[n],t.ia.Uc(t.na)))return!0},bd:function(){this.Fa&&!this[h].Ra&&this.Fa()},ba:function(){return this[h].S||0<this[h].L},ld:function(){this.Mb||this.ac()},uc:function(n){if(n.cb&&!this[h].i){var t=n.X(this.bd,this,"dirty"),i=n.X(this.ld,this);return{ia:n,k:function(){t.k();i.k()}}}return n.X(this.ac,this)},ac:function(){var n=this,t=n.throttleEvaluation;t&&0<=t?(clearTimeout(this[h].bc),this[h].bc=s.a.setTimeout(function(){n.aa(!0)},t)):n.Fa?n.Fa():n.aa(!0)},aa:function(n){var t=this[h],i=t.wa;if(!t.Ra&&!t.R){if(t.i&&!s.a.nb(t.i)||i&&i()){if(!t.Fb){this.k();return}}else t.Fb=!1;t.Ra=!0;try{this.Qc(n)}finally{t.Ra=!1}t.L||this.k()}},Qc:function(t){var i=this[h],u=i.Va?n:!i.L,r={Hc:this,Ma:i.r,lb:i.L};s.l.Ub({Gc:r,gb:ft,m:this,Sa:u});i.r={};i.L=0;r=this.Pc(i,r);this.tb(i.T,r)&&(i.s||this.notifySubscribers(i.T,"beforeChange"),i.T=r,i.s?this.zc():t&&this.notifySubscribers(i.T));u&&this.notifySubscribers(i.T,"awake")},Pc:function(n,t){try{var i=n.jd;return n.pb?i.call(n.pb):i()}finally{s.l.end();t.lb&&!n.s&&s.a.D(t.Ma,ut);n.S=!1}},t:function(){var n=this[h];return(n.S&&!n.L||n.s&&this.Qa())&&this.aa(),n.T},Ta:function(n){s.J.fn.Ta.call(this,n);this.Fa=function(){this.Kb(this[h].T);this[h].S=!0;this.Lb(this)}},k:function(){var n=this[h];!n.s&&n.r&&s.a.D(n.r,function(n,t){t.k&&t.k()});n.i&&n.mb&&s.a.F.pc(n.i,n.mb);n.r=null;n.L=0;n.R=!0;n.S=!1;n.s=!1;n.i=null}},et={sa:function(n){var i=this,t=i[h],r;!t.R&&t.s&&"change"==n&&(t.s=!1,t.S||i.Qa()?(t.r=null,t.L=0,t.S=!0,i.aa()):(r=[],s.a.D(t.r,function(n,t){r[t.Ga]=n}),s.a.q(r,function(n,r){var f=t.r[n],u=i.uc(f.ia);u.Ga=r;u.na=f.na;t.r[n]=u})),t.R||i.notifySubscribers(t.T,"awake"))},Ia:function(t){var i=this[h];i.R||"change"!=t||this.Pa("change")||(s.a.D(i.r,function(n,t){t.k&&(i.r[n]={ia:t.ia,Ga:t.Ga,na:t.na},t.k())}),i.s=!0,this.notifySubscribers(n,"asleep"))},Na:function(){var n=this[h];return n.s&&(n.S||this.Qa())&&this.aa(),s.J.fn.Na.call(this)}},ot={sa:function(n){"change"!=n&&"beforeChange"!=n||this.t()}};s.a.ka&&s.a.Xa(c,s.J.fn);d=s.N.gd;s.m[d]=s.N;c[d]=s.m;s.Xc=function(n){return s.Oa(n,s.m)};s.Yc=function(n){return s.Oa(n,s.m)&&n[h]&&n[h].Va};s.b("computed",s.m);s.b("dependentObservable",s.m);s.b("isComputed",s.Xc);s.b("isPureComputed",s.Yc);s.b("computed.fn",c);s.G(c,"peek",c.t);s.G(c,"dispose",c.k);s.G(c,"isActive",c.ba);s.G(c,"getDependenciesCount",c.Aa);s.nc=function(n,t){return"function"==typeof n?s.m(n,t,{pure:!0}):(n=s.a.extend({},n),n.pure=!0,s.m(n,t))};s.b("pureComputed",s.nc),function(){function t(u,f,e){if(e=e||new i,u=f(u),"object"!=typeof u||null===u||u===n||u instanceof RegExp||u instanceof Date||u instanceof String||u instanceof Number||u instanceof Boolean)return u;var o=u instanceof Array?[]:{};return e.save(u,o),r(u,function(i){var r=f(u[i]),s;switch(typeof r){case"boolean":case"number":case"string":case"function":o[i]=r;break;case"object":case"undefined":s=e.get(r);o[i]=s!==n?s:t(r,f,e)}}),o}function r(n,t){if(n instanceof Array){for(var i=0;i<n.length;i++)t(i);"function"==typeof n.toJSON&&t("toJSON")}else for(i in n)t(i)}function i(){this.keys=[];this.Ib=[]}s.wc=function(n){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return t(n,function(n){for(var t=0;s.H(n)&&10>t;t++)n=n();return n})};s.toJSON=function(n,t,i){return n=s.wc(n),s.a.Eb(n,t,i)};i.prototype={save:function(n,t){var i=s.a.o(this.keys,n);0<=i?this.Ib[i]=t:(this.keys.push(n),this.Ib.push(t))},get:function(t){return t=s.a.o(this.keys,t),0<=t?this.Ib[t]:n}}}();s.b("toJS",s.wc);s.b("toJSON",s.toJSON),function(){s.j={u:function(t){switch(s.a.A(t)){case"option":return!0===t.__ko__hasDomDataOptionValue__?s.a.e.get(t,s.d.options.xb):7>=s.a.C?t.getAttributeNode("value")&&t.getAttributeNode("value").specified?t.value:t.text:t.value;case"select":return 0<=t.selectedIndex?s.j.u(t.options[t.selectedIndex]):n;default:return t.value}},ha:function(t,i,r){switch(s.a.A(t)){case"option":switch(typeof i){case"string":s.a.e.set(t,s.d.options.xb,n);"__ko__hasDomDataOptionValue__"in t&&delete t.__ko__hasDomDataOptionValue__;t.value=i;break;default:s.a.e.set(t,s.d.options.xb,i);t.__ko__hasDomDataOptionValue__=!0;t.value="number"==typeof i?i:""}break;case"select":(""===i||null===i)&&(i=n);for(var f=-1,u=0,o=t.options.length,e;u<o;++u)if(e=s.j.u(t.options[u]),e==i||""==e&&i===n){f=u;break}(r||0<=f||i===n&&1<t.size)&&(t.selectedIndex=f);break;default:(null===i||i===n)&&(i="");t.value=i}}}}();s.b("selectExtensions",s.j);s.b("selectExtensions.readValue",s.j.u);s.b("selectExtensions.writeValue",s.j.ha);s.h=function(){function n(n){var c,u,i;n=s.a.$a(n);123===n.charCodeAt(0)&&(n=n.slice(1,-1));var a=[],h=n.match(t),o,r=[],l=0;if(h)for(h.push(","),c=0;u=h[c];++c){if(i=u.charCodeAt(0),44===i){if(0>=l){a.push(o&&r.length?{key:o,value:r.join("")}:{unknown:o||r.join("")});o=l=0;r=[];continue}}else if(58===i){if(!l&&!o&&1===r.length){o=r.pop();continue}}else 47===i&&c&&1<u.length?(i=h[c-1].match(f))&&!e[i[0]]&&(n=n.substr(n.indexOf(u)+1),h=n.match(t),h.push(","),c=-1,u="/"):40===i||123===i||91===i?++l:41===i||125===i||93===i?--l:o||r.length||34!==i&&39!==i||(u=u.slice(1,-1));r.push(u)}return a}var r=["true","false","null","undefined"],u=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,t=RegExp("\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*'|/(?:[^/\\\\]|\\\\.)*/w*|[^\\s:,/][^,\"'{}()/:[\\]]*[^\\s,\"'{}()/:[\\]]|[^\\s]","g"),f=/[\])"'A-Za-z0-9_$]+$/,e={"in":1,"return":1,"typeof":1},i={};return{ta:[],ea:i,yb:n,Ua:function(t,f){function e(n,t){var a,f;if(!l){if(f=s.getBindingHandler(n),f&&f.preprocess&&!(t=f.preprocess(t,n,e)))return;(f=i[n])&&(a=t,0<=s.a.o(r,a)?a=!1:(f=a.match(u),a=null===f?!1:f[1]?"Object("+f[1]+")"+f[2]:a),f=a);f&&o.push("'"+n+"':function(_z){"+a+"=_z}")}c&&(t="function(){return "+t+" }");h.push("'"+n+"':"+t)}f=f||{};var h=[],o=[],c=f.valueAccessors,l=f.bindingParams,a="string"==typeof t?n(t):t;return s.a.q(a,function(n){e(n.key||n.unknown,n.value)}),o.length&&e("_ko_property_writers","{"+o.join(",")+" }"),h.join(",")},ad:function(n,t){for(var i=0;i<n.length;i++)if(n[i].key==t)return!0;return!1},Ea:function(n,t,i,r,u){n&&s.H(n)?!s.Ba(n)||u&&n.t()===r||n(r):(n=t.get("_ko_property_writers"))&&n[i]&&n[i](r)}}}();s.b("expressionRewriting",s.h);s.b("expressionRewriting.bindingRewriteValidators",s.h.ta);s.b("expressionRewriting.parseObjectLiteral",s.h.yb);s.b("expressionRewriting.preProcessBindings",s.h.Ua);s.b("expressionRewriting._twoWayBindings",s.h.ea);s.b("jsonExpressionRewriting",s.h);s.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",s.h.Ua),function(){function n(n){return 8==n.nodeType&&e.test(i?n.text:n.nodeValue)}function r(n){return 8==n.nodeType&&o.test(i?n.text:n.nodeValue)}function u(t,i){for(var u=t,f=1,e=[];u=u.nextSibling;){if(r(u)&&(f--,0===f))return e;e.push(u);n(u)&&f++}if(!i)throw Error("Cannot find closing comment tag to match: "+t.nodeValue);return null}function f(n,t){var i=u(n,t);return i?0<i.length?i[i.length-1].nextSibling:n.nextSibling:null}var i=t&&"<!--test-->"===t.createComment("test").text,e=i?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,o=i?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,h={ul:!0,ol:!0};s.f={Z:{},childNodes:function(t){return n(t)?u(t):t.childNodes},xa:function(t){if(n(t)){t=s.f.childNodes(t);for(var i=0,r=t.length;i<r;i++)s.removeNode(t[i])}else s.a.ob(t)},da:function(t,i){if(n(t)){s.f.xa(t);for(var u=t.nextSibling,r=0,f=i.length;r<f;r++)u.parentNode.insertBefore(i[r],u)}else s.a.da(t,i)},mc:function(t,i){n(t)?t.parentNode.insertBefore(i,t.nextSibling):t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i)},gc:function(t,i,r){r?n(t)?t.parentNode.insertBefore(i,r.nextSibling):r.nextSibling?t.insertBefore(i,r.nextSibling):t.appendChild(i):s.f.mc(t,i)},firstChild:function(t){return n(t)?!t.nextSibling||r(t.nextSibling)?null:t.nextSibling:t.firstChild},nextSibling:function(t){return n(t)&&(t=f(t)),t.nextSibling&&r(t.nextSibling)?null:t.nextSibling},Tc:n,pd:function(n){return(n=(i?n.text:n.nodeValue).match(e))?n[1]:null},kc:function(t){var o,i,u,e;if(h[s.a.A(t)]&&(o=t.firstChild,o))do if(1===o.nodeType){if(i=o.firstChild,u=null,i)do u?u.push(i):n(i)?(e=f(i,!0),e?i=e:u=[i]):r(i)&&(u=[i]);while(i=i.nextSibling);if(i=u)for(u=o.nextSibling,e=0;e<i.length;e++)u?t.insertBefore(i[e],u):t.appendChild(i[e])}while(o=o.nextSibling)}}}();s.b("virtualElements",s.f);s.b("virtualElements.allowedBindings",s.f.Z);s.b("virtualElements.emptyNode",s.f.xa);s.b("virtualElements.insertAfter",s.f.gc);s.b("virtualElements.prepend",s.f.mc);s.b("virtualElements.setDomNodeChildren",s.f.da),function(){s.Q=function(){this.Fc={}};s.a.extend(s.Q.prototype,{nodeHasBindings:function(n){switch(n.nodeType){case 1:return null!=n.getAttribute("data-bind")||s.g.getComponentNameForNode(n);case 8:return s.f.Tc(n);default:return!1}},getBindings:function(n,t){var i=this.getBindingsString(n,t),i=i?this.parseBindingsString(i,t,n):null;return s.g.Ob(i,n,t,!1)},getBindingAccessors:function(n,t){var i=this.getBindingsString(n,t),i=i?this.parseBindingsString(i,t,n,{valueAccessors:!0}):null;return s.g.Ob(i,n,t,!0)},getBindingsString:function(n){switch(n.nodeType){case 1:return n.getAttribute("data-bind");case 8:return s.f.pd(n);default:return null}},parseBindingsString:function(n,t,i,r){var u,f,e,h,c;try{return u=this.Fc,f=n+(r&&r.valueAccessors||""),(e=u[f])||(c="with($context){with($data||{}){return{"+s.h.Ua(n,r)+"}}}",h=new Function("$context","$element",c),e=u[f]=h),e(t,i)}catch(o){throw o.message="Unable to parse bindings.\nBindings value: "+n+"\nMessage: "+o.message,o;}}});s.Q.instance=new s.Q}();s.b("bindingProvider",s.Q),function(){function v(n){return function(){return n}}function u(n){return n()}function o(n){return s.a.Ca(s.l.w(n),function(t,i){return function(){return n()[i]}})}function y(n,t,i){return"function"==typeof n?o(n.bind(null,t,i)):s.a.Ca(n,v)}function p(n,t){return o(this.getBindings.bind(this,n,t))}function h(n,t,i){var r,u=s.f.firstChild(t),f=s.Q.instance,e=f.preprocessNode;if(e){for(;r=u;)u=s.f.nextSibling(r),e.call(f,r);u=s.f.firstChild(t)}for(;r=u;)u=s.f.nextSibling(r),c(n,r,i)}function c(n,t,i){var u=!0,r=1===t.nodeType;r&&s.f.kc(t);(r&&i||s.Q.instance.nodeHasBindings(t))&&(u=l(t,null,n,i).shouldBindDescendants);u&&!a[s.a.A(t)]&&h(n,t,!r)}function w(n){var i=[],r={},t=[];return s.a.D(n,function u(f){if(!r[f]){var e=s.getBindingHandler(f);e&&(e.after&&(t.push(f),s.a.q(e.after,function(i){if(n[i]){if(-1!==s.a.o(t,i))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+t.join(", "));u(i)}}),t.length--),i.push({key:f,fc:e}));r[f]=!0}}),i}function l(t,i,r,e){var v=s.a.e.get(t,f),o,l,a,c;if(!i){if(v)throw Error("You cannot apply bindings multiple times to the same element.");s.a.e.set(t,f,!0)}if(!v&&e&&s.tc(t,r),i&&"function"!=typeof i)o=i;else{var y=s.Q.instance,b=y.getBindingAccessors||p,h=s.B(function(){return(o=i?i(r,t):b.call(y,t,r))&&r.P&&r.P(),o},null,{i:t});o&&h.ba()||(h=null)}return o&&(a=h?function(n){return function(){return u(h()[n])}}:function(n){return o[n]},c=function(){return s.a.Ca(h?h():o,u)},c.get=function(n){return o[n]&&u(a(n))},c.has=function(n){return n in o},e=w(o),s.a.q(e,function(i){var e=i.fc.init,h=i.fc.update,u=i.key;if(8===t.nodeType&&!s.f.Z[u])throw Error("The binding '"+u+"' cannot be used with virtual elements");try{"function"==typeof e&&s.l.w(function(){var i=e(t,a(u),c,r.$data,r);if(i&&i.controlsDescendantBindings){if(l!==n)throw Error("Multiple bindings ("+l+" and "+u+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");l=u}});"function"==typeof h&&s.B(function(){h(t,a(u),c,r.$data,r)},null,{i:t})}catch(f){throw f.message='Unable to process binding "'+u+": "+o[u]+'"\nMessage: '+f.message,f;}})),{shouldBindDescendants:l===n}}function t(n){return n&&n instanceof s.U?n:new s.U(n)}var a,f,e;s.d={};a={script:!0,textarea:!0,template:!0};s.getBindingHandler=function(n){return s.d[n]};s.U=function(t,i,r,u){var f=this,h="function"==typeof t&&!s.H(t),o,e=s.B(function(){var o=h?t():t,n=s.a.c(o);return i?(i.P&&i.P(),s.a.extend(f,i),e&&(f.P=e)):(f.$parents=[],f.$root=n,f.ko=s),f.$rawData=o,f.$data=n,r&&(f[r]=n),u&&u(f,i,n),f.$data},null,{wa:function(){return o&&!s.a.Qb(o)},i:!0});e.ba()&&(f.P=e,e.equalityComparer=null,o=[],e.Ac=function(t){o.push(t);s.a.F.oa(t,function(t){s.a.La(o,t);o.length||(e.k(),f.P=e=n)})})};s.U.prototype.createChildContext=function(n,t,i){return new s.U(n,this,t,function(n,t){n.$parentContext=t;n.$parent=t.$data;n.$parents=(t.$parents||[]).slice(0);n.$parents.unshift(n.$parent);i&&i(n)})};s.U.prototype.extend=function(n){return new s.U(this.P||this.$data,this,null,function(t,i){t.$rawData=i.$rawData;s.a.extend(t,"function"==typeof n?n():n)})};f=s.a.e.I();e=s.a.e.I();s.tc=function(n,t){if(2==arguments.length)s.a.e.set(n,e,t),t.P&&t.P.Ac(n);else return s.a.e.get(n,e)};s.Ja=function(n,i,r){return 1===n.nodeType&&s.f.kc(n),l(n,i,t(r),!0)};s.Dc=function(n,i,r){return r=t(r),s.Ja(n,y(i,r,n),r)};s.eb=function(n,i){1!==i.nodeType&&8!==i.nodeType||h(t(n),i,!0)};s.Rb=function(n,u){if(!i&&r.jQuery&&(i=r.jQuery),u&&1!==u.nodeType&&8!==u.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");u=u||r.document.body;c(t(n),u,!0)};s.kb=function(t){switch(t.nodeType){case 1:case 8:var i=s.tc(t);if(i)return i;if(t.parentNode)return s.kb(t.parentNode)}return n};s.Jc=function(t){return(t=s.kb(t))?t.$data:n};s.b("bindingHandlers",s.d);s.b("applyBindings",s.Rb);s.b("applyBindingsToDescendants",s.eb);s.b("applyBindingAccessorsToNode",s.Ja);s.b("applyBindingsToNode",s.Dc);s.b("contextFor",s.kb);s.b("dataFor",s.Jc)}(),function(n){function u(t,u){var e=i.hasOwnProperty(t)?i[t]:n,o;e?e.X(u):(e=i[t]=new s.J,e.X(u),f(t,function(n,u){var f=!(!u||!u.synchronous);r[t]={definition:n,Zc:f};delete i[t];o||f?e.notifySubscribers(n):s.Y.Wa(function(){e.notifySubscribers(n)})}),o=!0)}function f(n,i){t("getConfig",[n],function(r){r?t("loadComponent",[n,r],function(n){i(n,r)}):i(null,null)})}function t(i,r,u,f){var e,o,h;if(f||(f=s.g.loaders.slice(0)),e=f.shift(),e)if(o=e[i],o){if(h=!1,o.apply(e,r.concat(function(n){h?u(null):null!==n?u(n):t(i,r,u,f)}))!==n&&(h=!0,!e.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.");}else t(i,r,u,f);else u(null)}var i={},r={};s.g={get:function(t,i){var f=r.hasOwnProperty(t)?r[t]:n;f?f.Zc?s.l.w(function(){i(f.definition)}):s.Y.Wa(function(){i(f.definition)}):u(t,i)},Xb:function(n){delete r[n]},Jb:t};s.g.loaders=[];s.b("components",s.g);s.b("components.get",s.g.get);s.b("components.clearCachedDefinition",s.g.Xb)}(),function(){function l(n,t,r,f){function e(){0==--c&&f(o)}var o={},c=2,h=r.template;r=r.viewModel;h?u(t,h,function(t){s.g.Jb("loadTemplate",[n,t],function(n){o.template=n;e()})}):e();r?u(t,r,function(t){s.g.Jb("loadViewModel",[n,t],function(n){o[i]=n;e()})}):e()}function e(n,t,r){if("function"==typeof t)r(function(n){return new t(n)});else if("function"==typeof t[i])r(t[i]);else if("instance"in t){var u=t.instance;r(function(){return u})}else"viewModel"in t?e(n,t.viewModel,r):n("Unknown viewModel value: "+t)}function h(n){switch(s.a.A(n)){case"script":return s.a.ma(n.text);case"textarea":return s.a.ma(n.value);case"template":if(c(n.content))return s.a.ua(n.content.childNodes)}return s.a.ua(n.childNodes)}function c(n){return r.DocumentFragment?n instanceof DocumentFragment:n&&11===n.nodeType}function u(n,t,i){"string"==typeof t.require?o||r.require?(o||r.require)([t.require],i):n("Uses require, but no AMD loader is present"):i(t)}function f(n){return function(t){throw Error("Component '"+n+"': "+t);}}var n={},i;s.g.register=function(t,i){if(!i)throw Error("Invalid configuration for "+t);if(s.g.ub(t))throw Error("Component "+t+" is already registered");n[t]=i};s.g.ub=function(t){return n.hasOwnProperty(t)};s.g.od=function(t){delete n[t];s.g.Xb(t)};s.g.Zb={getConfig:function(t,i){i(n.hasOwnProperty(t)?n[t]:null)},loadComponent:function(n,t,i){var r=f(n);u(r,t,function(t){l(n,r,t,i)})},loadTemplate:function(n,i,u){if(n=f(n),"string"==typeof i)u(s.a.ma(i));else if(i instanceof Array)u(i);else if(c(i))u(s.a.V(i.childNodes));else if(i.element)if(i=i.element,r.HTMLElement?i instanceof HTMLElement:i&&i.tagName&&1===i.nodeType)u(h(i));else if("string"==typeof i){var e=t.getElementById(i);e?u(h(e)):n("Cannot find element with ID "+i)}else n("Unknown element type: "+i);else n("Unknown template value: "+i)},loadViewModel:function(n,t,i){e(f(n),t,i)}};i="createViewModel";s.b("components.register",s.g.register);s.b("components.isRegistered",s.g.ub);s.b("components.unregister",s.g.od);s.b("components.defaultLoader",s.g.Zb);s.g.loaders.push(s.g.Zb);s.g.Bc=n}(),function(){function n(n,t){var r=n.getAttribute("params");if(r){var r=i.parseBindingsString(r,t,n,{valueAccessors:!0,bindingParams:!0}),r=s.a.Ca(r,function(t){return s.m(t,null,{i:n})}),u=s.a.Ca(r,function(t){var i=t.t();return t.ba()?s.m({read:function(){return s.a.c(t())},write:s.Ba(i)&&function(n){t()(n)},i:n}):i});return u.hasOwnProperty("$raw")||(u.$raw=r),u}return{$raw:{}}}s.g.getComponentNameForNode=function(n){var t=s.a.A(n);if(s.g.ub(t)&&(-1!=t.indexOf("-")||"[object HTMLUnknownElement]"==""+n||8>=s.a.C&&n.tagName===t))return t};s.g.Ob=function(t,i,r,u){var f,e;if(1===i.nodeType&&(f=s.g.getComponentNameForNode(i),f)){if(t=t||{},t.component)throw Error('Cannot use the "component" binding on a custom element matching a component');e={name:f,params:n(i,r)};t.component=u?function(){return e}:e}return t};var i=new s.Q;9>s.a.C&&(s.g.register=function(n){return function(i){return t.createElement(i),n.apply(this,arguments)}}(s.g.register),t.createDocumentFragment=function(n){return function(){var i=n(),r=s.g.Bc,t;for(t in r)r.hasOwnProperty(t)&&i.createElement(t);return i}}(t.createDocumentFragment))}(),function(n){function t(n,t,i){if(t=t.template,!t)throw Error("Component '"+n+"' has no template");n=s.a.ua(t);s.f.da(i,n)}function i(n,t,i,r){var u=n.createViewModel;return u?u.call(n,r,{element:t,templateNodes:i}):r}var r=0;s.d.component={init:function(u,f,e,o,h){function a(){var n=c&&c.dispose;"function"==typeof n&&n.call(c);l=c=null}var c,l,v=s.a.V(s.f.childNodes(u));return s.a.F.oa(u,a),s.m(function(){var o=s.a.c(f()),e,y,p;if("string"==typeof o?e=o:(e=s.a.c(o.name),y=s.a.c(o.params)),!e)throw Error("No component name specified");p=l=++r;s.g.get(e,function(r){if(l===p){if(a(),!r)throw Error("Unknown component '"+e+"'");t(e,r,u);var f=i(r,u,v,y);r=h.createChildContext(f,n,function(n){n.$component=f;n.$componentTemplateNodes=v});c=f;s.eb(r,u)}})},null,{i:u}),{controlsDescendantBindings:!0}}};s.f.Z.component=!0}();g={"class":"className","for":"htmlFor"};s.d.attr={update:function(t,i){var r=s.a.c(i())||{};s.a.D(r,function(i,r){r=s.a.c(r);var u=!1===r||null===r||r===n;u&&t.removeAttribute(i);8>=s.a.C&&i in g?(i=g[i],u?t.removeAttribute(i):t[i]=r):u||t.setAttribute(i,r.toString());"name"===i&&s.a.rc(t,u?"":r.toString())})}},function(){s.d.checked={after:["value","attr"],init:function(t,i,r){function l(){var l=t.checked,o=y?f():l,n,h;s.va.Sa()||e&&!l||(n=s.l.w(i),u?(h=a?n.t():n,c!==o?(l&&(s.a.pa(h,o,!0),s.a.pa(h,c,!1)),c=o):s.a.pa(h,o,l),a&&s.Ba(n)&&n(h)):s.h.Ea(n,r,"checked",o,!0))}function v(){var n=s.a.c(i());t.checked=u?0<=s.a.o(n,f()):h?n:f()===n}var f=s.nc(function(){return r.has("checkedValue")?s.a.c(r.get("checkedValue")):r.has("value")?s.a.c(r.get("value")):t.value}),h="checkbox"==t.type,e="radio"==t.type;if(h||e){var o=i(),u=h&&s.a.c(o)instanceof Array,a=!(u&&o.push&&o.splice),c=u?f():n,y=e||u;e&&!t.name&&s.d.uniqueName.init(t,function(){return!0});s.m(l,null,{i:t});s.a.p(t,"click",l);s.m(v,null,{i:t});o=n}}};s.h.ea.checked=!0;s.d.checkedValue={update:function(n,t){n.value=s.a.c(t())}}}();s.d.css={update:function(n,t){var i=s.a.c(t());null!==i&&"object"==typeof i?s.a.D(i,function(t,i){i=s.a.c(i);s.a.bb(n,t,i)}):(i=s.a.$a(String(i||"")),s.a.bb(n,n.__ko__cssValue,!1),n.__ko__cssValue=i,s.a.bb(n,i,!0))}};s.d.enable={update:function(n,t){var i=s.a.c(t());i&&n.disabled?n.removeAttribute("disabled"):i||n.disabled||(n.disabled=!0)}};s.d.disable={update:function(n,t){s.d.enable.update(n,function(){return!s.a.c(t())})}};s.d.event={init:function(n,t,i,r,u){var f=t()||{};s.a.D(f,function(f){"string"==typeof f&&s.a.p(n,f,function(n){var o,h=t()[f],e;if(h){try{e=s.a.V(arguments);r=u.$data;e.unshift(r);o=h.apply(r,e)}finally{!0!==o&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}!1===i.get(f+"Bubble")&&(n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation())}})})}};s.d.foreach={ic:function(n){return function(){var i=n(),t=s.a.zb(i);return!t||"number"==typeof t.length?{foreach:i,templateEngine:s.W.sb}:(s.a.c(i),{foreach:t.data,as:t.as,includeDestroyed:t.includeDestroyed,afterAdd:t.afterAdd,beforeRemove:t.beforeRemove,afterRender:t.afterRender,beforeMove:t.beforeMove,afterMove:t.afterMove,templateEngine:s.W.sb})}},init:function(n,t){return s.d.template.init(n,s.d.foreach.ic(t))},update:function(n,t,i,r,u){return s.d.template.update(n,s.d.foreach.ic(t),i,r,u)}};s.h.ta.foreach=!1;s.f.Z.foreach=!0;s.d.hasfocus={init:function(n,t,i){function r(r){var u,f;if(n.__ko_hasfocusUpdating=!0,u=n.ownerDocument,"activeElement"in u){try{f=u.activeElement}catch(e){f=u.body}r=f===n}u=t();s.h.Ea(u,i,"hasfocus",r,!0);n.__ko_hasfocusLastValue=r;n.__ko_hasfocusUpdating=!1}var u=r.bind(null,!0),f=r.bind(null,!1);s.a.p(n,"focus",u);s.a.p(n,"focusin",u);s.a.p(n,"blur",f);s.a.p(n,"focusout",f)},update:function(n,t){var i=!!s.a.c(t());n.__ko_hasfocusUpdating||n.__ko_hasfocusLastValue===i||(i?n.focus():n.blur(),!i&&n.__ko_hasfocusLastValue&&n.ownerDocument.body.focus(),s.l.w(s.a.Da,null,[n,i?"focusin":"focusout"]))}};s.h.ea.hasfocus=!0;s.d.hasFocus=s.d.hasfocus;s.h.ea.hasFocus=!0;s.d.html={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){s.a.Cb(n,t())}};k("if");k("ifnot",!1,!0);k("with",!0,!1,function(n,t){return n.createChildContext(t)});w={};s.d.options={init:function(n){if("select"!==s.a.A(n))throw Error("options binding applies only to SELECT elements");for(;0<n.length;)n.remove(0);return{controlsDescendantBindings:!0}},update:function(t,i,r){function a(){return s.a.Ka(t.options,function(n){return n.selected})}function v(n,t,i){var r=typeof t;return"function"==r?t(n):"string"==r?n[t]:i}function y(n,i){if(o&&e)s.j.ha(t,s.a.c(r.get("value")),!0);else if(f.length){var u=0<=s.a.o(f,s.j.u(i[0]));s.a.sc(i[0],u);o&&!u&&s.l.w(s.a.Da,null,[t,"change"])}}var h=t.multiple,c=0!=t.length&&h?t.scrollTop:null,u=s.a.c(i()),e=r.get("valueAllowUnset")&&r.has("value"),p=r.get("optionsIncludeDestroyed"),l,f,o;i={};f=[];e||(h?f=s.a.fb(a(),s.j.u):0<=t.selectedIndex&&f.push(s.j.u(t.options[t.selectedIndex])));u&&("undefined"==typeof u.length&&(u=[u]),l=s.a.Ka(u,function(t){return p||t===n||null===t||!s.a.c(t._destroy)}),r.has("optionsCaption")&&(u=s.a.c(r.get("optionsCaption")),null!==u&&u!==n&&l.unshift(w)));o=!1;i.beforeRemove=function(n){t.removeChild(n)};u=y;r.has("optionsAfterRender")&&"function"==typeof r.get("optionsAfterRender")&&(u=function(t,i){y(0,i);s.l.w(r.get("optionsAfterRender"),null,[i[0],t!==w?t:n])});s.a.Bb(t,l,function(i,u,h){return h.length&&(f=!e&&h[0].selected?[s.j.u(h[0])]:[],o=!0),u=t.ownerDocument.createElement("option"),i===w?(s.a.Za(u,r.get("optionsCaption")),s.j.ha(u,n)):(h=v(i,r.get("optionsValue"),i),s.j.ha(u,s.a.c(h)),i=v(i,r.get("optionsText"),h),s.a.Za(u,i)),[u]},i,u);s.l.w(function(){e?s.j.ha(t,s.a.c(r.get("value")),!0):(h?f.length&&a().length<f.length:f.length&&0<=t.selectedIndex?s.j.u(t.options[t.selectedIndex])!==f[0]:f.length||0<=t.selectedIndex)&&s.a.Da(t,"change")});s.a.Nc(t);c&&20<Math.abs(c-t.scrollTop)&&(t.scrollTop=c)}};s.d.options.xb=s.a.e.I();s.d.selectedOptions={after:["options","foreach"],init:function(n,t,i){s.a.p(n,"change",function(){var u=t(),r=[];s.a.q(n.getElementsByTagName("option"),function(n){n.selected&&r.push(s.j.u(n))});s.h.Ea(u,i,"selectedOptions",r)})},update:function(n,t){if("select"!=s.a.A(n))throw Error("values binding applies only to SELECT elements");var i=s.a.c(t()),r=n.scrollTop;i&&"number"==typeof i.length&&s.a.q(n.getElementsByTagName("option"),function(n){var t=0<=s.a.o(i,s.j.u(n));n.selected!=t&&s.a.sc(n,t)});n.scrollTop=r}};s.h.ea.selectedOptions=!0;s.d.style={update:function(t,i){var r=s.a.c(i()||{});s.a.D(r,function(i,r){r=s.a.c(r);(null===r||r===n||!1===r)&&(r="");t.style[i]=r})}};s.d.submit={init:function(n,t,i,r,u){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");s.a.p(n,"submit",function(i){var r,f=t();try{r=f.call(u.$data,n)}finally{!0!==r&&(i.preventDefault?i.preventDefault():i.returnValue=!1)}})}};s.d.text={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){s.a.Za(n,t())}};s.f.Z.text=!0,function(){if(r&&r.navigator)var t=function(n){if(n)return parseFloat(n[1])},e=r.opera&&r.opera.version&&parseInt(r.opera.version()),i=r.navigator.userAgent,o=t(i.match(/^(?:(?!chrome).)*version\/([^ ]*) safari/i)),h=t(i.match(/Firefox\/([^ ]*)/));if(10>s.a.C)var u=s.a.e.I(),f=s.a.e.I(),c=function(n){var t=this.activeElement;(t=t&&s.a.e.get(t,f))&&t(n)},l=function(n,t){var i=n.ownerDocument;s.a.e.get(i,u)||(s.a.e.set(i,u,!0),s.a.p(i,"selectionchange",c));s.a.e.set(n,f,t)};s.d.textInput={init:function(t,i,r){function u(n,i){s.a.p(t,n,i)}function p(){var r=s.a.c(i());(null===r||r===n)&&(r="");v!==n&&r===v?s.a.setTimeout(p,4):t.value!==r&&(y=r,t.value=r)}function c(){a||(v=t.value,a=s.a.setTimeout(f,4))}function f(){clearTimeout(a);v=a=n;var u=t.value;y!==u&&(y=u,s.h.Ea(i(),r,"textInput",u))}var y=t.value,a,v,w=9==s.a.C?c:f;10>s.a.C?(u("propertychange",function(n){"value"===n.propertyName&&w(n)}),8==s.a.C&&(u("keyup",f),u("keydown",f)),8<=s.a.C&&(l(t,w),u("dragend",c))):(u("input",f),5>o&&"textarea"===s.a.A(t)?(u("keydown",c),u("paste",c),u("cut",c)):11>e?u("keydown",c):4>h&&(u("DOMAutoComplete",f),u("dragdrop",f),u("drop",f)));u("change",f);s.m(p,null,{i:t})}};s.h.ea.textInput=!0;s.d.textinput={preprocess:function(n,t,i){i("textInput",n)}}}();s.d.uniqueName={init:function(n,t){if(t()){var i="ko_unique_"+ ++s.d.uniqueName.Ic;s.a.rc(n,i)}}};s.d.uniqueName.Ic=0;s.d.value={after:["options","foreach"],init:function(n,t,i){var o,h;if("input"!=n.tagName.toLowerCase()||"checkbox"!=n.type&&"radio"!=n.type){var r=["change"],u=i.get("valueUpdate"),f=!1,e=null;u&&("string"==typeof u&&(u=[u]),s.a.ra(r,u),r=s.a.Tb(r));o=function(){e=null;f=!1;var r=t(),u=s.j.u(n);s.h.Ea(r,i,"value",u)};!s.a.C||"input"!=n.tagName.toLowerCase()||"text"!=n.type||"off"==n.autocomplete||n.form&&"off"==n.form.autocomplete||-1!=s.a.o(r,"propertychange")||(s.a.p(n,"propertychange",function(){f=!0}),s.a.p(n,"focus",function(){f=!1}),s.a.p(n,"blur",function(){f&&o()}));s.a.q(r,function(t){var i=o;s.a.nd(t,"after")&&(i=function(){e=s.j.u(n);s.a.setTimeout(o,0)},t=t.substring(5));s.a.p(n,t,i)});h=function(){var r=s.a.c(t()),u=s.j.u(n),f;null!==e&&r===e?s.a.setTimeout(h,0):r!==u&&("select"===s.a.A(n)?(f=i.get("valueAllowUnset"),u=function(){s.j.ha(n,r,f)},u(),f||r===s.j.u(n)?s.a.setTimeout(u,0):s.l.w(s.a.Da,null,[n,"change"])):s.j.ha(n,r))};s.m(h,null,{i:n})}else s.Ja(n,{checkedValue:t})},update:function(){}};s.h.ea.value=!0;s.d.visible={update:function(n,t){var i=s.a.c(t()),r="none"!=n.style.display;i&&!r?n.style.display="":!i&&r&&(n.style.display="none")}},function(n){s.d[n]={init:function(t,i,r,u,f){return s.d.event.init.call(this,t,function(){var t={};return t[n]=i(),t},r,u,f)}}}("click");s.O=function(){};s.O.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource");};s.O.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock");};s.O.prototype.makeTemplateSource=function(n,i){if("string"==typeof n){i=i||t;var r=i.getElementById(n);if(!r)throw Error("Cannot find template with ID "+n);return new s.v.n(r)}if(1==n.nodeType||8==n.nodeType)return new s.v.qa(n);throw Error("Unknown template type: "+n);};s.O.prototype.renderTemplate=function(n,t,i,r){return n=this.makeTemplateSource(n,r),this.renderTemplateSource(n,t,i,r)};s.O.prototype.isTemplateRewritten=function(n,t){return!1===this.allowTemplateRewriting?!0:this.makeTemplateSource(n,t).data("isRewritten")};s.O.prototype.rewriteTemplate=function(n,t,i){n=this.makeTemplateSource(n,i);t=t(n.text());n.text(t);n.data("isRewritten",!0)};s.b("templateEngine",s.O);s.Gb=function(){function n(n,t,i,r){var o,f,u,e;for(n=s.h.yb(n),o=s.h.ta,f=0;f<n.length;f++)if(u=n[f].key,o.hasOwnProperty(u))if(e=o[u],"function"==typeof e){if(u=e(n[f].value))throw Error(u);}else if(!e)throw Error("This template engine does not support the '"+u+"' binding within its templates");return i="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+s.h.Ua(n,{valueAccessors:!0})+" } })()},'"+i.toLowerCase()+"')",r.createJavaScriptEvaluatorBlock(i)+t}var t=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,i=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{Oc:function(n,t,i){t.isTemplateRewritten(n,i)||t.rewriteTemplate(n,function(n){return s.Gb.dd(n,t)},i)},dd:function(r,u){return r.replace(t,function(t,i,r,f,e){return n(e,i,r,u)}).replace(i,function(t,i){return n(i,"<!-- ko -->","#comment",u)})},Ec:function(n,t){return s.M.wb(function(i,r){var u=i.nextSibling;u&&u.nodeName.toLowerCase()===t&&s.Ja(u,n,r)})}}}();s.b("__tr_ambtns",s.Gb.Ec),function(){var i,t;s.v={};s.v.n=function(n){if(this.n=n){var t=s.a.A(n);this.ab="script"===t?1:"textarea"===t?2:"template"==t&&n.content&&11===n.content.nodeType?3:4}};s.v.n.prototype.text=function(){var n=1===this.ab?"text":2===this.ab?"value":"innerHTML",t;if(0==arguments.length)return this.n[n];t=arguments[0];"innerHTML"===n?s.a.Cb(this.n,t):this.n[n]=t};i=s.a.e.I()+"_";s.v.n.prototype.data=function(n){if(1===arguments.length)return s.a.e.get(this.n,i+n);s.a.e.set(this.n,i+n,arguments[1])};t=s.a.e.I();s.v.n.prototype.nodes=function(){var i=this.n;if(0==arguments.length)return(s.a.e.get(i,t)||{}).jb||(3===this.ab?i.content:4===this.ab?i:n);s.a.e.set(i,t,{jb:arguments[0]})};s.v.qa=function(n){this.n=n};s.v.qa.prototype=new s.v.n;s.v.qa.prototype.text=function(){if(0==arguments.length){var i=s.a.e.get(this.n,t)||{};return i.Hb===n&&i.jb&&(i.Hb=i.jb.innerHTML),i.Hb}s.a.e.set(this.n,t,{Hb:arguments[0]})};s.b("templateSources",s.v);s.b("templateSources.domElement",s.v.n);s.b("templateSources.anonymousTemplate",s.v.qa)}(),function(){function t(n,t,i){var r;for(t=s.f.nextSibling(t);n&&(r=n)!==t;)n=s.f.nextSibling(r),i(r,n)}function f(n,i){if(n.length){var r=n[0],u=n[n.length-1],f=r.parentNode,e=s.Q.instance,o=e.preprocessNode;if(o){if(t(r,u,function(n,t){var f=n.previousSibling,i=o.call(e,n);i&&(n===r&&(r=i[0]||t),n===u&&(u=i[i.length-1]||f))}),n.length=0,!r)return;r===u?n.push(r):(n.push(r,u),s.a.za(n,f))}t(r,u,function(n){1!==n.nodeType&&8!==n.nodeType||s.Rb(i,n)});t(r,u,function(n){1!==n.nodeType&&8!==n.nodeType||s.M.yc(n,[i])});s.a.za(n,f)}}function i(n){return n.nodeType?n:0<n.length?n[0]:null}function e(n,t,u,e,o){o=o||{};var h=(n&&i(n)||u||{}).ownerDocument,c=o.templateEngine||r;if(s.Gb.Oc(u,c,h),u=c.renderTemplate(u,e,o,h),"number"!=typeof u.length||0<u.length&&"number"!=typeof u[0].nodeType)throw Error("Template engine must return an array of DOM nodes");h=!1;switch(t){case"replaceChildren":s.f.da(n,u);h=!0;break;case"replaceNode":s.a.qc(n,u);h=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+t);}return h&&(f(u,e),o.afterRender&&s.l.w(o.afterRender,null,[u,e.$data])),u}function o(n,t,i){return s.H(n)?n():"function"==typeof n?n(t,i):n}var r,u;s.Db=function(t){if(t!=n&&!(t instanceof s.O))throw Error("templateEngine must inherit from ko.templateEngine");r=t};s.Ab=function(t,u,f,h,c){if(f=f||{},(f.templateEngine||r)==n)throw Error("Set a template engine before calling renderTemplate");if(c=c||"replaceChildren",h){var l=i(h);return s.B(function(){var n=u&&u instanceof s.U?u:new s.U(s.a.c(u)),r=o(t,n.$data,n),n=e(h,c,r,n,f);"replaceNode"==c&&(h=n,l=i(h))},null,{wa:function(){return!l||!s.a.nb(l)},i:l&&"replaceNode"==c?l.parentNode:l})}return s.M.wb(function(n){s.Ab(t,u,f,n,"replaceNode")})};s.kd=function(t,i,r,u,h){function l(n,t){f(t,c);r.afterRender&&r.afterRender(t,n);c=null}function a(n,i){c=h.createChildContext(n,r.as,function(n){n.$index=i});var u=o(t,n,c);return e(null,"ignoreTargetNode",u,c,r)}var c;return s.B(function(){var t=s.a.c(i)||[];"undefined"==typeof t.length&&(t=[t]);t=s.a.Ka(t,function(t){return r.includeDestroyed||t===n||null===t||!s.a.c(t._destroy)});s.l.w(s.a.Bb,null,[u,t,a,r,l])},null,{i:u})};u=s.a.e.I();s.d.template={init:function(n,t){var i=s.a.c(t());if("string"==typeof i||i.name)s.f.xa(n);else{if("nodes"in i){if(i=i.nodes||[],s.H(i))throw Error('The "nodes" option must be a plain, non-observable array.');}else i=s.f.childNodes(n);i=s.a.jc(i);new s.v.qa(n).nodes(i)}return{controlsDescendantBindings:!0}},update:function(t,i,r,f,e){var h=i(),o;i=s.a.c(h);r=!0;f=null;"string"==typeof i?i={}:(h=i.name,"if"in i&&(r=s.a.c(i["if"])),r&&"ifnot"in i&&(r=!s.a.c(i.ifnot)),o=s.a.c(i.data));"foreach"in i?f=s.kd(h||t,r&&i.foreach||[],i,t,e):r?(e="data"in i?e.createChildContext(o,i.as):e,f=s.Ab(h||t,e,i,t)):s.f.xa(t);e=f;(o=s.a.e.get(t,u))&&"function"==typeof o.k&&o.k();s.a.e.set(t,u,e&&e.ba()?e:n)}};s.h.ta.template=function(n){return n=s.h.yb(n),1==n.length&&n[0].unknown||s.h.ad(n,"name")?null:"This template engine does not support anonymous templates nested within its templates"};s.f.Z.template=!0}();s.b("setTemplateEngine",s.Db);s.b("renderTemplate",s.Ab);s.a.dc=function(n,t,i){if(n.length&&t.length)for(var o,r,f,e,u=o=0;(!i||u<i)&&(f=n[o]);++o){for(r=0;e=t[r];++r)if(f.value===e.value){f.moved=e.index;e.moved=f.index;t.splice(r,1);u=r=0;break}u+=r}};s.a.ib=function(){function n(n,t,i,r,u){for(var o=Math.min,l=Math.max,a=[],c=n.length,f,h=t.length,v=h-c||1,w=c+h+1,y,p,b,e=0;e<=c;e++)for(p=y,a.push(y=[]),b=o(h,e+v),f=l(0,e-1);f<=b;f++)y[f]=f?e?n[e-1]===t[f-1]?p[f-1]:o(p[f]||w,y[f-1]||w)+1:f+1:e+1;for(o=[],l=[],v=[],e=c,f=h;e||f;)h=a[e][f]-1,f&&h===a[e][f-1]?l.push(o[o.length]={status:i,value:t[--f],index:f}):e&&h===a[e-1][f]?v.push(o[o.length]={status:r,value:n[--e],index:e}):(--f,--e,u.sparse||o.push({status:"retained",value:t[f]}));return s.a.dc(v,l,!u.dontLimitMoves&&10*c),o.reverse()}return function(t,i,r){return r="boolean"==typeof r?{dontLimitMoves:r}:r||{},t=t||[],i=i||[],t.length<i.length?n(t,i,"added","deleted",r):n(i,t,"deleted","added",r)}}();s.b("utils.compareArrays",s.a.ib),function(){function r(t,i,r,u,f){var e=[],o=s.B(function(){var n=i(r,f,s.a.za(e,t))||[];0<e.length&&(s.a.qc(e,n),u&&s.l.w(u,null,[r,n,f]));e.length=0;s.a.ra(e,n)},null,{i:t,wa:function(){return!s.a.Qb(e)}});return{ca:e,B:o.ba()?o:n}}var t=s.a.e.I(),i=s.a.e.I();s.a.Bb=function(u,f,e,o,h){function ut(n,t){c=nt[t];tt!==t&&(rt[n]=c);c.qb(tt++);s.a.za(c.ca,u);b.push(c);k.push(c)}function p(n,t){if(n)for(var i=0,r=t.length;i<r;i++)t[i]&&s.a.q(t[i].ca,function(r){n(r,i,t[i].ja)})}var l,y,ft;f=f||[];o=o||{};var y=s.a.e.get(u,t)===n,nt=s.a.e.get(u,t)||[],w=s.a.fb(nt,function(n){return n.ja}),a=s.a.ib(w,f,o.dontLimitMoves),b=[],v=0,tt=0,it=[],k=[];f=[];for(var rt=[],w=[],c,l=0,d,g;d=a[l];l++)switch(g=d.moved,d.status){case"deleted":g===n&&(c=nt[v],c.B&&(c.B.k(),c.B=n),s.a.za(c.ca,u).length&&(o.beforeRemove&&(b.push(c),k.push(c),c.ja===i?c=null:f[l]=c),c&&it.push.apply(it,c.ca)));v++;break;case"retained":ut(l,v++);break;case"added":g!==n?ut(l,g):(c={ja:d.value,qb:s.N(tt++)},b.push(c),k.push(c),y||(w[l]=c))}for(s.a.e.set(u,t,b),p(o.beforeMove,rt),s.a.q(it,o.beforeRemove?s.$:s.removeNode),l=0,y=s.f.firstChild(u);c=k[l];l++){for(c.ca||s.a.extend(c,r(u,e,c.ja,h,c.qb)),v=0;a=c.ca[v];y=a.nextSibling,ft=a,v++)a!==y&&s.f.gc(u,a,ft);!c.Wc&&h&&(h(c.ja,c.ca,c.qb),c.Wc=!0)}for(p(o.beforeRemove,f),l=0;l<f.length;++l)f[l]&&(f[l].ja=i);p(o.afterMove,rt);p(o.afterAdd,w)}}();s.b("utils.setDomNodeChildrenFromArrayMapping",s.a.Bb);s.W=function(){this.allowTemplateRewriting=!1};s.W.prototype=new s.O;s.W.prototype.renderTemplateSource=function(n,t,i,r){return(t=(9>s.a.C?0:n.nodes)?n.nodes():null)?s.a.V(t.cloneNode(!0).childNodes):(n=n.text(),s.a.ma(n,r))};s.W.sb=new s.W;s.Db(s.W.sb);s.b("nativeTemplateEngine",s.W),function(){s.vb=function(){var n=this.$c=function(){if(!i||!i.tmpl)return 0;try{if(0<=i.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(n){}return 1}();this.renderTemplateSource=function(r,u,f,e){if(e=e||t,f=f||{},2>n)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var o=r.data("precompiled");return o||(o=r.text()||"",o=i.template(null,"{{ko_with $item.koBindingContext}}"+o+"{{/ko_with}}"),r.data("precompiled",o)),r=[u.$data],u=i.extend({koBindingContext:u},f.templateOptions),u=i.tmpl(o,r,u),u.appendTo(e.createElement("div")),i.fragments={},u};this.createJavaScriptEvaluatorBlock=function(n){return"{{ko_code ((function() { return "+n+" })()) }}"};this.addTemplate=function(n,i){t.write("<script type='text/html' id='"+n+"'>"+i+"<\/script>")};0<n&&(i.tmpl.tag.ko_code={open:"__.push($1 || '');"},i.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};s.vb.prototype=new s.O;var n=new s.vb;0<n.$c&&s.Db(n);s.b("jqueryTmplTemplateEngine",s.vb)}()})})()}();!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._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.dispose=function(){this._dispose=!0;this._workflowCoordinator&&this._workflowCoordinator.dispose();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},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;NaN!==t&&void 0!==t&&null!==t&&(0>t?i=0:t>1&&(i=1),this._sessionContext.videoTag.volume=i)},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(){return this._workflowCoordinator?this._workflowCoordinator.buffered:this._sessionContext.videoTag.buffered},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||(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._workflowCoordinator?this._workflowCoordinator.play():this._sessionContext&&this._sessionContext.videoTag&&this._sessionContext.videoTag.play()},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));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),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(){throw n.Log.error(7,"Throwing error "+t.message),new Error(t.message);}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){this._checkErrorAndRetryPlayback()||this._workflowCoordinator&&this._workflowCoordinator.error||(this._error=t,this._workflowCoordinator&&(n.Log.verbose(7,"Disposing WorkflowCoordinator b/c "+t.toString()),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._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._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,"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){if(this._downloadCompleted=new i(t,r),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 u=this._buffer.buffered.start(0);this._downloadTracker.cleanup(u)}},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){this._url=n;this._bitrate=t;this._mediaTime=i;this._data=r;this._presentationTimeOffsetInSec=u}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}),n}();t.MediaDownload=u;i=function(){function n(n,t){this._mediaDownload=n;this._measuredBw=1e3*t.bandwidth;this._bytes=t.responseLengthInBytes;this._downloadTimeMs=t.totalDownloadTimeMs}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}),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.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.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.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.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.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){function e(n){r._needKeyHandler(n)}function o(n){r._encryptedHandler(n)}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;u=new t.PlayReady;this.addKeySystem(u);f=new t.Widevine;this.addKeySystem(f);n.EmeUtil.listenToNeedKey(i,e);n.EmeUtil.listenToEncrypted(i,o)}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={}},i.prototype.dispose=function(){this._disposed||(this._disposed=!0,this.matchedKeySystem&&(this.matchedKeySystem.deactivate(),this.matchedKeySystem=null),this._psshBoxes=[],this._keySystems={},this._laUrls={},this._videoElement=null,this._errorHandler=null,this._audioContentType=null,this._videoContentType=null,this._authenticationTokens=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(n){var t=this;n.forEach(function(n){t._psshBoxes.push(n)})},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||(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)for(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,"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||(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)for(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,"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,f,o,s,u;if(!this._session){if(f=n.EmeUtil.createMediaKeys(this.name),!f)return n.Log.error(12,this.name+" createMediaKeys failed"),u=new n.Failure.External(5242881,this.name+" createMediaKeys failed"),void this._reportError(u);if(n.EmeUtil.setMediaKeys(this._videoElement,f),o=i.substr(i.indexOf("=")+2),s=r.substr(0,r.length-1)+", "+o,this._session=f.createSession(s,t),!this._session)return n.Log.error(12,this.name+" createSession failed"),u=new n.Failure.External(5242881,this.name+" createSession failed"),void this._reportError(u);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.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.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._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}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},n._bandwidthUsabilityPercentDefault=.85,n._bandwidthDataSizeThresholdInBytesDefault=1e4,n._bandwidthEstimationMaxKbpsDefault=1e5,n._bandwidthEstimationMinMsecDefault=10,n._maxBandwidthHistoryCountDefault=5,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=2,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}return n._maxTotalRetriesDefault=50,n._maxRetryPerSegmentDefault=10,n._maxRetryPresentationDefault=5,n._maxSkipSegmentsDefault=30,n._retryMediaInMSecDefault=2e3,n._retryMediaServerErrorInMSecDefault=4e3,n._retryPresentationInMSecDefault=500,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=5e3,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(n,t){var i=null;return window.hasOwnProperty("MediaSource")||window.hasOwnProperty("WebKitMediaSource")?(i=window.MediaSource||window.WebKitMediaSource,i&&i.isTypeSupported&&(i.isTypeSupported(n)||i.isTypeSupported(n+";"+t))):!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._adapterSourceBuffers=new o;this._disposed=!1;this._videoTag=null;this._buffered=null}return i.prototype.dispose=function(){this._disposed||(this._mediaSource=null,this._adapterSourceBuffers.dispose(),this._adapterSourceBuffers=null,this._videoTag&&(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._mediaSource.addEventListener("sourceopen",function(){return t._disposed?void r("VideoElementAdapter already disposed"):void i()}),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){function h(){s._updateBuffered()}function c(n){u.call(s,n)}if(this._disposed)return null;var e,s=this,o=null;try{e=this._mediaSource.addSourceBuffer(i);o=new t.VideoElementAdapterBuffer(f,r,e,h,c);this._adapterSourceBuffers.add(o,e);n.Log.verbose(3,"Adapter buffer added: "+i+" Adapter buffer total: "+this._adapterSourceBuffers.length)}catch(l){n.Log.error(3,"Failed to add SourceBuffer to MediaSource: "+l)}return o},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){function s(){n.Log.verbose(3,"SourceBuffer 'update' event completed.");o()}function h(){n.Log.error(3,"SourceBuffer append failed with 'error' event.");o()}function o(){e._notifyBufferUpdated();e._tryInternalRemove();e._tryInternalAppend()}var e=this;this._disposed=!1;this._pendingBufferRanges=new n.Common.TimeRangeSet;this._sourceBuffer=r;this._maxAdapterBufferInWallClockSec=t;this._playbackPosFn=i;this._notifyBufferUpdated=u;this._pendingBuffer=[];this._pendingRemove=[];this._submittedRemove=null;this._appendErrorHandler=f;this._sourceBuffer.addEventListener("update",s);this._sourceBuffer.addEventListener("error",h)}return Object.defineProperty(t.prototype,"buffered",{get:function(){var s,e,i=new n.Common.TimeRangeSet,o,f,t,r,u;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),f=this._pendingBufferRanges.end(t),0===n.Common.diffTimes(o,e)?i.extendLast(f):(s=new n.Common.TimeRange(o,f),i.addRange(s)),e=f;for(t=0;t<this._pendingRemove.length;t++)r=this._pendingRemove[t].startInSec,u=this._pendingRemove[t].endInSec,i.removeRange(r,u);this._submittedRemove&&(r=this._submittedRemove.startInSec,u=this._submittedRemove.endInSec,i.removeRange(r,u))}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._maxAdapterBufferInWallClockSec*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,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.append=function(t,i,r){for(var s,f,o,e,u=0;u<this._pendingBuffer.length&&!(i<this._pendingBuffer[u].presTimeInSec);u++);if(r){if(u>0&&(f=this._pendingBuffer[u-1],e=n.Common.diffTimes(i,f.presTimeInSec+f.durationInSec),e>0))throw new Error("append ("+i+","+r+") failed, overlaps with ("+f.presTimeInSec+","+f.durationInSec+")");if(u<this._pendingBuffer.length&&(o=this._pendingBuffer[u],e=n.Common.diffTimes(o.presTimeInSec,i+r),e>0))throw new Error("append ("+i+","+r+") failed, overlaps with ("+o.presTimeInSec+","+o.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.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(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){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._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._registerInternalEvents(!0)}return i.prototype.dispose=function(){this._disposed||(this._registerInternalEvents(!1),this._disposed=!0,this._sessionContext=null,this._lastPresentation=null,this._pendingPresentation=null,this._mediaSource&&(this._mediaSource.dispose(),this._mediaSource=null),this._workflowSeq&&(this._workflowSeq.dispose(),this._workflowSeq=null),this._videoStreamList&&this._videoStreamList.dispose(),this._audioStreamList&&this._audioStreamList.dispose(),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 u(t){function u(){return null!==i._playbackPosInSec&&i._sessionContext.videoTag.seeking?i._playbackPosInSec:i._sessionContext.videoTag.currentTime}function f(t){if(this._mediaSource){for(var u=this._mediaSource.sourceBuffers,f=!1,r=0;r<u.length;r++)if(u[r]===t){f=!0;break}f||i._sessionContext.eventMgr.dispatchEvent(n.InternalEventName.exception,"SourceBuffer has been removed from MediaSource")}}function e(){i._disposed||(r.periods[0].streams.forEach(function(r){r.streamingInfo.selected&&(r.streamingInfo.sourceBuffer=i._mediaSource.addAdapterBuffer(r.codec,u,f,t.sessionContext.maxBufferInWallClockSec()),n.assert(null!=r.streamingInfo.sourceBuffer,"presentationWorkflowResolved: Failed to create source buffer for stream "+n.Presentation.StreamType[r.type]),0===r.type?i._sessionContext.videoBufferData.updateBuffer(r.streamingInfo.sourceBuffer):1===r.type&&i._sessionContext.audioBufferData.updateBuffer(r.streamingInfo.sourceBuffer),r.streamingInfo.sourceBuffer.presentationTimeOffsetInSec=r.presentationTimeOffsetInSec+i._dtOffsetToAdd)}),i._updateStartPosition(),i._updateDuration(),i._registerVideoDownloadedEvents(),i._registerVideoTagEvents(),i._checkMediaWorkflow(),i._tryTimeUpdateEvent(),t.dispose())}function o(n){throw new Error(n);}if(!i._disposed){var r=null;if(n.Log.verbose(1,"presentationWorkflowResolved"),null===t.sessionContext.commonPresentation)throw new Error("presentationWorkflowResolved: unexpected null values");r=t.sessionContext.commonPresentation;i._videoStreamList=new n.Presentation.VideoStreamList(i._sessionContext,r.periods[0].streams);i._audioStreamList=new n.Presentation.AudioStreamList(i._sessionContext,r.periods[0].streams);i._sessionContext.emeManager.setContentTypes(i._audioStreamList.streams[0].codec,i._videoStreamList.streams[0].codec);i._sessionContext.eventMgr.dispatchEvent(n.EventName.loadedmetadata);i._mediaSource=n.VideoElementAdapter.CreateAdapter();i._mediaSource.setVideoElementSrcAsync(t.sessionContext.videoTag).then(e,o)["catch"](function(t){i._sessionContext.eventMgr.dispatchEvent(n.InternalEventName.exception,t)})}}function f(t){i._disposed||(n.Log.error(1,"presentationWorkflowRejected:  module: "+t.currentModuleId),t.externalFailure&&n.Failure.isExternalError(t.externalFailure.code)&&(i._error=new n.Failure.External(t.externalFailure.code,t.externalFailure.message),n.Log.error(1,"Dispatching error: "+i.error.toString()),t.sessionContext.eventMgr.dispatchEvent(n.EventName.error)),t.dispose())}n.Log.verbose(1,"src("+t+")");var r,i=this;this._sessionContext.presentationUrl=t;r=t.indexOf("?");-1!==r&&(this._sessionContext.presentationQueryStr=t.slice(r));this._presentationWorkflowAsync(u,f)},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,"currentTime",{get:function(){var t=this._sessionContext.videoTag,n=0;return this._sessionContext.commonPresentation&&(n=null!==this._pendingPlaybackPosInSec?this._pendingPlaybackPosInSec:t.currentTime,n=Math.max(this._fromPresentationTime(n),0)),n},set:function(t){var f,e,i;n.Log.verbose(1,"currentTime("+t.toFixed(3)+")");var u=this._sessionContext,r=u.commonPresentation.periods[0].streams,o=!1,s=0,h=0,c=this.duration;if(u.commonPresentation.isLive){var a=u.commonPresentation.timeShiftBufferDepth||1/0,l=u.heuristicSettings.buffer.leftEdgeBackoffInSec,v=a-l;s=u.liveStartBufferInSec();h=v>c?0:l}for(t=Math.max(t,h),t=Math.min(t,c-s),t=this._toPresentationTime(t),n.Log.verbose(1,"seeking from presentation time "+u.videoTag.currentTime.toFixed(3)+" to "+t.toFixed(3)),f=t,i=0;i<r.length;i++)if(r[i].streamingInfo.selected){if(e=r[i].segments.getByInSegmentTimestamp(t),e)continue;e=r[i].segments.getByInDiscontinuityTimestamp(t);e&&(f=Math.max(f,e.segmentInfo.presTimeInSec))}for(f!==t&&(n.Log.verbose(1,"skipping discontinuity from presentation time "+t+" to "+f),t=f),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),i=0;i<r.length;i++)r[i].streamingInfo.selected&&r[i].streamingInfo.sourceBuffer&&!1===r[i].streamingInfo.sourceBuffer.contains(t)&&(r[i].streamingInfo.pendingSeekPositionInSec=t,r[i].streamingInfo.abortCurrentRequest=!0,r[i].streamingInfo.sourceBuffer.flushFrom(),o=!0,2===r[i].streamingInfo.workflowState&&(r[i].streamingInfo.workflowState=0));this._checkMediaWorkflow();o||this._buffersAbovePreroll()||this._endOfSelectedStreams()||(o=!0);o&&(u.videoTag.paused||(this._pendingPlay=!0,u.eventMgr.dispatchEvent(n.EventName.waiting),u.videoTag.pause()))},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(){n.Log.verbose(1,"play()");var i=this._sessionContext,r=i.heuristicSettings.buffer.leftEdgeBackoffInSec,t=i.videoTag;return this._mediaSource?(0===this._mediaSource.readyState&&t.load(),i.commonPresentation&&i.commonPresentation.isLive&&t.paused&&!t.seeking&&this._fromPresentationTime(t.currentTime)<r&&(n.Log.verbose(1,"play: skipping from "+t.currentTime+" to left edge"),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)),void this._resetHealthCheckTime()):void(this._pendingPlay=!0)},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;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&&t._startPlayback()):(r.eventMgr.dispatchEvent(n.EventName.waiting),t._pendingPlay=!0,r.videoTag.pause()),h=!1,s=0;s<r.commonPresentation.periods[0].streams.length;s++)o=r.commonPresentation.periods[0].streams[s],o.streamingInfo.selected&&0===o.streamingInfo.workflowState&&(!o.streamingInfo.sourceBuffer||t._isBufferAheadOtherStreams(o)||o.streamingInfo.sourceBuffer.bufferFull(t._sessionContext.playbackRate())||t._buffersAtLiveEdge(o)?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)})));h&&0===t._pendingTryMediaRequestCount&&(n.Log.verbose(1,"_doCheckMediaWorkflow: schedule try again"),t._pendingTryMediaRequestCount++,n.Util.setTimeout(u,i._mediaSegmentTimeoutInMSec))}}function f(i){var f,u,o;if(!t._disposed){for(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)?n.Log.verbose(1,"mediaRequestResolved failed to update videoTag currentTime: pending="+t._pendingPlaybackPosInSec+", actual="+r.videoTag.currentTime):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){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;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&&(this._mediaSource.durationInSec=t))},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;this._sessionContext.videoTag.play()},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(){function e(){t._disposed||t._pendingPlay&&t._buffersAbovePreroll()&&t._startPlayback()}function o(){if(!t._disposed){var r=t._sessionContext;r.eventMgr.dispatchEvent(n.EventName.durationchange);r.commonPresentation&&r.commonPresentation.isLive&&n.Util.setTimeout(u,i._durationChangeMinIntervalInMSec)}}function u(){if(!t._disposed){var r=t._sessionContext;r.commonPresentation&&r.commonPresentation.isLive&&(t._lastDuration!==t.duration?(t._lastDuration=t.duration,r.eventMgr.dispatchEvent(n.EventName.durationchange),n.Util.setTimeout(u,i._durationChangeMinIntervalInMSec)):0===t._lastDuration&&n.Util.setTimeout(u,i._durationChangeMinIntervalInMSec))}}function f(){t._resetHealthCheckTime()}function s(){if(!t._disposed){var r=t._sessionContext.videoBufferData,i=r.getPlaybackBitrate(t.currentMediaTime);i!=t._lastPlaybackBitrate&&(t._lastPlaybackBitrate=i,t._sessionContext.eventMgr.dispatchEvent(n.EventName.playbackbitratechanged))}}var t=this,r=t._sessionContext.videoTag;r.addEventListener(n.EventName.canplaythrough,e);r.addEventListener(n.EventName.durationchange,o);r.addEventListener(n.EventName.playing,f);r.addEventListener(n.EventName.seeked,f);r.addEventListener(n.EventName.timeupdate,s)},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+o,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}()}(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.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.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 f(){o<t.urlsToRetrieve.length?n.Util.setTimeout(h,0,t.urlsToRetrieve[o++]):r()}function h(i){if(e._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u();if(!i.mediaData)return void f();var r=Date.now();e._decryptor.decrypt(s,i.mediaData).then(function(u){var e=Date.now()-r;n.Log.verbose(12,"AES decrypt data in "+e+" ms, bytes: "+i.mediaData.byteLength+" url: "+i.url);i.mediaData=u;t.sessionContext.decryptionTracker&&t.sessionContext.decryptionTracker.updateDecryptionSpeedInfo(i.mediaData.byteLength,e/1e3);f()},function(r){n.Log.error(12,"Failed to AES decrypt url: "+i.url+" "+r);n.Failure.attachFailureToRequest(t,t.currentModuleId,5242885,"Failed to AES decrypt segment");u()})}var e=i,o=0,s=t.requestedStream.streamingInfo.aes;return e._decryptor.isInitialized(s)?void f():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._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.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){if(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(t.downloadTimeMs<this._bandwidthSettings.bandwidthEstimationMinMsec)return n.Log.verbose(5,"Ignoring bandwidth estimation, download time "+Math.floor(t.downloadTimeMs)+" ms less than configured min "+this._bandwidthSettings.bandwidthEstimationMinMsec+" ms"),void this._averageCalc.dropOldest();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.dropOldest();var i=t.totalDownloadTimeMs,r=t.bandwidth;this._averageCalc.addValue(r);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: "+i+" ms")},t.prototype.reportHeuristicsData=function(t,i){var u=this.perceivedBandwidth(),f=this._decryptionTracker?this._decryptionTracker.averageDecryptionSpeed:1/0,r,e,o,s;if(n.Log.verbose(5,"averageBW reporting: "+Math.round(u/1e3)+" Kbps decryptionBW: "+Math.round(f/1e3)+" Kbps"),!i)throw new Error("reportHeuristicsData failed, invalid chunkDuration");for(r=0;r<t.tracksData.length;r++)t.tracksData[r].selectable&&(e=t.tracksData[r].trackInfo.bitrate*i,u?(o=e/u,s=f?e/f:0,t.tracksData[r].dataRetrieverEstimationInWallClockSec=o+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 f,h,o,s;if(!i.urlsToRetrieve[0].presentationData)throw new Error(i.urlsToRetrieve[0].url+": no presentation data found");return f=i.sessionContext,s=t._getPublishTime(i.urlsToRetrieve[0].presentationData),s&&f.commonPresentation&&f.commonPresentation.publishTime&&f.commonPresentation.publishTime.getTime()>=Date.parse(s)?(n.Log.verbose(4,"skipping MPD parse, not newer than last parsed: "+i.urlsToRetrieve[0].url),void r()):(h=t._getBaseURL(f.presentationUrl),o=new e(i.urlsToRetrieve[0].presentationData,h),o&&o.periods?t._validPresentation(o)?(f.updatePresentation(o),n.Log.verbose(4,"MPD updated"),void r()):(n.Failure.attachFailureToRequest(i,i.currentModuleId,4194307,i.urlsToRetrieve[0].url+": unsupported presentation"),void u("unsupported presentation")):(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=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._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(){var n=this._adaptationSet;return n.mimeType+';codecs="'+n.codecs+'"'},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.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,"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}(),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(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(n){var r=t.heuristicData.tracksData,i;if(!n)throw new Error("findHighestTrack failed, invalid timeEstimationThresholdInSec");for(i=r.length-1;i>=0;i--)if(r[i].selectable&&r[i].dataRetrieverEstimationInWallClockSec*t.sessionContext.playbackRate()<n)return r[i].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&&(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),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 e=t.heuristicData.tracksData,c=!1,o=i._highestTrackIndexAllowed;o<e.length;o++)e[o].selectable&&e[o].trackInfo.width>s&&e[o].trackInfo.height>h&&(c?e[o].selectable=!1:(c=!0,i._highestTrackIndexAllowed=o));c||(i._highestTrackIndexAllowed=e.length-1);r&&t.requestedStream.streamingInfo.lastDownloadedTrack&&e[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;!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.onGetData=function(t){n.Log.verbose(5,"onGetData");t.currentModuleId=this._moduleId;var i=this;return new Promise(function(r,f){function o(){var p,s,w,f,b;(n.assert(null!=t.urlsToRetrieve[e],"Failed to start the download as urlToRetrieve at index "+e+" is null"),n.assert(null!=t.urlsToRetrieve[e].url&&t.urlsToRetrieve[e].url.length>0,"Failed to start the download as urlToRetrieve at index "+e+" is empty"),t.requestedStream&&(t.requestedStream.streamingInfo.abortCurrentRequest=!1),i._bandwidthRequest&&i._bandwidthRequest.streamId===t.urlsToRetrieve[e].streamId&&i._bandwidthRequest.presTimeInSec===t.urlsToRetrieve[e].presTimeInSec)&&(p=t.heuristicData.tracksData.findFirst(function(n){return n.trackInfo.bitrate===i._bandwidthRequest.bitrate}),p&&i._bandwidthRequest.bitrate>=t.urlsToRetrieve[e].bitrate?2===t.urlsToRetrieve[e].requestType?i._bandwidthRequest.bitrate!==t.urlsToRetrieve[e].bitrate&&(n.Log.verbose(5,"Switching init segment request "+t.urlsToRetrieve[e].url+" to "+i._bandwidthRequest.bitrate),t.urlsToRetrieve[e].bitrate=i._bandwidthRequest.bitrate,t.urlsToRetrieve[e].url=n.Util.UrlFormatter.FormatDashInitUrl(t.requestedStream.initUrlTemplate,i._bandwidthRequest.bitrate.toString(),t.sessionContext.presentationQueryStr),t.selectedTrack=p.trackInfo):(n.Log.verbose(5,"Reusing bandwidth request "+i._bandwidthRequest.url),t.urlsToRetrieve[e].dispose(),t.urlsToRetrieve[e]=i._bandwidthRequest,i._bandwidthRequest=null):(i._bandwidthRequest.dispose(),i._bandwidthRequest=null));0===t.urlsToRetrieve[e].responseType&&null!=t.urlsToRetrieve[e].mediaData||4===t.urlsToRetrieve[e].responseType&&null!=t.urlsToRetrieve[e].presentationData?(4===t.urlsToRetrieve[e].responseType&&null!=t.sessionContext.commonPresentation&&(s=t.sessionContext.httpDataRetrieverSettings,w=1e3*t.sessionContext.commonPresentation.maxSegmentDuration,s.timeoutInMSec=Math.max(s.timeoutInMSec,2*w),s.timeoutInMSec=Math.min(s.timeoutInMSec,s.maxTimeoutInMSec),n.Log.verbose(5,"Setting data retriever timeout: "+s.timeoutInMSec+" ms")),e++,e>=t.urlsToRetrieve.length?r():o()):(1===t.workflowType&&n.StreamUtil.getBufferData(t).dispatchDownloadRequested(h(e)),f=t.sessionContext.createXmlHttpRequest(),f.open("GET",t.urlsToRetrieve[e].url),f.onreadystatechange=l,f.onprogress=a,f.onload=v,f.onerror=c,f.ontimeout=y,f.onabort=c,0===t.urlsToRetrieve[e].responseType&&(f.responseType=n.Context.ResponseType[0]),f.msCaching&&(f.msCaching="disabled"),f.timeout=t.sessionContext.httpDataRetrieverSettings.timeoutInMSec,b=new u(t.urlsToRetrieve[e],f),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[e].url):0===t.workflowType&&n.Log.verbose(5,"Getting "+t.urlsToRetrieve[e].url),i._requestList.push(b),f.send())}function l(){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()))}function a(r){var s=this,f,u,e,o;if(!i._disposed&&(f=Date.now(),u=i._requestList.findFirst(function(n){return n.request===s}),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,i._bandwidthData.updateBandwidthInfo(u.bandwidthInfo),u.abortRequest(),n.Log.verbose(5,"Aborting init bandwidth request due to timeout: "+u.urlRequest.url)))}}function v(){var c=this,u,f;if(!i._disposed)if(u=i._requestList.findFirst(function(n){return n.request===c}),n.assert(null!=u,"cannot find the request in the request queue"),u.bandwidthInfo.responseEndTimeInMS=Date.now(),f=t.urlsToRetrieve.indexOf(u.urlRequest),t.urlsToRetrieve[f].httpResposeContentType=this.getResponseHeader("Content-Type"),t.urlsToRetrieve[f].httpResponseCode=this.status,200===this.status){switch(i._requestList.removeFirst(function(n){return n.request===c}),u.urlRequest.responseType){case 0:t.urlsToRetrieve[f].mediaData=this.response;u.bandwidthInfo.responseLengthInBytes=t.urlsToRetrieve[f].mediaData.byteLength;1===t.workflowType?n.StreamUtil.getBufferData(t).dispatchDownloadCompleted(h(f),u.bandwidthInfo):(i._bandwidthRequest=t.urlsToRetrieve[f].clone(),i._bandwidthRequest.requestType=1);break;case 4:t.urlsToRetrieve[f].presentationData=this.response;u.bandwidthInfo.responseLengthInBytes=t.urlsToRetrieve[f].presentationData.length;break;default:n.assert(!1,"Unexpected response Type in the request Context")}if(n.Log.verbose(5,"Download Finished for :"+u.urlRequest.url),t.requestedStream&&(i._bandwidthData&&0===t.requestedStream.type&&i._bandwidthData.updateBandwidthInfo(u.bandwidthInfo),t.requestedStream.streamingInfo.lastDownloadedTrack=t.selectedTrack),e++,e>=t.urlsToRetrieve.length)return void r();o()}else n.Log.error(5,u.urlRequest.url+" failed, httpStatus: "+this.status),s.call(this,n.Failure.translateHttpStatusToCode(this.status))}function c(n){if(!i._disposed){var t=2097152;"error"===n.type?t=2097753:"abort"===n.type&&(t=2097754);s.call(this,t,"http: "+n.type)}}function y(t){var u=this,r;i._disposed||(r=i._requestList.findFirst(function(n){return n.request===u}),n.assert(null!=r,"cannot find the request in the request queue"),t.loaded&&1===r.urlRequest.requestType&&(r.bandwidthInfo.responseLengthInBytes=t.loaded,r.bandwidthInfo.responseEndTimeInMS=Date.now(),i._bandwidthData.updateBandwidthInfo(r.bandwidthInfo)),s.call(this,2097752,"http timed out"))}function s(u,e){var w=this,o=i._requestList.removeFirst(function(n){return n.request===w}),a,v,s,y,p,c,l;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";e&&(v+=", "+e);s=new n.Failure.Record(t.currentModuleId,u,v);(("http: abort"!==e||null==o)&&n.Log.error(5,s.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(h(y),u,e),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: "+(e?e+", ":"")+"presTimeInSec: "+l+" "+o.urlRequest.url),t.externalFailure=s,f()):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(s,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: "+(e?e+", ":"")+"presTimeInSec: "+l+" "+o.urlRequest.url),r()):(0!==t.workflowType&&o&&o.urlRequest&&3!==o.urlRequest.requestType&&(t.state=2,t.failTracker.log(s,t.selectedTrack),t.failTracker.noDataReceivedFailure=!o.bandwidthInfo.responseLengthInBytes,t.retryWaitTimeMSec=t.failTracker.isLastServerError()?t.sessionContext.httpRetryPolicySettings.retryMediaServerErrorInMSec:0),n.Log.warning(5,"failed to download: "+(e?e+", ":"")+o.urlRequest.url),r())):0!==t.workflowType||2097556!==u&&2097752!==u?(t.externalFailure=s,n.Log.warning(5,"failed to download: "+(e?e+", ":"")+o.urlRequest.url),f()):(t.state=2,t.retryWaitTimeMSec=2097556===u?t.sessionContext.httpRetryPolicySettings.retryPresentationInMSec:0,t.failTracker.log(s),n.Log.warning(5,"failed to download: "+(e?e+", ":"")+o.urlRequest.url),r()));a&&t.failTracker.reset()}function h(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)}if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void f("object is already disposed.");n.assert(0!==t.urlsToRetrieve.length,"Failed to start the download as urlsToRetrieve is empty.");var e=0;o()})},t}();t.HttpDataRetriever=r;u=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;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)):u=r.isLastServerError()?1:r.isLastNetworkFail()?r.sameRequestRetried<t.maxRetryPerSegment?r.noDataReceivedFailure?4:2:3: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,l,s,o,h,a,v;if(i._disposed)return n.Failure.attachFailureToRequest(t,t.currentModuleId,0),void u("object is already disposed.");if(!t.sessionContext.heuristicSettings.preFetchDataEnabled)return void r();if(c=t.sessionContext.commonPresentation.periods[0].streams,f=c.findFirst(function(n){return 0===n.type}),t.requestedStream=f,t.sessionContext.heuristicSettings.preFetchDataMiddle?(l=Math.round(f.tracks.length/2)-1,e=f.tracks[l].bitrate):e=f.tracks[0].bitrate,!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;a=n.Util.UrlFormatter.FormatDashMediaUrl(s,e.toString(),o.mediaTimestampStr,t.sessionContext.presentationQueryStr);v=new n.Context.UrlRequest(a,3,0,f.id,e,o.presTimeInSec,o.durationInSec);t.urlsToRetrieve.push(v);t.sessionContext.heuristicSettings.preFetchDataEnabled=!1;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 u,f=null,e,r;return 0===this.segmentTable.length?null:((u=n.Common.binarySearch(t,this.segmentTable,this._compareTimestampInSec),-1!==u)&&(r=this.segmentTable[u],e=Math.floor(Math.abs(t-r.firstSegment.presTimeInSec)/r.firstSegment.durationInSec),f=new i(this,r,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;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)):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 n.Failure.attachFailureToRequest(i,i.currentModuleId,1),void f();i.state=2;i.retryWaitTimeMSec=t._retryWaitTimeMSec}else 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){if(this._slidingWindow=[],this._sum=0,this._maxWindowLength=n,1>n)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?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(n){"use strict";function f(){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 i(t,i,r){"undefined"==typeof r&&(r=n.timestampDeltaThreshold);var u=i-t;return Math.abs(u)<r&&(u=0),u}function e(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 o(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 s(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 h(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 c(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 l(n){return 0>n&&(n=4294967295+n+1),"0x"+("00000000"+n.toString(16).toUpperCase()).substr(-8)}function a(n){for(var i="",t=0;t<n.byteLength;t++)i+=String.fromCharCode(n[t]);return i}function v(n){for(var i=new Uint8Array(n.length),t=0;t<i.byteLength;t++)i[t]=n.charCodeAt(t);return i}var t,r,u;n.timestampDeltaThreshold=.0005;n.nearDiscontinuityThreshold=2;n.isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);n.isEdge=/Edge/i.test(navigator.userAgent);n.isIEMobile=/IEMobile\/([0-9.]*)/.test(navigator.userAgent);n.isSafari=/Safari/i.test(navigator.userAgent)&&!n.isChrome&&!n.isEdge&&!n.isIEMobile;n.isMobile=/android|webos|windows phone|iphone|ipad|ipod|blackBerry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase());n.isOSXElCapitanOrEarlier=f;n.diffTimes=i;t=function(){function n(n,t){this.startInSec=n;this.endInSec=t}return n}();n.TimeRange=t;r=function(){function r(){this._timeRanges=[]}return r.prototype.dispose=function(){this._timeRanges=null},Object.defineProperty(r.prototype,"length",{get:function(){return this._timeRanges.length},enumerable:!0,configurable:!0}),r.prototype.start=function(n){return this._timeRanges[n].startInSec},r.prototype.end=function(n){return this._timeRanges[n].endInSec},r.prototype.duration=function(n){return this._timeRanges[n].endInSec-this._timeRanges[n].startInSec},r.prototype.extendLast=function(n){this._timeRanges[this._timeRanges.length-1].endInSec=n},r.prototype.addRange=function(n){this._timeRanges.push(n)},r.prototype.addRanges=function(n){if(n)for(var i=0;i<n.length;i++)this.addRange(new t(n.start(i),n.end(i)))},r.prototype.removeRange=function(i,r){var u,e,f;if(r>i)for(u=0;u<this._timeRanges.length;u++)e=this._timeRanges[u].startInSec,f=this._timeRanges[u].endInSec,n.diffTimes(f,i)>=0||n.diffTimes(r,e)>=0||(n.diffTimes(e,i)>=0&&n.diffTimes(i,f)>=0&&n.diffTimes(f,r)>=0?this._timeRanges[u].endInSec=i:n.diffTimes(e,i)>=0&&n.diffTimes(r,f)>=0?(this._timeRanges[u].endInSec=i,this._timeRanges.splice(u+1,0,new t(r,f))):n.diffTimes(i,e)>=0&&n.diffTimes(f,r)>=0?(this._timeRanges.splice(u,1),--u):n.diffTimes(i,e)>=0&&n.diffTimes(e,r)>=0&&n.diffTimes(r,f)>=0&&(this._timeRanges[u].startInSec=r),n.diffTimes(this._timeRanges[u].endInSec,this._timeRanges[u].startInSec)>=0&&(this._timeRanges.splice(u,1),--u))},r.prototype.rebase=function(n){this._timeRanges.forEach(function(t){t.startInSec-=n;t.endInSec-=n})},r.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++},r.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},r.prototype.beforeDiscontinuity=function(t,r){return 0>r||r+1>=this._timeRanges.length||this._timeRanges[r].startInSec>t||t>=this._timeRanges[r].endInSec?!1:0!==i(this._timeRanges[r].endInSec,this._timeRanges[r+1].startInSec)&&this._timeRanges[r].endInSec-t<n.nearDiscontinuityThreshold},r.prototype.atOrAfterDiscontinuity=function(t,r){return 0>=r||r>=this._timeRanges.length||this._timeRanges[r-1].endInSec>t||t>=this._timeRanges[r].endInSec?!1:0!==i(this._timeRanges[r-1].endInSec,this._timeRanges[r].startInSec)&&(t<this._timeRanges[r].startInSec||t-this._timeRanges[r].startInSec<n.nearDiscontinuityThreshold)},r}();n.TimeRangeSet=r;u=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}();n.SegmentData=u;n.binarySearch=e;n.binarySearchInGaps=o;n.binarySearchTimeline=s;n.uint8ArrayToHexString=h;n.hexStringToUint8Array=c;n.toHexString=l;n.uint8ArrayToString=a;n.stringToUint8Array=v}(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("video/mp4",'codecs="avc1.4d404f"')}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){var r=null;switch(t){case 1:n.PlayerDetector.HlsType1Supported(i)&&(r=1);break;case 2:n.PlayerDetector.Mp4Type1Supported(i)&&(r=1);break;case 3:n.PlayerDetector.MseSupported(i)&&(r=3)}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}),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(n){t.webCrypto={importedkey:n,algorithm:u};e()},function(u){return i&&r?(t.forge={keyStr:n.Common.uint8ArrayToString(new Uint8Array(i)),ivStr:n.Common.uint8ArrayToString(new Uint8Array(r))},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(o,i,r)||(Date.now()-s<t._maxWorkerWaitMSec?n.Util.setTimeout(e,0):f())}function o(n){u(n.buffer)}var s=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 h(n){f(n)&&(i=n)}function c(){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 l(n,t){for(var r=[],i=0;i<t.length;i++)-1!==w[n].indexOf(t[i].type)&&r.push(t[i]);return r}function a(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=v(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+s.length)}function v(n){var w,t=n.src.trim(),et=t.search(/format=/i),nt=[],a="",h="",ft=t.indexOf("?"),b,k,d,v,rt,g,c,ut;if(-1!==ft&&(h=t.substr(ft),""!==h)){var ot=new RegExp("(\\?|&)protectionType=(.[^&]*)","i"),st=new RegExp("(\\?|&)token=(.[^&]*)","i"),tt=h.match(ot),it=h.match(st);tt&&3===tt.length&&(b=new u,b.type=tt[2],it&&3===it.length&&(b.authenticationToken=decodeURIComponent(it[2])),n.protectionInfo=[b])}for(et>-1&&(t=t.replace(/format=[^,)]*[ ,]*/i,""),t=t.replace(/\(\s*\)/,"")),w=t.match(/\.ism\/manifest\([^)]*\)/i),w&&w.length>0&&(a=w[0].substr(s.length+1).trim()),t=e(n.src.trim()),k=i,n.streamingFormats&&f(n.streamingFormats)&&(k=n.streamingFormats),d=0;d<k.length;d++){if(c="",v=k[d],rt=p[v],v!==o?(c="(format="+y[v],c+=a?","+a:")"):a&&(c="("+a),n.protectionInfo){if(ut=l(v,n.protectionInfo),!ut.length)continue;g=new r(t+c,rt,ut)}else g=new r(t+c,rt);""!==h&&(g.src+=h);nt.push(g)}return nt.length>0?nt:null}var o="SMOOTH",t=[o,"DASH","HLS-V4","HLS-V3","HLS"],y={DASH:"mpd-time-csf","HLS-V3":"m3u8-aapl-v3","HLS-V4":"m3u8-aapl-v4",HLS:"m3u8-aapl"},p={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"},w={SMOOTH:["PlayReady","AES"],DASH:["PlayReady","AES","Widevine"],"HLS-V3":["PlayReady","AES"],"HLS-V4":["PlayReady","AES"],HLS:["PlayReady","AES","FairPlay"]},s=".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=h;n.resetStreamingFormats=c;n.expandSources=a}(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.max=11]="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;11>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.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(t){"use strict";var i,r,u,f;!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;u=function(){function n(n,t,i,r){this.target=n;this.listener=t;this.eventName=i;this.useCapture=r}return n}();f=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 t(){n.certFecthed=!0;n.setSrcOnVideoElement()}function i(){return new Promise(function(t,i){function u(){n.disposed||(200===this.status?(n.certificate=new Uint8Array(this.response),t()):(n.onError(5242887,"Fairplay certificate fetch failed with status ="+this.status),i()))}function f(){n.disposed||(n.onError(5242887,"Error occurred during Fairplay certificate fetch."),i())}function e(){n.disposed||(n.onError(5242887,"Timeout during Fairplay certificate fetch."),i())}var r=new XMLHttpRequest;r.open("GET",n.srcInfo.fairplayInfo.certificateUrl,!0);r.responseType="arraybuffer";r.onload=u;r.onerror=f;r.ontimeout=e;n.srcInfo.fairplayInfo.authenticationToken&&r.setRequestHeader("Authorization",n.srcInfo.fairplayInfo.authenticationToken);r.timeout=5e3;r.send()})}if(!this.srcInfo.fairplayInfo||!this.srcInfo.fairplayInfo.type||"FairPlay"!=this.srcInfo.fairplayInfo.type||!this.srcInfo.fairplayInfo.certificateUrl)throw new Error("Initialization Error in FairPlay");var n=this;i().then(t)},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 u(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(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)}}function o(){if(!t.disposed){var i="Timeout 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.ontimeout=o,r.timeout=5e3,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),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=f}(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(n){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;t.amp=n()}}(function(){var n;return function t(n,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!n[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};n[f][0].call(s.exports,function(t){var i=n[f][1][t];return u(i?i:t)},s,s.exports,t,n,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(){},{}],2:[function(n,t){var i=n("../internal/getNative"),r=i(Date,"now"),u=r||function(){return(new Date).getTime()};t.exports=u},{"../internal/getNative":18}],3:[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":2,"../lang/isObject":31}],4:[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},{}],5:[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":31,"./debounce":3}],6:[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},{}],7:[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},{}],8:[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},{}],9:[function(n,t){var i=n("./createBaseFor"),r=i();t.exports=r},{"./createBaseFor":16}],10:[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":37,"./baseFor":9}],11:[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":28,"../lang/isObject":31,"../lang/isTypedArray":34,"../object/keys":36,"./arrayEach":7,"./baseMergeDeep":12,"./isArrayLike":19,"./isObjectLike":24}],12:[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":27,"../lang/isArray":28,"../lang/isPlainObject":32,"../lang/isTypedArray":34,"../lang/toPlainObject":35,"./arrayCopy":6,"./isArrayLike":19}],13:[function(n,t){function i(n){return function(t){if(null!=t)return r(t)[n]}}var r=n("./toObject");t.exports=i},{"./toObject":26}],14:[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":40}],15:[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":4,"./bindCallback":14,"./isIterateeCall":22}],16:[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":26}],17:[function(n,t){var i=n("./baseProperty"),r=i("length");t.exports=r},{"./baseProperty":13}],18:[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":30}],19:[function(n,t){function i(n){return null!=n&&u(r(n))}var r=n("./getLength"),u=n("./isLength");t.exports=i},{"./getLength":17,"./isLength":23}],20:[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},{}],21:[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},{}],22:[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":31,"./isArrayLike":19,"./isIndex":21}],23:[function(n,t){function i(n){return"number"==typeof n&&n>-1&&n%1==0&&r>=n}var r=9007199254740991;t.exports=i},{}],24:[function(n,t){function i(n){return!!n&&"object"==typeof n}t.exports=i},{}],25:[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":27,"../lang/isArray":28,"../lang/isString":33,"../object/keysIn":37,"./isIndex":21,"./isLength":23}],26:[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":31,"../lang/isString":33,"../support":39}],27:[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":19,"../internal/isObjectLike":24}],28:[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":18,"../internal/isLength":23,"../internal/isObjectLike":24}],29:[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":31}],30:[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":20,"../internal/isObjectLike":24,"./isFunction":29}],31:[function(n,t){function i(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}t.exports=i},{}],32:[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":10,"../internal/isHostObject":20,"../internal/isObjectLike":24,"../support":39,"./isArguments":27}],33:[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":24}],34:[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":23,"../internal/isObjectLike":24}],35:[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":8,"../object/keysIn":37}],36:[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":18,"../internal/isArrayLike":19,"../internal/shimKeys":25,"../lang/isObject":31,"../support":39}],37:[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":7,"../internal/isIndex":21,"../internal/isLength":23,"../lang/isArguments":27,"../lang/isArray":28,"../lang/isFunction":29,"../lang/isObject":31,"../lang/isString":33,"../support":39}],38:[function(n,t){var i=n("../internal/baseMerge"),r=n("../internal/createAssigner"),u=r(i);t.exports=u},{"../internal/baseMerge":11,"../internal/createAssigner":15}],39:[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},{}],40:[function(n,t){function i(n){return n}t.exports=i},{}],41:[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:42,"object-keys":45}],42:[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)}},{}],43:[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}},{}],44:[function(n,t){var i=n("./implementation");t.exports=Function.prototype.bind||i},{"./implementation":43}],45:[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":46}],46:[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}},{}],47:[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":45}],48:[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":47,"function-bind":44,"object-keys":45}],49:[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":48,"./polyfill":50,"./shim":51,"define-properties":41}],50:[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":48}],51:[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":50,"define-properties":41}],52:[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},{}],53:[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}},{}],54:[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":57}],55:[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":1}],56:[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:{})},{}],57:[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},{}],58:[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})})},{}],59:[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":54,trim:60}],60:[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*$/,"")}},{}],61:[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":56,"is-function":57,once:58,"parse-headers":59,xtend:62}],62:[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},{}],63:[function(t,i,r){"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 e(n){return n&&n.__esModule?n:{"default":n}}function p(n,t,i){var u=ft(n)<<28,r;return t&=~4026531840,t|=u,r=new nt["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;r.__esModule=!0;var et=t("global/window"),c=e(et),ot=t("global/document"),l=e(ot),st=t("object.assign"),w=e(st),ht=t("lodash-compat/function/throttle"),ct=e(ht),lt=t("./video.js/src/js/utils/events.js"),b=o(lt),at=t("./video.js/src/js/utils/guid.js"),vt=(o(at),t("./video.js/src/js/utils/fn.js")),yt=o(vt),pt=t("./video.js/src/js/utils/dom.js"),a=o(pt),wt=t("./video.js/src/js/utils/languageLabels.js"),k=o(wt),d=t("./video.js/src/js/utils/url.js"),g=o(d),bt=t("./video.js/src/js/utils/browser.js"),kt=o(bt),dt=t("./video.js/src/js/component.js"),v=e(dt),gt=t("./video.js/src/js/error-display.js"),ni=e(gt),ti=t("./video.js/src/js/media-error.js"),nt=e(ti),ii=t("./video.js/src/js/menu/menu.js"),ri=e(ii),ui=t("./video.js/src/js/player.js"),u=e(ui),fi=t("./video.js/src/js/tech/tech.js"),h=e(fi),ei=t("./video.js/src/js/utils/to-title-case.js"),y=e(ei),oi=t("./video.js/src/js/video.js"),tt=e(oi),si=t("./video.js/src/js/utils/log.js"),hi=t("./video.js/src/js/utils/merge-options.js"),ci=e(hi),li=o(d),ai=t("./lang/languages.js"),vi=(e(ai),t("./ampHeuristicProfiles.js")),it=o(vi),yi=t("./ampDefs.js"),s=o(yi),rt=t("./version.js"),pi=t("./tech-wrappers/Html5.js"),wi=(e(pi),t("./tech-wrappers/amp-tech-azureHtml5JS.js")),bi=(e(wi),t("./tech-wrappers/amp-tech-flashSS.js")),ki=(e(bi),t("./tech-wrappers/amp-tech-silverlightSS.js")),di=(e(ki),t("./tech-wrappers/amp-tech-html5FairPlayHLS.js")),f=(e(di),tt["default"]);"function"==typeof n&&n.amd?n("amp",[],function(){return f}):"object"==typeof r&&"object"==typeof i&&(i.exports=f);r["default"]=f;f.errorCode=s.errorCode;f.eventName=s.eventName;f.streamEventName=s.streamEventName;f.streamListEventName=s.streamListEventName;f.bufferDataEventName=s.bufferDataEventName;f.internalEventName=s.internalEventName;f.protectionType=s.protectionType;f.CorsConfig=s.CorsConfig;f.downloadableMediaType=s.downloadableMediaType;f.getIsoLangs=k.getIsoLangs;f.get2LetterLangCode=k.get2LetterLangCode;f.decodeURL=g.decodeURL;f.encodeURL=g.encodeURL;c["default"].videojs=f;f.options.techOrder=["azureHtml5JS","flashSS","html5FairPlayHLS","silverlightSS","html5"];ut="http://amp.azure.net/libs/amp/";u["default"].prototype.enterFullscreen=u["default"].prototype.requestFullscreen;u["default"].prototype.addEventListener=u["default"].prototype.on;u["default"].prototype.removeEventListener=u["default"].prototype.off;u["default"].prototype.currentTechName=function(){return this.techName_};u["default"].prototype.playerElement=function(){return this.el_};u["default"].prototype.currentAbsoluteTime=function(){return this.techGet_("currentAbsoluteTime")};u["default"].prototype.currentMediaTime=function(){return this.techGet_("currentMediaTime")};u["default"].prototype.currentVideoStreamList=function(){return this.techGet_("currentVideoStreamList")};u["default"].prototype.currentAudioStreamList=function(){return this.techGet_("currentAudioStreamList")};u["default"].prototype.videoBufferData=function(){return this.techGet_("videoBufferData")};u["default"].prototype.audioBufferData=function(){return this.techGet_("audioBufferData")};u["default"].prototype.currentDownloadBitrate=function(){return this.techGet_("currentDownloadBitrate")};u["default"].prototype.currentPlaybackBitrate=function(){return this.techGet_("currentPlaybackBitrate")};u["default"].prototype.videoWidth=function(){return this.techGet_("videoWidth")};u["default"].prototype.videoHeight=function(){return this.techGet_("videoHeight")};u["default"].prototype.currentProtectionInfo=function(){return this.options_.sourceOptions.protectionInfo};u["default"].prototype.isLive=function(){return this.techGet_("isLive")};u["default"].prototype.manifestPlayableWindowLength=function(){return this.techGet_("manifestPlayableWindowLength")};u["default"].prototype.currentPlayableWindow=function(){return this.techGet_("currentPlayableWindow")};u["default"].prototype.segmentBoundaries=function(){return this.techGet_("segmentBoundaries")};u["default"].prototype.toPresentationTime=function(n){return this.player().isLive()&&this.player().currentPlayableWindow()?n+this.player().currentPlayableWindow().startInSec:n};u["default"].prototype.fromPresentationTime=function(n){return this.player().isLive()&&this.player().currentPlayableWindow()?n-this.player().currentPlayableWindow().startInSec:n};u["default"].prototype.currentHeuristicProfile=function(n){return void 0===n?it.findProfile(this.options_.heuristicProfile).name:(this.options_.heuristicProfile=n,this)};u["default"].prototype.currentPlayerSettingValue=function(n){var t=null;return this.tech_&&h["default"]._availableSettings.heuristicSettings.hasOwnProperty(n)&&(this.tech_.updateCurrentPlayerConfigs(),t=this.tech_.options_.currentPlayerConfigs.currentHeuristicConfigs[n]),t};u["default"].getScriptRootURL=function(){var n=l["default"].getElementsByTagName("script"),t=null,i,r,o,f,e;if(n&&n.length>=1)for(i=n.length-1;i>=0;i--)if(r=null,r=n[i].src,o=new RegExp("(.[^?]+)/azuremediaplayer(?:\\.min)?\\.js(?:\\?.*)?$","i"),r&&(f=r.match(o),f&&2===f.length)){t=f[1];break}return e=u["default"].prototype.getAmpVersion(),!t&&e&&(t=ut+e),t};u["default"].prototype.getAmpVersion=function(){var t=null,i,n;return rt.ampVersion&&(i=new RegExp("([0-9]+.[0-9]+.[0-9]+).[0-9]+"),n=rt.ampVersion.match(i),n&&2===n.length&&(t=n[1])),t};u["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)})};u["default"].prototype.src=function(n,t,i){if(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-loading")});this.showPlayerLoad();void 0!==t&&null!==t&&t.length>0&&(this.options_.tracks=t);n.selected||(this.options_.sdn={},Array.isArray(n)?this.options_.sourceList=n:n instanceof Object&&(this.options_.sourceList=[n]),AMP.Logger.startup(AMP.Logger.Area.videojs,"dispatching event: sourceset "+JSON.stringify(n,function(n,t){return"authenticationToken"!==n?t:"provided"})),this.trigger(f.eventName.sourceset),this.drmSupportCheck(this.options_.sourceList));var r=function u(){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.techCall_("src",n.src);"auto"===this.options_.preload&&this.load()})):this.sourceList_(UrlRewriter.expandSources(this.options_.sourceList)):setTimeout(u.bind(this),50)};return r.call(this),this};u["default"].prototype.vjsOptions=u["default"].prototype.options;u["default"].prototype.options=function(n){var t=this.vjsOptions(n);return this.techCall_("updatePlayerOptions",t),t};u["default"].prototype.showPlayerLoad=function(){this.removeClass("vjs-seeking");this.removeClass("vjs-paused");this.removeClass("vjs-playing");this.isPreloadSupported()&&this.addClass("vjs-waiting")};u["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=h["default"].getTech(u),i&&i.drmSupportCheck&&i.drmSupportCheck(n)};u["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=h["default"].getTech(r),t&&t.setupDone&&!t.setupDone())return!1;return!0};u["default"].prototype.pluginSetupCheck=function(){var t=this.options_.plugins,n;for(n in t)if(t.hasOwnProperty(n)&&this[n]&&this[n].setupDone&&!this[n].setupDone())return!1;return!0};u["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")});n.ampEventHandlersReady=!0}()};u["default"].prototype.sourceList_=function(n){var t=this.selectSource(n);t?(this.updateSourceOptions(t.source),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.loadTech_(t.tech,t.source),this.refreshTextTracks())):(this.tech_&&this.unloadTech_(),u["default"].raiseError.call(this,u["default"].getAMPErrorCode.call(this,n)),this.triggerReady())};u["default"].prototype.options_.sourceOptions={};u["default"].prototype.updateSourceOptions=function(n){this.options({sourceOptions:null});var t={};n&&n.protectionInfo&&(t.protectionInfo=n.protectionInfo);this.options({sourceOptions:t})};u["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()")}};u["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)};u["default"].prototype.isVisible=function(){return"block"===this.el().style.display};u["default"].prototype.playerContainer=function(){return this.multiPlayerContainerDiv};u["default"].prototype.currentClip=function(){return this.clip};u["default"].prototype.clip=null;u["default"].prototype.playClip=function(n){this.src(n.parent.source,n.parent.tracks,!0);this.clip=n;this.clip.isAd&&(this.title_=n.name)};u["default"].prototype.addMidRoll=function(n){return null===this.scheduler&&(this.scheduler=new AMP.Scheduler.Scheduler(this)),this.scheduler.addMidRoll(n)};u["default"].prototype.isVisible=function(){return"block"===this.el().style.display};u["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;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)};u["default"].prototype.isDisposed=function(){return null===this.el()};u["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="")};u["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")};u["default"].prototype.getSkipButton=function(){return this.skipAdButton};u["default"].prototype.showControls=function(){this.controlBar.el_.style.display="none"};u["default"].prototype.hideControls=function(){this.controlBar.el_.style.display="block"};u["default"].prototype.scheduler=null;u["default"].prototype.getScheduler=function(){return this.scheduler};u["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};u["default"].prototype.oldDispose=u["default"].prototype.dispose;u["default"].prototype.dispose=function(){this.scheduler&&null!==this.scheduler&&this.scheduler.dispose();this.oldDispose()};u["default"].prototype.getMemoryLog=function(n){return AMP.Logger.getMemoryLog(n)};u["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.")};h["default"].prototype.updatePlayerOptions=function(n){this.options_.playerOptions=ci["default"](this.options_.playerOptions,n)};h["default"].prototype.updateCurrentPlayerConfigs=function(){var t,n,i,u,r;if(this.options_.currentPlayerConfigs||(this.options_.currentPlayerConfigs={}),t=it.findProfile(this.options_.heuristicProfile),void 0===this.options_.heuristicProfile&&t&&(this.options_.heuristicProfile=t.name),n=t?w["default"]({},t):{},i=this.options_.customPlayerSettings,i&&i.customHeuristicSettings){u={};for(r in i.customHeuristicSettings)h["default"]._availableSettings.heuristicSettings.hasOwnProperty(r)&&(u[r]=i.customHeuristicSettings[r]);n=w["default"](n,u)}n.maxBufferInWallClockSec<n.preRollInWallClockSec&&(n.maxBufferInWallClockSec=n.preRollInWallClockSec);n.livePlaybackOffsetInWallClockSec<n.preRollInWallClockSec&&(n.livePlaybackOffsetInWallClockSec=n.preRollInWallClockSec);this.options_.currentPlayerConfigs.currentHeuristicConfigs=n};h["default"]._availableSettings={heuristicSettings:{preRollInWallClockSec:0,maxBufferInWallClockSec:0,livePlaybackOffsetInWallClockSec:0,windowSizeHeuristics:!1}};u["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""};u["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()}};u["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};u["default"].prototype.trigger=function(n,t,i,r){return i?b.trigger(this.el_,n,t,i,r):b.trigger(this.el_,n,t,this.currentClip(),r),this};u["default"].raiseError=function(n,t){var i=p("amp",n,t);this.error(i)};h["default"].raiseError=function(n,t,i){var r=p(n,t,i);this.error(r)};u["default"].getErrorUI=function(n){var t=(n.code&267386880)>>20;return 0===t?n.message:6===t?this.options().notSupportedMessage:255===t?"MEDIA_ERR_UNKNOWN":nt["default"].errorTypes[t]||""};ni["default"].prototype.content=function(){var n=this.player().error(),t;if(n)return t=u["default"].getErrorUI.call(this.player(),n),[this.htmlEncode(this.localize(t)),l["default"].createElement("br"),"(0x"+n.code.toString(16)+")"]};u["default"].getAMPErrorCode=function(n){for(var t,i,r,o,h,u=f.errorCode.srcPlayerMismatchUnknown,e=0,s=this.options_.techOrder;e<s.length;e++)if(t=y["default"](s[e]),i=tt["default"].getTech(t),i&&!i.isSupported())for(r=0,o=n;r<o.length;r++)h=o[r],i.canPlaySource(h)&&("SilverlightSS"===t?u|=f.errorCode.srcPlayerMismatchSilverlightNotInstalled:"FlashSS"===t&&(u|=f.errorCode.srcPlayerMismatchFlashNotInstalled));return u};u["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)};u["default"].prototype.canControlPlaybackRate=function(){return this.tech_&&this.tech_.featuresPlaybackRate};u["default"].prototype.isPreloadSupported=function(){return this.tech_&&this.tech_.featuresPreload};u["default"].prototype.downloadableMedia=function(n){return void 0!==n?(this.downloadableMediaOptions=n,this.trigger("downloadableMediaChanged"),this):this.downloadableMediaOptions};u["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};u["default"].prototype.addElClass=function(n,t){a.addElClass(n,t)};u["default"].prototype.removeElClass=function(n,t){a.removeElClass(n,t)};u["default"].prototype.showBusy=function(){a.addElClass(this.el(),"vjs-waiting")};u["default"].prototype.presentationLayout=function(n){return void 0===n?this.preLayout:(this.title_="",this.preLayout=n,this.clip=null,void this.trigger("presentationUpdate"))};u["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,new u["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,i){li.isCrossOrigin(t)&&(i||(i=this.el()),n===f.CorsConfig.UseCredentials?i.setAttribute("crossorigin","use-credentials"):i.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()}))};i.exports=r["default"]},{"./ampDefs.js":64,"./ampHeuristicProfiles.js":65,"./lang/languages.js":91,"./tech-wrappers/Html5.js":117,"./tech-wrappers/amp-tech-azureHtml5JS.js":119,"./tech-wrappers/amp-tech-flashSS.js":120,"./tech-wrappers/amp-tech-html5FairPlayHLS.js":121,"./tech-wrappers/amp-tech-silverlightSS.js":122,"./version.js":123,"./video.js/src/js/component.js":128,"./video.js/src/js/error-display.js":165,"./video.js/src/js/media-error.js":170,"./video.js/src/js/menu/menu.js":173,"./video.js/src/js/player.js":175,"./video.js/src/js/tech/tech.js":187,"./video.js/src/js/utils/browser.js":203,"./video.js/src/js/utils/dom.js":205,"./video.js/src/js/utils/events.js":206,"./video.js/src/js/utils/fn.js":207,"./video.js/src/js/utils/guid.js":210,"./video.js/src/js/utils/languageLabels.js":212,"./video.js/src/js/utils/log.js":213,"./video.js/src/js/utils/merge-options.js":214,"./video.js/src/js/utils/to-title-case.js":218,"./video.js/src/js/utils/url.js":219,"./video.js/src/js/video.js":220,"global/document":55,"global/window":56,"lodash-compat/function/throttle":5,"object.assign":49}],64:[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"};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"};i.eventName=o;s={menuadded:"menuadded"};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,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",downloadfailed:"downloadfailed"};i.bufferDataEventName=a;v={video:"video",videoWithCC:"videoWithCC",audio:"audio",transcript:"transcript"};i.downloadableMediaType=v},{}],65:[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}],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"}},{"./video.js/src/js/player":175}],66:[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:"Ø­Ø¯Ø« Ø®Ø·Ø£ ØºÙŠØ± Ù…Ø¹Ø±ÙˆÙ","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":175}],67:[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:"Ð’ÑŠÐ·Ð½Ð¸ÐºÐ½Ð° Ð½ÐµÐ¸Ð·Ð²ÐµÑÑ‚Ð½Ð° Ð³Ñ€ÐµÑˆÐºÐ°","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":175}],68:[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."};t["default"].prototype.options_.languages["ca-es"]=t["default"].prototype.options_.languages.ca},{"../video.js/src/js/player.js":175}],69:[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Ä›.","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":175}],70:[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","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":175}],71:[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.","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":175}],72:[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:"Î Î±ÏÎ¿Ï…ÏƒÎ¹Î¬ÏƒÏ„Î·ÎºÎµ Î¬Î³Î½Ï‰ÏƒÏ„Î¿ ÏƒÏ†Î¬Î»Î¼Î±.","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":175}],73:[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":175}],74:[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.","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":175}],75:[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","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":175}],76:[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"};t["default"].prototype.options_.languages["eu-es"]=t["default"].prototype.options_.languages.eu},{"../video.js/src/js/player.js":175}],77:[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:"ÛŒÚ© Ø®Ø·Ø§ÛŒ Ù†Ø§Ù…Ø´Ø®Øµ Ø±Ø® Ø¯Ø§Ø¯Ù‡ Ø§Ø³Øª"};t["default"].prototype.options_.languages["fa-ir"]=t["default"].prototype.options_.languages.fa},{"../video.js/src/js/player.js":175}],78:[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","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":175}],79:[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.","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":175}],80:[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"};t["default"].prototype.options_.languages["gl-es"]=t["default"].prototype.options_.languages.gl},{"../video.js/src/js/player.js":175}],81:[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:"××™×¨×¢×” ×©×’×™××” ×œ× ×™×“×•×¢×”","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":175}],82:[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:"à¤à¤• à¤…à¤œà¥à¤žà¤¾à¤¤ à¤¤à¥à¤°à¥à¤Ÿà¤¿ à¤†à¤ˆ","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":175}],83:[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.","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":175}],84:[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.","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":175}],85:[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","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":175}],86:[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"}},{"../video.js/src/js/player.js":175}],87:[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.","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":175}],88:[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:"ä¸æ˜Žãªã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚","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":175}],89:[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:"Ð‘ÐµÐ»Ð³Ñ–ÑÑ–Ð· Ò›Ð°Ñ‚Ðµ Ð¾Ñ€Ñ‹Ð½ Ð°Ð»Ð´Ñ‹","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":175}],90:[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:"ì•Œ ìˆ˜ ì—†ëŠ” ì˜¤ë¥˜ê°€ ë°œìƒí–ˆìŠµë‹ˆë‹¤.","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":175}],91:[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":66,"./bg.js":67,"./ca.js":68,"./cs.js":69,"./da.js":70,"./de.js":71,"./el.js":72,"./en.js":73,"./es.js":74,"./et.js":75,"./eu.js":76,"./fa.js":77,"./fi.js":78,"./fr.js":79,"./gl.js":80,"./he.js":81,"./hi.js":82,"./hr.js":83,"./hu.js":84,"./id.js":85,"./is.js":86,"./it.js":87,"./ja.js":88,"./kk.js":89,"./ko.js":90,"./lt.js":92,"./lv.js":93,"./ms.js":94,"./nb.js":95,"./nl.js":96,"./nn.js":97,"./ph.js":98,"./pl.js":99,"./pt-br.js":100,"./pt-pt.js":101,"./ro.js":102,"./ru.js":103,"./sk.js":104,"./sl.js":105,"./sr-cyrl-cs.js":106,"./sr-latn-rs.js":107,"./sv.js":108,"./th.js":109,"./tl.js":110,"./tr.js":111,"./uk.js":112,"./ur.js":113,"./vi.js":114,"./zh-hans.js":115,"./zh-hant.js":116}],92:[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","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":175}],93:[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","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":175}],94:[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","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":175}],95:[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.","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":175}],96:[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.","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":175}],97:[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"};t["default"].prototype.options_.languages["nn-no"]=t["default"].prototype.options_.languages.nn},{"../video.js/src/js/player.js":175}],98:[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"}},{"../video.js/src/js/player.js":175}],99:[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.","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":175}],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["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.","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":175}],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["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.","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":175}],102:[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Äƒ","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":175}],103:[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:"ÐŸÑ€Ð¾Ð¸Ð·Ð¾ÑˆÐ»Ð° Ð½ÐµÐ¸Ð·Ð²ÐµÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°.","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":175}],104:[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","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":175}],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.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","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":175}],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["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"}},{"../video.js/src/js/player.js":175}],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["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","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":175}],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.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.","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":175}],109:[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:"à¸¡à¸µà¸‚à¹‰à¸­à¸œà¸´à¸”à¸žà¸¥à¸²à¸”à¸—à¸µà¹ˆà¹„à¸¡à¹ˆà¸£à¸¹à¹‰à¸ˆà¸±à¸à¹€à¸à¸´à¸”à¸‚à¸¶à¹‰à¸™","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":175}],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.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":175}],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.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.","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":175}],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.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:"Ð¡Ñ‚Ð°Ð»Ð°ÑÑ Ð½ÐµÐ²Ñ–Ð´Ð¾Ð¼Ð° Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°","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":175}],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.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:"Ø§ÛŒÚ© Ù†Ø§Ù…Ø¹Ù„ÙˆÙ… Ø®Ø±Ø§Ø¨ÛŒ Ù¾ÛŒØ´ Ø¢Ú¯Ø¦ÛŒ"};t["default"].prototype.options_.languages["ur-pk"]=t["default"].prototype.options_.languages.ur},{"../video.js/src/js/player.js":175}],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.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","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":175}],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["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:"å‘ç”ŸæœªçŸ¥é”™è¯¯ã€‚","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":175}],116:[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:"ç™¼ç”ŸæœªçŸ¥çš„éŒ¯èª¤ã€‚","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":175}],117:[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 n=t["default"].Events.length-1;n>=0;n--)this.on(t["default"].Events[n],this.eventHandler)};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)}},{"../video.js/src/js/tech/html5.js":184,"../video.js/src/js/tech/tech.js":187}],118:[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":56}],119:[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.videoTag_);this.mediaPlayer=f;this.setupTriggers(f);u&&this.src!==u.src&&this.setSrc(u.src);s.TOUCH_ENABLED&&i.nativeControlsForTouch===!0&&this.setControls(!0);this.triggerReady()}return y(t,n),t.prototype.dispose=function(){a["default"].disposeMediaElement(this.el_);n.prototype.dispose.call(this);this.mediaPlayer.dispose()},t.prototype.createEl=function(){var n=this.options_.tag,t=n,u,s,h,f,i,r,o;for(n&&this.movingMediaElementInDOM!==!1||(n?(u=n.cloneNode(!0),n.parentNode.insertBefore(u,n),a["default"].disposeMediaElement(n),n=u):(n=e.createEl("div"),t=e.createEl("video"),s=this.options_.tag&&e.getElAttributes(this.options_.tag),h=c["default"]({},s),e.setElAttributes(t,c["default"](h,{id:this.options_.techId,"class":"vjs-tech"})),n.appendChild(t),this.videoTag_=t)),e.setElAttributes(t,{oncontextmenu:"return false;"}),e.setElAttributes(t,{tabindex:"-1"}),e.setElAttributes(t,{"aria-hidden":"true"}),f=["preload","loop"],i=f.length-1;i>=0;i--)r=f[i],o={},"undefined"!=typeof this.options_[r]&&(o[r]=this.options_[r]),e.setElAttributes(t,o);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.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 0===this.mediaPlayer.volume},t.prototype.setMuted=function(n){n&&!this.muted()&&this.setVolume(0)},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},r,u,t,o,i;if(e=c["default"]({autoPlay:!!this.options_.playerOptions.autoplay},e),this.updateCurrentPlayerConfigs(),AMP.Logger.setLogConfig(this.options_.playerOptions.traceConfig),this.options_.playerOptions.traceConfig&&AzureHtml5JSTech.Log.setConsoleOutputByLevel(this.options_.playerOptions.traceConfig.maxLogLevel),r={},u=this.options_.currentPlayerConfigs.currentHeuristicConfigs,r.maxBufferInWallClockSec=u.maxBufferInWallClockSec,r.prerollPercent=u.preRollInWallClockSec/u.maxBufferInWallClockSec,r.livePlaybackOffsetPercent=(u.livePlaybackOffsetInWallClockSec-u.preRollInWallClockSec)/u.maxBufferInWallClockSec,r.windowSizeHeuristicsEnabled=u.windowSizeHeuristics,this.options_.maxSkipSegments&&(r.maxSkipSegments=this.options_.maxSkipSegments),"QuickStart"===this.options_.heuristicProfile&&(r.preFetchDataEnabled=!1),e.userConfig=r,t=this.options_.playerOptions.sourceOptions.protectionInfo,o=null,t){for(i=0;i<t.length;i++)(t[i].type===f.protectionType.PlayReady||t[i].type===f.protectionType.Widevine||t[i].type===f.protectionType.AES)&&t[i].authenticationToken&&(o||(o={}),o[t[i].type]=t[i].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.movingMediaElementInDOM=!s.IS_IOS;ut["default"].options.azureHtml5JS={};nt["default"].registerComponent("AzureHtml5JS",r);l["default"].registerTech("AzureHtml5JS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":64,"../video.js/src/js/component.js":128,"../video.js/src/js/player.js":175,"../video.js/src/js/tech/html5.js":184,"../video.js/src/js/tech/tech.js":187,"../video.js/src/js/utils/browser.js":203,"../video.js/src/js/utils/dom.js":205,"../video.js/src/js/utils/fn.js":207,"../video.js/src/js/video.js":220,"global/window":56,"object.assign":49}],120:[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 o(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 a(n){b[n]=function(){var t=n.charAt(0).toUpperCase()+n.slice(1);return this.el_["get"+t]?this.el_["get"+t]():null}}var e;i.__esModule=!0;for(var tt=n("global/window"),u=o(tt),it=n("global/document"),rt=o(it),ut=n("object.assign"),c=o(ut),ft=n("../video.js/src/js/tech/tech.js"),h=o(ft),et=n("../video.js/src/js/tech/flash.js"),v=o(et),ot=n("../video.js/src/js/component.js"),st=o(ot),ht=n("../video.js/src/js/player.js"),y=o(ht),ct=n("../video.js/src/js/video.js"),lt=o(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},n.flashVars),l=c["default"]({menu:!1,wmode:"opaque",bgcolor:"#000000"},n.params),a=c["default"]({id:h,name:h,"class":"vjs-tech"},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_=v["default"].embed(n.swf,i,l,a),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.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,l="controls,muted,volume".split(","),k="duration,paused,seeking,videoHeight,videoWidth".split(","),e=0;e<l.length;e++)a(l[e]),nt(l[e]);for(e=0;e<k.length;e++)a(k[e]);"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 v["default"].isSupported()};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.onEvent=function(n,t,i){try{var f=p.getEl(n),u=f&&f.tech;if(!u||!u.el())return;switch(-1!==r._passThroughEvents.indexOf(t)&&u.trigger(t),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.el().getPaused()||u.isLive())&&u.trigger("timeupdate");break;case"error":u.currentSrc()&&(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){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;t.dispatchEvent(f.bufferDataEventName.downloadcompleted);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};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};lt["default"].options.flashSS={};st["default"].registerComponent("FlashSS",r);h["default"].registerTech("FlashSS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":64,"../video.js/src/js/component.js":128,"../video.js/src/js/player.js":175,"../video.js/src/js/tech/flash.js":183,"../video.js/src/js/tech/tech.js":187,"../video.js/src/js/utils/browser.js":203,"../video.js/src/js/utils/dom.js":205,"../video.js/src/js/utils/fn.js":207,"../video.js/src/js/utils/time-ranges.js":216,"../video.js/src/js/utils/url.js":219,"../video.js/src/js/video.js":220,"global/document":55,"global/window":56,"object.assign":49}],121:[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":64,"../video.js/src/js/component.js":128,"../video.js/src/js/tech/html5.js":184,"../video.js/src/js/tech/tech.js":187,"../video.js/src/js/utils/fn.js":207,"global/window":56}],122:[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"},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(){this.mediaPlayer.Play()},t.prototype.pause=function(){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._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);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};rt["default"].options.silverlightSS={};nt["default"].registerComponent("SilverlightSS",r);o["default"].registerTech("SilverlightSS",r);i["default"]=r;t.exports=i["default"]},{"../ampDefs.js":64,"../video.js/src/js/component.js":128,"../video.js/src/js/player.js":175,"../video.js/src/js/tech/tech.js":187,"../video.js/src/js/utils/browser.js":203,"../video.js/src/js/utils/dom.js":205,"../video.js/src/js/utils/fn.js":207,"../video.js/src/js/utils/time-ranges.js":216,"../video.js/src/js/video.js":220,"./Silverlight.js":118,"global/document":55,"global/window":56,"object.assign":49}],123:[function(n,t,i){"use strict";i.__esModule=!0;i.ampVersion="2.1.0.3"},{}],124:[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":125,"./component.js":128}],125:[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),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":"polite"},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}(a["default"]);f["default"].registerComponent("Button",s);i["default"]=s;t.exports=i["default"]},{"./clickable-component.js":126,"./component":128,"./utils/events.js":206,"./utils/fn.js":207,"./utils/log.js":213,"global/document":55,"object.assign":49}],126:[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":"polite"},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))},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))},t}(f["default"]);f["default"].registerComponent("ClickableComponent",c);i["default"]=c;t.exports=i["default"]},{"./component":128,"./utils/dom.js":205,"./utils/events.js":206,"./utils/fn.js":207,"./utils/log.js":213,"global/document":55,"object.assign":49}],127:[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":125,"./component":128}],128:[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),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(){if(this.el_&&this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose();this.children_=null;this.childIndex_=null;this.childNameIndex_=null;this.el_&&this.off();this.el_&&this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_);this.el_&&u.removeElData(this.el_);this.el_=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 r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],i=void 0,u=void 0,e,f,s,l;if("string"==typeof t){if(u=t,r||(r={}),r===!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`."),r={}),e=r.componentClass||c["default"](u),r.name=u,f=n.getComponent(e),!f)throw new Error("Component "+e+" does not exist");if("function"!=typeof f)return null;i=new f(this.player_||this,r)}else i=t;return(this.children_.splice(o,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),u=u||i.name&&i.name(),u&&(this.childNameIndex_[u]=i),"function"==typeof i.el&&i.el())&&(s=this.contentEl().children,l=s[o]||null,this.contentEl().insertBefore(i.el(),l)),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/dom.js":205,"./utils/events.js":206,"./utils/fn.js":207,"./utils/guid.js":210,"./utils/log.js":213,"./utils/merge-options.js":214,"./utils/to-title-case.js":218,"global/window":56}],129:[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":128,"../../utils/fn.js":207,"../track-button.js":160,"./audio-track-menu-item.js":130}],130:[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":128,"../../menu/menu-item.js":172,"../../utils/fn.js":207}],131:[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":128,"./audio-track-controls/audio-track-button.js":129,"./fullscreen-toggle.js":132,"./live-display.js":133,"./mute-toggle.js":134,"./play-toggle.js":135,"./playback-rate-menu/playback-rate-menu-button.js":136,"./progress-control/progress-control.js":141,"./spacer-controls/custom-control-spacer.js":145,"./text-track-controls/captions-button.js":148,"./text-track-controls/chapters-button.js":149,"./text-track-controls/descriptions-button.js":151,"./text-track-controls/subtitles-button.js":153,"./time-controls/current-time-display.js":156,"./time-controls/duration-display.js":157,"./time-controls/remaining-time-display.js":158,"./time-controls/time-divider.js":159,"./volume-control/volume-control.js":162,"./volume-menu-button.js":164}],132:[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("global/window"),c=u(h),l=n("../button.js"),a=u(l),v=n("../component.js"),y=u(v),p=n("../utils/browser.js"),r=e(p),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"fullscreenchange",this.handleFullscreenChange);this.on("keydown",this.handleKeyPress)}return s(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.prototype.handleKeyPress=function(n){this.player_.isFullscreen()&&(n.shiftKey||9!==n.which||r.IS_IOS||r.IS_ANDROID?(r.IS_IOS||r.IS_ANDROID)&&setTimeout(function(n,t){var i=c["default"].document.activeElement;i.classList.contains("vjs-menu-button")||(n.player_.controlBar.playToggle.el().focus(),t.preventDefault())},200,this,n):(this.player_.controlBar.playToggle.el().focus(),n.preventDefault()))},t}(a["default"]);f.prototype.controlText_="Fullscreen";y["default"].registerComponent("FullscreenToggle",f);i["default"]=f;t.exports=i["default"]},{"../button.js":125,"../component.js":128,"../utils/browser.js":203,"global/window":56}],133:[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.updateShowing();this.on(this.player(),"durationchange",this.updateShowing)}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=l.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},t.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},t}(r["default"]);r["default"].registerComponent("LiveDisplay",u);i["default"]=u;t.exports=i["default"]},{"../component":128,"../utils/dom.js":205}],134:[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")})}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":125,"../component":128,"../utils/dom.js":205}],135:[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("global/window"),c=u(h),l=n("../button.js"),a=u(l),v=n("../component.js"),y=u(v),p=n("../utils/browser.js"),r=e(p),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"play",this.handlePlay);this.on(i,"pause",this.handlePause);this.on("keydown",this.handleKeyPress)}return s(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.prototype.handleKeyPress=function(n){var t=this;this.player_.isFullscreen()&&!function(){var i=0,u=void 0;!n.shiftKey||9!==n.which||r.IS_ANDROID||r.IS_IOS?r.IS_ANDROID?(i=100,u="vjs-slider"):r.IS_IOS&&(i=250,u="vjs-controls-enabled"):(t.player_.controlBar.fullscreenToggle.el_.focus(),n.preventDefault());(r.IS_ANDROID||r.IS_IOS)&&setTimeout(function(n,t){var i=c["default"].document.activeElement;i.classList.contains(u)||(n.player_.controlBar.fullscreenToggle.el().focus(),t.preventDefault())},i,t,n)}()},t}(a["default"]);f.prototype.controlText_="Play";y["default"].registerComponent("PlayToggle",f);i["default"]=f;t.exports=i["default"]},{"../button.js":125,"../component.js":128,"../utils/browser.js":203,"global/window":56}],136:[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":128,"../../menu/menu-button.js":171,"../../menu/menu.js":173,"../../utils/dom.js":205,"./playback-rate-menu-item.js":137}],137:[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":128,"../../menu/menu-item.js":172}],138:[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":128,"../../utils/dom.js":205}],139:[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.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.el().setAttribute("data-current-time",i),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}(o["default"]);o["default"].registerComponent("MouseTimeDisplay",s);i["default"]=s;t.exports=i["default"]},{"../../component.js":128,"../../utils/dom.js":205,"../../utils/fn.js":207,"../../utils/format-time.js":209,"global/window":56,"lodash-compat/function/throttle":5}],140:[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":128,"../../utils/dom.js":205,"../../utils/fn.js":207,"../../utils/format-time.js":209}],141:[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":128,"./mouse-time-display.js":139,"./seek-bar.js":142}],142:[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.on(i,"timeupdate",this.updateProgress);this.on(i,"ended",this.playEnded);this.on(i,"play",this.enableAriaUpdate);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.enableAriaUpdate=function(){this.timerFunction=setTimeout(function(n){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)),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);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);this.videoWasPlaying&&this.player_.play()},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":128,"../../slider/slider.js":181,"../../utils/browser.js":203,"../../utils/fn.js":207,"../../utils/format-time.js":209,"./load-progress-bar.js":138,"./play-progress-bar.js":140,"./seek-handle.js":143,"./tooltip-progress-bar.js":144,"global/window":56,"object.assign":49}],143:[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":128,"../../utils/dom.js":205,"../../utils/fn.js":207}],144:[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":128,"../../utils/dom.js":205,"../../utils/fn.js":207,"../../utils/format-time.js":209}],145:[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":128,"./spacer.js":146}],146:[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":128}],147:[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":128,"./text-track-menu-item.js":155}],148:[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":128,"./caption-settings-menu-item.js":147,"./text-track-button.js":154}],149:[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,t,f,o,s,a=this,h=this.player_.textTracks()||[],n=void 0,r=this.items||[],i=h.length-1;i>=0;i--)if(u=h[i],u.kind===this.kind_){n=u;break}if(t=this.menu,void 0===t?(t=new k["default"](this.player_),f=e.createEl("li",{className:"vjs-menu-title",innerHTML:tt["default"](this.kind_),tabIndex:-1}),t.children_.unshift(f),e.insertElFirst(f,t.contentEl())):(r.forEach(function(n){return t.removeChild(n)}),r=[]),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,i=0,v=c.length;v>i;i++)l=c[i],s=new w["default"](this.player_,{track:n,cue:l}),r.push(s),t.addChild(s);return r.length>0&&this.show(),this.items=r,t},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":128,"../../menu/menu.js":173,"../../utils/dom.js":205,"../../utils/fn.js":207,"../../utils/to-title-case.js":218,"./chapters-track-menu-item.js":150,"./text-track-button.js":154,"./text-track-menu-item.js":155,"global/window":56}],150:[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":128,"../../menu/menu-item.js":172,"../../utils/fn.js":207}],151:[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":128,"../../utils/fn.js":207,"./text-track-button.js":154}],152:[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":128,"../../utils/to-title-case.js":218,"./text-track-menu-item.js":155}],153:[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":128,"./text-track-button.js":154}],154:[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":128,"../../utils/fn.js":207,"../track-button.js":160,"./off-text-track-menu-item.js":152,"./text-track-menu-item.js":155}],155:[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);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":128,"../../menu/menu-item.js":172,"../../utils/fn.js":207,"global/document":55,"global/window":56}],156:[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":128,"../../utils/dom.js":205,"../../utils/format-time.js":209}],157:[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":128,"../../utils/dom.js":205,"../../utils/format-time.js":209}],158:[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":128,"../../utils/dom.js":205,"../../utils/format-time.js":209}],159:[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}(r["default"]);r["default"].registerComponent("TimeDivider",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":128}],160:[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":128,"../menu/menu-button.js":171,"../utils/fn.js":207}],161:[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":128,"../../slider/slider.js":181,"../../utils/fn.js":207,"./volume-level.js":163}],162:[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":128,"./volume-bar.js":161}],163:[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":128}],164:[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":128,"../popup/popup-button.js":177,"../popup/popup.js":178,"../utils/fn.js":207,"./mute-toggle.js":134,"./volume-control/volume-bar.js":161}],165:[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),n("./utils/merge-options")),y=r(v),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);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}(f["default"]);u.prototype.options_=y["default"](f["default"].prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0});c["default"].registerComponent("ErrorDisplay",u);i["default"]=u;t.exports=i["default"]},{"./component":128,"./modal-dialog":174,"./utils/dom":205,"./utils/merge-options":214}],166:[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":206}],167:[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":213}],168:[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":55}],169:[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"),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-loading-spinner",dir:"ltr","aria-label":"video loading",tabIndex:-1},{role:"alert"})},t}(r["default"]);r["default"].registerComponent("LoadingSpinner",u);i["default"]=u;t.exports=i["default"]},{"./component":128}],170:[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":49}],171:[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"),e=(r(tt),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);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.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(){var t=this,n=this.player_.controlBar;n&&Object.getOwnPropertyNames(n).forEach(function(i){n[i]!==t&&n[i].el_&&n[i].el_.className&&-1!==n[i].el_.className.indexOf("vjs-menu-button")&&n[i].buttonPressed_&&n[i].unpressButton()})},t}(c["default"]));a["default"].registerComponent("MenuButton",e);i["default"]=e;t.exports=i["default"]},{"../clickable-component.js":126,"../component.js":128,"../utils/browser.js":203,"../utils/dom.js":205,"../utils/fn.js":207,"../utils/to-title-case.js":218,"./menu.js":173,"global/window":56}],172:[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":126,"../component.js":128,"object.assign":49}],173:[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(i,r){o(this,t);n.call(this,i,r);this.focusedChild_=-1;this.on("keydown",this.handleKeyPress)}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"}),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)},t.prototype.stepBack=function(){var n=0;void 0!==this.focusedChild_&&(n=this.focusedChild_-1);this.focus(n)},t.prototype.focus=function(){var t=arguments.length<=0||void 0===arguments[0]?0:arguments[0],n=this.children().slice(),i=n.length&&n[0].className&&/vjs-menu-title/.test(n[0].className);i&&n.shift();n.length>0&&(0>t?t=0:t>=n.length&&(t=n.length-1),this.focusedChild_=t,n[t].el_.focus())},t}(u["default"]);u["default"].registerComponent("Menu",f);i["default"]=f;t.exports=i["default"]},{"../component.js":128,"../utils/dom.js":205,"../utils/events.js":206,"../utils/fn.js":207}],174:[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));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));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.removeChild(t),this.empty(),r.insertContent(t,n),this.trigger("modalfill"),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":127,"./component":128,"./utils/dom":205,"./utils/fn":207,"./utils/log":213}],175:[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"),e=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"),c=s(ct),lt=n("./utils/guid.js"),at=s(lt),vt=n("./utils/browser.js"),k=s(vt),yt=n("./utils/log.js"),o=r(yt),pt=n("./utils/to-camel-case.js"),d=r(pt),wt=n("./utils/to-title-case.js"),w=r(wt),bt=n("./utils/time-ranges.js"),kt=n("./utils/buffer.js"),dt=n("./utils/stylesheet.js"),nt=s(dt),gt=n("./fullscreen-api.js"),tt=r(gt),ni=n("./media-error.js"),g=r(ni),ti=n("safe-json-parse/tuple"),ii=r(ti),ri=n("object.assign"),l=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("./poster-image.js")),ai=(r(li),n("./tracks/text-track-display.js")),vi=(r(ai),n("./loading-spinner.js")),yi=(r(vi),n("./big-play-button.js")),pi=(r(yi),n("./control-bar/control-bar.js")),wi=(r(pi),n("./error-display.js")),bi=(r(wi),n("./tracks/text-track-settings.js")),ki=(r(bi),n("./modal-dialog")),di=r(ki),gi=n("./utils/highContrastCheck.js"),nr=r(gi),tr=n("./utils/font-checker.js"),ir=r(tr),rr=n("./tech/tech.js"),a=r(rr),ur=n("./tech/html5.js"),f=(r(ur),function(n){function t(i,r,f,e){var c=this,h,s,a;if(rt(this,t),i.id=i.id||"vjs_video_"+at.newGUID(),r=l["default"](t.getTagSettings(i),r),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,e&&(this.multiPlayerContainerDiv=e.multiPlayerContainerDiv,this.styleEl_=e.styleEl_,this.sharedStyleAndParentDiv=!0,this.mainPlayer=e),!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]});c.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_);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){o["default"].error("plugin "+t+" failed:",i)}else o["default"].error("Unable to find plugin:",t)},c)}();this.options_.playerOptions=a;this.initChildren();this.isAudio("audio"===i.nodeName.toLowerCase());this.addClass(this.controls()?"vjs-controls-enabled":"vjs-controls-disabled");this.el_.setAttribute("role","region");this.isAudio()?this.el_.parentElement.setAttribute("aria-label","audio player"):this.el_.parentElement.setAttribute("aria-label","video player");this.isAudio()&&this.addClass("vjs-audio");this.flexNotSupported_()&&this.addClass("vjs-no-flex");this.addClass("vjs-player");k.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)}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"),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]))}),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_=nt.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),t.parentNode&&t.parentNode.insertBefore(i,t),this.multiPlayerContainerDiv.appendChild(i),u.insertElFirst(t,i),this.children_.unshift(t),this.el_=i,nr["default"](),ir["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 o["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=c.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),nt.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 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;i=l["default"]({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:t,playerId:this.id(),techId:this.id()+"_"+n+"_api",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"]},this.options_[d["default"](n)]);i.playerOptions=l["default"]({},this.options_);this.tag&&(i.tag=this.tag);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(c.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){o["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.hasStarted(!0);this.trigger("play")},t.prototype.handleTechWaiting_=function(){var n=this;this.addClass("vjs-waiting");this.trigger("waiting");this.one("timeupdate",function(){return n.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting");this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting");this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting");this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking");this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking");this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&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(this.techGet_("duration"))},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.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 o["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]?o["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?(o["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):o["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 t=this.techGet_("currentTime")||0;return void 0!==n?(this.techCall_("setCurrentTime",n),t>n&&this.trigger("rewind"),this):this.cache_.currentTime=t},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=bt.createTimeRange(0,0)),n},t.prototype.bufferedPercent=function(){return kt.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=tt["default"];return this.isFullscreen(!0),n.requestFullscreen?(p.on(e["default"],n.fullscreenchange,c.bind(this,function t(){this.isFullscreen(e["default"][n.fullscreenElement]);this.isFullscreen()===!1&&p.off(e["default"],n.fullscreenchange,t);this.trigger("fullscreenchange")})),this.multiPlayerContainerDiv[n.requestFullscreen]()):this.tech_.supportsFullScreen()?k.IS_IOS?(this.enterFullWindow(),this.trigger("fullscreenchange")):this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var n=tt["default"];return this.isFullscreen(!1),n.requestFullscreen?e["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?k.IS_IOS?(this.exitFullWindow(),this.trigger("fullscreenchange")):this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=e["default"].documentElement.style.overflow;p.on(e["default"],"keydown",c.bind(this,this.fullWindowOnEscKey));e["default"].documentElement.style.overflow="hidden";u.addElClass(e["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(e["default"],"keydown",this.fullWindowOnEscKey);e["default"].documentElement.style.overflow=this.docOrigOverflow;u.removeElClass(e["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 o["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():(o["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,e=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_[d["default"](i)]))return{source:t,tech:i}};return r=this.options_.sourceOrder?i(n,t,e(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_[d["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){return void 0===n?this.error_||null:null===n?(this.error_=n,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=n instanceof g["default"]?n:new g["default"](n),this.addClass("vjs-error"),o["default"].error("(CODE:"+this.error_.code+" "+g["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),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=c.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.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 b["default"](t.prototype.options_.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 di["default"](r,t),r.addChild(i),i.on("dispose",function(){r.removeChild(i)}),i.open()},t.getTagSettings=function(n){var t={sources:[],tracks:[]},r=u.getElAttributes(n),s=r["data-setup"],i,e;if(null!==s){var h=ii["default"](s||"{}"),c=h[0],v=h[1];c&&o["default"].error(c);l["default"](r,v)}if(l["default"](t,r),n.hasChildNodes())for(var a=n.childNodes,f=0,y=a.length;y>f;f++)i=a[f],e=i.nodeName.toLowerCase(),"source"===e?t.sources.push(u.getElAttributes(i)):"track"===e&&t.tracks.push(u.getElAttributes(i));return t},t}(h["default"]));f.players={};v=y["default"].navigator;f.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPauseButton","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:v.languages&&v.languages[0]||v.userLanguage||v.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."};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=e["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"]},{"./big-play-button.js":124,"./component.js":128,"./control-bar/control-bar.js":131,"./error-display.js":165,"./fullscreen-api.js":168,"./loading-spinner.js":169,"./media-error.js":170,"./modal-dialog":174,"./poster-image.js":179,"./tech/html5.js":184,"./tech/loader.js":185,"./tech/tech.js":187,"./tracks/audio-track-list.js":188,"./tracks/text-track-display.js":193,"./tracks/text-track-list-converter.js":194,"./tracks/text-track-settings.js":196,"./tracks/video-track-list.js":201,"./utils/browser.js":203,"./utils/buffer.js":204,"./utils/dom.js":205,"./utils/events.js":206,"./utils/fn.js":207,"./utils/font-checker.js":208,"./utils/guid.js":210,"./utils/highContrastCheck.js":211,"./utils/log.js":213,"./utils/merge-options.js":214,"./utils/stylesheet.js":215,"./utils/time-ranges.js":216,"./utils/to-camel-case.js":217,"./utils/to-title-case.js":218,"global/document":55,"global/window":56,"object.assign":49,"safe-json-parse/tuple":52}],176:[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":175}],177:[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":126,"../component.js":128,"../utils/dom.js":205,"../utils/fn.js":207,"../utils/to-title-case.js":218,"./popup.js":178}],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/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":128,"../utils/dom.js":205,"../utils/events.js":206,"../utils/fn.js":207}],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 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=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","undefined"!=typeof this.player().options().corsPolicyForTextTracksAndPoster&&this.addCrossOriginPolicy(this.player().options().corsPolicyForTextTracksAndPoster,n,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":126,"./component.js":128,"./utils/browser.js":203,"./utils/dom.js":205,"./utils/fn.js":207,"./utils/log.js":213,"./utils/url.js":219}],180:[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"),i=[],n,t,e,c;if(s&&s.length>0)for(n=0,t=s.length;t>n;n++)i.push(s[n]);if(h&&h.length>0)for(n=0,t=h.length;t>n;n++)i.push(h[n]);if(i&&i.length>0)for(n=0,t=i.length;t>n;n++){if(e=i[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":206,"global/document":55,"global/window":56}],181:[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);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":128,"../utils/dom.js":205,"object.assign":49}],182:[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"]},{}],183:[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 b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(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 d(n){var t=n.charAt(0).toUpperCase()+n.slice(1);p["set"+t]=function(t){return this.el_.vjs_setProperty(n,t)}}function v(n){p[n]=function(){return this.el_.vjs_getProperty(n)}}var u;i.__esModule=!0;for(var g=n("./tech"),c=e(g),nt=n("../utils/dom.js"),s=a(nt),tt=n("../utils/url.js"),y=a(tt),h=n("../utils/time-ranges.js"),it=n("./swfobject.js"),rt=n("./flash-rtmp"),ut=e(rt),ft=n("../component"),et=e(ft),ot=n("global/window"),f=e(ot),st=n("object.assign"),o=e(st),r=(f["default"].navigator,function(n){function t(i,r){b(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);f["default"].videojs=f["default"].videojs||{};f["default"].videojs.Flash=f["default"].videojs.Flash||{};f["default"].videojs.Flash.onReady=t.onReady;f["default"].videojs.Flash.onEvent=t.onEvent;f["default"].videojs.Flash.onError=t.onError;this.on("seeked",function(){this.lastSeekTarget_=void 0})}return k(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"])),p=r.prototype,l="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),w="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),u=0;u<l.length;u++)v(l[u]),d(l[u]);for(u=0;u<w.length;u++)v(w[u]);r.isSupported=function(){return it.swfobject.hasFlashPlayerVersion("11.4")};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":128,"../utils/dom.js":205,"../utils/time-ranges.js":216,"../utils/url.js":219,"./flash-rtmp":182,"./swfobject.js":186,"./tech":187,"global/window":56,"object.assign":49}],184:[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 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=f(g),nt=n("../component"),tt=f(nt),it=n("../utils/dom.js"),s=c(it),rt=n("../utils/url.js"),v=c(rt),ut=n("../utils/fn.js"),o=c(ut),ft=n("../utils/log.js"),y=f(ft),et=n("tsml"),ot=f(et),st=n("../../../src/js/tracks/text-track.js"),ht=(f(st),n("../utils/browser.js")),u=c(ht),ct=n("global/document"),l=f(ct),lt=n("global/window"),at=f(lt),vt=n("object.assign"),yt=f(vt),pt=n("../utils/merge-options.js"),wt=f(pt),bt=n("../utils/to-title-case.js"),p=f(bt),r=function(n){function t(i,r){var f=this,h,c,e,nt,l,tt,b;if(w(this,t),n.call(this,i,r),h=i.source,c=!1,h&&(this.el_.currentSrc!==h.src||i.tag&&3===i.tag.initNetworkState_)?this.setSource(h):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),c||this.el_.hasAttribute("crossorigin")||!v.isCrossOrigin(e.src)||(c=!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;f["featuresNative"+i+"Tracks"]&&(t=f.el()[n+"Tracks"],t&&t.addEventListener&&(t.addEventListener("change",o.bind(f,f["handle"+i+"TrackChange_"])),t.addEventListener("addtrack",o.bind(f,f["handle"+i+"TrackAdd_"])),t.addEventListener("removetrack",o.bind(f,f["handle"+i+"TrackRemove_"])),f.on("loadstart",f["removeOld"+i+"Tracks_"])))});this.featuresNativeTextTracks&&(c&&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_());(u.TOUCH_ENABLED||u.IS_IPHONE||u.IS_NATIVE_ANDROID)&&i.nativeControlsForTouch===!0&&this.setControls(!0);b="auto";"auto"!==s.getElAttributes(this.el_).preload&&(b="none");s.setElAttributes(this.el_,{oncontextmenu:"return false;",preload:b});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,f,c,e,o,i,r,h;for(n&&this.movingMediaElementInDOM!==!1||(n?(f=n.cloneNode(!0),n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=l["default"].createElement("video"),c=this.options_.tag&&s.getElAttributes(this.options_.tag),e=wt["default"]({},c),u.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,s.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],h={},"undefined"!=typeof this.options_[r]&&(h[r]=this.options_[r]),s.setElAttributes(n,h);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.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(){return this.el_.error},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&&(i.id=t.id),t.src&&(i.src=t.src),this.addCrossOriginPolicy(this.options_.playerOptions.corsPolicyForTextTracksAndPoster,i.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(){if(u.IS_ANDROID&&u.IS_CHROME||u.IS_IOS&&u.IS_SAFARI)return!1;try{var n=r.TEST_VID.playbackRate;return r.TEST_VID.playbackRate=n/2+.1,n!==r.TEST_VID.playbackRate}catch(t){return!1}};r.isPreloadSupported=function(){return u.IS_IOS&&u.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&&u.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=!u.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,kt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,dt=/^video\/mp4/i;r.patchCanPlayType=function(){u.ANDROID_VERSION>=4&&(e||(e=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&kt.test(n)?"maybe":e.call(this,n)});u.IS_OLD_ANDROID&&(e||(e=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&dt.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":197,"../component":128,"../utils/browser.js":203,"../utils/dom.js":205,"../utils/fn.js":207,"../utils/log.js":213,"../utils/merge-options.js":214,"../utils/to-title-case.js":218,"../utils/url.js":219,"./tech.js":187,"global/document":55,"global/window":56,"object.assign":49,tsml:53}],185:[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":128,"../utils/to-title-case.js":218,"./tech.js":187,"global/window":56}],186:[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 c(t){t+="";var r=h.pv,i=t.split(".");return i[0]=n(i[0]),i[1]=n(i[1])||0,i[2]=n(i[2])||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}var i="undefined",l="object",f="Shockwave Flash",a="ShockwaveFlash.ShockwaveFlash",e="application/x-shockwave-flash",s=u["default"],r=o["default"],t=u["default"].navigator,v=!1,h=function(){var w=typeof r.getElementById!==i&&typeof r.getElementsByTagName!==i&&typeof r.createElement!==i,h=t.userAgent.toLowerCase(),c=t.platform.toLowerCase(),b=/win/.test(c?c:h),k=/mac/.test(c?c:h),d=/webkit/.test(h)?parseFloat(h.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,y="Microsoft Internet Explorer"===t.appName,o=[0,0,0],u=null,p;if(typeof t.plugins!==i&&typeof t.plugins[f]===l)u=t.plugins[f].description,u&&typeof t.mimeTypes!==i&&t.mimeTypes[e]&&t.mimeTypes[e].enabledPlugin&&(v=!0,y=!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{p=new s.ActiveXObject(a);p&&(u=p.GetVariable("$version"),u&&(y=!0,u=u.split(" ")[1].split(","),o=[n(u[0]),n(u[1]),n(u[2])]))}catch(g){}return{w3:w,pv:o,wk:d,ie:y,win:b,mac:k}}();return{ua:h,hasFlashPlayerVersion:c}}();i.swfobject=s},{"global/document":55,"global/window":56}],187:[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":128,"../media-error.js":170,"../tracks/audio-track":189,"../tracks/audio-track-list":188,"../tracks/html-track-element":191,"../tracks/html-track-element-list":190,"../tracks/text-track":197,"../tracks/text-track-list":195,"../tracks/video-track":202,"../tracks/video-track-list":201,"../utils/buffer.js":204,"../utils/fn.js":207,"../utils/log.js":213,"../utils/merge-options.js":214,"../utils/time-ranges.js":216,"global/document":55,"global/window":56}],188:[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":203,"./track-list":199,"global/document":55}],189:[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":203,"../utils/merge-options":214,"./track":200,"./track-enums":198}],190:[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":203,"global/document":55}],191:[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":166,"../tracks/text-track":197,"../utils/browser.js":203,"global/document":55}],192:[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":203,"global/document":55}],193:[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 f(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)}function o(n,t){return"rgba("+parseInt(n[1]+n[1],16)+","+parseInt(n[2]+n[2],16)+","+parseInt(n[3]+n[3],16)+","+t+")"}function s(n,t,i){try{n.style[t]=i}catch(r){}}i.__esModule=!0;var p=n("../component"),h=f(p),w=n("../menu/menu.js"),b=(f(w),n("../menu/menu-item.js")),k=(f(b),n("../menu/menu-button.js")),d=(f(k),n("../utils/fn.js")),e=a(d),g=n("global/document"),nt=(f(g),n("global/window")),u=f(nt),r="#222",c="#ccc",tt={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'},l=function(n){function t(i,r,u){v(this,t);n.call(this,i,r,u);i.on("loadstart",e.bind(this,this.toggleDisplay));i.on("texttrackchange",e.bind(this,this.updateDisplay));i.ready(e.bind(this,function(){var f,n,t;if(i.tech_&&i.tech_.featuresNativeTextTracks)return void this.hide();i.on("fullscreenchange",e.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},o=this.player_.textTracks(),r=void 0,u=void 0;if(o){for(n=0;n<o.length;n++)t=o[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 y(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"})},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 h,l,i,a;if("function"==typeof u["default"].WebVTT&&n.activeCues){for(var t=this.player_.textTrackSettings.getValues(),f=[],e=0;e<n.activeCues.length;e++)f.push(n.activeCues[e]);for(u["default"].WebVTT.processCues(u["default"],f,this.el_),h=f.length;h--;)l=f[h],l&&(i=l.displayState,(t.color&&(i.firstChild.style.color=t.color),t.textOpacity&&s(i.firstChild,"color",o(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&s(i.firstChild,"backgroundColor",o(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?s(i,"backgroundColor",o(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 "+c+", 0 1px "+c+", -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)&&(a=u["default"].parseFloat(i.style.fontSize),i.style.fontSize=a*t.fontPercent+"px",i.style.height="auto",i.style.top="auto",i.style.bottom="2px"),t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?i.firstChild.style.fontVariant="small-caps":i.firstChild.style.fontFamily=tt[t.fontFamily]))}},t}(h["default"]);h["default"].registerComponent("TextTrackDisplay",l);i["default"]=l;t.exports=i["default"]},{"../component":128,"../menu/menu-button.js":171,"../menu/menu-item.js":172,"../menu/menu.js":173,"../utils/fn.js":207,"global/document":55,"global/window":56}],194:[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"]},{}],195:[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":203,"../utils/fn.js":207,"./track-list":199,"global/document":55}],196:[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 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)}function f(n){var t=void 0;return n.selectedOptions?t=n.selectedOptions[0]:n.options&&(t=n.options[n.options.selectedIndex]),t.value}function e(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 p(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 w=n("../component"),l=o(w),b=n("../utils/events.js"),r=c(b),k=n("../utils/fn.js"),u=c(k),d=n("../utils/log.js"),h=o(d),g=n("safe-json-parse/tuple"),nt=o(g),tt=n("global/window"),s=o(tt),a=function(n){function t(i,f){v(this,t);n.call(this,i,f);this.hide();void 0===f.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings);r.on(this.$(".vjs-done-button"),"click",u.bind(this,function(){this.saveSettings();this.hide()}));r.on(this.$(".vjs-default-button"),"click",u.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0;this.$(".vjs-bg-color > select").selectedIndex=0;this.$(".window-color > select").selectedIndex=0;this.$(".vjs-text-opacity > select").selectedIndex=0;this.$(".vjs-bg-opacity > select").selectedIndex=0;this.$(".vjs-window-opacity > select").selectedIndex=0;this.$(".vjs-edge-style select").selectedIndex=0;this.$(".vjs-font-family select").selectedIndex=0;this.$(".vjs-font-percent select").selectedIndex=2;this.updateDisplay()}));r.on(this.$(".vjs-fg-color > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-bg-color > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".window-color > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-text-opacity > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-bg-opacity > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-window-opacity > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-font-percent select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-edge-style select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-font-family select"),"change",u.bind(this,this.updateDisplay));this.options_.persistTextTrackSettings&&this.restoreSettings()}return y(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:p.call(this,t,i,r),tabIndex:-1},{role:"dialog","aria-labelledby":i,"aria-describedby":r})},t.prototype.getValues=function(){var i=f(this.$(".vjs-edge-style select")),r=f(this.$(".vjs-font-family select")),u=f(this.$(".vjs-fg-color > select")),e=f(this.$(".vjs-text-opacity > select")),o=f(this.$(".vjs-bg-color > select")),h=f(this.$(".vjs-bg-opacity > select")),c=f(this.$(".window-color > select")),l=f(this.$(".vjs-window-opacity > select")),a=s["default"].parseFloat(f(this.$(".vjs-font-percent > select"))),n={backgroundOpacity:h,textOpacity:e,windowOpacity:l,edgeStyle:i,fontFamily:r,color:u,backgroundColor:o,windowColor:c,fontPercent:a},t;for(t in n)(""===n[t]||"none"===n[t]||"fontPercent"===t&&1===n[t])&&delete n[t];return n},t.prototype.setValues=function(n){e(this.$(".vjs-edge-style select"),n.edgeStyle);e(this.$(".vjs-font-family select"),n.fontFamily);e(this.$(".vjs-fg-color > select"),n.color);e(this.$(".vjs-text-opacity > select"),n.textOpacity);e(this.$(".vjs-bg-color > select"),n.backgroundColor);e(this.$(".vjs-bg-opacity > select"),n.backgroundOpacity);e(this.$(".window-color > select"),n.windowColor);e(this.$(".vjs-window-opacity > select"),n.windowOpacity);var t=n.fontPercent;t&&(t=t.toFixed(2));e(this.$(".vjs-font-percent > select"),t)},t.prototype.restoreSettings=function(){var n=void 0,t=void 0,i;try{i=nt["default"](s["default"].localStorage.getItem("vjs-text-track-settings"));n=i[0];t=i[1];n&&h["default"].error(n)}catch(r){h["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?s["default"].localStorage.setItem("vjs-text-track-settings",JSON.stringify(n)):s["default"].localStorage.removeItem("vjs-text-track-settings")}catch(t){h["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&n.updateDisplay()},t}(l["default"]);l["default"].registerComponent("TextTrackSettings",a);i["default"]=a;t.exports=i["default"]},{"../component":128,"../utils/events.js":206,"../utils/fn.js":207,"../utils/log.js":213,"global/window":56,"safe-json-parse/tuple":52}],197:[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_.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.corsPolicyForTextTracksAndPoster===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":203,"../utils/fn.js":207,"../utils/log.js":213,"../utils/merge-options":214,"../utils/url.js":219,"./text-track-cue-list":192,"./track-enums":198,"./track.js":200,"global/document":55,"global/window":56,xhr:61}],198:[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"]},{}],199:[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":166,"../utils/browser.js":203,"../utils/fn.js":207,"global/document":55}],200:[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":166,"../utils/browser.js":203,"../utils/guid.js":210,"global/document":55}],201:[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":203,"./track-list":199,"global/document":55}],202:[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":203,"../utils/merge-options":214,"./track":200,"./track-enums":198}],203:[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;i.__esModule=!0;var lt=n("global/document"),f=w(lt),at=n("global/window"),u=w(at),r=u["default"].navigator.userAgent,b=/AppleWebKit\/([\d.]+)/i.exec(r),vt=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>vt;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},{"global/document":55,"global/window":56}],204:[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":216}],205:[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 h(n){return"string"==typeof n&&/\S/.test(n)}function c(n){if(/\s/.test(n))throw new Error("class has illegal whitespace characters");}function it(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function l(n){return function(t,i){return h(t)?(h(i)&&(i=r["default"].querySelector(i)),(s(i)?i:r["default"])[n](t)):r["default"][n](null)}}function rt(n){return 0===n.indexOf("#")&&(n=n.slice(1)),r["default"].getElementById(n)}function ut(){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?(ii["default"].warn(ui["default"](bt,t,r)),n.setAttribute(t,r)):n[t]=r}),Object.getOwnPropertyNames(t).forEach(function(i){t[i];n.setAttribute(i,t[i])}),n}function ft(n,t){"undefined"==typeof n.textContent?n.innerText=t:n.textContent=t}function et(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function ot(n){var t=n[u];return t||(t=n[u]=ni.newGUID()),f[t]||(f[t]={}),f[t]}function st(n){var t=n[u];return t?!!Object.getOwnPropertyNames(f[t]).length:!1}function ht(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):(c(t),it(t).test(n.className))}function a(n,t){return n.classList?n.classList.add(t):o(n,t)||(n.className=(n.className+" "+t).trim()),n}function v(n,t){return n.classList?n.classList.remove(t):(c(t),n.className=n.className.split(/\s+/).filter(function(n){return n!==t}).join(" ")),n}function ct(n,t,i){var r=o(n,t);return"function"==typeof i&&(i=i(n,t)),"boolean"!=typeof i&&(i=!r),i!==r?(i?a(n,t):v(n,t),n):void 0}function lt(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 at(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 vt(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function yt(){r["default"].onselectstart=function(){return!0}}function y(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=d["default"].pageXOffset||i.scrollLeft,o=t.left+e-f,s=u.clientTop||i.clientTop||0,h=d["default"].pageYOffset||i.scrollTop,c=t.top+h-s;return{left:Math.round(o),top:Math.round(c)}}function pt(n,t){var i={},r=y(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 p(n){return!!n&&"object"==typeof n&&3===n.nodeType}function w(n){for(;n.firstChild;)n.removeChild(n.firstChild);return n}function b(n){return"function"==typeof n&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return"function"==typeof n&&(n=n()),s(n)||p(n)?n:"string"==typeof n&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function k(n,t){return b(t).forEach(function(t){return n.appendChild(t)}),n}function wt(n,t){return k(w(n),t)}var g;i.__esModule=!0;i.getEl=rt;i.createEl=ut;i.textContent=ft;i.insertElFirst=et;i.getElData=ot;i.hasElData=st;i.removeElData=ht;i.hasElClass=o;i.addElClass=a;i.removeElClass=v;i.toggleElClass=ct;i.setElAttributes=lt;i.getElAttributes=at;i.blockTextSelection=vt;i.unblockTextSelection=yt;i.findElPosition=y;i.getPointerPosition=pt;i.isEl=s;i.isTextNode=p;i.emptyEl=w;i.normalizeContent=b;i.appendContent=k;i.insertContent=wt;var bt=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 ","."]),kt=n("global/document"),r=e(kt),dt=n("global/window"),d=e(dt),gt=n("./guid.js"),ni=nt(gt),ti=n("./log.js"),ii=e(ti),ri=n("tsml"),ui=e(ri),f={},u="vdata"+(new Date).getTime(),fi=l("querySelector");i.$=fi;g=l("querySelectorAll");i.$$=g},{"./guid.js":210,"./log.js":213,"global/document":55,"global/window":56,tsml:53}],206:[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":205,"./guid.js":210,"global/document":55,"global/window":56}],207:[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":210}],208:[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":175,"global/window":56}],209:[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"]},{}],210:[function(n,t,i){"use strict";function r(){return u++}i.__esModule=!0;i.newGUID=r;var u=1},{}],211:[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":56}],212:[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:"Bengali",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:"Oriya",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, Moldavian, 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},{}],213:[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":203,"global/window":56}],214:[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":38}],215:[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":55}],216:[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":213}],217:[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"]},{}],218:[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"]},{}],219:[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":55,"global/window":56}],220:[function(t,i,r){"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 f(n){return n&&n.__esModule?n:{"default":n}}function u(n,t,i){var r=void 0;if("string"==typeof n){if(0===n.indexOf("#")&&(n=n.slice(1)),u.getPlayers()[n])return t&&v["default"].warn('Player "'+n+'" is already initialised. Options will not be applied.'),i&&u.getPlayers()[n].ready(i),u.getPlayers()[n];r=e.getEl(n)}else r=n;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return r.player||s["default"].players[r.playerId]||new s["default"](r,t,i)}var h,p;r.__esModule=!0;var d=t("global/window"),g=f(d),nt=t("global/document"),l=f(nt),tt=t("./setup"),it=o(tt),rt=t("./utils/stylesheet.js"),w=o(rt),ut=t("./component"),a=f(ut),ft=t("./event-target"),et=f(ft),ot=t("./utils/events.js"),c=o(ot),st=t("./player"),s=f(st),ht=t("./plugins.js"),ct=f(ht),lt=t("../../src/js/utils/merge-options.js"),at=f(lt),vt=t("./utils/fn.js"),yt=o(vt),pt=t("./tracks/text-track.js"),wt=f(pt),bt=t("./tracks/audio-track.js"),kt=f(bt),dt=t("./tracks/video-track.js"),gt=f(dt),ni=t("./utils/time-ranges.js"),ti=t("./utils/format-time.js"),ii=f(ti),ri=t("./utils/log.js"),v=f(ri),ui=t("./utils/dom.js"),e=o(ui),fi=t("./utils/browser.js"),b=o(fi),ei=t("./utils/url.js"),k=o(ei),oi=t("./extend.js"),si=f(oi),hi=t("lodash-compat/object/merge"),ci=f(hi),li=t("xhr"),ai=f(li),vi=t("./tech/tech.js"),y=f(vi),yi=t("./tech/html5.js"),pi=(f(yi),t("./tech/flash.js"));f(pi);("undefined"==typeof HTMLVideoElement&&(l["default"].createElement("video"),l["default"].createElement("audio"),l["default"].createElement("track")),g["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0)&&(h=e.$(".vjs-styles-defaults"),h||(h=w.createStyleElement("vjs-styles-defaults"),p=e.$("head"),p.insertBefore(h,p.firstChild),w.setTextContent(h,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")));it.autoSetupTimeout(1,u);u.VERSION="1.8.0";u.options=s["default"].prototype.options_;u.getPlayers=function(){return s["default"].players};u.players=s["default"].players;u.getComponent=a["default"].getComponent;u.registerComponent=function(n,t){y["default"].isTech(t)&&v["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");a["default"].registerComponent.call(a["default"],n,t)};u.getTech=y["default"].getTech;u.registerTech=y["default"].registerTech;u.browser=b;u.TOUCH_ENABLED=b.TOUCH_ENABLED;u.extend=si["default"];u.mergeOptions=at["default"];u.bind=yt.bind;u.plugin=ct["default"];u.addLanguage=function(n,t){var i;return n=(""+n).toLowerCase(),ci["default"](u.options.languages,(i={},i[n]=t,i))[n]};u.log=v["default"];u.createTimeRange=u.createTimeRanges=ni.createTimeRanges;u.formatTime=ii["default"];u.parseUrl=k.parseUrl;u.isCrossOrigin=k.isCrossOrigin;u.EventTarget=et["default"];u.on=c.on;u.one=c.one;u.off=c.off;u.trigger=c.trigger;u.xhr=ai["default"];u.TextTrack=wt["default"];u.AudioTrack=kt["default"];u.VideoTrack=gt["default"];u.isEl=e.isEl;u.isTextNode=e.isTextNode;u.createEl=e.createEl;u.hasClass=e.hasElClass;u.addClass=e.addElClass;u.removeClass=e.removeElClass;u.toggleClass=e.toggleElClass;u.setAttributes=e.setElAttributes;u.getAttributes=e.getElAttributes;u.emptyEl=e.emptyEl;u.appendContent=e.appendContent;u.insertContent=e.insertContent;"function"==typeof n&&n.amd?n("videojs",[],function(){return u}):"object"==typeof r&&"object"==typeof i&&(i.exports=u);r["default"]=u;i.exports=r["default"]},{"../../src/js/utils/merge-options.js":214,"./component":128,"./event-target":166,"./extend.js":167,"./player":175,"./plugins.js":176,"./setup":180,"./tech/flash.js":183,"./tech/html5.js":184,"./tech/tech.js":187,"./tracks/audio-track.js":189,"./tracks/text-track.js":197,"./tracks/video-track.js":202,"./utils/browser.js":203,"./utils/dom.js":205,"./utils/events.js":206,"./utils/fn.js":207,"./utils/format-time.js":209,"./utils/log.js":213,"./utils/stylesheet.js":215,"./utils/time-ranges.js":216,"./utils/url.js":219,"global/document":55,"global/window":56,"lodash-compat/object/merge":38,xhr:61}]},{},[63])(63)});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,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";var i=amp.getComponent("MenuButton"),r=i.prototype.addChild;i.prototype.addChild=function(n){r.call(this,n);n.hasClass("vjs-menu")&&this.trigger(t.internalEventName.menuadded)}}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("responsive",function(n){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=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(t.mergeOptions(n.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(t.bind(i,u),e);i.one(t.eventName.loadstart,function(){t.TOUCH_ENABLED&&i.addClass("amp-touch-enabled")});i.ready(t.bind(i,function(){this.addThrottledWindowResizeListener(t.bind(this,v),e);u.call(this);var n=this;this.addThrottledWindowResizeListener(c,e);i.on("fullscreenchange",function(){u.call(n)});this.on(t.internalEventName.menuadded,function(){o=this.controlBar.el().querySelectorAll(".vjs-menu-content");c()})}))})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("ampAudioTracks",function(n){function h(n){var i=n.player_.controlBar.audioTracksButton,u=r,t=i.items.indexOf(n),f=n.player_.currentAudioStreamList();!f||0>t||(f.switchIndex(t),u!==t&&(u<i.items.length&&i.items[u].selected(!1),n.selected(!0),r=t))}function y(n){var i=n.currentAudioStreamList(),r,u,t;if(!i)return[];for(p(n),u=[],t=0;t<i.streams.length;t++)r=i.streams[t],tt(r.codec)==e&&u.push({text:r.title});return u}function p(n){var r=n.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(n){return t.utils.getBitrateByUnit(n.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 n=this.player_.currentAudioStreamList();n&&n.addEventListener(t.streamListEventName.streamselected,t.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=t.getIsoLangs(),a=n&&n.menuTitle?n.menuTitle:"Audio Tracks",r=n&&n.selectedItem?n.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=t.getComponent("MenuItem");t.AudioTrackskMenuItem=t.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")}});t.AudioTrackskMenuItem.prototype.handleClick=function(){h(this)};t.registerComponent("AudioTrackskMenuItem",t.AudioTrackskMenuItem);f=t.getComponent("MenuButton");t.AudioTracksButton=t.extend(f,{init:function(n,i){o&&(i=i||{},i.name="audioTracksButton",f.call(this,n,i),n.addEventListener(t.eventName.loadedmetadata,t.bind(this,w)))}});t.AudioTracksButton.prototype.refresh=function(){if(this.removeChild(this.menu),this.menu=this.createMenu(),!this.items||this.items.length<=1)return void this.hide();this.addChild(this.menu);var n=t.getComponent("Component"),r=new n(i,{el:t.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(a)),tabindex:-1})});this.menu.prependItem(r);this.show()};t.AudioTracksButton.prototype.buttonText=a;t.AudioTracksButton.prototype.createItems=function(){for(var u,i=y(this.player_)||[],r=[],n=0;n<i.length;n++)u=new t.AudioTrackskMenuItem(this.player_,i[n]),r.push(u);return r};t.AudioTracksButton.prototype.buildCSSClass=function(){return it+" "+f.prototype.buildCSSClass.call(this)};t.registerComponent("AudioTracksButton",t.AudioTracksButton);i.ready(function(){var n=new t.AudioTracksButton(i,{selectedItemIndex:r});i.controlBar.audioTracksButton=i.controlBar.addChild(n);o&&i.controlBar.audioTracksButton.el_.setAttribute("aria-label","Audio Tracks Menu")})})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";var i=t.getComponent("CaptionSettingsMenuItem"),u=i.prototype.onClick,r=t.getComponent("TextTrackSettings"),f=r.prototype.saveSettings;t.plugin("closedCaption",function(n){var e=this,o=n&&n.menuTitle?n.menuTitle:"Closed Captioning";e.addEventListener(t.eventName.loadedmetadata,function(){e.controlBar.captionsButton.el().className+=" amp-closedcaption-control";e.controlBar.captionsButton.buttonText=o;var n=t.getComponent("Component"),i=new n(e,{el:t.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(o)),tabindex:-1})});e.controlBar.captionsButton.menu.prependItem(i)});i.prototype.onClick=function(){u.apply(this);this.player().addClass("amp-showing-texttrack-settings")};r.prototype.saveSettings=function(){f.apply(this);this.player().removeClass("amp-showing-texttrack-settings")}})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("contentTitle",function(n){function f(n,t,i){var f="amp-logo";if(u&&null!==i.currentClip()&&i.currentClip().isAd){var r="",e=i.currentClip().clickThrough||"",o=parseInt(i.duration()-i.currentTime());o>=0&&i.currentTime()>0&&(r=AMP.Misc.formatString(i.localize("AD_TIMING_INFO"),o),e.length>0&&(r=i.htmlEncode(r)+' | <a onclick=" return true" class="aboutLink">'+i.htmlEncode(e)+"<\/a>"),t=r);f="amp-logo-ad"}else t=i.htmlEncode(t);return['<div class="logo-title-row">','<div class="title"><h4>'+i.htmlEncode(n)+"<\/h4><\/div>",'<div class="'+f+'"><\/div>',"<\/div>",'<div class="description">'+t+"<\/div>"].join("")}function r(){var u=f(this.title_||this.options_.title,"",this),r,n;void 0!==i.contentTitleElement&&(i.contentTitleElement.innerHTML=u,r=new t.Logo(i),n="amp-logo",i.el().getElementsByClassName(n).length>0&&i.el().getElementsByClassName(n)[0].appendChild(r.el()))}var i=this,u=i.options_.isAdPlayer||!1;i.ready(function(){var r=f(n.title,n.description,i),e="";e=u?t.createEl("div",{className:"amp-content-title-ad",innerHTML:r}):t.createEl("div",{className:"amp-content-title",innerHTML:r});i.contentTitleElement=i.el().appendChild(e);u&&(i.contentTitleElement.onclick=function(){i.trigger("tech-click")})});i.on("firstplay",t.bind(i,r));i.on("presentationUpdate",t.bind(i,r));i.on("timeupdate",t.bind(i,r))})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("controlBarIcons",function(n){function f(n){for(var t=0;t<r.length;t++)if(n===r[t].name())return r[t];return null}function u(n,r){var u=r.replace("amp-controlbaricons-",""),e;u="controlBarIcons"+(u[0].toUpperCase()+u.slice(1));for(var h=t.getComponent("Component"),s=new h(i,{name:u,el:t.createEl("div",{className:r})}),o=0;o<n.length;o++)e=f(n[o]),e&&(s.addChild(e),i.controlBar.removeChild(e));i.controlBar.addChild(s)}var i=this,e=n&&n.leftIcons?n.leftIcons:[],o=n&&n.middleIcons?n.middleIcons:[],s=n&&n.rightIcons?n.rightIcons:[],h=n?!!n.removeOtherIcons:!1,r=[];i.ready(function(){if(r=i.controlBar.children().slice(),h)for(var n=0;n<r.length;n++)i.controlBar.removeChild(r[n]);u(e,"amp-controlbaricons-left");u(o,"amp-controlbaricons-middle");u(s,"amp-controlbaricons-right")})})});!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,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("live",function(n){function y(){i.currentTime(i.duration())}function p(){i.isLive()?(i.addEventListener(t.eventName.seeked,s),i.addEventListener(t.eventName.seeking,h),i.addEventListener(t.eventName.timeupdate,o),c(),f()):(i.removeEventListener(t.eventName.seeked,s),i.removeEventListener(t.eventName.seeking,h),i.removeEventListener(t.eventName.timeupdate,o),r(),l())}function w(){"Html5"==i.currentTechName()&&i.isLive()&&(c(),f())}function o(){i.isLive()?u()&&r():(i.removeEventListener(t.eventName.seeked,s),i.removeEventListener(t.eventName.seeking,h),i.removeEventListener(t.eventName.timeupdate,o),r(),l())}function s(){u()?r():f()}function h(){i.isLive()&&(u()?r():f())}function u(){var n=i.currentPlayerSettingValue("livePlaybackOffsetInWallClockSec");return i.currentTime()<i.duration()-k-n?!0:!1}function f(){i.controlBar.liveDisplay.addClass(e);i.controlBar.currentTimeDisplay.addClass(e)}function r(){i.controlBar.liveDisplay.removeClass(e);i.controlBar.currentTimeDisplay.removeClass(e)}function c(){i.controlBar.liveDisplay.addClass(a);i.controlBar.liveDisplay.show()}function l(){i.controlBar.liveDisplay.removeClass(a);i.controlBar.liveDisplay.hide()}var i=this,b=n&&n.controlText?n.controlText:"LIVE",a="amp-live-control",e="amp-live-on",k=5,v=t.getComponent("Component");t.LiveEdgeProgressBar=t.extend(v,{init:function(n,t){v.call(this,n,t)}});t.LiveEdgeProgressBar.prototype.createEl=function(){return t.createEl("div",{className:"amp-live-edge-progress",tabIndex:0})};t.registerComponent("LiveEdgeProgressBar",t.LiveEdgeProgressBar);i.ready(function(){i.addEventListener(t.eventName.loadedmetadata,p);i.addEventListener(t.eventName.durationchange,w);i.controlBar.liveDisplay.on("click",function(){u()&&y()});i.controlBar.liveDisplay.off(i,"durationchange",i.controlBar.liveDisplay.updateShowing);var n=t.createEl("div",{className:"amp-livetimeindicator",innerHTML:this.htmlEncode(this.localize(b))});i.controlBar.currentTimeDisplay.el().appendChild(n)})})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("logo",function(i){var r=this,o=i.enabled,s=i.opacity,h="https://microsoft.com",u=i.targetUrl,f="amp-logo",e=t.getComponent("Component");t.Logo=t.extend(e,{init:function(n,t){e.call(this,n,t)}});t.Logo.prototype.createEl=function(){var i,e="/skins/amp-default/assets/icons/amslogo.svg",o=t.getComponent("Player"),c=n.document.body.className.includes("high-contrast-enabled"),f,r;return u?(r=t.decodeURL(u),f=r.hierarchical.match(/^((ftp:\/\/)|(javascript:))/i)?h:r.hierarchical.match(/^(https?:)?\/\//i)?t.encodeURL(r):t.createEl("div",{innerHTML:'<a href="'+t.encodeURL(r)+'"><\/a>'}).firstChild.href,i=(amp.browser.IS_FIREFOX||amp.browser.IS_IE11||amp.browser.IS_EDGE)&&c?t.createEl("span",{innerHTML:'<img src="'+o.getScriptRootURL()+e+'"><a target="_blank" href="'+f+'"><\/a>'}):t.createEl("span",{innerHTML:'<a target="_blank" href="'+f+'"><\/a>'})):i=(amp.browser.IS_FIREFOX||amp.browser.IS_IE11||amp.browser.IS_EDGE)&&c?t.createEl("div",{innerHTML:'<img src="'+o.getScriptRootURL()+e+'">'}):t.createEl("div"),i.style.opacity=s,this.container=i,i};t.registerComponent("Logo",t.Logo);r.ready(function(){if(o){var n=new t.Logo(r);r.el().getElementsByClassName(f).length>0&&r.el().getElementsByClassName(f)[0].appendChild(n.el())}})})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("moreOptions",function(i){function s(n,t){var i;if(w=t,t){for(i=0;i<r.length;i++)r[i].control.el().tabIndex=-1,r[i].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(i=0;i<r.length;i++)r[i].control.el().tabIndex=0,r[i].control.removeClass("amp-control-disabled"),r[i].control.menu&&(r[i].control.el().style.position="",r[i].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 k(n){n.controlBar.moreOptionsButton.menu.el().style.display="";for(var t=0;t<r.length;t++)r[t].control.menu&&(r[t].control.menu.el().style.display="")}function d(n){var i,t;for(r=[],i=0;i<y.length;i++)t=n.controlBar[y[i]],t&&t.el()&&r.push({control:t,text:t.buttonText,className:t.el().className});return r}function g(t){var u=t.controlBar.el(),o,i;for(f={left:u.querySelector(".amp-controlbaricons-left"),middle:u.querySelector(".amp-controlbaricons-middle"),right:u.querySelector(".amp-controlbaricons-right")},a=f.right.offsetWidth,o=n.getComputedStyle(f.middle),e=parseInt(o.minWidth,10),isNaN(e)&&(e=0),f.middle.style.minWidth="0",l=[],i=0;i<r.length;i++)r[i].control.hasClass("vjs-hidden")||l.push(r[i]);l.length>1?(t.addThrottledWindowResizeListener(function(){h(t)},tt),h(t)):s(t,!1)}function h(n){if(0==n.controlBar.width())s(n,n.width()<e);else if(null!==f){var t=f.middle.offsetWidth;w&&(t=f.middle.offsetWidth-(a-f.right.offsetWidth));s(n,e+1>t)}}var a,v=t.getComponent("Component"),u=this,e=0,y=i&&i.controls?i.controls:[],c=i&&i.menuTitle?i.menuTitle:"More Options",nt="amp-moreoptions-control",r=[],l=[],p=Date.now(),tt=200,f=null,w=!1,b=t.getComponent("MenuItem"),o;t.MoreOptionsMenuItem=t.extend(b,{init:function(n,t){var i={label:t.text,value:t.value,selected:t.selected};b.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=""})}});t.MoreOptionsMenuItem.prototype.handleClick=function(){this.control.handleClick();p=Date.now()};t.registerComponent("MoreOptionsMenuItem",t.MoreOptionsMenuItem);o=t.getComponent("MenuButton");t.MoreOptionsButton=t.extend(o,{init:function(n,i){if(i=i||{},i.name="moreOptionsButton",o.call(this,n,i),n.addEventListener(amp.eventName.loadedmetadata,t.bind(this,function(){this.refresh()})),this.on("mouseover",function(){k(n)}),this.items.length>0){var r=new v(n,{el:t.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(c)),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")}});t.MoreOptionsButton.prototype.buttonText=c;t.MoreOptionsButton.prototype.createItems=function(){for(var u,i=d(this.player_)||[],r=[],n=0;n<i.length;n++)u=new t.MoreOptionsMenuItem(this.player_,i[n]),r.push(u);return r};t.MoreOptionsButton.prototype.buildCSSClass=function(){return nt+" "+o.prototype.buildCSSClass.call(this)};t.MoreOptionsButton.prototype.refresh=function(){if(this.removeChild(this.menu),this.menu=this.createMenu(),this.addChild(this.menu),this.items.length>0){var n=new v(this.player_,{el:t.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(c)),tabindex:-1})});this.menu.prependItem(n)}this.items=this.createItems()};t.MoreOptionsButton.prototype.hasJustBeenClicked=function(){return Date.now()-p<500};t.MoreOptionsButton.prototype.onClick=function(n){this.hasJustBeenClicked()||o.prototype.onClick.call(this,n)};t.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};t.MoreOptionsButton.prototype.vjsHandleMouseLeave=t.MoreOptionsButton.prototype.handleMouseLeave;t.MoreOptionsButton.prototype.handleMouseLeave=function(){this.isSubMenuVisible()||this.vjsHandleMouseLeave()};t.registerComponent("MoreOptionsButton",t.MoreOptionsButton);u.ready(function(){var n=new t.MoreOptionsButton(u,i);u.controlBar.moreOptionsButton=u.controlBar.addChild(n);u.addEventListener(amp.eventName.loadedmetadata,function(){g(u)});u.on("fullscreenchange",function(){s(u,u.controlBar.width()<e)});u.on("visibilityChange",function(){h(u)})})})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("quality",function(n){function o(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;h(t,r);var u=n.player_.currentVideoStreamList(),e=u.selectedIndex,o=u.streams[e].tracks;u.streams[e].selectTrackByIndex(0==i?-1:o.length-i)}}function s(n){var e=n.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-"+t.utils.getBitrateByUnit(o),selectable:r[r.length-u].selectable};return i>=0&&i<f.length&&(f[i].selected=!0),f}}function h(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(n){var i=n.currentVideoStreamList(),r;if(i&&i.streams)for(r=0;r<i.streams.length;r++)i.streams[r].addEventListener(amp.streamEventName.trackselected,t.bind(n,a))}function a(){for(var t,u=this.controlBar.qualityButton,f=this.currentVideoStreamList(),s=f.selectedIndex,r=f.streams[s].tracks,e=-1,o=0,n=0;n<r.length;n++)r[n].selectable&&(e=n,o++);t=-1;t=o>1?0:r.length-e;t!==i&&(u.items[i].selected(!1),i=t,u.items[i].selected(!0))}var r=this,f=n&&n.menuTitle?n.menuTitle:"Quality",i=n&&n.selectedItem?n.selectedItem:0,v="amp-quality-control",y=n&&n.autoMenuItemLabel?n.autoMenuItemLabel:"Auto",e=t.getComponent("MenuItem"),u;t.QualityMenuItem=t.extend(e,{init:function(n,t){var i={label:t.text,value:t.value,selected:t.selected,selectable:t.selectable};e.call(this,n,i);this.addClass("amp-menu-item")}});t.QualityMenuItem.prototype.handleClick=function(){o(this)};t.registerComponent("QualityMenuItem",t.QualityMenuItem);u=t.getComponent("MenuButton");t.QualityButton=t.extend(u,{init:function(n,r){if(r=r||{},r.name="qualityButton",u.call(this,n,r),n.addEventListener(t.eventName.loadedmetadata,t.bind(this,c)),void 0!=this.items&&this.items.length>0){var e=t.getComponent("Component"),o=new e(n,{el:t.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()}});t.QualityButton.prototype.buttonText=f;t.QualityButton.prototype.createItems=function(){for(var u,i=s(this.player_)||[],r=[],n=0;n<i.length;n++)u=new t.QualityMenuItem(this.player_,i[n]),r.push(u);return r};t.QualityButton.prototype.buildCSSClass=function(){return v+" "+u.prototype.buildCSSClass.call(this)};t.registerComponent("QualityButton",t.QualityButton);r.ready(function(){var n=new t.QualityButton(r,{selectedItemIndex:i});r.controlBar.qualityButton=r.controlBar.addChild(n);r.controlBar.qualityButton.el_.setAttribute("aria-label","Audio Quality Menu")});t.QualityButton.prototype.refresh=function(){if(this.removeChild(this.menu),this.menu=this.createMenu(),this.addChild(this.menu),void 0!=this.items&&this.items.length>0){var n=t.getComponent("Component"),u=new n(r,{el:t.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()}})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("subtitles",function(n){var i=this,r=n&&n.menuTitle?n.menuTitle:"Subtitles",u=n&&n.offMenuItemLabel?n.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 n=t.getComponent("Component"),f=new n(i,{el:t.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(r)),tabindex:-1})});i.controlBar.subtitlesButton.menu.prependItem(f)})})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("outline",function(n){function f(){t.controlBar.removeClass(r)}function i(n){n.classList.add(l);n.addEventListener("click",f)}function e(){for(var u,r=t.controlBar.el().querySelectorAll(h),n=0;n<r.length;n++)i(r[n]);if(s)for(u=t.controlBar.el().querySelectorAll(c),n=0;n<u.length;n++)i(u[n])}function o(){t.controlBar.addClass(r);u||(u=!0,e())}var t=this,s=!!n&&!!n.displayOnMenuItems,h=".vjs-control",c=".vjs-menu-item",r="outline-enabled",l="outline-enabled-control",u=!1;t.ready(function(){t.controlBar.on("keydown",o)})})}),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,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("ampVolumeMenuButton",function(n){var i=this,r=t.getComponent("VolumeMenuButton");t.AmpVolumeMenuButton=t.extend(r,{init:function(n,t){t=t||{};t.name="ampVolumeMenuButton";t.inline=!1;r.call(this,n,t);this.on("mouseover",this.handleMouseOver);this.on("mouseleave",this.handleMouseLeave);var i=this;n.on("userinactive",function(){i.menuContent.unlockShowing();i.el_.setAttribute("aria-expanded","false")});this.buttonTouched=!1}});t.AmpVolumeMenuButton.prototype.handleMouseOver=function(){this.menuContent.lockShowing();this.el_.setAttribute("aria-expanded","true")};t.AmpVolumeMenuButton.prototype.handleMouseLeave=function(){this.menuContent.unlockShowing();this.el_.setAttribute("aria-expanded","false")};t.AmpVolumeMenuButton.prototype.handleClick=function(){this.clearOtherMenus();this.buttonTouched=!this.buttonTouched;this.buttonTouched&&this.handleMouseOver();r.prototype.handleClick.call(this)};t.AmpVolumeMenuButton.prototype.clearOtherMenus=function(){var t=this,n=this.player_.controlBar;n&&Object.getOwnPropertyNames(n).forEach(function(i){n[i]!==t&&n[i].el_&&n[i].el_.className&&-1!==n[i].el_.className.indexOf("vjs-menu-button")&&n[i].buttonPressed_&&n[i].unpressButton()})};t.registerComponent("AmpVolumeMenuButton",t.AmpVolumeMenuButton);i.ready(function(){var r=new t.AmpVolumeMenuButton(i,n),e,u,f;i.controlBar.ampVolumeMenuButton=i.controlBar.addChild(r);e=t.getComponent("Component");u=e.prototype.createEl.call(this,"div",{className:"vjs-volume-handle",innerHTML:'<span class="vjs-control-text">00:00<\/span>'});r.volumeBar.el_.appendChild(u);r.volumeBar.on("blur",function(){i.controlBar.ampVolumeMenuButton.handleMouseLeave()});f=function(){r.volumeBar.bar&&r.volumeBar.bar.el_&&(n&&n.vertical===!1?u.style.left=r.volumeBar.bar.el_.style.width:u.style.top=r.volumeBar.bar.el_.style.height)};f();this.one(i,"timeupdate",function(){r.volumeBar.update();f()});this.on(i,r.volumeBar.playerEvent,function(){f()})})})}),function(n,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.amp)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.amp):t(n,n.amp)}(window,function(n,t){"use strict";t.plugin("playbackSpeed",function(n){function h(n,t){t.canControlPlaybackRate()&&t.playbackRate(n)}function c(n){var t=n.controlBar.playbackSpeedButton.currentSpeedIndex||0===n.controlBar.playbackSpeedButton.currentSpeedIndex?r[n.controlBar.playbackSpeedButton.currentSpeedIndex].value:1;n.controlBar.playbackSpeedButton.removeClass(s);n.controlBar.playbackSpeedButton.removeClass(p);n.controlBar.playbackSpeedButton.removeClass(w);n.controlBar.playbackSpeedButton.addClass(t>1?p:1>t?w:s)}function l(n,t,i){var u=i||n.player_,e=u.controlBar.playbackSpeedButton,o=u.controlBar.playbackSpeedButton.currentSpeedIndex,f=a(t||n.options().value);o!==f&&(null!==o&&e.items[o].selected(!1),e.items[f].selected(!0),b(e,f),h(r[f].value,u),u.controlBar.playbackSpeedButton.currentSpeedIndex=f,c(u))}function b(n,t){1===r[t].value}function a(n){for(var t=0;t<r.length;t++)if(Math.abs(r[t].value-n)<.001)return t;return null}var k=t.getComponent("Component"),v=t.getComponent("MenuItem"),o=t.getComponent("MenuButton");if(n&&n.enabled){for(var e,i=this,f=n.speedLevels?n.speedLevels.slice(0):[{name:"2.0x",value:2},{name:"1.0x",value:1},{name:"0.5x",value:.5}].slice(0),r=[],y="Playback Speed",s="amp-playbackspeed-control-normal",p="amp-playbackspeed-control-fast",w="amp-playbackspeed-control-slow",u=0,u=0;u<f.length;u++)f[u].name&&f[u].value>=.5&&f[u].value<=4&&r.push({selected:!1,name:f[u].name,value:f[u].value});e=a(n.initialSpeed?n.initialSpeed:1);null!==e?(r[e].selected=!0,h(r[e].value,i)):AMP.Logger.error(AMP.Logger.Area.plugin,"PlaybackSpeed plugin: cannot identify speed index for initial speed.");t.PlaybackSpeedMenuItem=t.extend(v,{init:function(n,t){var i={label:t.name,value:t.value,selected:t.selected,selectable:!0};v.call(this,n,i);this.addClass("amp-menu-item");this.on("click",this.handleClick)}});t.PlaybackSpeedMenuItem.prototype.handleClick=function(){l(this)};t.registerComponent("PlaybackSpeedMenuItem",t.PlaybackSpeedMenuItem);t.PlaybackSpeedButton=t.extend(o,{init:function(n,i){i=i||{};i.name="playbackSpeedButton";o.call(this,n,i);n.addEventListener(t.eventName.loadedmetadata,t.bind(this,t.PlaybackSpeedButton.prototype.refresh));var r=new k(n,{el:t.createEl("li",{className:"amp-menu-header",innerHTML:this.htmlEncode(this.localize(y)),tabindex:-1})});this.menu.prependItem(r);n.canControlPlaybackRate()?this.show():this.hide()}});t.PlaybackSpeedButton.prototype.buttonText=y;t.PlaybackSpeedButton.prototype.createItems=function(){for(var u,i=[],n=0;n<r.length;n++)u=new t.PlaybackSpeedMenuItem(this.player_,r[n]),i.push(u);return i};t.PlaybackSpeedButton.prototype.buildCSSClass=function(){return s+" "+o.prototype.buildCSSClass.call(this).trim()};t.PlaybackSpeedButton.prototype.refresh=function(){this.player_.canControlPlaybackRate()?this.show():this.hide()};t.PlaybackSpeedButton.prototype.setInitialValues=function(){this.player_.controlBar.playbackSpeedButton.currentSpeedIndex=e;this.player_.controlBar.playbackSpeedButton.el_.setAttribute("aria-label","Playback Speed");c(this.player_)};t.registerComponent("PlaybackSpeedButton",t.PlaybackSpeedButton);i.ready(function(){var n=new t.PlaybackSpeedButton(i);i.controlBar.playbackSpeedButton=i.controlBar.addChild(n);i.controlBar.playbackSpeedButton.setInitialValues();i.addEventListener(amp.eventName.ratechange,function(){i.canControlPlaybackRate()&&l(void 0,i.playbackRate(),i)})})}})});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:{},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","ampVolumeMenuButton","moreOptionsButton","fullscreenToggle"],removeOtherIcons:!1},outline:{displayOnMenuItems:!0},ampV2timelineMarkers:{}});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,t){"function"==typeof define&&define.amd?define([],t.bind(this,n,n.videojs)):"undefined"!=typeof module&&module.exports?module.exports=t(n,n.videojs):t(n,n.videojs)}(window,function(n,t){"use strict";n.videojs_hotkeys={version:"0.2.16"};var i=function(i){function g(n){return 32===n.which||179===n.which}function nt(n){return 37===n.which||177===n.which}function tt(n){return 39===n.which||176===n.which}function it(n){return 38===n.which}function rt(n){return 40===n.which}function ut(n){return 77===n.which}function ft(n){return 70===n.which}var r=this,u=r.el(),f=document,et={volumeStep:.1,seekStep:5,enableMute:!0,enableVolumeScroll:!0,enableFullscreen:!0,enableNumbers:!0,enableJogStyle:!1,alwaysCaptureHotkeys:!1,enableModifiersForNumbers:!0,enableSeek:!0,enablePlayPause:!0,playPauseKey:g,rewindKey:nt,forwardKey:tt,volumeUpKey:it,volumeDownKey:rt,muteKey:ut,fullscreenKey:ft,customKeys:{}},h=1,c=2,l=3,a=4,v=5,y=6,p=7,ot=t.mergeOptions||t.util.mergeOptions;i=ot(et,i||{});var e=i.volumeStep,s=i.seekStep,st=i.enableMute,ht=i.enableVolumeScroll,w=i.enableFullscreen,ct=i.enableNumbers,b=i.enableJogStyle,o=i.alwaysCaptureHotkeys,lt=i.enableModifiersForNumbers,k=i.enableSeek,at=i.enablePlayPause;u.hasAttribute("tabIndex")||u.setAttribute("tabIndex","-1");u.style.outline="none";(o||!r.autoplay())&&r.one("play",function(){u.focus()});r.on("userinactive",function(){var n=function(){clearTimeout(t)},t=setTimeout(function(){r.off("useractive",n);f.activeElement&&f.activeElement.parentElement==u.querySelector(".vjs-control-bar")&&u.focus()},10);r.one("useractive",n)});r.on("play",function(){var n=u.querySelector(".iframeblocker");n&&""===n.style.display&&(n.style.display="block",n.style.bottom="39px")});var vt=function(n){var d,g=n.which,t=n.preventDefault,tt,it,rt,ut,nt;if(r.controls()&&(tt=f.activeElement,o||tt==u||tt==u.querySelector(".vjs-tech")||tt==u.querySelector(".vjs-control-bar")||tt==u.querySelector(".iframeblocker")))switch(pt(n,r)){case h:at&&(t(),o&&n.stopPropagation(),r.paused()?r.play():r.pause());break;case c:k&&(t(),d=r.currentTime()-s,r.currentTime()<=s&&(d=0),r.currentTime(d));break;case l:k&&(t(),r.currentTime(r.currentTime()+s));break;case v:t();b?(d=r.currentTime()-1,r.currentTime()<=1&&(d=0),r.currentTime(d)):r.volume(r.volume()-e);break;case a:t();b?r.currentTime(r.currentTime()+1):r.volume(r.volume()+e);break;case y:st&&r.muted(!r.muted());break;case p:w&&(r.isFullscreen()?r.exitFullscreen():r.requestFullscreen());break;default:(g>47&&59>g||g>95&&106>g)&&(lt||!(n.metaKey||n.ctrlKey||n.altKey))&&ct&&(it=48,g>95&&(it=96),rt=g-it,t(),r.currentTime(r.duration()*rt*.1));for(ut in i.customKeys)nt=i.customKeys[ut],nt&&nt.key&&nt.handler&&nt.key(n)&&(t(),nt.handler(r,i))}},yt=function(n){if(r.controls()){var t=n.relatedTarget||n.toElement||f.activeElement;(t==u||t==u.querySelector(".vjs-tech")||t==u.querySelector(".iframeblocker"))&&w&&(r.isFullscreen()?r.exitFullscreen():r.requestFullscreen())}},d=function(t){var i,s;r.controls()&&(i=t.relatedTarget||t.toElement||f.activeElement,(o||i==u||i==u.querySelector(".vjs-tech")||i==u.querySelector(".iframeblocker")||i==u.querySelector(".vjs-control-bar"))&&ht&&(t=n.event||t,s=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),t.preventDefault?t.preventDefault():t.returnValue=!1,1==s?r.volume(r.volume()+e):-1==s&&r.volume(r.volume()-e)))},pt=function(n,t){return i.playPauseKey(n,t)?h:i.rewindKey(n,t)?c:i.forwardKey(n,t)?l:i.volumeUpKey(n,t)?a:i.volumeDownKey(n,t)?v:i.muteKey(n,t)?y:i.fullscreenKey(n,t)?p:void 0};return r.on("keydown",vt),r.on("dblclick",yt),r.on("mousewheel",d),r.on("DOMMouseScroll",d),this};t.plugin("hotkeys",i)});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){if("object"==typeof exports)module.exports=n();else if("function"==typeof define&&define.amd)define(n);else{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 window.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(this.player.showBusy(),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.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,e,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 f=t.startOffset,c=(this._lastMainContentTime,(Date.now()-this._adPlayStartTime)/1e3),u=f-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&&(e=this.searchMidRollsForSplice(t),-1!==e)){var s=this._midRolls[e],f=t.startOffset,u=f-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||{});$(function(){function n(){var n=document.getElementById("openingVideo");n!=null&&sessionStorage.firstEntry!==1&&(innerPlayer=amp(n,{nativeControlsForTouch:!1,logo:{enabled:!1},controls:!1,poster:""},function(){this.addEventListener("ended",function(){})}).ready(function(){$(".btnPlayVideo").on("click",function(){innerPlayer.paused()?(innerPlayer.play(),$(".btnPlayVideo").addClass("btnPause")):(innerPlayer.pause(),$(".btnPlayVideo").removeClass("btnPause"))});sessionStorage.firstEntry!=1&&(this.play(),sessionStorage.firstEntry=1)}))}sessionStorage.firstEntry&&($(".header, .main, .section-intro-video").addClass("animate"),$(".wrapper").addClass("wrapper-visible"));$(window).width()<768?$(".wrapper").addClass("wrapper-visible"):$(window).width()>=768&&n()});!function(n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Parallax=n()}(function(){return function n(t,i,r){function u(f,o){var h,c,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);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){var i=t[f][1][n];return u(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){"use strict";function r(n){if(null===n||void 0===n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}var i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;t.exports=function(){var i,t,n,r;try{if(!Object.assign||(i=new String("abc"),i[5]="de","5"===Object.getOwnPropertyNames(i)[0]))return!1;for(t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;return"0123456789"!==Object.getOwnPropertyNames(t).map(function(n){return t[n]}).join("")?!1:(r={},"abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join(""))}catch(i){return!1}}()?Object.assign:function(n){for(var t,o,c,e,s=r(n),h=1;h<arguments.length;h++){t=Object(arguments[h]);for(c in t)u.call(t,c)&&(s[c]=t[c]);if(i)for(o=i(t),e=0;e<o.length;e++)f.call(t,o[e])&&(s[o[e]]=t[o[e]])}return s}},{}],2:[function(n,t){(function(n){(function(){var r,u,i,f,e,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:void 0!==n&&null!==n&&n.hrtime?(t.exports=function(){return(r()-e)/1e6},u=n.hrtime,f=(r=function(){var n;return 1e9*(n=u())[0]+n[1]})(),o=1e9*n.uptime(),e=f-o):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,n("_process"))},{_process:3}],3:[function(n,t){function c(){throw new Error("setTimeout has not been defined");}function l(){throw new Error("clearTimeout has not been defined");}function a(n){if(u===setTimeout)return setTimeout(n,0);if((u===c||!u)&&setTimeout)return u=setTimeout,setTimeout(n,0);try{return u(n,0)}catch(t){try{return u.call(null,n,0)}catch(t){return u.call(this,n,0)}}}function p(n){if(f===clearTimeout)return clearTimeout(n);if((f===l||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(n);try{return f(n)}catch(t){try{return f.call(null,n)}catch(t){return f.call(this,n)}}}function w(){s&&o&&(s=!1,o.length?e=o.concat(e):h=-1,e.length&&v())}function v(){var t,n;if(!s){for(t=a(w),s=!0,n=e.length;n;){for(o=e,e=[];++h<n;)o&&o[h].run();h=-1;n=e.length}o=null;s=!1;p(t)}}function y(n,t){this.fun=n;this.array=t}function r(){}var u,f,i=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:c}catch(n){u=c}try{f="function"==typeof clearTimeout?clearTimeout:l}catch(n){f=l}}();var o,e=[],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];e.push(new y(n,i));1!==e.length||s||a(v)};y.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=r;i.addListener=r;i.once=r;i.off=r;i.removeListener=r;i.removeAllListeners=r;i.emit=r;i.prependListener=r;i.prependOnceListener=r;i.listeners=function(){return[]};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}},{}],4:[function(n,t){(function(i){for(var a=n("performance-now"),r="undefined"==typeof window?i:window,h=["moz","webkit"],f="AnimationFrame",e=r["request"+f],o=r["cancel"+f]||r["cancelRequest"+f],s=0;!e&&s<h.length;s++)e=r[h[s]+"Request"+f],o=r[h[s]+"Cancel"+f]||r[h[s]+"CancelRequest"+f];if(!e||!o){var c=0,l=0,u=[];e=function(n){if(0===u.length){var t=a(),i=Math.max(0,1e3/60-(t-c));c=i+t;setTimeout(function(){var t=u.slice(0),n;for(u.length=0,n=0;n<t.length;n++)if(!t[n].cancelled)try{t[n].callback(c)}catch(t){setTimeout(function(){throw t;},0)}},Math.round(i))}return u.push({handle:++l,callback:n,cancelled:!1}),l};o=function(n){for(var t=0;t<u.length;t++)u[t].handle===n&&(u[t].cancelled=!0)}}t.exports=function(n){return e.call(r,n)};t.exports.cancel=function(){o.apply(r,arguments)};t.exports.polyfill=function(){r.requestAnimationFrame=e;r.cancelAnimationFrame=o}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"performance-now":2}],5:[function(n,t){"use strict";function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),r=n("raf"),e=n("object-assign"),i={propertyCache:{},vendors:[null,["-webkit-","webkit"],["-moz-","Moz"],["-o-","O"],["-ms-","ms"]],clamp:function(n,t,i){return t<i?n<t?t:n>i?i:n:n<i?i:n>t?t:n},data:function(n,t){return i.deserialize(n.getAttribute("data-"+t))},deserialize:function(n){return"true"===n||"false"!==n&&("null"===n?null:!isNaN(parseFloat(n))&&isFinite(n)?parseFloat(n):n)},camelCase:function(n){return n.replace(/-+(.)?/g,function(n,t){return t?t.toUpperCase():""})},accelerate:function(n){i.css(n,"transform","translate3d(0,0,0) rotate(0.0001deg)");i.css(n,"transform-style","preserve-3d");i.css(n,"backface-visibility","hidden")},transformSupport:function(n){for(var r=document.createElement("div"),o=!1,s=null,h=!1,c=null,f=null,u=0,a=i.vendors.length;u<a;u++)if(null!==i.vendors[u]?(c=i.vendors[u][0]+"transform",f=i.vendors[u][1]+"Transform"):(c="transform",f="transform"),void 0!==r.style[f]){o=!0;break}switch(n){case"2D":h=o;break;case"3D":if(o){var t=document.body||document.createElement("body"),e=document.documentElement,v=e.style.overflow,l=!1;document.body||(l=!0,e.style.overflow="hidden",e.appendChild(t),t.style.overflow="hidden",t.style.background="");t.appendChild(r);r.style[f]="translate3d(1px,1px,1px)";h=void 0!==(s=window.getComputedStyle(r).getPropertyValue(c))&&s.length>0&&"none"!==s;e.style.overflow=v;t.removeChild(r);l&&(t.removeAttribute("style"),t.parentNode.removeChild(t))}}return h},css:function(n,t,r){var u=i.propertyCache[t],f,e;if(!u)for(f=0,e=i.vendors.length;f<e;f++)if(u=null!==i.vendors[f]?i.camelCase(i.vendors[f][1]+"-"+t):t,void 0!==n.style[u]){i.propertyCache[t]=u;break}n.style[u]=r}},o={relativeInput:!1,clipRelativeInput:!1,inputElement:null,hoverOnly:!1,calibrationThreshold:100,calibrationDelay:500,supportDelay:500,calibrateX:!1,calibrateY:!0,invertX:!0,invertY:!0,limitX:!1,limitY:!1,scalarX:10,scalarY:10,frictionX:.1,frictionY:.1,originX:.5,originY:.5,pointerEvents:!1,precision:1,onReady:null,selector:null},s=function(){function n(t,r){var f,s;u(this,n);this.element=t;f={calibrateX:i.data(this.element,"calibrate-x"),calibrateY:i.data(this.element,"calibrate-y"),invertX:i.data(this.element,"invert-x"),invertY:i.data(this.element,"invert-y"),limitX:i.data(this.element,"limit-x"),limitY:i.data(this.element,"limit-y"),scalarX:i.data(this.element,"scalar-x"),scalarY:i.data(this.element,"scalar-y"),frictionX:i.data(this.element,"friction-x"),frictionY:i.data(this.element,"friction-y"),originX:i.data(this.element,"origin-x"),originY:i.data(this.element,"origin-y"),pointerEvents:i.data(this.element,"pointer-events"),precision:i.data(this.element,"precision"),relativeInput:i.data(this.element,"relative-input"),clipRelativeInput:i.data(this.element,"clip-relative-input"),hoverOnly:i.data(this.element,"hover-only"),inputElement:document.querySelector(i.data(this.element,"input-element")),selector:i.data(this.element,"selector")};for(s in f)null===f[s]&&delete f[s];e(this,o,f,r);this.inputElement||(this.inputElement=this.element);this.calibrationTimer=null;this.calibrationFlag=!0;this.enabled=!1;this.depthsX=[];this.depthsY=[];this.raf=null;this.bounds=null;this.elementPositionX=0;this.elementPositionY=0;this.elementWidth=0;this.elementHeight=0;this.elementCenterX=0;this.elementCenterY=0;this.elementRangeX=0;this.elementRangeY=0;this.calibrationX=0;this.calibrationY=0;this.inputX=0;this.inputY=0;this.motionX=0;this.motionY=0;this.velocityX=0;this.velocityY=0;this.onMouseMove=this.onMouseMove.bind(this);this.onDeviceOrientation=this.onDeviceOrientation.bind(this);this.onDeviceMotion=this.onDeviceMotion.bind(this);this.onOrientationTimer=this.onOrientationTimer.bind(this);this.onMotionTimer=this.onMotionTimer.bind(this);this.onCalibrationTimer=this.onCalibrationTimer.bind(this);this.onAnimationFrame=this.onAnimationFrame.bind(this);this.onWindowResize=this.onWindowResize.bind(this);this.windowWidth=null;this.windowHeight=null;this.windowCenterX=null;this.windowCenterY=null;this.windowRadiusX=null;this.windowRadiusY=null;this.portrait=!1;this.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i);this.motionSupport=!!window.DeviceMotionEvent&&!this.desktop;this.orientationSupport=!!window.DeviceOrientationEvent&&!this.desktop;this.orientationStatus=0;this.motionStatus=0;this.initialise()}return f(n,[{key:"initialise",value:function(){void 0===this.transform2DSupport&&(this.transform2DSupport=i.transformSupport("2D"),this.transform3DSupport=i.transformSupport("3D"));this.transform3DSupport&&i.accelerate(this.element);"static"===window.getComputedStyle(this.element).getPropertyValue("position")&&(this.element.style.position="relative");this.pointerEvents||(this.element.style.pointerEvents="none");this.updateLayers();this.updateDimensions();this.enable();this.queueCalibration(this.calibrationDelay)}},{key:"doReadyCallback",value:function(){this.onReady&&this.onReady()}},{key:"updateLayers",value:function(){var t,n,r;for(this.layers=this.selector?this.element.querySelectorAll(this.selector):this.element.children,this.layers.length||console.warn("ParallaxJS: Your scene does not have any layers."),this.depthsX=[],this.depthsY=[],t=0;t<this.layers.length;t++)n=this.layers[t],this.transform3DSupport&&i.accelerate(n),n.style.position=t?"absolute":"relative",n.style.display="block",n.style.left=0,n.style.top=0,r=i.data(n,"depth")||0,this.depthsX.push(i.data(n,"depth-x")||r),this.depthsY.push(i.data(n,"depth-y")||r)}},{key:"updateDimensions",value:function(){this.windowWidth=window.innerWidth;this.windowHeight=window.innerHeight;this.windowCenterX=this.windowWidth*this.originX;this.windowCenterY=this.windowHeight*this.originY;this.windowRadiusX=Math.max(this.windowCenterX,this.windowWidth-this.windowCenterX);this.windowRadiusY=Math.max(this.windowCenterY,this.windowHeight-this.windowCenterY)}},{key:"updateBounds",value:function(){this.bounds=this.inputElement.getBoundingClientRect();this.elementPositionX=this.bounds.left;this.elementPositionY=this.bounds.top;this.elementWidth=this.bounds.width;this.elementHeight=this.bounds.height;this.elementCenterX=this.elementWidth*this.originX;this.elementCenterY=this.elementHeight*this.originY;this.elementRangeX=Math.max(this.elementCenterX,this.elementWidth-this.elementCenterX);this.elementRangeY=Math.max(this.elementCenterY,this.elementHeight-this.elementCenterY)}},{key:"queueCalibration",value:function(n){clearTimeout(this.calibrationTimer);this.calibrationTimer=setTimeout(this.onCalibrationTimer,n)}},{key:"enable",value:function(){this.enabled||(this.enabled=!0,this.orientationSupport?(this.portrait=!1,window.addEventListener("deviceorientation",this.onDeviceOrientation),this.detectionTimer=setTimeout(this.onOrientationTimer,this.supportDelay)):this.motionSupport?(this.portrait=!1,window.addEventListener("devicemotion",this.onDeviceMotion),this.detectionTimer=setTimeout(this.onMotionTimer,this.supportDelay)):(this.calibrationX=0,this.calibrationY=0,this.portrait=!1,window.addEventListener("mousemove",this.onMouseMove),this.doReadyCallback()),window.addEventListener("resize",this.onWindowResize),this.raf=r(this.onAnimationFrame))}},{key:"disable",value:function(){this.enabled&&(this.enabled=!1,this.orientationSupport?window.removeEventListener("deviceorientation",this.onDeviceOrientation):this.motionSupport?window.removeEventListener("devicemotion",this.onDeviceMotion):window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("resize",this.onWindowResize),r.cancel(this.raf))}},{key:"calibrate",value:function(n,t){this.calibrateX=void 0===n?this.calibrateX:n;this.calibrateY=void 0===t?this.calibrateY:t}},{key:"invert",value:function(n,t){this.invertX=void 0===n?this.invertX:n;this.invertY=void 0===t?this.invertY:t}},{key:"friction",value:function(n,t){this.frictionX=void 0===n?this.frictionX:n;this.frictionY=void 0===t?this.frictionY:t}},{key:"scalar",value:function(n,t){this.scalarX=void 0===n?this.scalarX:n;this.scalarY=void 0===t?this.scalarY:t}},{key:"limit",value:function(n,t){this.limitX=void 0===n?this.limitX:n;this.limitY=void 0===t?this.limitY:t}},{key:"origin",value:function(n,t){this.originX=void 0===n?this.originX:n;this.originY=void 0===t?this.originY:t}},{key:"setInputElement",value:function(n){this.inputElement=n;this.updateDimensions()}},{key:"setPosition",value:function(n,t,r){t=t.toFixed(this.precision)+"px";r=r.toFixed(this.precision)+"px";this.transform3DSupport?i.css(n,"transform","translate3d("+t+","+r+",0)"):this.transform2DSupport?i.css(n,"transform","translate("+t+","+r+")"):(n.style.left=t,n.style.top=r)}},{key:"onOrientationTimer",value:function(){this.orientationSupport&&0===this.orientationStatus?(this.disable(),this.orientationSupport=!1,this.enable()):this.doReadyCallback()}},{key:"onMotionTimer",value:function(){this.motionSupport&&0===this.motionStatus?(this.disable(),this.motionSupport=!1,this.enable()):this.doReadyCallback()}},{key:"onCalibrationTimer",value:function(){this.calibrationFlag=!0}},{key:"onWindowResize",value:function(){this.updateDimensions()}},{key:"onAnimationFrame",value:function(){var t,u,n;for(this.updateBounds(),t=this.inputX-this.calibrationX,u=this.inputY-this.calibrationY,(Math.abs(t)>this.calibrationThreshold||Math.abs(u)>this.calibrationThreshold)&&this.queueCalibration(0),this.portrait?(this.motionX=this.calibrateX?u:this.inputY,this.motionY=this.calibrateY?t:this.inputX):(this.motionX=this.calibrateX?t:this.inputX,this.motionY=this.calibrateY?u:this.inputY),this.motionX*=this.elementWidth*(this.scalarX/100),this.motionY*=this.elementHeight*(this.scalarY/100),isNaN(parseFloat(this.limitX))||(this.motionX=i.clamp(this.motionX,-this.limitX,this.limitX)),isNaN(parseFloat(this.limitY))||(this.motionY=i.clamp(this.motionY,-this.limitY,this.limitY)),this.velocityX+=(this.motionX-this.velocityX)*this.frictionX,this.velocityY+=(this.motionY-this.velocityY)*this.frictionY,n=0;n<this.layers.length;n++){var f=this.layers[n],e=this.depthsX[n],o=this.depthsY[n],s=this.velocityX*e*(this.invertX?-1:1),h=this.velocityY*o*(this.invertY?-1:1);this.setPosition(f,s,h)}this.raf=r(this.onAnimationFrame)}},{key:"rotate",value:function(n,t){var i=(n||0)/30,r=(t||0)/30,u=this.windowHeight>this.windowWidth;this.portrait!==u&&(this.portrait=u,this.calibrationFlag=!0);this.calibrationFlag&&(this.calibrationFlag=!1,this.calibrationX=i,this.calibrationY=r);this.inputX=i;this.inputY=r}},{key:"onDeviceOrientation",value:function(n){var t=n.beta,i=n.gamma;null!==t&&null!==i&&(this.orientationStatus=1,this.rotate(t,i))}},{key:"onDeviceMotion",value:function(n){var t=n.rotationRate.beta,i=n.rotationRate.gamma;null!==t&&null!==i&&(this.motionStatus=1,this.rotate(t,i))}},{key:"onMouseMove",value:function(n){var t=n.clientX,i=n.clientY;if(this.hoverOnly&&(t<this.elementPositionX||t>this.elementPositionX+this.elementWidth||i<this.elementPositionY||i>this.elementPositionY+this.elementHeight))return this.inputX=0,void(this.inputY=0);this.relativeInput?(this.clipRelativeInput&&(t=Math.max(t,this.elementPositionX),t=Math.min(t,this.elementPositionX+this.elementWidth),i=Math.max(i,this.elementPositionY),i=Math.min(i,this.elementPositionY+this.elementHeight)),this.elementRangeX&&this.elementRangeY&&(this.inputX=(t-this.elementPositionX-this.elementCenterX)/this.elementRangeX,this.inputY=(i-this.elementPositionY-this.elementCenterY)/this.elementRangeY)):this.windowRadiusX&&this.windowRadiusY&&(this.inputX=(t-this.windowCenterX)/this.windowRadiusX,this.inputY=(i-this.windowCenterY)/this.windowRadiusY)}},{key:"destroy",value:function(){this.disable();clearTimeout(this.calibrationTimer);clearTimeout(this.detectionTimer);this.element.removeAttribute("style");for(var n=0;n<this.layers.length;n++)this.layers[n].removeAttribute("style");delete this.element;delete this.layers}},{key:"version",value:function(){return"3.1.0"}}]),n}();t.exports=s},{"object-assign":1,raf:4}]},{},[5])(5)});window.dayNames=window.dayNames||["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"];window.monthNames=window.monthNames||["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"];isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);popupShow=!1,function(n,t,i){function s(t){var i=n(".header-counter-entry").height();n(".header-counter-scroll").attr("data-current",t).css("transform","translateY(-"+t*i+"px)")}function e(t){var r=t.data("date"),f=r.split("/"),u=n("#headerCounterEntryTemplate").clone(),i=new Date(r);return u.removeAttr("id").removeClass("hidden").find(".header-counter-day").text(dayNames[i.getDay()]).end().find(".header-counter-date").text(i.getDate()).end().find(".header-counter-month").text(monthNames[i.getMonth()]),u}function o(t,i){var r=t.find("li[data-offset]"),u=r.data().offset,f=t.find("li").outerHeight();t.find("li[data-offset]").each(function(){var f=n(this),t=f.nextAll("[data-offset]").first(),c=f.data("offset"),l=t.length?t.data("offset"):Infinity,e,o=Math.abs(i)+u,h;return c<=o&&l>o?(e=r.index(f),s(e),t=n(".header-program-list.active li[data-offset]").eq(e),h=t.data("date"),n(".header-program-list li").css("opacity","0"),n('.header-program-list li[data-date="'+h+'"]').css("opacity","1"),!1):!0})}function f(t){var i=n(".header-program-list.active li[data-offset]").eq(t),u=i.data("date"),r;n(".header-program-list li").css("opacity","0");r=n(".list-program li").outerHeight();n(".header-counter-scroll").attr("data-current",t);isMobile?(n(".header-program-list.active .list-program").animate({scrollTop:i.index()*r+1},600),setTimeout(function(){n('.header-program-list li[data-date="'+u+'"]').css("opacity","1");n('.header-counter-menu li[data-week_number="'+i.data("week")+'"]').addClass("active").siblings().removeClass("active")},600)):(n(".header-program-list.active").mCustomScrollbar("scrollTo",i.index()*r+1,{scrollInertia:0}),n('.header-program-list li[data-date="'+u+'"]').css("opacity","1"),n('.header-counter-menu li[data-week_number="'+i.data("week")+'"]').addClass("active").siblings().removeClass("active"))}var r=n(t),u=n(i);u.ready(function(){var t,i,s,h,c,l,a,v,y,p,w;n(".widget-icons").length&&(t=n(".widget-icons").height(),n(".widget-icons").closest(".section-sidebar").css({top:function(){return-t+"px"}}));n(".widget-schedule").length&&(t=n(".widget-schedule").outerHeight(),n(".widget-schedule").closest(".section-sidebar").css({top:function(){return-t+"px"}}));n(".section-bg-video").length&&(i=-r.width()/2,s=-r.height()/2,n("html").attr("dir")==="rtl"?n(".section-bg-video video").css({marginRight:i,marginTop:s}):n(".section-bg-video video").css({marginLeft:i,marginTop:s}));n(".slider-about").length&&(h=n(".slider-about").attr("data-direction")==="ltr"?!1:!0,n(".slider-about .owl-carousel").owlCarousel({items:1,loop:!0,nav:!0,rtl:h}));n(".full-height").length&&n(".full-height").css("height",function(){return r.height()});n(".section-event .widget-icons").length&&(c=n(".section-event .widget-icons").clone().addClass("cloned"),n(".section-event").hasClass("section-event-ongoing")?c.prependTo(n(".article-event-ongoing")):c.prependTo(n(".article-event")));n(".section-event").length&&(l=n(".section-event .section-sidebar").clone().addClass("cloned"),l.insertAfter(n(".section-event .article-head")));r.on("resize",function(){if(n(12)&&n(".full-height").css("height",function(){return r.height()}),n(".section-bg-video").length){var t=-r.width()/2,i=-r.height()/2;n("html").attr("dir")==="rtl"?n(".section-bg-video video").css({marginRight:t,marginTop:i}):n(".section-bg-video video").css({marginLeft:t,marginTop:i})}});u.bind("mousewheel touchmove",function(t){t.originalEvent.wheelDelta>0||(n("#openingVideo").prop("muted",!0),isMobile&&r.width()<768?n(".header, .main, .section-intro-video").addClass("animate"):n(".section-intro-video").length&&n(".header:not(.expanded)").length&&(n(".header, .main, .section-intro-video").addClass("animate"),setTimeout(function(){n(".wrapper").addClass("wrapper-visible");innerPlayer.pause();n(".wrapper").on("touchmove",function(){n(".wrapper-home").length&&n(".wrapper-home").addClass("hide-scroll-gif")})},1500),setTimeout(function(){n(".wrapper-home").mCustomScrollbar({theme:"minimal",scrollInertia:100,contentTouchScroll:!0,documentTouchScroll:!0,mouseWheel:!0,mouseWheelPixels:"140",advanced:{updateOnBrowserResize:!0,updateOnContentResize:!0},callbacks:{onScroll:function(){n(".wrapper").hasClass("wrapper-home")&&n(".wrapper-home").addClass("hide-scroll-gif")}}});n(".header-video").length&&n(".header-video video")[0].play();r.on("scroll",function(){n(".wrapper-home").addClass("hide-scroll-gif")})},0)))});n(".scroll-down").on("click",function(t){t.preventDefault();n(".header, .main, .section-intro-video").addClass("animate");n("#openingVideo").prop("muted",!0);innerPlayer.muted(!0);setTimeout(function(){n(".wrapper").addClass("wrapper-visible")},1500);setTimeout(function(){isMobile&&r.width()<768||n(".wrapper-home").mCustomScrollbar({theme:"minimal",scrollInertia:200,contentTouchScroll:!0,documentTouchScroll:!0,mouseWheel:!0,mouseWheelPixels:"140",advanced:{updateOnBrowserResize:!0,updateOnContentResize:!0},callbacks:{onScroll:function(){n(".wrapper").hasClass("wrapper-home")&&n(".wrapper-home").addClass("hide-scroll-gif")}}});n(".header-video").length&&n(".header-video video")[0].play();r.on("scroll",function(){n(".wrapper-home").addClass("hide-scroll-gif")})},3e3)});n(".header-counter-menu a").on("click",function(t){var u;t.preventDefault();var r=n(this).parent(),f=r.index(),i=n(".header-program-list");r.hasClass("active")||(r.add(i.eq(f)).addClass("active").siblings().removeClass("active"),n(".header-counter-scroll").html("").attr("data-current",0),i.find(".list-program li[data-offset]").each(function(){var t=n(this);t.closest(".header-program-list").hasClass("active")&&n(".header-counter-scroll").removeAttr("style").append(e(t))}),$nextItem=i.find('li[data-week="'+n(this).parent().data("week_number")+'"]').first(),u=$nextItem.data("date"),n(".header-program-list li").css("opacity","0"),i.data().mCS&&i.mCustomScrollbar("scrollTo",$nextItem.data().offset-120,{scrollInertia:0}),isMobile&&n(".header-program-list.active .list-program").animate({scrollTop:$nextItem.data().offset-780},300),setTimeout(function(){n('.header-program-list li[data-date="'+u+'"]').css("opacity","1")},600))});n(".header-counter-up").on("click",function(t){t.preventDefault();var i,r=parseInt(n(".header-counter-scroll").attr("data-current"),10);r>0&&(i=r-1,f(i))});n(".header-counter-down").on("click",function(t){t.preventDefault();var i=parseInt(n(".header-counter-scroll").attr("data-current"),10),r;i<n(".header-counter-entry").length-2&&(r=i+1,f(r))});n(".header-counter").on("mousewheel",function(t){t.deltaY>0?n(".header-counter-up").trigger("click"):n(".header-counter-down").trigger("click")});n(".custom-scrollbar").length&&r.width()>767&&n(".custom-scrollbar").mCustomScrollbar({theme:"light-3",contentTouchScroll:!0,scrollInertia:600,contentTouchScroll:!0,documentTouchScroll:!0,mouseWheel:!0,mouseWheelPixels:"140",advanced:{updateOnBrowserResize:!0,updateOnContentResize:!0},scrollButtons:{enable:!0}});n(".scrollable").length&&(n(".list-program li").each(function(){var t=n(this),u=t.prev(".list-program li"),i;(u.length===0||u.data("date")!==t.data("date"))&&(i=t.offset().top,n(".section-intro-video").length&&(i-=r.height()),t.attr("data-offset",i),n(this).closest(".header-program-list").hasClass("active")&&n(".header-counter-scroll").append(e(n(this))))}),n(".section-feed").length&&(a=n(".section-feed .section-head").offset().top-n(".header").offset().top),n(".section-feed").length&&(v=n(".section-feed .section-head").css("top")),n(".section-events").length&&(y=parseInt(n(".section-events .section-inner").css("margin-top"))),n(".scrollable").mCustomScrollbar({theme:"minimal",scrollInertia:700,contentTouchScroll:!0,documentTouchScroll:!0,mouseWheel:{scrollAmount:n(".list-program li").outerHeight()},snapAmount:n(".list-program li").outerHeight(),advanced:{updateOnBrowserResize:!0,updateOnContentResize:!0},callbacks:{onScroll:function(){n(".wrapper").hasClass("wrapper-home")&&n(".wrapper-home").addClass("hide-scroll-gif");var t=n(".header-program-list").find("li[style='opacity: 1;']").first();n('.header-counter-menu li[data-week_number="'+t.data("week")+'"]').addClass("active").siblings().removeClass("active")},whileScrolling:function(){var e=this.mcs;if(n(".section-feed").length&&(-this.mcs.top>a?(n(this).find(".section-head").css("top",-this.mcs.top),n(this).find(".section-head").addClass("fixed")):(n(this).find(".section-head").css("top",v),n(this).find(".section-head").removeClass("fixed"))),n(this).hasClass("header-program-list")&&n(this).hasClass("active")&&o(n(this),e.top),n(this).find(".section-events").length){var i=y,r=-this.mcs.top-i,u=-this.mcs.top-n(this).find(".section-events .section-sidebar").height()+n(this).find(".section-events").offset().top+n(this).find(".section-events").height();-this.mcs.top>=i&&-this.mcs.top<=u?n(this).find(".section-sidebar").css({top:r,bottom:"auto"}):-this.mcs.top>=u?n(this).find(".section-sidebar").css({top:"auto",bottom:"0"}):n(this).find(".section-sidebar").css({top:"0",bottom:"auto"})}if(n(this).find(".section-event").length){var i=n(".section-event .section-image").height()-t,r=-this.mcs.top-i-t,f=parseInt(n(".section-event").height()-n(".section-event .section-sidebar:not(.cloned)").height());-this.mcs.top>=i&&-this.mcs.top<=f?n(this).find(".section-sidebar").css({top:r,bottom:"auto"}):-this.mcs.top>=f?n(this).find(".section-sidebar").css({top:"auto",bottom:"0"}):n(this).find(".section-sidebar").css({top:-t,bottom:"auto"})}n(".section-event .section-image").length&&n(".section-event .image-wrapper").css("top",-this.mcs.top*.75)}}}),n(".header-counter-scroll").length&&n(".header-counter-scroll").data().current>0&&f(n(".header-counter-scroll").data().current));n(".feed-item.gallery").length&&n(".feed-item.gallery").magnificPopup({delegate:"a",type:"image",removalDelay:400,mainClass:"mfp-img-mobile mfp-fade",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}});n(".slideContainer").each(function(){var r=n(this),t=r.find(".item"),i=[];t.each(function(){var t=n(this),u="image",r;t.hasClass("magnific-youtube")&&(u="iframe");r={src:t.attr("href"),type:u};r.title=t.data("title");i.push(r)});t.magnificPopup({mainClass:"mfp-fade",items:i,gallery:{enabled:!0,tPrev:n(this).data("prev-text"),tNext:n(this).data("next-text")},type:"image",callbacks:{beforeOpen:function(){var n=t.index(this.st.el);-1!==n&&this.goTo(n)}}})});n(".header .btn-header-secondary:not(.btnTrigger)").on("click",function(t){t.preventDefault();n(".header").addClass("expanded");n("body").addClass("no-srcoll");n(".main").removeClass("animate");n(".section-news").removeClass("opened");n(".header, .section-events").removeClass("sidebar-opened");n(".section-events .grid").isotope("layout");isMobile&&f(n(".header-counter-scroll").data().current)});u.on("click",".header-close",function(t){t.preventDefault();n(".header").removeClass("expanded");n("body").removeClass("no-srcoll");n(".main").addClass("animate")});r.on("load",function(){if(n(".section-event").length){var t=n(".section-event .section-image"),i=t.find("img").attr("src");t.find(".image-wrapper").addClass("loaded").css("background-image","url("+i+")")}n(".header-close").length&&n(".header-close").clone().addClass("cloned").appendTo(n(".header"));n(".section-events .grid").isotope({transformsEnabled:!1,itemSelector:".grid-item",originLeft:!1});n(".section-events .section-filter a").on("click",function(t){t.preventDefault();n(this).parent().addClass("active").siblings().removeClass("active");var i=n(this).attr("data-filter");n(".section-events .grid").isotope({filter:i})})});n(".rating").each(function(){var i=n(this),t=i.data();i.raty({score:function(){return t.score},readOnly:t.readonly,path:t.path,starOn:t.on,starOff:t.off})});n(".article-event-ongoing .show-more").on("click",function(t){t.preventDefault();n(this).closest(".expandable").addClass("expanded")});n(".btn-nav").on("click",function(t){t.preventDefault();n(this).toggleClass("active");n(".header .nav").toggleClass("show-nav")});if(isMobile){if(n("html").addClass("on-device"),n(".scrollable").mCustomScrollbar("destroy"),n(".section-events").length){n(".section-events .section-sidebar").stick_in_parent({offset_top:89});n(".section-events .section-sidebar").on("sticky_kit:bottom",function(){n(this).addClass("at-bottom")});n(".section-events .section-sidebar").on("sticky_kit:unbottom",function(){n(this).removeClass("at-bottom")})}if(n(".section-event").length){p=n(".header").height();n(".section-event .section-sidebar").stick_in_parent({offset_top:89,inner_scrolling:!1,parent:".section-event .section-body"});n(".section-event .section-sidebar").on("sticky_kit:bottom",function(){n(this).addClass("at-bottom")});n(".section-event .section-sidebar").on("sticky_kit:unbottom",function(){n(this).removeClass("at-bottom")})}n(".section-feed").length&&n(".section-feed .section-column .section-body").each(function(){var t=18,i=n(".header").height();n(this).on("scroll",function(){n(this).scrollTop()>t?n(this).siblings(".section-head").addClass("fixed"):n(this).siblings(".section-head").removeClass("fixed")})});n(".list-program").on("scroll",function(){var t=n(this),i;o(t,t.scrollTop());i=n(".header-program-list").find("li[style='opacity: 1;']").first();n('.header-counter-menu li[data-week_number="'+i.data("week")+'"]').addClass("active").siblings().removeClass("active")})}w='<span class="delete-tag"><i class="ico-delete-tag"><\/i><\/span>';u.on("click",".delete-tag",function(t){t.preventDefault();t.stopPropagation();n(this).parent().removeClass("selected")});u.on("click",".checkopac",function(t){n(this).closest("li").css("opacity")==0&&t.preventDefault()});r.on("load resize",function(){r.width()<1024?(n(".section-event").length&&n(".section-event .section-sidebar").trigger("sticky_kit:detach"),n(".section-events").length&&n(".section-events .section-sidebar").trigger("sticky_kit:detach")):(n(".section-event .section-sidebar").stick_in_parent({offset_top:89,inner_scrolling:!1}),n(".section-events").length&&n(".section-events .section-sidebar").stick_in_parent({offset_top:89}))});(function(){var t="current";n(".tabs-nav a").on("click",function(i){var r=n(this),u=n(r.attr("href"));r.parent().add(u).addClass(t).siblings().removeClass(t);i.preventDefault()})})();n(".open-news-panel:not(.btnTrigger)").on("click",function(t){t.preventDefault();n(".section-news").addClass("opened");n(".header, .section-events").addClass("sidebar-opened");n(".section-events .grid").isotope("layout")});n(".close-news-panel").on("click",function(t){t.preventDefault();n(".section-news").removeClass("opened");n(".header, .section-events").removeClass("sidebar-opened");n(".section-events .grid").isotope("layout")});n(".card-group").length&&n(".card-group").each(function(){var i=n(this).find(".baraja-prev"),r=n(this).find(".baraja-next"),t=n(this).find(".baraja-container > li");n(this).find(".baraja-container").baraja({prevEl:i,nextEl:r,speed:200});t.addClass("no-transition");t.eq(0).addClass("active");setTimeout(function(){t.removeClass("no-transition")},500);i.on("click",function(){var t=n(this).closest(".card-group");t.find(".active").prev().length?t.find(".active").addClass("fadeIn").prev().addClass("active").siblings().removeClass("active"):(t.find("li:last-child").addClass("active").siblings().removeClass("active"),t.find("li:first-child").addClass("fadeIn"));setTimeout(function(){t.find("li").removeClass("fadeIn fadeOut")},600)});r.on("click",function(){var t=n(this).closest(".card-group");t.find(".active").next().length?t.find(".active").addClass("fadeOut").next().addClass("active").siblings().removeClass("active"):(t.find("li:first-child").addClass("active").siblings().removeClass("active"),t.find("li:last-child").addClass("fadeOut"));setTimeout(function(){t.find("li").removeClass("fadeIn fadeOut")},600)})});n(".btn-help").on("click",function(t){t.preventDefault();n(".section-help").addClass("active")});n(".close-help").on("click",function(t){t.preventDefault();n(".section-help").removeClass("active")});n(".main").attr("data-class")&&n(".wrapper").addClass(n(".main").attr("data-class"))})}(jQuery,window,document);$(function(){headerBackgroundColor();show_gif_on_hover();init_section_filter_mCustomScrollbar();add_read_more_btn_if_has_more_then_x_lines();handle_full_page();trigger_open_on_click();if_chrome_show_play();parallaxInit();scrollMobile();searchMobileView();arrowDown();socialModal();showPopupImidiate()})