function checkDatenschutzbanner(){function i(){typeof onDataProtectionPolicyConfirmed=="function"&&onDataProtectionPolicyConfirmed()}function e(){n.css("display","block")}function r(){n.css("display","none")}var n=$(".dataprotection"),u=$(".dataprotection__action--consent"),t="Dhaus.Website.PrivacyPolicyConsent",f=Cookies.get(t);u.click(function(n){n.preventDefault();Cookies.set(t,1,{expires:365,path:"/"});r();i()});typeof f=="undefined"?e():(r(),i())}function imagePreloadNamespace(n){this.Namespace=n;this.Items=[];this.PreloadStarted=!1}function imagePreloadItem(n,t,i,r){this.PreloadPiority=parseInt(n);this.Identifier=t;this.ImageURL=i;this.JSFunctionName=r;this.PreloadStarted=!1;this.PreloadFinished=!1}function getImagePreloadNamespaceByName(n){for(var t=0;t<registeredImagePreload.length;t++)if(registeredImagePreload[t].Namespace===n)return registeredImagePreload[t];return null}function RegisterImagePreload(n,t,i,r,u){var f=getImagePreloadNamespaceByName(n);f==null&&(f=new imagePreloadNamespace(n),registeredImagePreload.push(f));f.Items.push(new imagePreloadItem(t,i,r,u))}function preloadImages(n){var t=getImagePreloadNamespaceByName(n);t==null||t.PreloadStarted||(t.PreloadStarted=!0,doPreloadImages(n,1))}function doPreloadImages(n,t){var u=getImagePreloadNamespaceByName(n),f,e,r,i;if(u!=null){for(f=!1,e=!0,r=0;r<u.Items.length;r++)i=u.Items[r],i.PreloadPiority>t&&(f=!0),i.PreloadPiority===t&&(i.PreloadFinished||(e=!1),i.PreloadStarted||preloadImage(i));f&&(e?setTimeout("doPreloadImages('"+n+"', "+(t+1)+");",300):setTimeout("doPreloadImages('"+n+"', "+t+");",300))}}function preloadImage(n){var t=n,i,r;if(t.PreloadStarted=!0,i=t.ImageURL,r=function(){$("img."+t.Identifier).attr("src",i);t.PreloadFinished=!0;t.JSFunctionName!=null&&t.JSFunctionName!==""&&eval(t.JSFunctionName)},i!=null&&i!==""&&$("img."+t.Identifier).length>0)$("<img />").attr({src:i}).on("load",r);else t.PreloadFinished=!0}function CorrectPreloadingUrl(n,t,i){for(var u,o,f,l,s,a,h="",c=i.split("/"),r=[],e=0;e<c.length;e++)c[e]!=null&&c[e]!=""&&r.push(c[e]);for(r.length>1&&(r[0].toLowerCase()==="http:"||r[0].toLowerCase()==="https:")&&(h=r[0]+"//"+r[1],r.shift(),r.shift());r.length>0;){if(r[0]==="content-images"||r[0]==="images")break;h=h+"/"+r[0];r.shift()}if(u="720",n<640&&(t==0||t<360)?u="360":n>=1280&&(t==0||t>=720)&&(u="1080"),r.length>=4&&(r[0]=="images"||r[0]=="content-images"))o=1,f=r[o],f.indexOf("720")>=0?r[o]=f.replace("720",u):f.indexOf("360")>=0?r[o]=f.replace("360",u):f.indexOf("1080")>=0&&(r[o]=f.replace("1080",u));else if(r.length>=3&&(r[r.length-3]=="images"||r[r.length-3]=="content-images"))for(l=r,r=[],s=0;s<l.length;s++)s==l.length-2&&r.push("image"+u),r.push(l[s]);for(i=h,a=0;a<r.length;a++)i=i+"/"+r[a];return i}function initContentPreloading(n){var i=[],s,a,t,u,o;$(".image-preloading-container img").each(function(){$(this).data("isInitialized")||(i.push({top:parseInt($(this).offset().top),item:this}),$(this).data("isInitialized",!0))});do for(s=!1,t=1;t<i.length;t++)i[t-1].top>i[t].top&&(a=i[t-1],i[t-1]=i[t],i[t]=a,s=!0);while(s);for(t=0;t<i.length;t++){var r=i[t].item,e=parseFloat($(r).closest(".image-preloading-container").width()),h=parseFloat($(r).attr("width")),c=parseFloat($(r).attr("height")),v=0;contentPreloadingCounter++;contentPreloadingPriority=Math.ceil(contentPreloadingCounter/10);u="content-preloading-"+contentPreloadingCounter;h>0&&c>0&&($(r).closest(".image-preloading-container").css("width",e),$(r).closest(".image-preloading-container").css("height",c*(e/h)),v=c*(e/h));$(r).closest(".image-preloading-container").addClass(u);$(r).addClass(u);var f=$(r).closest(".image-preloading-container").attr("data-image-url"),y=$(r).closest(".image-preloading-container").is("[data-may-change-image-size]"),l=$(r).closest(".image-preloading-container").attr("data-js-code");typeof f!="undefined"&&f!==""&&(f=CorrectPreloadingUrl(e,v,f,y),o='finishContentPreloading("'+u+'");',typeof l!="undefined"&&l!==""&&(o=o+'setTimeout("'+l+'", 100);'),RegisterImagePreload(n,contentPreloadingPriority,u,f,o))}}function finishContentPreloading(n){$(".image-preloading-container."+n).each(function(){$(this).attr("style","");$(this).removeClass("show-loader")})}function onYouTubeIframeAPIReady(){mediaplayerApi._onYouTubeIframeAPIReady()}function MediagalleryData(n,t,i,r,u,f,e){this.Name=n;this.Items=[];this.Items.push(new MediagalleryItem(t,i,r,u,f,e));this.ItemLoadPriority=[]}function MediagalleryItem(n,t,i,r,u,f){this.Identifier=n;this.ImageURLThumbnail=t;this.ImageURLSmall=i;this.ImageURLMedium=r;this.ImageURLLarge=u;this.JsCallback=f;this.PreloadStarted=!1;this.PreloadFinished=!1}function GetMediaGalleryByName(n){for(var t=0;t<__registeredMediaGalleries.length;t++)if(__registeredMediaGalleries[t].Name===n)return __registeredMediaGalleries[t];return null}function RegisterMediagalleryItem(n,t,i,r,u,f,e){var o=GetMediaGalleryByName(n);o!=null?o.Items.push(new MediagalleryItem(t,i,r,u,f,e)):__registeredMediaGalleries.push(new MediagalleryData(n,t,i,r,u,f,e))}function MediaGalleryPreloadFromFirst(n){var t=GetMediaGalleryByName(n);t!=null&&t.Items.length>0&&MediaGalleryPreloadItems(n,t.Items[0].Identifier)}function MediaGalleryPreloadItems(n,t){var i=GetMediaGalleryByName(n),f,e,u,r;if(i!=null){for(f=0;f<i.Items.length;f++)i.Items[f].ImageURLThumbnail!==""&&DoPreloadMediaGalleryThumbnail(i.Items[f]);if(e=parseInt($(window).width()),i.ItemLoadPriority.length===0&&i.Items.length>0){if(u=0,typeof t!="undefined"&&t!=null&&t!=="")for(r=0;r<i.Items.length;r++)i.Items[r].Identifier===t&&(u=parseInt(r));for(i.ItemLoadPriority.push(u),u<i.Items.length-1&&i.ItemLoadPriority.push(u+1),u>0&&i.ItemLoadPriority.push(u-1),r=u+2;r<i.Items.length;r++)i.ItemLoadPriority.push(r);for(r=0;r<u-1;r++)i.ItemLoadPriority.push(r)}DoPreloadMediaGalleryItems(n,e)}}function DoPreloadMediaGalleryItems(n,t){var i=GetMediaGalleryByName(n),u,f,r;if(i!=null){for(u=!1,f=0;f<i.ItemLoadPriority.length;f++){if(r=i.ItemLoadPriority[f],i.Items[r].PreloadStarted&&!i.Items[r].PreloadFinished){u=!0;break}if(!i.Items[r].PreloadStarted){u=!0;PreloadMediaGalleryItem(i.Items[r],t);break}}u&&setTimeout("DoPreloadMediaGalleryItems('"+n+"', "+t+");",100)}}function DoPreloadMediaGalleryThumbnail(n){var t=function(){$(".thumbnails ."+n.Identifier+" img").attr("src",n.ImageURLThumbnail);$(".thumbnails ."+n.Identifier).removeClass("show-loader")};$("<img />").attr({src:n.ImageURLThumbnail}).on("load",t)}function PreloadMediaGalleryItem(n,t){var i="",r,u;if(i=t>1280&&n.ImageURLLarge!=null&&n.ImageURLLarge!==""?n.ImageURLLarge:t<800&&n.ImageURLSmall!=null&&n.ImageURLSmall!==""?n.ImageURLSmall:n.ImageURLMedium,r=function(itemRef){typeof itemRef.JsCallback=="function"&&itemRef.JsCallback();typeof itemRef.JsCallback=="string"&&itemRef.JsCallback!==""&&eval(itemRef.JsCallback+"();")},i!==""&&$(".items ."+n.Identifier+" img").length>0){u=function(){$(".items ."+n.Identifier+" img").attr("src",i);r(n);$(".items ."+n.Identifier).removeClass("show-loader");n.PreloadFinished=!0};$("<img />").attr({src:i}).on("load",u)}else r(n),n.PreloadFinished=!0;n.PreloadStarted=!0}function OpenMediaGallery(n,t){$("#"+n).length>0&&(openFullsizeGalleryPopup(n,t),MediaGalleryPreloadFromFirst(n),mediaplayerApi.triggerInitMediaplayer(n))}function LoadAndOpenMediagallery(n,t,i,r){var u,f,e;if($("#"+n).length>0){openFullsizeGalleryPopup(n,r);return}if(u="",typeof i=="object"&&i instanceof Array)for(f=0;f<i.length;f++)u!==""&&(u=u+","),u=u+i[f];e=CALLBACKURLBASE+"loadmediagallery.json";$.getJSON(e,{identifier:n,name:t,filter:u},function(data){data.ResultCode==="Ok"&&($("#jsMarkerForPopups").after(data.Html),initFullsizeGallery(),eval(data.Script),$(".js-3rdparty-embed").spiritec3rdPartyEmbed(),openFullsizeGalleryPopup(data.Identifier,r),MediaGalleryPreloadFromFirst(data.Identifier),mediaplayerApi.triggerInitMediaplayer(n))})}function initHomeMediaContent(){if(($("body").hasClass("dev-smartphone")||isTablet)&&$(".home-media-content").length>0){var n=$(".page-content").eq(0);$(".home-media-content").detach().prependTo(n)}mediaplayerApi.triggerInitMediaplayer("home")}function initMobileMenu(){$("body").hasClass("dev-smartphone")&&($("div.navigation-main a.level1").click(function(n){(!($(this).closest("li").hasClass("selected")||$(this).closest("li").hasClass("path-selected"))&&!$(this).closest("li").hasClass("show")&&$(this).closest("li").find("ul.menu2").length>0||$(this).closest("li").hasClass("hide"))&&(n.preventDefault(),$("div.navigation-main li.level1").removeClass("show"),$("div.navigation-main li.level1").addClass("hide"),$(this).closest("li.level1").removeClass("hide"),$(this).closest("li.level1").addClass("show"))}),$("div.navigation-main a.level2").click(function(n){(!($(this).closest("li").hasClass("selected")||$(this).closest("li").hasClass("path-selected"))&&!$(this).closest("li").hasClass("show")&&$(this).closest("li").find("ul.menu3").length>0||$(this).closest("li").hasClass("hide"))&&(n.preventDefault(),$("div.navigation-main li.level2").removeClass("show"),$("div.navigation-main li.level2").addClass("hide"),$(this).closest("li.level2").removeClass("hide"),$(this).closest("li.level2").addClass("show"))}))}function addHideOnOutsideClick(n,t){var i=function(t){hideOnOutsideClick(t,n)};n.data("hideOnOutsideClickFunc",i);n.data("hideOnOutsideClickHideAction",t);$(document).mouseup(i)}function hideOnOutsideClick(n,t){if(!t.is(n.target)&&t.has(n.target).length===0){var i=t.data("hideOnOutsideClickFunc");typeof i=="function"&&$(document).unbind("mouseup",i);i=t.data("hideOnOutsideClickHideAction");typeof i=="function"&&i();t.removeData("hideOnOutsideClickFunc");t.removeData("hideOnOutsideClickHideAction")}}function initMobileSeasonOverview(){$("body.dev-smartphone .season-overview .row > .col > .headline-wrapper").click(function(){$(this).siblings(".content").slideToggle(400)})}function initStrechHeadlines(){"querySelectorAll"in document&&$(".format-stretch").bigtext({childSelector:".headline"})}function initNavigation(){$(".page-header .menu-toggle").click(function(n){n.preventDefault();$(".menu-overlay").show().css("overflow","scroll");$("body").css("overflow","hidden")});$(".menu-overlay .close").click(function(n){n.preventDefault();$(".menu-overlay").hide().css("overflow","");$("body").css("overflow","")});$(".menu-overlay .navigation-main li.level2 a").html(function(n,t){return t.replace(/([\/])/g,"$1<wbr>")})}function initColoredLinkOverlay(){$(".ensemble-item-link").mouseover(function(){$(this).closest(".ensemble-item").addClass("hover")}).mouseout(function(){$(this).closest(".ensemble-item").removeClass("hover")});$(".image-preloading-container").mouseover(function(){$(this).closest(".image-full-col").addClass("hover")}).mouseout(function(){$(this).closest(".image-full-col").removeClass("hover")});$(".image-preloading-container").mouseover(function(){$(this).closest(".image-full-col, .person-vita-image, .production-image").addClass("hover")}).mouseout(function(){$(this).closest(".image-full-col, .person-vita-image, .production-image").removeClass("hover")})}function initContentNavigation(){$(".content-navigation li.level1.has-subitems.path-selected").each(function(){$(this).find("ul").css("display","block").end().addClass("open").removeClass("path-selected")});$(".content-navigation li.level1.has-subitems > a").click(function(n){n.preventDefault();var t=$(this).closest("li.has-subitems");t.hasClass("open")?(t.removeClass("open"),t.find("ul").eq(0).slideUp(600)):(t.addClass("open"),t.find("ul").eq(0).slideDown(600))})}function initPressRelease(){$(".pressrelease a").click(function(n){n.preventDefault();$(this).closest(".pressrelease").hasClass("pressrelease--closed")?($(this).closest(".pressrelease").removeClass("pressrelease--closed").addClass("pressrelease--open"),$(this).closest(".pressrelease").find(".pressrelease__body").slideDown(600)):($(this).closest(".pressrelease").removeClass("pressrelease--open").addClass("pressrelease--closed"),$(this).closest(".pressrelease").find(".pressrelease__body").slideUp(600))})}function initPressComments(){$(".press-comment .fold-action a").click(function(n){n.preventDefault();$(this).closest(".press-comment").addClass("view-abstract")});$(".press-comment .collapse-action a").click(function(n){n.preventDefault();$(this).closest(".press-comment").removeClass("view-abstract")})}function initScheduleInfolayer(){$(".action-infolayer").each(function(){$(this).data("isInitialized")||($(this).click(function(n){var i=$(this).attr("class").split(" ").pop(),t,r;i.startsWith("show-")&&((t=$(this).closest(".actions").find(".infolayer."+i.split("show-")[1]),t.length<1)||(r=function(){removeAllInfolayersFromParent($(t))},addHideOnOutsideClick(t,r),n.preventDefault(),n.stopPropagation(),removeAllInfolayersFromParent($(this)),$(this).closest(".actions").addClass(i)))}),$(this).data("isInitialized",!0))});$(".infolayer-close").each(function(){$(this).data("isInitialized")||($(this).click(function(n){n.preventDefault();removeAllInfolayersFromParent($(this))}),$(this).data("isInitialized",!0))})}function removeAllInfolayersFromParent(n){n.closest(".actions").removeClass("show-performance-changed-or-cancelled-infolayer show-tickets-infolayer show-sold-out-infolayer")}function initScheduleCalendar(){$(".schedule-secondary .calendar > .calendar-header").each(function(){if(!$(this).data("isInitialized")){var n=$(this).closest(".calendar"),t=$(n).find(".calendar-content .month.selected").index();$(n).find(".calendar-header .calendar-navigation span").eq(t).addClass("selected");$(n).find(".calendar-header .previous-month").click(function(n){n.preventDefault();var t=$(this).closest(".calendar-header").find(".calendar-navigation .selected").index()-1;setCalendarMonth($(this).closest(".calendar"),t)});$(n).find(".calendar-header .next-month").click(function(n){n.preventDefault();var t=$(this).closest(".calendar-header").find(".calendar-navigation .selected").index()+1;setCalendarMonth($(this).closest(".calendar"),t)});checkSideCalendarBoundaries(n);$(this).data("isInitialized",!0)}})}function setCalendarMonth(n,t){$(n).find(".calendar-header .calendar-navigation span").removeClass("selected").eq(t).addClass("selected");$(n).find(".calendar-content > div.month").removeClass("selected").eq(t).addClass("selected");checkSideCalendarBoundaries(n)}function checkSideCalendarBoundaries(n){var t=$(n).find(".calendar-header .calendar-navigation .selected").index(),i=$(n).find(".calendar-header .calendar-navigation span").length;t===0?$(n).addClass("is-first"):$(n).removeClass("is-first");t+1>=i?$(n).addClass("is-last"):$(n).removeClass("is-last")}function initFullsizeImages(){initClosePopup();$(".js-marker-fullsize-image").each(function(){if(!$(this).data("isInitialized")){var n=$(this).attr("data-fullsize-image");typeof n=="string"&&n!==""&&($(this).find(".image-preloading-container").append('<div class="overlay"><\/div><div class="title-overlay fullsize-popup"><a href="#">'+RESOURCES.IMAGE_ENLARGE+"<\/a><\/div>"),$(this).find(".title-overlay a, .overlay").click(function(n){n.preventDefault();var t=$(this).closest(".js-marker-fullsize-image").find(".js-marker-fullsize-image-subtitle").html(),i=$(this).closest(".js-marker-fullsize-image").find(".js-marker-fullsize-image-photographer").html(),r=$(this).closest(".js-marker-fullsize-image").attr("data-fullsize-image");openFullsizeImagePopup(r,i,t)}),$(this).data("isInitialized",!0))}})}function openFullsizeImagePopup(n,t,i){var o=parseInt($(window).height()),s=parseInt($(window).width()),r=SYSTEMURLBASE+"content-images/",f,e,u;for(r=o<=480?r+"image360":o<=1024&&s<=1280?r+"image720":r+"image1080",f="",e=0,u=n.length-1;u>=0;u--)if(f=n[u]+f,n[u]==="/"&&(e++,e===2))break;r=r+f;$("div.popup.popup-default div.popup-inner").hide();$("div.popup.popup-default div.popup-darkener").addClass("loading");typeof t=="string"&&t!==""?($("div.popup.popup-default div.photographer").html(t),$("div.popup.popup-default div.photographer").show()):($("div.popup.popup-default div.photographer").html(""),$("div.popup.popup-default div.photographer").hide());typeof i=="string"&&i!==""?($("div.popup.popup-default div.subtitle").html(i),$("div.popup.popup-default div.subtitle").show()):($("div.popup.popup-default div.subtitle").html(""),$("div.popup.popup-default div.subtitle").hide());$("div.popup.popup-default div.popup-content img").attr("src","");setTimeout("startLoadingPopupContent('"+r+"')",0);$("div.popup.popup-default").fadeIn(200,function(){showPopup()})}function startLoadingPopupContent(n){$("<img />").attr({src:n}).on("load",function(){$("div.popup.popup-default div.popup-content img").attr("src",n);var t=$(this)[0].naturalWidth,i=$(this)[0].naturalHeight;calculateAndSetPopupPositionAndSize(t,i);$("div.popup.popup-default").data("imageWidth",t);$("div.popup.popup-default").data("imageHeight",i);$(window).unbind("orientationchange");$(window).on("orientationchange",function(){correctCurrentOpenPopup()});showPopup()})}function correctCurrentOpenPopup(){var n=$("div.popup.popup-default").data("imageWidth"),t=$("div.popup.popup-default").data("imageHeight");calculateAndSetPopupPositionAndSize(n,t)}function calculateAndSetPopupPositionAndSize(n,t){var i,f,e;$("div.popup.popup-default div.popup-inner").show();i=parseInt($("div.popup.popup-default div.textcontent").outerHeight());$("div.popup.popup-default div.popup-inner").hide();$("div.popup.popup-default div.popup-inner").css("display","");i>0;var o=n/t,s=n,h=t+i,c=s/h,r=$(window).width(),u=$(window).height(),l=r/u;r<480||u<480?$("div.popup-content").css("left",0).css("top",0).css("right",0).css("bottom",0):(r=r*.9,u=u*.9);c>=l?(f=Math.floor(r),e=Math.floor(f/o)):(e=Math.floor(u-i),f=Math.floor(e*o));$("div.popup.popup-default div.popup-content img").css("width",f);$("div.popup.popup-default div.popup-content img").css("height",e);$("div.popup.popup-default div.popup-content div.image-wrapper").css("width",f);$("div.popup.popup-default div.popup-content div.image-wrapper").css("height",e+i);f<r?$("div.popup.popup-default div.popup-content div.image-wrapper").css("margin-left",(r-f)/2+"px"):$("div.popup.popup-default div.popup-content div.image-wrapper").css("margin-left","0");e+i<u?$("div.popup.popup-default div.popup-content div.image-wrapper").css("margin-top",(u-(e-i))/2+"px"):$("div.popup.popup-default div.popup-content div.image-wrapper").css("margin-top","0")}function showPopup(){$("div.popup.popup-default div.popup-content img").attr("src")!=""&&($("div.popup.popup-default div.popup-darkener").removeClass("loading"),$("div.popup.popup-default div.popup-inner").fadeIn(200))}function initClosePopup(){$(".popup .close").each(function(){$(this).data("isInitialized")||($(this).click(function(n){n.preventDefault();mediaplayerApi.stopAllMediaplayer();$(this).closest(".popup").fadeOut(200);$(window).unbind("keydown").unbind("orientationchange");$(document).removeData("galleryHtmlId");$("div.popup.popup-default").removeData("imageWidth");$("div.popup.popup-default").removeData("imageHeight")}),$(this).data("isInitialized",!0))})}function initFullsizeGallery(){$(".js-marker-gallery").each(function(){$(this).data("isInitialized")||($(this).click(function(n){n.preventDefault();n.stopPropagation();var t=$(this).attr("data-gallery-name");t!==""&&OpenMediaGallery(t)}),$(this).data("isInitialized",!0))});initClosePopup()}function openFullsizeGalleryPopup(n,t,i){var r=parseInt($(window).height()),u=parseInt($(window).width());i||($("#"+n).css("visibility","hidden"),$("#"+n).show());$("#"+n+" .gallery-navigation").unbind("click");$("#"+n+" .gallery-navigation.left").click(function(){var t=$("#"+n).data("selectedIndex");t>0&&FullsizeGalleryMoveToIndex(n,t-1)});$("#"+n+" .gallery-navigation.right").click(function(){var t=$("#"+n).data("selectedIndex");t<$("#"+n+" .items-wrapper .items .item-wrapper").length-1&&FullsizeGalleryMoveToIndex(n,t+1)});$("#"+n+" .gallery-thumbnail-navigation").unbind("click");$("#"+n+" .gallery-thumbnail-navigation.left").click(function(){FullsizeGalleryThumbnailsScroll(n,-1)});$("#"+n+" .gallery-thumbnail-navigation.right").click(function(){FullsizeGalleryThumbnailsScroll(n,1)});$(window).keydown(function(t){var i=$("#"+n).data("selectedIndex");t.which===37&&i>0&&FullsizeGalleryMoveToIndex(n,i-1);t.which===39&&i<$("#"+n+" .items-wrapper .items .item-wrapper").length-1&&FullsizeGalleryMoveToIndex(n,i+1)});$(document).data("galleryHtmlId",n);$(document).data("selectedItem",t);$(window).unbind("orientationchange");$(window).on("orientationchange",function(){correctCurrentOpenGallery()});SetFullsizeGalleryDimensions(n,t);t=typeof t=="number"?t:0;FullsizeGalleryGoToItem(n,t);i||($("#"+n).hide(),$("#"+n).css("visibility","visible"));$("#"+n).fadeIn(200,function(){})}function correctCurrentOpenGallery(){var n=$(document).data("galleryHtmlId"),t=$(document).data("selectedItem");openFullsizeGalleryPopup(n,t,!0)}function SetFullsizeGalleryDimensions(n){var r=80,i=0,u,t;$("#"+n+" .titles .title").each(function(){$(this).show();var n=$(this).height();i<n&&(i=n);n>r&&$(this).css("height",r+"px").addClass("height-limitation-added");$(this).hide()});i>r&&(i=r);var h=parseInt($("#"+n+" .titles").css("top")),c=parseInt($("#"+n+" .items-wrapper").css("top")),f=h+i+10;f>c&&$("#"+n+" .items-wrapper").css("top",f+"px");u=0;t=$("#"+n+" .thumbnails-wrapper .thumbnails").height();$("#"+n+" .thumbnails-wrapper .thumbnails .item-wrapper img").each(function(){var i=parseInt($(this).attr("width")),r=parseInt($(this).attr("height"));r>i?$(this).css("height",t+"px").css("width",t*i/r+"px").css("margin-top",0):$(this).css("height",t*r/i+"px").css("width",t+"px").css("margin-top",t*(1-r/i)/2+"px");u=u+$(this).closest(".item-wrapper").outerWidth(!0);$(this).unbind("click");$(this).click(function(){FullsizeGalleryMoveToItem(n,$(this).closest(".item-wrapper").attr("data-item-name"))})});$("#"+n+" .thumbnails-wrapper .thumbnails").css("width",u+"px");var e=0,o=$("#"+n+" .items-wrapper .items").height(),s=$("#"+n+" .items-wrapper .items").width();$("#"+n+" .items-wrapper .items .item-wrapper").each(function(){var r=1280,u=720,t,i,h,f;$(this).children("img").length>0&&(r=parseInt($(this).children("img").eq(0).attr("width")),u=parseInt($(this).children("img").eq(0).attr("height")));t=o;i=t*r/u;i>s&&(i=s,t=i*u/r);h=$(this).attr("data-item-name");f=$("#"+n+" .thumbnails-wrapper .thumbnails .item-wrapper."+h).index();f>0&&(e=f);$(this).data("thumbnailIndex",e).css("height",t+"px").css("width",i+"px").css("top",(o-t)/2+"px").children("img").css("height",t+"px").css("width",i+"px")})}function FullsizeGalleryHideTitles(n){$("#"+n+" .titles .title").hide()}function FullsizeGalleryShowTitle(n){FullsizeGalleryHideTitles(n);var t=$("#"+n).data("selectedIndex"),i=$("#"+n+" .items-wrapper .items .item-wrapper").eq(t).attr("data-item-name");$("#"+n+" .titles .title."+i).show()}function FullsizeGalleryGoToItem(n,t){$("#"+n+" .items-wrapper .items .item-wrapper").each(function(i){if(t===i){var r=$("#"+n+" .items-wrapper .items").width(),u=$(this).width();$(this).css("left",(r-u)/2+"px")}else $(this).css("left","-10000px")});FullsizeGalleryThumbnailsGoTo(n,t);$("#"+n).data("selectedIndex",t);FullsizeGalleryCheckNavigation(n);FullsizeGalleryShowTitle(n,t);$(document).data("selectedItem",t)}function FullsizeGalleryMoveToItem(n,t){var i=$("#"+n+" .items-wrapper .items .item-wrapper."+t).index();FullsizeGalleryMoveToIndex(n,i)}function FullsizeGalleryMoveToIndex(n,t){var i=$("#"+n).data("selectedIndex"),f;if(i!==t){mediaplayerApi.stopAllMediaplayer();var r=$("#"+n+" .items-wrapper .items").width(),e=$("#"+n+" .items-wrapper .items .item-wrapper").eq(i).width(),u=$("#"+n+" .items-wrapper .items .item-wrapper").eq(t).width();FullsizeGalleryHideTitles(n);f=function(){FullsizeGalleryShowTitle(n,t)};t>i?($("#"+n+" .items-wrapper .items .item-wrapper").eq(i).animate({left:-e-1+"px"},400),$("#"+n+" .items-wrapper .items .item-wrapper").eq(t).css("left",r+1+"px").animate({left:(r-u)/2+"px"},400,f)):($("#"+n+" .items-wrapper .items .item-wrapper").eq(i).animate({left:r+1+"px"},400),$("#"+n+" .items-wrapper .items .item-wrapper").eq(t).css("left",-u-1+"px").animate({left:(r-u)/2+"px"},400,f));FullsizeGalleryThumbnailsMoveTo(n,t);$("#"+n).data("selectedIndex",t);FullsizeGalleryCheckNavigation(n);$(document).data("selectedItem",t)}}function FullsizeGalleryCheckNavigation(n){var t=$("#"+n).data("selectedIndex"),i=$("#"+n+" .items-wrapper .items .item-wrapper").length;i<=1?($("#"+n+" .gallery-navigation.left").hide(),$("#"+n+" .gallery-navigation.right").hide()):t<=0?($("#"+n+" .gallery-navigation.left").hide(),$("#"+n+" .gallery-navigation.right").show()):t>=i-1?($("#"+n+" .gallery-navigation.left").show(),$("#"+n+" .gallery-navigation.right").hide()):($("#"+n+" .gallery-navigation.left").show(),$("#"+n+" .gallery-navigation.right").show())}function FullsizeGalleryCalculateThumbnailLeft(n,t){var u=$("#"+n+" .thumbnails-wrapper").width(),o=$("#"+n+" .thumbnails-wrapper").outerWidth(),r=(o-u)/2,f=$("#"+n+" .thumbnails-wrapper .thumbnails").width(),h=o/2,s=$("#"+n+" .thumbnails-wrapper .thumbnails .item-wrapper").eq(t).outerWidth(!0),e=s/2,i;return $("#"+n+" .thumbnails-wrapper .thumbnails .item-wrapper").each(function(n){n<t&&(e=e+$(this).outerWidth(!0))}),i=r+(h-e)+s/2,f<u?i=r+(u-f)/2:i>r?i=r:-i+u+r>f&&(i=r+u-f),i}function FullsizeGalleryThumbnailsGoTo(n,t){var i=FullsizeGalleryCalculateThumbnailLeft(n,t);$("#"+n+" .thumbnails-wrapper .thumbnails").css("left",i+"px")}function FullsizeGalleryThumbnailsMoveTo(n,t){var i=FullsizeGalleryCalculateThumbnailLeft(n,t);$("#"+n+" .thumbnails-wrapper .thumbnails").animate({left:i+"px"},400)}function FullsizeGalleryThumbnailsScroll(n,t){var r=$("#"+n+" .thumbnails-wrapper").width(),e=$("#"+n+" .thumbnails-wrapper").outerWidth(),u=(e-r)/2,f=$("#"+n+" .thumbnails-wrapper .thumbnails").width(),i;r>f||(i=parseInt($("#"+n+" .thumbnails-wrapper .thumbnails").css("left")),i=i-t*200,t>0,i>u?i=u:-i+r+u>f&&(i=u+r-f),$("#"+n+" .thumbnails-wrapper .thumbnails").animate({left:i+"px"},200))}function initStickyHeader(){var n=110;$(window).scrollTop()>n&&($(".page-header .header-small").addClass("no-transition"),$(".page-header").addClass("show-small"));$(window).scroll(function(){$(".page-header .header-small").removeClass("no-transition");$(window).scrollTop()>n?$("header.page-header").addClass("show-small"):$("header.page-header").removeClass("show-small")})}function initWindowSizeChecker(){var t=650,i=800,r=1e3,n=$(window).width(),u=$(window).height();windowResizeLogic(n,t,i,r);$(window).resize(function(){n=$(window).width();u=$(window).height();windowResizeLogic(n,t,i,r)})}function windowResizeLogic(n,t,i,r){n<t?($("div.page-wrapper").removeClass("width-medium width-mediumsmall"),$("div.page-wrapper").addClass("width-small")):n<i?($("div.page-wrapper").removeClass("width-small width-medium"),$("div.page-wrapper").addClass("width-mediumsmall")):n<r?($("div.page-wrapper").removeClass("width-small width-mediumsmall"),$("div.page-wrapper").addClass("width-medium")):($("div.page-wrapper").removeClass("width-small width-mediumsmall"),$("div.page-wrapper").removeClass("width-medium"))}function initHeaderSearch(){$(".page-header .search-form button").click(function(n){($(".page-wrapper").hasClass("width-small")||$(".page-wrapper").hasClass("width-mediumsmall"))&&!$(this).closest(".search-container").hasClass("extended")&&(n.stopImmediatePropagation(),$(this).closest(".search-container").css("width","auto").animate({left:5},400,function(){$(this).closest(".search-container").css("left","").css("width","");$(this).closest(".search-container").addClass("extended")}))})}function initSchedule(){initStickySchedule();initScheduleFilter();initScheduleSearch()}function initStickySchedule(){if($("div.schedule-secondary").length==0)return!1;stickyScheduleLogic();scheduleUpdateHeaderMonth();$(window).scroll(function(){stickyScheduleLogic();scheduleUpdateHeaderMonth()});$(window).resize(function(){stickyScheduleLogic();scheduleUpdateHeaderMonth()})}function stickyScheduleLogic(){var n=$("div.schedule-header-container").offset().left,t=$("div.schedule-header-container").width(),u=$("div.schedule-header").outerHeight(),i,r;$("div.schedule-header-container").css("height",u);$("body").hasClass("dev-desktoppc")?$(window).scrollTop()>$("div.schedule-secondary").offset().top-$("div.header-small").height()?$("div.schedule-header").css("position","fixed").css("left",n).css("width",t).css("top",$("div.header-small").height()):$("div.schedule-header").css("position","relative").css("left",0).css("top",0).css("width",""):$(window).scrollTop()>$("div.schedule-secondary").offset().top-$("div.header-small").height()+$(".schedule-secondary").outerHeight()?$("div.schedule-header").css("position","fixed").css("left",n).css("width",t).css("top",$("div.header-small").height()):$("div.schedule-header").css("position","relative").css("left",0).css("top",0).css("width","");i=$("div.schedule-secondary").offset().left+parseInt($("div.schedule-secondary").css("padding-left"));r=$("div.schedule-secondary").width();$("body").hasClass("dev-desktoppc")&&($(window).scrollTop()>$("div.schedule-secondary").offset().top-$("div.header-small").height()?$("div.schedule-secondary-content").css("position","fixed").css("left",i).css("width",r).css("top",$("div.header-small").height()):$("div.schedule-secondary-content").css("position","relative").css("left",0).css("top",0))}function initScheduleFilter(){var n=$(this).closest(".filter");$(".schedule-header .filter a.filter-toggle").click(function(n){n.preventDefault();var t=$(this).closest(".filter");t.hasClass("open")?(hideScheduleFilter(t),t.removeClass("open")):showScheduleFilter(t)})}function showScheduleFilter(n){n.addClass("open");$("body").click(function(t){!$(t.target).closest(".filter").length>0&&hideScheduleFilter(n)})}function hideScheduleFilter(n){n.removeClass("open");$("body").off("click")}function scheduleUpdateHeaderMonth(){var n=$(".schedule-header .months span").first().attr("class"),t=n.substring(0,n.indexOf(" "));$(".js-marker-schedule-content .day[data-month]").length>0&&(t="month-"+$(".js-marker-schedule-content .day[data-month]").data("month"));$("div.schedule .month-separator").each(function(){if($(window).scrollTop()>$(this).offset().top){n=$(this).prev("a").prop("id");t="month-"+n;return}});$(".schedule-header .months span").css("display","none");$(".schedule-header .months span."+t).css("display","block")}function initScheduleSearch(){$("body.dev-smartphone .schedule-header-search label").click(function(n){n.preventDefault();$("body.dev-smartphone .schedule-header-search").addClass("schedule-header-search--open");$("body.dev-smartphone .schedule-header-search input").focus()});isMobile&&$("body.dev-smartphone .schedule-header-search input").blur(function(){$("body.dev-smartphone .schedule-header-search").removeClass("schedule-header-search--open")})}function initHomeGallery(){var n=6e3;$("div.home-media-content").each(function(){var t,i;if(!($(this).find(".home-media-item").length<2)){for($(this).children(".overlay").show(),$(this).data("itemCount",$(this).find(".home-media-item").length),t=0;t<$(this).data("itemCount");t++)$(this).find(".nav").append('<a href="#"><\/a>');i=$(this);$(this).data("autoplay",window.setInterval(function(){$(i).find(".mediaplayer--is-playing").length==0&&homeGalleryNext($(i))},n));homeGallerySnapTo($(this),0)}});$("div.home-media-content .nav a").click(function(n){n.preventDefault();mediaplayerApi.stopAllMediaplayer();homeGallerySlideTo($(this).closest("div.home-media-content"),$(this).index());homeGalleryStopAutoplay($(this).closest("div.home-media-content"))})}function homeGallerySlideTo(n,t){var i=homeGalleryCalcTargetLeft(n,t);$(n).find(".item-container").animate({left:i},400);$(n).data("activeItem",t);$(n).find(".nav a").removeClass("active");$(n).find(".nav a").eq(t).addClass("active")}function homeGallerySnapTo(n,t){var i=homeGalleryCalcTargetLeft(n,t);$(n).find(".item-container").css("left",i);$(n).data("activeItem",t);$(n).find(".nav a").removeClass("active");$(n).find(".nav a").eq(t).addClass("active")}function homeGalleryCalcTargetLeft(n,t){var i=$(n).find(".home-media-item").eq(t),r=$(n).offset().left,u=$(i).offset().left,f=parseInt($(n).find(".item-container").css("left"));return f+r-u}function homeGalleryNext(n){var t=($(n).data("activeItem")+1)%$(n).data("itemCount");homeGallerySlideTo(n,t)}function homeGalleryPrev(n){var t=($(n).data("activeItem")-1)%$(n).data("itemCount");t<0&&(t+=$(n).data("itemCount"));homeGallerySlideTo(n,t)}function homeGalleryStopAutoplay(n){window.clearInterval($(n).data("autoplay"))}function initMasonry(){$(".masonry-wrapper").length>0&&window.setTimeout(function(){$(".masonry-wrapper").masonry({itemSelector:".masonry-item",percentPosition:!0,columnWidth:".grid-sizer",gutter:".gutter-sizer"})},1)}function updateResponsivenessVariables(){$(window).resize(function(){wasTabletBefore=isTablet;isMobile=document.documentElement.clientWidth<500;isTablet=document.documentElement.clientWidth>=500&&document.documentElement.clientWidth<=1200})}function changeOrderForTablet(){var n=$(".responsive__rightcol");n.length>0&&wasTabletBefore===!1&&isTablet===!0?n.each(function(){var n=$(this).closest(".row");$(this).detach();n.prepend($(this))}):wasTabletBefore===!0&&isTablet===!1&&n.each(function(){var n=$(this).closest(".row");$(this).detach();n.append($(this))})}function manipulateNavigationFooterForTablet(){$(".navigation-footer a").each(function(){for(var n=0;n<linksToDisplayForTablet.length;n++)$(this).attr("href").indexOf(linksToDisplayForTablet[n])!=-1&&$(this).closest("li").addClass("navigation-footer__link--showfortablet")})}function initBlogitems(){typeof medialoader!="undefined"&&medialoader.triggerLoadContentImages()}function initializeAfterCallback(){initScheduleInfolayer();initScheduleCalendar();scheduleUpdateHeaderMonth()}function ItemClick(n,t){if(n!=null&&n!="")if(t!=null&&t!=""){var i=window.open(n,"","");i.focus()}else window.location.href=n}function OpenFacebookWindow(n){var t=window.open(n,"","width=500,height=400,left=100,top=200");t.focus()}function OpenTwitterWindow(n){var t=window.open(n,"","width=500,height=400,left=100,top=200");t.focus()}function OpenGooglePlusWindow(n){var t=window.open(n,"","width=500,height=400,left=100,top=200");t.focus()}function initFormDefaultButtonFunctionality(){$(".js-marker-form a.default-button").each(function(n,t){var i=$(t).closest(".js-marker-form");$(i).find("input:text,input:radio,input:password").keypress(function(event){if(event.which===13){event.preventDefault();var script=$(i).find("a.default-button").attr("onclick");script!=null&&script!==""?eval(script):$(i).find("a.default-button").click()}})});$(".js-marker-form input.default-button, .js-marker-form button.default-button").each(function(n,t){var i=$(t).closest(".js-marker-form");$(i).find("input:text,input:radio,input:password").keypress(function(n){n.which===13&&(n.preventDefault(),$(i).find("input.default-button, button.default-button").click())})})}function initSearch(){if($("header .search-form button").click(function(n){var i,t;n.preventDefault();i=$(this).closest(".search-form").find('input[name="searchterm"]').val();i.length>0&&(t=$(this).closest(".search-form").attr("data-target"),t=t+encodeURIComponent(i),window.location.href=t)}),$(".js-marker-search-form").length>0){var n=tryExtractSearchtermFromUrl(window.location.href);n!=null&&($(".js-marker-search-form input[name=searchterm]").val(n.searchterm),startSearch(n))}$(".js-marker-search-form .js-marker-search-form-send").click(function(n){n.preventDefault();startSearch({searchterm:$(this).closest(".js-marker-search-form").find("input[name=searchterm]").val()},$(this).closest(".js-marker-search-form"))});$(".js-marker-search-result-container").each(function(){var n=$(this).attr("id");typeof n=="undefined"&&(n="search-result-container-"+__searchFormIdentifier,__searchFormIdentifier++,$(this).attr("id",n))})}function tryExtractSearchtermFromUrl(n){var i=new RegExp("\\?.*"+PARAMETERNAMES.SEARCHTERM+"=([^&]*)","i"),t=n.match(i),r;return t!=null?(r={searchterm:decodeURIComponent(t[1].replace(/\+/g,"%20")).trim()},i=new RegExp("\\?.*"+PARAMETERNAMES.SEARCHPAGE+"=([^&]*)","i"),t=n.match(i),t!=null&&(r.page=decodeURIComponent(t[1].replace(/\+/g,"%20"))),r):null}function tryExtractSearchItemFromUrl(n){var i=new RegExp("\\?.*Item=([^&]*)","i"),t=n.match(i);return t!=null?{item:decodeURIComponent(t[1].replace(/\+/g,"%20"))}:null}function startSearch(n,t){var r,i;typeof t!="object"&&(t=$("body"));prepareSearchResultContainer(t);r=CALLBACKURLBASE+"search-website.json";$.getJSON(r,n,function(n){n.ResultCode==="Ok"?setSearchResultData(t,n.Html):setSearchResultData(t,"")});typeof n=="object"&&n!=null&&typeof history.replaceState=="function"&&(i=window.location.href,i.indexOf("?")>0&&(i=i.substring(0,i.indexOf("?"))),i=i+"?",typeof n.searchterm!="undefined"&&(i=i+PARAMETERNAMES.SEARCHTERM+"="+encodeURIComponent(n.searchterm)),typeof n.page!="undefined"&&(i=i+"&"+PARAMETERNAMES.SEARCHPAGE+"="+encodeURIComponent(n.page)),history.replaceState(null,null,i))}function redirectToSearchResultItem(n){var t=CALLBACKURLBASE+"get-search-result-target.json";$.getJSON(t,n,function(n){n.ResultCode==="Ok"&&(window.location.href=n.Target)})}function prepareSearchResultContainer(n){$(n).find(".js-marker-search-result-container").addClass("show-loader")}function setSearchResultData(n,t){$(n).find(".js-marker-search-result-container").each(function(){var n=$(this).find(".js-marker-search-result-content").outerHeight(),i;$(this).css("height",n+"px");$(this).find(".js-marker-search-result-content").html(t);$(this).find("a").click(function(n){n.preventDefault();var i=$(this).attr("href"),t=tryExtractSearchtermFromUrl(i);if(t!=null){startSearch(t,$(this).closest(".js-marker-search-form"));return}if(t=tryExtractSearchItemFromUrl(i),t!=null){redirectToSearchResultItem(t,$(this));return}});n=$(this).find(".js-marker-search-result-content").outerHeight();$(this).animate({height:n},400,function(){$(this).removeClass("show-loader")});$(this).css("height","auto");i=$(".js-marker-search-result-container").attr("id");ScrollToElement(i)})}function ScrollToElement(n){if($("#"+n).length<=0)return!0;var t=$("#"+n).get(0).offsetTop;return t=t-10,$(".js-marker-include-in-scrolling-calculation").each(function(){t=t-$(this).outerHeight()}),setTimeout(function(){$("html, body").animate({scrollTop:t},800)},100),!1}function GetSchedule(n,t){var r=CALLBACKURLBASE+"getschedule.json",i={filter:n};typeof t=="string"&&t!==""?(i[$(".js-marker-schedule-fulltext-search").data("param-name")]=t,$(".js-marker-schedule-fulltext-search").find("input:text").val(t)):$(".js-marker-schedule-fulltext-search").find("input:text").val("");$.getJSON(r,i,function(n){n.ResultCode==="Ok"&&($(".js-marker-schedule-calendar").html(n.Calendar),$(".js-marker-schedule-content").html(n.Schedule),initializeAfterCallback(),setTimeout(function(){$("html, body").animate({scrollTop:0},800)},100))})}function initScheduleFullTextSearch(){$(".js-marker-schedule-fulltext-search button").click(function(n){n.preventDefault();var t=$(this).closest(".js-marker-schedule-fulltext-search").find("input:text").val();GetSchedule("",t)})}function initTicketReservationForm(){$(".js-marker-ticket-reservation").each(function(){var n,t;$(this).data("isInitialized")||(n=$(this),$(this).find("select[name=production]").change(function(){$(this).val()!=""?ticketReservationFormShowStep2(n,$(this).val()):ticketReservationFormHideFromStep(n,2)}),t=[],$(this).find("select[name=date] option").each(function(){t.push(new DropdownOption($(this).html(),$(this).attr("value")))}),$(this).find("select[name=date]").data("dates",t),$(this).find("select[name=date]").change(function(){$(this).val()!=""?ticketReservationFormShowStep3(n,$(this).val()):ticketReservationFormHideFromStep(n,3)}),$("input[type=radio][name=paymentoption]").change(function(){$(this).is(":checked")&&$(this).val()!=="pay"?($(n).find(".js-marker-ticket-reservation-accountowner").slideUp(200),$(n).find(".js-marker-ticket-reservation-iban").slideUp(200),$(n).find(".js-marker-ticket-reservation-bic").slideUp(200)):($(n).find(".js-marker-ticket-reservation-accountowner").slideDown(200),$(n).find(".js-marker-ticket-reservation-iban").slideDown(200),$(n).find(".js-marker-ticket-reservation-bic").slideDown(200))}),$(this).find("input[name=reducedTickets]").change(function(){$(this).is(":checked")?($(n).find(".js-marker-ticket-reservation-reduced-ticket-count").slideDown(200),$(n).find(".js-marker-ticket-reservation-reduced-ticket-reduction").slideDown(200)):($(n).find(".js-marker-ticket-reservation-reduced-ticket-count").slideUp(200),$(n).find(".js-marker-ticket-reservation-reduced-ticket-reduction").slideUp(200))}),$(this).find(".js-marker-ticket-reservation-send").click(function(t){var f;t.preventDefault();var u={academictitle:$(n).find("input[name=academicTitle]").val(),firstname:$(n).find("input[name=firstname]").val(),lastname:$(n).find("input[name=lastname]").val(),street:$(n).find("input[name=street]").val(),housenumber:$(n).find("input[name=housenumber]").val(),addressadditional:$(n).find("input[name=addressadditional]").val(),zip:$(n).find("input[name=zip]").val(),city:$(n).find("input[name=city]").val(),phone:$(n).find("input[name=phone]").val(),fax:$(n).find("input[name=fax]").val(),email:$(n).find("input[name=eMail]").val(),remarks:$(n).find("textarea[name=remarks]").val(),accountowner:$(n).find("input[name=accountowner]").val(),iban:$(n).find("input[name=iban]").val(),bic:$(n).find("input[name=bic]").val(),paymentoption:$("input[type=radio][name=paymentoption]").filter(function(){return $(this).is(":checked")}).val(),paymentoptionhtml:$("input[type=radio][name=paymentoption]").filter(function(){return $(this).is(":checked")}).closest("div").text(),deliveryoption:$("input[type=radio][name=deliveryoption]").filter(function(){return $(this).is(":checked")}).closest("div").text(),formofaddress:$(n).find("select[name=formOfAddress] option").filter(function(){return $(this).is(":selected")}).html(),date:$(n).find("select[name=date] option").filter(function(){return $(this).is(":selected")}).html(),category:$(n).find("select[name=category] option").filter(function(){return $(this).is(":selected")}).html(),ticketcount:$(n).find("input[name=ticketCount]").val(),reducedtickets:$(n).find("input[name=reducedTickets]").filter(function(){return $(this).is(":checked")}).val(),reducedticketcount:$(n).find("input[name=reducedTicketCount]").val(),reduction:$(n).find("select[name=reduction] option").filter(function(){return $(this).is(":selected")}).html(),production:$(n).find("select[name=production] option").filter(function(){return $(this).is(":selected")}).html(),productionId:$(n).find("select[name=production] option").filter(function(){return $(this).is(":selected")}).val()},i=$(n).find("select[name=date] option").filter(function(){return $(this).is(":selected")}).val(),r=i.indexOf("-");r>0&&r<i.length-1&&(u.performanceId=i.substring(r+1));$(n).find(".form-item").removeClass("has-errors");$(n).find(".js-marker-ticket-reservation-error").hide();$(n).find(".js-marker-ticket-reservation-send").hide();f=CALLBACKURLBASE+"reservetickets.json";$.getJSON(f,u,function(t){if(t.ResultCode=="Ok")$(n).find(".js-marker-ticket-reservation-feedbacktext").html(t.FeedbackMessage),$(n).find(".js-marker-ticket-reservation-feedback").show();else if($(n).find(".js-marker-ticket-reservation-errortext").html(t.HtmlEncodedErrors),$(n).find(".js-marker-ticket-reservation-error").show(),$(n).find(".js-marker-ticket-reservation-send").show(),$.isArray(t.ErrorFields))for(var i=0;i<t.ErrorFields.length;i++)$(n).find("[name='"+t.ErrorFields[i]+"']").closest(".form-item").addClass("has-errors")}).fail(function(n){typeof n.responseJSON=="object"&&typeof n.responseJSON.HtmlEncodedErrors=="string"&&($(".js-marker-ticket-reservation-errortext").html(n.responseJSON.HtmlEncodedErrors),$(".js-marker-ticket-reservation-error").show(),$(".js-marker-ticket-reservation-send").show())})}),$(this).data("isInitialized",!0))})}function DropdownOption(n,t){this.Name=n;this.Value=t}function ticketReservationFormHideFromStep(n,t){t<=2&&$(n).find(".step-2").slideUp(200);t<=3&&$(n).find(".step-3").slideUp(200);t<=4&&$(n).find(".step-4").slideUp(200)}function ticketReservationFormShowStep2(n,t){var o=t+"-",s=$(n).find("select[name=date]"),u=$(s).data("dates"),h="",f,i,r,e;for($(n).find("select[name=date] option:selected").length>0&&(h=$(n).find("select[name=date] option:selected").attr("value")),f=!1,$(n).find("select[name=date] option").remove(),i="",r=0;r<u.length;r++)(u[r].Value==""||u[r].Value.substring(0,o.length)===o)&&(i=i+'<option value="'+u[r].Value,h==u[r].Value&&(i=i+'" selected="selected',f=!0),i=i+'">'+u[r].Name+"<\/option>");$(s).html(i);f||$(n).find("select[name=date] option").eq(0).prop("selected",!0);e=$(n).find("select[name=date]").val();$(n).find(".step-2").slideDown(200);e!=""?ticketReservationFormShowStep3(n,e):ticketReservationFormHideFromStep(n,3)}function ticketReservationFormShowStep3(n,t){var i=$(n).find("select[name=category]"),r,u,f;$(i).data("selectedDate")!=t&&($(i).closest(".form-item").slideUp(200),$(i).find("option").filter(function(){return $(this).val()!=""}).remove(),r=t.indexOf("-"),r>0&&r<t.length-1&&(u={productionId:t.substring(0,r),performanceId:t.substring(r+1)},f=CALLBACKURLBASE+"getpricecategories.json",$.getJSON(f,u,function(n){var u,r;if(n.ResultCode=="Ok"&&typeof n.PriceCategories=="object"&&n.PriceCategories.length>0){for(u=$(i).html(),r=0;r<n.PriceCategories.length;r++)u=u+'<option value="'+n.PriceCategories[r]+'">'+n.PriceCategories[r]+"<\/option>";$(i).html(u);$(i).data("selectedDate",t);$(i).closest(".form-item").slideDown(200)}})));$(n).find(".step-3").slideDown(200);$(n).find(".step-4").slideDown(200)}function initTicketReservationFormForSchools(){$(".js-marker-ticket-reservation-for-schools").each(function(){var n,t;$(this).data("isInitialized")||(n=$(this),$(this).find("select[name=production]").change(function(){$(this).val()!==""?ticketReservationFormShowStep2(n,$(this).val()):ticketReservationFormHideFromStep(n,2)}),t=[],$(this).find("select[name=date] option").each(function(){t.push(new DropdownOption($(this).html(),$(this).attr("value")))}),$(this).find("select[name=date]").data("dates",t),$(this).find("select[name=date]").change(function(){$(this).val()!==""?ticketReservationFormShowStep3(n,$(this).val()):ticketReservationFormHideFromStep(n,3)}),$(this).find(".js-marker-ticket-reservation-for-schools-send").click(function(t){var f;t.preventDefault();var u={school:$(n).find("input[name=school]").val(),street:$(n).find("input[name=street]").val(),housenumber:$(n).find("input[name=housenumber]").val(),addressadditional:$(n).find("input[name=addressadditional]").val(),zip:$(n).find("input[name=zip]").val(),city:$(n).find("input[name=city]").val(),grade:$(n).find("input[name=grade]").val(),customerNumber:$(n).find("input[name=customerNumber]").val(),contact:$(n).find("input[name=contact]").val(),phone:$(n).find("input[name=phone]").val(),email:$(n).find("input[name=eMail]").val(),remarks:$(n).find("textarea[name=remarks]").val(),date:$(n).find("select[name=date] option").filter(function(){return $(this).is(":selected")}).html(),ticketCountTeachers:$(n).find("input[name=ticketCountTeachers]").val(),ticketCountPupils:$(n).find("input[name=ticketCountPupils]").val(),ticketCountReduced:$(n).find("input[name=ticketCountReduced]").val(),reducedTicketsConfirmation:$(n).find("input[name=reducedTicketsConfirmation]").filter(function(){return $(this).is(":checked")}).val(),production:$(n).find("select[name=production] option").filter(function(){return $(this).is(":selected")}).html(),productionId:$(n).find("select[name=production] option").filter(function(){return $(this).is(":selected")}).val()},i=$(n).find("select[name=date] option").filter(function(){return $(this).is(":selected")}).val(),r=i.indexOf("-");r>0&&r<i.length-1&&(u.performanceId=i.substring(r+1));$(n).find(".form-item").removeClass("has-errors");$(n).find(".js-marker-ticket-reservation-for-schools-error").hide();$(n).find(".js-marker-ticket-reservation-for-schools-send").hide();f=CALLBACKURLBASE+"reserve-tickets-for-schools.json";$.getJSON(f,u,function(t){if(t.ResultCode=="Ok")$(n).find(".js-marker-ticket-reservation-for-schools-feedbacktext").html(t.FeedbackMessage),$(n).find(".js-marker-ticket-reservation-for-schools-feedback").show();else if($(n).find(".js-marker-ticket-reservation-for-schools-errortext").html(t.HtmlEncodedErrors),$(n).find(".js-marker-ticket-reservation-for-schools-error").show(),$(n).find(".js-marker-ticket-reservation-for-schools-send").show(),$.isArray(t.ErrorFields))for(var i=0;i<t.ErrorFields.length;i++)$(n).find("[name='"+t.ErrorFields[i]+"']").closest(".form-item").addClass("has-errors")}).fail(function(n){typeof n.responseJSON=="object"&&typeof n.responseJSON.HtmlEncodedErrors=="string"&&($(".js-marker-ticket-reservation-for-schools-error").show(),$(".js-marker-ticket-reservation-for-schools-errortext").html(n.responseJSON.HtmlEncodedErrors),$(".js-marker-ticket-reservation-for-schools-send").show())})}),$(this).data("isInitialized",!0))})}function ValidateIsMail(n){var t=n.match(/^([a-zA-Z0-9_\-\.]+)@((\[[0-2]{1}[0-5]{1}[0-5]{1}\.[0-2]{1}[0-5]{1}[0-5]{1}\.[0-2]{1}[0-5]{1}[0-5]{1}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,}|[0-2]{1}[0-5]{1}[0-5]{1})(\]?)$/i);return t?!0:!1}function ItemInCart(n,t){$("#"+n).addClass("item-in-press-cart");$("#"+n+" .js-marker-press-cart-remove-from-cart").attr("onclick","RemoveFromPressCart('"+n+"', '"+t+"'); return false;")}function SetPressCartItemCount(n){$(".js-marker-press-cart-item-count").html(n);parseInt(n)>0?$(".js-marker-press-cart-item-count-wrapper").show():$(".js-marker-press-cart-item-count-wrapper").hide()}function CheckCartVisibility(n){var t=parseInt($(".js-marker-press-cart-item-count").html());t>0||n?($(".js-marker-press-cart-has-items-container").slideDown(400),$(".js-marker-press-cart-has-no-items-container").slideUp(400),$(".js-marker-press-cart-container").removeClass("no-items")):($(".js-marker-press-cart-has-no-items-container").slideDown(400),$(".js-marker-press-cart-has-items-container").slideUp(400),$(".js-marker-press-cart-container").addClass("no-items"))}function GetPressCartLoaderAnimation(n){var t='<div class="press-cart-item show-loader" id="NewCartItem'+n+'" style="height:0px;">';return t=t+'<div class="item-inner js-marker-press-cart-item-wrapper"><img alt="" src="'+SYSTEMURLBASE+'img/blank.png" /><\/div>',t=t+'<div class="preloading-loader-animation"><\/div>',t=t+'<a href="#" class="remove-from-cart js-marker-press-cart-remove-from-cart" style="display: none;"><i class="svg svg-icon-close-red"><\/i><\/a>',t+"<\/div>"}function AddToPressCart(n,t,i){CheckCartVisibility(!0);$("#"+n).addClass("show-loader");$(".js-marker-press-cart-items-container").append(GetPressCartLoaderAnimation(n));$("#NewCartItem"+n).animate({height:"60px"},200,function(){var r=CALLBACKURLBASE+"addtopresscart.json";$.getJSON(r,{cssidentifier:n,itemtype:t,identifier:i},function(t){if(typeof t.CssIdentifier!="undefined"&&$("#"+t.CssIdentifier).removeClass("show-loader"),t.ResultCode==="Ok"){SetPressCartItemCount(t.CartItemCount);$("#"+t.CssIdentifier).addClass("item-in-press-cart");$("#"+t.CssIdentifier+" .js-marker-press-cart-remove-from-cart").attr("onclick","RemoveFromPressCart('"+t.CssIdentifier+"', '"+t.CartIdentifier+"'); return false;");var i=function(){$("#NewCartItem"+n+" img").attr("src",t.ImageLink);var i=$("#NewCartItem"+n+" .js-marker-press-cart-item-wrapper").outerHeight();$("#NewCartItem"+n).animate({height:i+"px"},200,function(){$("#NewCartItem"+n).css("height","auto");$("#NewCartItem"+n).removeClass("show-loader");$("#NewCartItem"+n+" .js-marker-press-cart-remove-from-cart").attr("onclick","RemoveFromPressCart('"+t.CssIdentifier+"', '"+t.CartIdentifier+"'); return false;").show();$("#NewCartItem"+n).attr("id","CartItem"+t.CartIdentifier)})};$("<img />").attr({src:t.ImageLink}).on("load",i)}else $("#NewCartItem"+n).animate({height:"0px"},200,function(){$("#NewCartItem"+n).remove();CheckCartVisibility(!1)})})})}function RemoveFromPressCart(n,t){$("#"+n).addClass("show-loader");$("#CartItem"+t).addClass("show-loader");$("#CartItem"+t+" .js-marker-press-cart-remove-from-cart").hide();var i=CALLBACKURLBASE+"removefrompresscart.json";$.getJSON(i,{cssidentifier:n,identifier:t},function(n){var t=function(){typeof n.CssIdentifier!="undefined"&&$("#"+n.CssIdentifier).removeClass("show-loader");typeof n.CartIdentifier!="undefined"&&($("#CartItem"+n.CartIdentifier).removeClass("show-loader"),$("#CartItem"+n.CartIdentifier+" .js-marker-press-cart-remove-from-cart").show())};n.ResultCode==="Ok"?$("#CartItem"+n.CartIdentifier).slideUp(400,function(){SetPressCartItemCount(n.CartItemCount);$("#CartItem"+n.CartIdentifier).remove();n.RemovedItem!==""&&$("#"+n.RemovedItem).removeClass("item-in-press-cart");CheckCartVisibility(!1);t()}):t()})}function initFullsizeOverlay(){$(".fullsize-overlay").length<=0||($(".fullsize-overlay a.close, .fullsize-overlay-darkener").click(function(n){n.preventDefault();$(".fullsize-overlay").fadeOut(200)}),setTimeout(function(){$(".fullsize-overlay").fadeOut(400)},2e4))}function initPressReleases(){$(".js-marker-press-releases-load-further-items-link").length!==0&&(__nextPressreleasesPackageNumber=$(".js-marker-press-releases-load-further-items-link").data("next-package-number"),__loadedPressreleasesPackageNumber=$(".js-marker-press-releases-load-further-items-link").data("current-package-number"),__pressreleasesCategoryFilter=$(".js-marker-press-releases-load-further-items-link").data("category-filter"),$(".js-marker-press-releases-load-further-items-link a").click(function(n){n.preventDefault();checkReloadPressreleases()}),$(window).scroll(function(){checkReloadPressreleases()}),checkReloadPressreleases())}function checkReloadPressreleases(){$(".js-marker-press-releases-load-further-items-link").length!==0&&parseInt($(window).scrollTop())+parseInt($(window).height())+200>$(".js-marker-press-releases-load-further-items-link").offset().top&&__nextPressreleasesPackageNumber-__loadedPressreleasesPackageNumber<=1&&loadPressreleases(__nextPressreleasesPackageNumber++)}function loadPressreleases(n){var t=CALLBACKURLBASE+"get-press-releases.json";$.getJSON(t,{page:n,category:__pressreleasesCategoryFilter},function(t){t.ResultCode==="Ok"?($(".js-marker-press-releases-container").append(t.Html),t.HasFurtherItems||($(".js-marker-press-releases-load-further-items-link").hide(),$(".js-marker-press-releases-load-further-items-link").removeClass("js-marker-press-releases-load-further-items-link")),initializeAfterCallback(),initContentPreloading("press-releases-"+n),preloadImages("press-releases-"+n),mediaplayerApi.triggerInitMediaplayer()):($(".js-marker-press-releases-load-further-items-link").hide(),$(".js-marker-press-releases-load-further-items-link").removeClass("js-marker-press-releases-load-further-items-link"));__loadedPressreleasesPackageNumber++;checkReloadPressreleases()})}function initFloatingCols(){$(".js-marker-floation-col-index").each(function(){var r,t,f,u,n,i;if(!$(this).data(".itemDistributed")&&(r=$(this).children(".col").length,!(r<2))){for(t=[],n=0;n<r;n++)t.push({height:0,items:[]});$(this).children(".col").each(function(){$(this).children().each(function(){t[0].items.push({item:$(this),height:$(this).outerHeight(!0)})})});f=function(){for(var i,r,n=0;n<t.length;n++){for(i=0,r=0;r<t[n].items.length;r++)i=i+t[n].items[r].height;t[n].height=i}};do for(u=!1,f(),n=t.length-1;n>0;n--)if(t[n-1].items.length!==0&&t[n-1].items.length>1&&t[n-1].height-t[n-1].items[t[n-1].items.length-1].height>t[n].height){t[n].items.unshift(t[n-1].items[t[n-1].items.length-1]);t[n-1].items.pop();u=!0;break}while(u);for(n=1;n<t.length;n++)for(i=0;i<t[n].items.length;i++)$(t[n].items[i].item).detach().appendTo($(this).children(".col").eq(n));$(this).css("visibility","visible");$(this).data(".itemDistributed",!0)}})}var registeredImagePreload,contentPreloadingCounter,contentPreloadingPriority,__registeredMediaGalleries,linksToDisplayForTablet,__searchFormIdentifier;!function(n,t){"use strict";"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){"use strict";function gi(n,t){t=t||u;var i=t.createElement("script");i.text=n;t.head.appendChild(i).parentNode.removeChild(i)}function ui(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return"function"!==r&&!i.isWindow(n)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n)}function fi(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(gf.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return lt.call(t,n)>-1!==r&&1===n.nodeType})}function hr(n,t){while((n=n[t])&&1!==n.nodeType);return n}function ne(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function d(n){return n}function yt(n){throw n;}function cr(n,t,r){var u;try{n&&i.isFunction(u=n.promise)?u.call(n).done(t).fail(r):n&&i.isFunction(u=n.then)?u.call(n,t,r):t.call(void 0,n)}catch(n){r.call(void 0,n)}}function wt(){u.removeEventListener("DOMContentLoaded",wt);n.removeEventListener("load",wt);i.ready()}function ot(){this.expando=i.expando+ot.uid++}function ar(n,t,i){var r;if(void 0===i&&1===n.nodeType)if(r="data-"+t.replace(ie,"-$&").toLowerCase(),i=n.getAttribute(r),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:te.test(i)?JSON.parse(i):i)}catch(u){}e.set(n,t,i)}else i=void 0;return i}function pr(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)&&st.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 re(n){var r,f=n.ownerDocument,u=n.nodeName,t=ei[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),"none"===t&&(t="block"),ei[u]=t,t)}function g(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)u=n[i],u.style&&(e=u.style.display,t?("none"===e&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),""===u.style.display&&bt(u)&&(f[i]=re(u))):"none"!==e&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)null!=f[i]&&(n[i].style.display=f[i]);return n}function o(n,t){var r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):[];return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function oi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function gr(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||0===e)if("object"===i.type(e))i.merge(y,e.nodeType?[e]:e);else if(dr.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(br.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];)if(u&&i.inArray(e,u)>-1)f&&f.push(e);else if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&oi(s),r)for(v=0;e=s[v++];)kr.test(e.type||"")&&r.push(e);return h}function dt(){return!0}function nt(){return!1}function tu(){try{return u.activeElement}catch(n){}}function si(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)si(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),f===!1)f=nt;else if(!f)return n;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function iu(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n:n}function le(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function ae(n){var t=he.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ru(n,t){var u,c,f,s,h,l,a,o;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),o=s.events)){delete h.handle;h.events={};for(f in o)for(u=0,c=o[f].length;u<c;u++)i.event.add(t,f,o[f][u])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function ve(n,t){var i=t.nodeName.toLowerCase();"input"===i&&wr.test(n.type)?t.checked=n.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=n.defaultValue)}function tt(n,t,u,e){t=bi.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,k=v-1,y=t[0],b=i.isFunction(y);if(b||v>1&&"string"==typeof y&&!f.checkClone&&se.test(y))return n.each(function(i){var r=n.eq(i);b&&(t[0]=y.call(this,i,r.html()));tt(r,t,u,e)});if(v&&(l=gr(t,n[0].ownerDocument,!1,n,e),p=l.firstChild,1===l.childNodes.length&&(l=p),p||e)){for(c=i.map(o(l,"script"),le),a=c.length;h<v;h++)s=l,h!==k&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,ae),h=0;h<a;h++)s=c[h],kr.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):gi(s.textContent.replace(ce,""),w))}return n}function uu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&oi(o(u,"script")),u.parentNode.removeChild(u));return n}function ht(n,t,r){var o,s,h,u,e=n.style;return r=r||gt(n),r&&(u=r.getPropertyValue(t)||r[t],""!==u||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),!f.pixelMarginRight()&&hi.test(u)&&fu.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h)),void 0!==u?u+"":u}function eu(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function cu(n){if(n in hu)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=su.length;t--;)if(n=su[t]+i,n in hu)return n}function lu(n,t,i){var r=st.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function au(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;e<4;e+=2)"margin"===r&&(o+=i.css(n,r+w[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+w[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+w[e]+"Width",!0,f))):(o+=i.css(n,"padding"+w[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+w[e]+"Width",!0,f)));return o}function vu(n,t,r){var u,o=!0,e=gt(n),s="border-box"===i.css(n,"boxSizing",!1,e);if(n.getClientRects().length&&(u=n.getBoundingClientRect()[t]),u<=0||null==u){if(u=ht(n,t,e),(u<0||null==u)&&(u=n.style[t]),hi.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+au(n,t,r||(s?"border":"content"),o,e)+"px"}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function wu(){rt&&(n.requestAnimationFrame(wu),i.fx.tick())}function bu(){return n.setTimeout(function(){it=void 0}),it=i.now()}function ni(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function ku(n,t,i){for(var u,f=(l.tweeners[t]||[]).concat(l.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function we(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&bt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),null==c.unqueued&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],yu.test(y)){if(delete t[f],w=w||"toggle"===y,y===(a?"hide":"show")){if("show"!==y||!e||void 0===e[f])continue;a=!0}p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&1===n.nodeType&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,null==o&&(o=r.get(n,"display")),l=i.css(n,"display"),"none"===l&&(o?l=o:(g([n],!0),o=n.style.display||o,l=i.css(n,"display"),g([n]))),("inline"===l||"inline-block"===l&&null!=o)&&"none"===i.css(n,"float")&&(s||(v.done(function(){h.display=o}),null==o&&(l=h.display,o="none"===l?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&g([n],!0),v.done(function(){a||g([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=ku(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function be(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function l(n,t,r){var e,o,s=0,a=l.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=it||bu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),i<1&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:it||bu(),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;i<r;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(be(h,u.opts.specialEasing);s<a;s++)if(e=l.prefilters[s].call(u,n,h,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,ku,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function b(n){return n.getAttribute&&n.getAttribute("class")||""}function ai(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||ke.test(n)?u(n,i):ai(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)ai(n+"["+f+"]",t[f],r,u)}function sf(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function hf(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===vi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function pi(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function eo(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function oo(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 lf(n){return i.isWindow(n)?n:9===n.nodeType&&n.defaultView}var y=[],u=n.document,yf=Object.getPrototypeOf,p=y.slice,bi=y.concat,ri=y.push,lt=y.indexOf,at={},ki=at.toString,vt=at.hasOwnProperty,di=vt.toString,pf=di.call(Object),f={},nr="3.1.0",i=function(n,t){return new i.fn.init(n,t)},wf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bf=/^-ms-/,kf=/-([a-z])/g,df=function(n,t){return t.toUpperCase()},v,ur,fr,er,or,sr,h,lr,pt,a,et,ei,dr,it,rt,yu,pu,du,ut,gu,nf,ti,tf,rf,ci,cf,ft,wi,ii,af,vf;i.fn=i.prototype={jquery:nr,constructor:i,length:0,toArray:function(){return p.call(this)},get:function(n){return null!=n?n<0?this[n+this.length]:this[n]:p.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,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(p.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ri,sort:y.sort,splice:y.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if(null!=(e=arguments[u]))for(f in e)r=n[f],t=e[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(o=i.isArray(t)))?(o?(o=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(nr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray,isWindow:function(n){return null!=n&&n===n.window},isNumeric:function(n){var t=i.type(n);return("number"===t||"string"===t)&&!isNaN(n-parseFloat(n))},isPlainObject:function(n){var t,i;return!(!n||"[object Object]"!==ki.call(n))&&(!(t=yf(n))||(i=vt.call(t,"constructor")&&t.constructor,"function"==typeof i&&di.call(i)===pf))},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?at[ki.call(n)]||"object":typeof n},globalEval:function(n){gi(n)},camelCase:function(n){return n.replace(bf,"ms-").replace(kf,df)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ui(n)){for(r=n.length;i<r;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(wf,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ui(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ri.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:lt.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;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(ui(n))for(e=n.length;r<e;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 bi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;if("string"==typeof t&&(u=n[t],t=n,n=u),i.isFunction(n))return f=p.call(arguments,2),r=function(){return n.apply(t||this,f.concat(p.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r},now:Date.now,support:f});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=y[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){at["[object "+t+"]"]=t.toLowerCase()});v=function(n){function u(n,t,r,u){var s,w,l,a,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:h)!==i&&b(t),t=t||i,c)){if(11!==v&&(d=cr.exec(n)))if(s=d[1]){if(9===v){if(!(l=t.getElementById(s)))return r;if(l.id===s)return r.push(l),r}else if(p&&(l=p.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=d[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(1!==v)p=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(vi,yi):t.setAttribute("id",a=e),y=ft(n),w=y.length;w--;)y[w]="#"+a+" "+yt(y[w]);g=y.join(",");p=ni.test(n)&&ri(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(nt){}finally{a===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ti(){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("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(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&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function vr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function bi(n){return function(t){return"label"in t&&t.disabled===n||"form"in t&&t.disabled===n||"form"in t&&t.disabled===!1&&(t.isDisabled===n||t.isDisabled!==!n&&("label"in t||!lr(t))!==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 ri(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function ki(){}function yt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function pt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&"parentNode"===f,s=di++;return t.first?function(t,i,u){while(t=t[r])if(1===t.nodeType||o)return n(t,i,u)}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((1===t.nodeType||o)&&n(t,i,h))return!0}else while(t=t[r])if(1===t.nodeType||o)if(a=t[e]||(t[e]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[f]=y,y[2]=n(t,i,h))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 yr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function wt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;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||yr(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?b:wt(b,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=wt(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=wt(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=pt(function(n){return n===o},c,!0),a=pt(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}];i<s;i++)if(u=t.relative[n[i].type])f=[pt(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;r<s;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,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&yt(n))}f.push(u)}return ui(f)}function pr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,h,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),h=!c);d=n[nt++];)if(d(y,s||i,h)){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,h);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=nr.call(l));w=wt(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,bt,si,ht,w,ut,b,i,s,c,o,d,ct,et,e="sizzle"+1*new Date,h=n.document,v=0,di=0,hi=ti(),ci=ti(),lt=ti(),kt=function(n,t){return n===t&&(ut=!0),0},gi={}.hasOwnProperty,g=[],nr=g.pop,tr=g.push,k=g.push,li=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},dt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ai="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",gt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ai+")*)|.*)\\)|)",ir=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),rr=new RegExp("^"+r+"*,"+r+"*"),ur=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),fr=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),er=new RegExp(gt),or=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+ai),PSEUDO:new RegExp("^"+gt),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("^(?:"+dt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ni=/[+~]/,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:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},vi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,yi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},pi=function(){b()},lr=pt(function(n){return n.disabled===!0},{dir:"parentNode",next:"legend"});try{k.apply(g=li.call(h.childNodes),h.childNodes);g[h.childNodes.length].nodeType}catch(wr){k={apply:g.length?function(n,t){tr.apply(n,li.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};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:h;return l!==i&&9===l.nodeType&&l.documentElement?(i=l,s=i.documentElement,c=!oi(i),h!==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&&c){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&&c)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|"+dt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");2!==n.querySelectorAll(":enabled").length&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;2!==n.querySelectorAll(":disabled").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,"*");ct.call(n,"[s!='']:x");d.push("!=",gt)}),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},kt=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===h&&et(h,n)?-1:t===i||t.ownerDocument===h&&et(h,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]===h?-1:e[u]===h?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(fr,"='$1']"),f.matchesSelector&&c&&!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&&gi.call(t.attrHandle,r.toLowerCase())?e(n,r,!c):void 0;return void 0!==u?u:f.attributes||!c?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(vi,yi)};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(kt),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&&er.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(ir," ")+" ").indexOf(i)>-1:"|="===t&&(f===i||f.slice(0,i.length+1)===i+"-"))}},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=bt(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 or.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=c?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:bi(!1),disabled:bi(!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 hr.test(n.nodeName)},input:function(n){return sr.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[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?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]=ar(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=vr(rt);return ki.prototype=t.filters=t.pseudos,t.setFilters=new ki,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=rr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=ur.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)},bt=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,pr(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,h=!u&&ft(n=l.selector||n);if(r=r||[],1===h.length){if(e=h[0]=h[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&f.getById&&9===i.nodeType&&c&&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),ni.test(e[0].type)&&ri(i.parentNode)||i))){if(e.splice(s,1),n=u.length&&yt(e),!n)return k.apply(r,u),r;break}}}return(l||bt(n,h))(u,i,!c,r,!i||ni.test(n)&&ri(i.parentNode)||i),r},f.sortStable=e.split("").sort(kt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("fieldset"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ii("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")})||ii("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ii(dt,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=v;i.expr=v.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=v.uniqueSort;i.text=v.getText;i.isXMLDoc=v.isXML;i.contains=v.contains;i.escapeSelector=v.escape;var k=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},tr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},ir=i.expr.match.needsContext,rr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,gf=/^.[^:#\[\.,]*$/;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.length,f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(fi(this,n||[],!1))},not:function(n){return this.pushStack(fi(this,n||[],!0))},is:function(n){return!!fi(this,"string"==typeof n&&ir.test(n)?i(n):n||[],!1).length}});fr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;er=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||ur,"string"==typeof n){if(f="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:fr.exec(n),!f||!f[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),rr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&(this[0]=e,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):i.isFunction(n)?void 0!==r.ready?r.ready(n):n(i):i.makeArray(n,this)};er.prototype=i.fn;ur=i(u);or=/^(?:parents|prev(?:Until|All))/;sr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e="string"!=typeof n&&i(n);if(!ir.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?lt.call(i(n),this[0]):lt.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return k(n,"parentNode")},parentsUntil:function(n,t,i){return k(n,"parentNode",i)},next:function(n){return hr(n,"nextSibling")},prev:function(n){return hr(n,"previousSibling")},nextAll:function(n){return k(n,"nextSibling")},prevAll:function(n){return k(n,"previousSibling")},nextUntil:function(n,t,i){return k(n,"nextSibling",i)},prevUntil:function(n,t,i){return k(n,"previousSibling",i)},siblings:function(n){return tr((n.parentNode||{}).firstChild,n)},children:function(n){return tr(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(sr[n]||i.uniqueSort(f),or.test(n)&&f.reverse()),this.pushStack(f)}});h=/\S+/g;i.Callbacks=function(n){n="string"==typeof n?ne(n):i.extend({},n);var f,r,h,e,t=[],o=[],u=-1,c=function(){for(e=n.once,h=f=!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);f=!1;e&&(t=r?[]:"")},s={add:function(){return t&&(r&&!f&&(u=t.length-1,o.push(r)),function e(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)&&e(u)})}(arguments),r&&!f&&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),f<=u&&u--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return e=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return e=o=[],r||f||(t=r=""),this},locked:function(){return!!e},fireWith:function(n,t){return e||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),f||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(t){var u=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],e="pending",f={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return f.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(u,function(u,f){var e=i.isFunction(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,f){function o(t,r,u,f){return function(){var s=this,h=arguments,l=function(){var n,c;if(!(t<e)){if(n=u.apply(s,h),n===r.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then;i.isFunction(c)?f?c.call(n,o(e,r,d,f),o(e,r,yt,f)):(e++,c.call(n,o(e,r,d,f),o(e,r,yt,f),o(e,r,d,r.notifyWith))):(u!==d&&(s=void 0,h=[n]),(f||r.resolveWith)(s,h))}},c=f?l:function(){try{l()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,c.stackTrace);t+1>=e&&(u!==yt&&(s=void 0,h=[n]),r.rejectWith(s,h))}};t?c():(i.Deferred.getStackHook&&(c.stackTrace=i.Deferred.getStackHook()),n.setTimeout(c))}}var e=0;return i.Deferred(function(n){u[0][3].add(o(0,n,i.isFunction(f)?f:d,n.notifyWith));u[1][3].add(o(0,n,i.isFunction(t)?t:d));u[2][3].add(o(0,n,i.isFunction(r)?r:yt))}).promise()},promise:function(n){return null!=n?i.extend(n,f):f}},r={};return i.each(u,function(n,t){var i=t[2],o=t[5];f[t[1]]=i.add;o&&i.add(function(){e=o},u[3-n][2].disable,u[0][2].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this};r[t[0]+"With"]=i.fireWith}),f.promise(r),t&&t.call(r,r),r},when:function(n){var f=arguments.length,t=f,e=Array(t),u=p.call(arguments),r=i.Deferred(),o=function(n){return function(t){e[n]=this;u[n]=arguments.length>1?p.call(arguments):t;--f||r.resolveWith(e,u)}};if(f<=1&&(cr(n,r.done(o(t)).resolve,r.reject),"pending"===r.state()||i.isFunction(u[t]&&u[t].then)))return r.then();while(t--)cr(u[t],o(t),r.reject);return r.promise()}});lr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&lr.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};pt=i.Deferred();i.fn.ready=function(n){return pt.then(n)["catch"](function(n){i.readyException(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||pt.resolveWith(u,[i]))}});i.ready.then=pt.then;"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?n.setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",wt),n.addEventListener("load",wt));a=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)a(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;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};et=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};ot.uid=1;ot.prototype={cache:function(n){var t=n[this.expando];return t||(t={},et(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,r){var u,f=this.cache(n);if("string"==typeof t)f[i.camelCase(t)]=r;else for(u in t)f[i.camelCase(u)]=t[u];return f},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][i.camelCase(t)]},access:function(n,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(n,t):(this.set(n,t,i),void 0!==i?i:t)},remove:function(n,t){var u,r=n[this.expando];if(void 0!==r){if(void 0!==t)for(i.isArray(t)?t=t.map(i.camelCase):(t=i.camelCase(t),t=(t in r)?[t]:t.match(h)||[]),u=t.length;u--;)delete r[t[u]];(void 0===t||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new ot,e=new ot,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(void 0===n){if(this.length&&(s=e.get(u),1===u.nodeType&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),ar(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return"object"==typeof n?this.each(function(){e.set(this,n)}):a(this,function(t){var i;if(u&&void 0===t){if((i=e.get(u,n),void 0!==i)||(i=ar(u,n),void 0!==i))return i}else this.each(function(){e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var vr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,st=new RegExp("^(?:([+-])=|)("+vr+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],bt=function(n,t){return n=t||n,"none"===n.style.display||""===n.style.display&&i.contains(n.ownerDocument,n)&&"none"===i.css(n,"display")},yr=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};ei={};i.fn.extend({show:function(){return g(this,!0)},hide:function(){return g(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){bt(this)?i(this).show():i(this).hide()})}});var wr=/^(?:checkbox|radio)$/i,br=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,kr=/^$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;dr=/<|&#?\w+;/;!function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var kt=u.documentElement,ue=/^key/,fe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),e&&i.find.matchesSelector(kt,e),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){if("undefined"!=typeof i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),t=(t||"").match(h)||[""],b=t.length;b--;)w=nu.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;)if(c=nu.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),o){for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var t=i.event.fix(n),u,c,s,e,f,l,h=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(f.namespace)||(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),void 0!==s&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.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;e<s;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},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:i.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==tu()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===tu()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i.nodeName(this,"input"))return this.click(),!1},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&n.returnValue===!1?dt:nt,this.target=n.target&&3===n.target.nodeType?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={constructor:i.Event,isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=dt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=dt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=dt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return null==n.which&&ue.test(n.type)?null!=n.charCode?n.charCode:n.keyCode:!n.which&&void 0!==t&&fe.test(n.type)?1&t?1:2&t?3:4&t?2:0:n.which}},i.event.addProp);i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return si(this,n,t,i,r)},one:function(n,t,i,r){return si(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return t!==!1&&"function"!=typeof t||(r=t,t=void 0),r===!1&&(r=nt),this.each(function(){i.event.remove(this,n,r,t)})}});var ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,oe=/<script|<style|<link/i,se=/checked\s*(?:[^=]|=\s*.checked.)/i,he=/^true\/(.*)/,ce=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(ee,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!(f.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=o(h),s=o(n),u=0,c=s.length;u<c;u++)ve(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;u<c;u++)ru(s[u],e[u]);else ru(n,h);return e=o(h,"script"),e.length>0&&oi(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;void 0!==(t=n[o]);o++)if(et(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[e.expando]&&(t[e.expando]=void 0)}}});i.fn.extend({detach:function(n){return uu(this,n,!0)},remove:function(n){return uu(this,n)},text:function(n){return a(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return tt(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=iu(this,n);t.appendChild(n)}})},prepend:function(){return tt(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=iu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return tt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return tt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return a(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!oe.test(n)&&!c[(br.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},1===t.nodeType&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return tt(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ri.apply(f,u.get());return this.pushStack(f)}});var fu=/^margin/,hi=new RegExp("^("+vr+")(?!px)[a-z%]+$","i"),gt=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)};!function(){function r(){if(t){t.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";kt.appendChild(e);var i=n.getComputedStyle(t);o="1%"!==i.top;c="2px"===i.marginLeft;s="4px"===i.width;t.style.marginRight="50%";h="4px"===i.marginRight;kt.removeChild(e);t=null}}var o,s,h,c,e=u.createElement("div"),t=u.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===t.style.backgroundClip,e.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",e.appendChild(t),i.extend(f,{pixelPosition:function(){return r(),o},boxSizingReliable:function(){return r(),s},pixelMarginRight:function(){return r(),h},reliableMarginLeft:function(){return r(),c}}))}();var ye=/^(none|table(?!-c[ea]).+)/,pe={position:"absolute",visibility:"hidden",display:"block"},ou={letterSpacing:"0",fontWeight:"400"},su=["Webkit","Moz","ms"],hu=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=ht(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;return t=i.cssProps[s]||(i.cssProps[s]=cu(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===r?o&&"get"in o&&void 0!==(e=o.get(n,!1,u))?e:c[t]:(h=typeof r,"string"===h&&(e=st.exec(r))&&e[1]&&(r=pr(n,t,e),h="number"),null!=r&&r===r&&("number"===h&&(r+=e&&e[3]||(i.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(c[t]=r)),void 0)}},css:function(n,t,r,u){var f,s,o,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=cu(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=ht(n,t,u)),"normal"===f&&t in ou&&(f=ou[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!ye.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?vu(n,t,u):yr(n,pe,function(){return vu(n,t,u)})},set:function(n,r,u){var f,e=u&&gt(n),o=u&&au(n,t,u,"border-box"===i.css(n,"boxSizing",!1,e),e);return o&&(f=st.exec(r))&&"px"!==(f[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),lu(n,r,o)}}});i.cssHooks.marginLeft=eu(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(ht(n,"marginLeft"))||n.getBoundingClientRect().left-yr(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"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];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};fu.test(n)||(i.cssHooks[n+t].set=lu)});i.fn.extend({css:function(n,t){return a(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=gt(n),e=t.length;u<e;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)}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||null==n.elem.style[i.cssProps[n.prop]]&&!i.cssHooks[n.prop]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=s.prototype.init;i.fx.step={};yu=/^(?:toggle|show|hide)$/;pu=/queueHooks$/;i.Animation=i.extend(l,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return pr(i.elem,n,st.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;u<f;u++)r=n[u],l.tweeners[r]=l.tweeners[r]||[],l.tweeners[r].unshift(t)},prefilters:[we],prefilter:function(n,t){t?l.prefilters.unshift(n):l.prefilters.push(n)}});i.speed=function(n,t,r){var f=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 f.duration=i.fx.off||u.hidden?0:"number"==typeof f.duration?f.duration:f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default,null!=f.queue&&f.queue!==!0||(f.queue="fx"),f.old=f.complete,f.complete=function(){i.isFunction(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(bt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=l(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&pu.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));!s&&u||i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(ni(t,!0),n,i,u)}});i.each({slideDown:ni("show"),slideUp:ni("hide"),slideToggle:ni("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(it=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();it=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){rt||(rt=n.requestAnimationFrame?n.requestAnimationFrame(wu):n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.cancelAnimationFrame?n.cancelAnimationFrame(rt):n.clearInterval(rt);rt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=""!==n.value;f.optSelected=i.selected;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue="t"===n.value}();ut=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return a(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?du:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):f&&"set"in f&&void 0!==(u=f.set(n,r,t))?u:(n.setAttribute(t,r+""),r):f&&"get"in f&&null!==(u=f.get(n,t))?u:(u=i.find.attr(n,t),null==u?void 0:u))},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(h);if(r&&1===n.nodeType)while(i=r[u++])n.removeAttribute(i)}});du={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=ut[t]||i.find.attr;ut[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=ut[u],ut[u]=f,f=null!=r(n,t,i)?u:null,ut[u]=e),f}});gu=/^(?:input|select|textarea|button)$/i;nf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return a(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):gu.test(n.nodeName)||nf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});ti=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,b(this)))});if("string"==typeof n&&n)for(o=n.match(h)||[];t=this[c++];)if(u=b(t),r=1===t.nodeType&&(" "+u+" ").replace(ti," ")){for(s=0;f=o[s++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");e=i.trim(r);u!==e&&t.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,b(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(o=n.match(h)||[];r=this[c++];)if(u=b(r),t=1===r.nodeType&&(" "+u+" ").replace(ti," ")){for(s=0;f=o[s++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return"boolean"==typeof t&&"string"===u?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,b(this),t),t)}):this.each(function(){var t,e,f,o;if("string"===u)for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else void 0!==n&&"boolean"!==u||(t=b(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+b(t)+" ").replace(ti," ").indexOf(i)>-1)return!0;return!1}});tf=/\r/g;rf=/[\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(tf,""):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(rf," ")}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u="select-one"===n.type,s=u?null:[],h=u?r+1:o.length,f=r<0?h:u?r:0;f<h;f++)if(t=o[f],(t.selected||f===r)&&!t.disabled&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),u)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});ci=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=vt.call(t,"type")?t.type:t,y=vt.call(t,"namespace")?t.namespace.split("."):[];if(s=c=e=e||u,3!==e.nodeType&&8!==e.nodeType&&!ci.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,ci.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&et(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||l._default&&l._default.apply(p.pop(),f)!==!1||!et(e)||a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=void 0,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ct=n.location,uf=i.now(),li=/\?/;i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var ke=/\[\]$/,ff=/\r?\n/g,de=/^(?:submit|button|image|reset|file)$/i,ge=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){var r=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==r?"":r)};if(i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)ai(r,n[r],t,f);return u.join("&")};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")&&ge.test(this.nodeName)&&!de.test(n)&&(this.checked||!wr.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(ff,"\r\n")}}):{name:t.name,value:r.replace(ff,"\r\n")}}).get()}});var no=/%20/g,to=/#.*$/,io=/([?&])_=[^&]*/,ro=/^(.*?):[ \t]*([^\r\n]*)$/gm,uo=/^(?:GET|HEAD)$/,fo=/^\/\//,ef={},vi={},of="*/".concat("*"),yi=u.createElement("a");return yi.href=ct.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":of,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":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?pi(pi(n,i.ajaxSettings),t):pi(i.ajaxSettings,n)},ajaxPrefilter:sf(ef),ajaxTransport:sf(vi),ajax:function(t,r){function b(t,r,u,h){var y,rt,g,p,b,l=r;s||(s=!0,d&&n.clearTimeout(d),a=void 0,k=h||"",e.readyState=t>0?4:0,y=t>=200&&t<300||304===t,u&&(p=eo(f,e,u)),p=oo(f,p,e,y),y?(f.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),204===t||"HEAD"===f.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,g=p.error,y=!g)):(g=l,!t&&l||(l="error",t<0&&(t=0))),e.status=t,e.statusText=(r||l)+"",y?tt.resolveWith(c,[rt,l,e]):tt.rejectWith(c,[e,l,g]),e.statusCode(w),w=void 0,v&&nt.trigger(y?"ajaxSuccess":"ajaxError",[e,f,y?rt:g]),it.fireWith(c,[e,l]),v&&(nt.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var a,o,k,y,d,l,s,v,g,p,f=i.ajaxSetup({},r),c=f.context||f,nt=f.context&&(c.nodeType||c.jquery)?i(c):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=f.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!y)for(y={};t=ro.exec(k);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return null==s&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return null==s&&(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return a&&a.abort(t),b(0,t),this}};if(tt.promise(e),f.url=((t||f.url||ct.href)+"").replace(fo,ct.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(h)||[""],null==f.crossDomain){l=u.createElement("a");try{l.href=f.url;l.href=l.href;f.crossDomain=yi.protocol+"//"+yi.host!=l.protocol+"//"+l.host}catch(et){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=i.param(f.data,f.traditional)),hf(ef,f,r,e),s)return e;v=i.event&&f.global;v&&0==i.active++&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!uo.test(f.type);o=f.url.replace(to,"");f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(no,"+")):(p=f.url.slice(o.length),f.data&&(o+=(li.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(o=o.replace(io,""),p=(li.test(o)?"&":"?")+"_="+uf+++p),f.url=o+p);f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&f.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+of+"; q=0.01":""):f.accepts["*"]);for(g in f.headers)e.setRequestHeader(g,f.headers[g]);if(f.beforeSend&&(f.beforeSend.call(c,e,f)===!1||s))return e.abort();if(ft="abort",it.add(f.complete),e.done(f.success),e.fail(f.error),a=hf(vi,f,r,e)){if(e.readyState=1,v&&nt.trigger("ajaxSend",[e,f]),s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=!1;a.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(i.isFunction(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},cf={0:200,1223:204},ft=i.ajaxSettings.xhr(),f.cors=!!ft&&"withCredentials"in ft,f.ajax=ft=!!ft,i.ajaxTransport(function(t){var i,r;if(f.cors||ft&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(cf[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),wi=[],ii=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=wi.pop()||i.expando+"_"+uf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ii.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.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(ii,"$1"+f):t.jsonp!==!1&&(t.url+=(li.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,wi.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=void 0}),"script"}),f.createHTMLDocument=function(){var n=u.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",2===n.childNodes.length}(),i.parseHTML=function(n,t,r){if("string"!=typeof n)return[];"boolean"==typeof t&&(r=t,t=!1);var s,e,o;return t||(f.createHTMLDocument?(t=u.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=u.location.href,t.head.appendChild(s)):t=u),e=rr.exec(n),o=!r&&[],e?[t.createElement(e[1])]:(e=gr([n],t,o),o&&o.length&&i(o).remove(),i.merge([],e.childNodes))},i.fn.load=function(n,t,r){var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var u,f,t,e,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),t.width||t.height?(e=r.ownerDocument,f=lf(e),u=e.documentElement,{top:t.top+f.pageYOffset-u.clientTop,left:t.left+f.pageXOffset-u.clientLeft}):t):{top:0,left:0}},position:function(){if(this[0]){var t,r,u=this[0],n={top:0,left:0};return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(t=this.offsetParent(),r=this.offset(),i.nodeName(t[0],"html")||(n=t.offset()),n={top:n.top+i.css(t[0],"borderTopWidth",!0),left:n.left+i.css(t[0],"borderLeftWidth",!0)}),{top:r.top-n.top-i.css(u,"marginTop",!0),left:r.left-n.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||kt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return a(this,function(n,i,u){var f=lf(n);return void 0===u?f?f[t]:n[i]:void(f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u)},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=eu(f.pixelPosition,function(n,r){if(r)return r=ht(n,t),hi.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(f,e){var o=arguments.length&&(r||"boolean"!=typeof f),s=r||(f===!0||e===!0?"margin":"border");return a(this,function(t,r,f){var e;return i.isWindow(t)?0===u.indexOf("outer")?t["inner"+n]:t.document.documentElement["client"+n]:9===t.nodeType?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):void 0===f?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:void 0,o)}})}),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.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),af=n.jQuery,vf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=vf),t&&n.jQuery===i&&(n.jQuery=af),i},t||(n.jQuery=n.$=i),i});!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.videojs=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(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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(2),h=u(s),c=n(5),l=u(c),r=function(n){function t(){return f(this,t),e(this,n.apply(this,arguments))}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(){this.player_.play()},t}(h["default"]);r.prototype.controlText_="Play Video";l["default"].registerComponent("BigPlayButton",r);i["default"]=r},{2:2,5:5}],2:[function(n,t,i){"use strict";function u(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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(3),a=u(l),v=n(5),f=u(v),y=n(86),e=u(y),r=n(88),o=function(n){function t(){return s(this,t),h(this,n.apply(this,arguments))}return c(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u;return n=r.assign({className:this.buildCSSClass()},n),"button"!==i&&(e["default"].warn("Creating a Button with an HTML element of "+i+" is deprecated; use ClickableComponent instead."),n=r.assign({tabIndex:0},n),t=r.assign({role:"button"},t)),t=r.assign({type:"button","aria-live":"polite"},t),u=f["default"].prototype.createEl.call(this,i,n,t),this.createControlTextEl(u),u},t.prototype.addChild=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.constructor.name;return e["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.enable=function(){n.prototype.enable.call(this);this.el_.removeAttribute("disabled")},t.prototype.disable=function(){n.prototype.disable.call(this);this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&n.prototype.handleKeyPress.call(this,t)},t}(a["default"]);f["default"].registerComponent("Button",o);i["default"]=o},{3:3,5:5,86:86,88:88}],3:[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 l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),f=u(y),p=n(81),w=r(p),b=n(82),e=r(b),k=n(83),o=r(k),d=n(86),g=u(d),nt=n(94),s=u(nt),h=n(88),c=function(n){function t(i,r){l(this,t);var u=a(this,n.call(this,i,r));return u.emitTapEvents(),u.enable(),u}return v(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u;return t=h.assign({className:this.buildCSSClass(),tabIndex:0},t),"button"===i&&g["default"].error("Creating a ClickableComponent with an HTML element of "+i+" is not supported; use a Button instead."),r=h.assign({role:"button","aria-live":"polite"},r),this.tabIndex_=t.tabIndex,u=n.prototype.createEl.call(this,i,t,r),this.createControlTextEl(u),u},t.prototype.createControlTextEl=function(n){return this.controlTextEl_=w.createEl("span",{className:"vjs-control-text"}),n&&n.appendChild(this.controlTextEl_),this.controlText(this.controlText_,n),this.controlTextEl_},t.prototype.controlText=function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el(),t;return n?(t=this.localize(n),this.controlText_=n,this.controlTextEl_.innerHTML=t,i.setAttribute("title",t),this):this.controlText_||"Need Text"},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),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},{5:5,81:81,82:82,83:83,86:86,88:88,94:94}],4:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(2),h=r(s),c=n(5),l=r(c),u=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.controlText(r&&r.controlText||u.localize("Close")),u}return o(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}(h["default"]);l["default"].registerComponent("CloseButton",u);i["default"]=u},{2:2,5:5}],5:[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 h(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(95),u=h(y),p=n(81),r=s(p),w=n(83),f=s(w),b=n(85),k=s(b),d=n(82),e=s(d),g=n(86),c=h(g),nt=n(91),o=h(nt),tt=n(87),l=h(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.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.off();this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_);r.removeElData(this.el_);this.el_=null},n.prototype.player=function(){return this.player_},n.prototype.options=function(n){return c["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 r.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.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){if(n)return n=o["default"](n),this.childNameIndex_[n]},n.prototype.addChild=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,u=void 0,e,f,h,l;if("string"==typeof t){if(u=o["default"](t),r||(r={}),r===!0&&(c["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||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(s,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())&&(h=this.contentEl().children,l=h[s]||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||o["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]&&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 r.$(n,t||this.contentEl())},n.prototype.$$=function(n,t){return r.$$(n,t||this.contentEl())},n.prototype.hasClass=function(n){return r.hasElClass(this.el_,n)},n.prototype.addClass=function(n){return r.addElClass(this.el_,n),this},n.prototype.removeClass=function(n){return r.removeElClass(this.el_,n),this},n.prototype.toggleClass=function(n,t){return r.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.getAttribute=function(n){return r.getAttribute(this.el_,n)},n.prototype.setAttribute=function(n,t){return r.setAttribute(this.el_,n,t),this},n.prototype.removeAttribute=function(n){return r.removeAttribute(this.el_,n),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]=(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?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 u!==-1?parseInt(r.slice(0,u),10):parseInt(this.el_["offset"+o["default"](n)],10)},n.prototype.currentDimension=function(n){var t=0,i,r;if("width"!==n&&"height"!==n)throw new Error("currentDimension only accepts width or height value");return"function"==typeof u["default"].getComputedStyle&&(i=u["default"].getComputedStyle(this.el_),t=i.getPropertyValue(n)||i[n]),(t=parseFloat(t),0===t)&&(r="offset"+o["default"](n),t=this.el_[r]),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;u<f&&(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=u["default"].setTimeout(n,t),r=function(){this.clearTimeout(i)};return r.guid="vjs-timeout-"+i,this.on("dispose",r),i},n.prototype.clearTimeout=function(n){u["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=u["default"].setInterval(n,t),r=function(){this.clearInterval(i)};return r.guid="vjs-interval-"+i,this.on("dispose",r),i},n.prototype.clearInterval=function(n){u["default"].clearInterval(n);var t=function(){};return t.guid="vjs-interval-"+n,this.off("dispose",t),n},n.registerComponent=function(t,i){if(t)return t=o["default"](t),n.components_||(n.components_={}),"Player"===t&&n.components_[t]&&!function(){var i=n.components_[t];if(i.players&&Object.keys(i.players).length>0&&Object.keys(i.players).map(function(n){return i.players[n]}).every(Boolean))throw new Error("Can not register Player component after player has been created");}(),n.components_[t]=i,i},n.getComponent=function(t){if(t)return t=o["default"](t),n.components_&&n.components_[t]?n.components_[t]:u["default"]&&u["default"].videojs&&u["default"].videojs[t]?(c["default"].warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),u["default"].videojs[t]):void 0},n.extend=function(t){var u,i,r;t=t||{};c["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},{81:81,82:82,83:83,85:85,86:86,87:87,91:91,95:95}],6:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(36),h=r(s),c=n(5),l=r(c),a=n(7),v=r(a),u=function(n){function t(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return f(this,t),u.tracks=i.audioTracks&&i.audioTracks(),r=e(this,n.call(this,i,u)),r.el_.setAttribute("aria-label","Audio Menu"),r}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 v["default"](this.player_,{track:r,selectable:!0}));return t},t}(h["default"]);u.prototype.controlText_="Audio Track";l["default"].registerComponent("AudioTrackButton",u);i["default"]=u},{36:36,5:5,7:7}],7:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(48),c=r(h),l=n(5),a=r(l),v=n(83),y=f(v),u=function(n){function t(i,r){var f,s,u;return e(this,t),f=r.track,s=i.audioTracks(),r.label=f.label||f.language||"Unknown",r.selected=f.enabled,u=o(this,n.call(this,i,r)),u.track=f,s&&!function(){var n=y.bind(u,u.handleTracksChange);s.addEventListener("change",n);u.on("dispose",function(){s.removeEventListener("change",n)})}(),u}return s(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.enabled=u===this.track},t.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},t}(c["default"]);a["default"].registerComponent("AudioTrackMenuItem",u);i["default"]=u},{48:48,5:5,83:83}],8:[function(n,t,i){"use strict";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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(12);n(32);n(33);n(35);n(34);n(10);n(18);n(9);n(38);n(40);n(11);n(25);n(27);n(29);n(24);n(6);n(13);n(21);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u["default"]);r.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]};u["default"].registerComponent("ControlBar",r);i["default"]=r},{10:10,11:11,12:12,13:13,18:18,21:21,24:24,25:25,27:27,29:29,32:32,33:33,34:34,35:35,38:38,40:40,5:5,6:6,9:9}],9:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(2),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.on(i,"fullscreenchange",u.handleFullscreenChange),u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(h["default"]);r.prototype.controlText_="Fullscreen";l["default"].registerComponent("FullscreenToggle",r);i["default"]=r},{2:2,5:5}],10:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),r=e(c),l=n(81),a=f(l),u=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.updateShowing(),u.on(u.player(),"durationchange",u.updateShowing),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"<\/span>"+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},{5:5,81:81}],11:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(2),l=u(c),a=n(5),v=u(a),y=n(81),f=e(y),r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"volumechange",u.update),i.tech_&&i.tech_.featuresVolumeControl===!1&&u.addClass("vjs-hidden"),u.on(i,"loadstart",function(){this.update();i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),u}return h(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())},t.prototype.update=function(){var i=this.player_.volume(),n=3,r,t;for(0===i||this.player_.muted()?n=0:i<.33?n=1:i<.67&&(n=2),r=this.player_.muted()?"Unmute":"Mute",this.controlText()!==r&&this.controlText(r),t=0;t<4;t++)f.removeElClass(this.el_,"vjs-vol-"+t);f.addElClass(this.el_,"vjs-vol-"+n)},t}(l["default"]);r.prototype.controlText_="Mute";v["default"].registerComponent("MuteToggle",r);i["default"]=r},{2:2,5:5,81:81}],12:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(2),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.on(i,"play",u.handlePlay),u.on(i,"pause",u.handlePause),u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(){this.removeClass("vjs-paused");this.addClass("vjs-playing");this.controlText("Pause")},t.prototype.handlePause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.controlText("Play")},t}(h["default"]);r.prototype.controlText_="Play";l["default"].registerComponent("PlayToggle",r);i["default"]=r},{2:2,5:5}],13:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(47),c=r(h),l=n(49),a=r(l),v=n(14),y=r(v),p=n(5),w=r(p),b=n(81),k=f(b),u=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));return u.updateVisibility(),u.updateLabel(),u.on(i,"loadstart",u.updateVisibility),u.on(i,"ratechange",u.updateLabel),u}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=k.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 a["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new y["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.player().playbackRate()+"x")},t}(c["default"]);u.prototype.controlText_="Playback Rate";w["default"].registerComponent("PlaybackRateMenuButton",u);i["default"]=u},{14:14,47:47,49:49,5:5,81:81}],14:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(48),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r){var o,s,u;return f(this,t),o=r.rate,s=parseFloat(o,10),r.label=o,r.selected=1===s,u=e(this,n.call(this,i,r)),u.label=o,u.rate=s,u.on(i,"ratechange",u.update),u}return o(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}(h["default"]);r.prototype.contentElType="button";l["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r},{48:48,5:5}],15:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),r=e(c),l=n(81),a=f(l),u=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.partEls_=[],u.on(i,"progress",u.update),u}return h(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.localize("Loaded")+"<\/span>: 0%<\/span>"})},t.prototype.update=function(){var t=this.player_.buffered(),s=this.player_.duration(),f=this.player_.bufferedEnd(),i=this.partEls_,e=function(n,t){var i=n/t||0;return 100*(i>=1?1:i)+"%"},n,u;for(this.el_.style.width=e(f,s),n=0;n<t.length;n++){var o=t.start(n),h=t.end(n),r=i[n];r||(r=this.el_.appendChild(a.createEl()),i[n]=r);r.style.left=e(o,f);r.style.width=e(h-o,f)}for(u=i.length;u>t.length;u--)this.el_.removeChild(i[u-1]);i.length=t.length},t}(r["default"]);r["default"].registerComponent("LoadProgressBar",u);i["default"]=u},{5:5,81:81}],16:[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 c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),o=r(v),y=n(81),u=e(y),p=n(83),s=e(p),w=n(84),b=r(w),k=n(80),f=r(k),h=function(n){function t(i,r){c(this,t);var f=l(this,n.call(this,i,r));return r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(f.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),f.keepTooltipsInside&&(f.tooltip=u.createEl("div",{className:"vjs-time-tooltip"}),f.el().appendChild(f.tooltip),f.addClass("vjs-keep-tooltips-inside")),f.update(0,0),i.on("ready",function(){f.on(i.controlBar.progressControl.el(),"mousemove",s.throttle(s.bind(f,f.handleMouseMove),25))}),f}return a(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-u.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),u=t-r+1,e=parseFloat(f["default"](this.tooltip,"width")),o=e/2;this.tooltip.innerHTML=i;this.tooltip.style.right="-"+(o-u)+"px"}},t.prototype.calculateDistance=function(n){return u.getPointerPosition(this.el().parentNode,n).x},t.prototype.clampPosition_=function(n){if(!this.keepTooltipsInside)return n;var r=parseFloat(f["default"](this.player().el(),"width")),u=parseFloat(f["default"](this.tooltip,"width")),t=u/2,i=n;return n<t?i=Math.ceil(t):n>r-t&&(i=Math.floor(r-t)),i},t}(o["default"]);o["default"].registerComponent("MouseTimeDisplay",h);i["default"]=h},{5:5,80:80,81:81,83:83,84:84}],17:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=r(c),l=n(83),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.updateDataAttr(),u.on(i,"timeupdate",u.updateDataAttr),i.ready(a.bind(u,u.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),u.keepTooltipsInside&&u.addClass("vjs-keep-tooltips-inside"),u}return h(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.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}(u["default"]);u["default"].registerComponent("PlayProgressBar",f);i["default"]=f},{5:5,83:83,84:84}],18:[function(n,t,i){"use strict";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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(19);n(16);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u["default"]);r.prototype.options_={children:["seekBar"]};u["default"].registerComponent("ProgressControl",r);i["default"]=r},{16:16,19:19,5:5}],19:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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)}var r;i.__esModule=!0;var c=n(57),l=u(c),a=n(5),v=u(a),y=n(83),p=e(y),w=n(84),b=u(w),k=n(80),f=u(k);n(15);n(17);n(20);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"timeupdate",u.updateProgress),u.on(i,"ended",u.updateProgress),i.ready(p.bind(u,u.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),u.keepTooltipsInside&&(u.tooltipProgressBar=u.addChild("TooltipProgressBar")),u}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.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(f["default"](this.player().el(),"width")),n=parseFloat(f["default"](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 t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2));n.setAttribute("aria-valuetext",b["default"](t,this.player_.duration()))},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}(l["default"]);r.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"};r.prototype.playerEvent="timeupdate";v["default"].registerComponent("SeekBar",r);i["default"]=r},{15:15,17:17,20:20,5:5,57:57,80:80,83:83,84:84}],20:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=r(c),l=n(83),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.updateDataAttr(),u.on(i,"timeupdate",u.updateDataAttr),i.ready(a.bind(u,u.updateDataAttr)),u}return h(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}(u["default"]);u["default"].registerComponent("TooltipProgressBar",f);i["default"]=f},{5:5,83:83,84:84}],21:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(22),h=r(s),c=n(5),l=r(c),u=function(n){function t(){return f(this,t),e(this,n.apply(this,arguments))}return o(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}(h["default"]);l["default"].registerComponent("CustomControlSpacer",u);i["default"]=u},{22:22,5:5}],22:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(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},{5:5}],23:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(31),h=r(s),c=n(5),l=r(c),u=function(n){function t(i,r){f(this,t);r.track={player:i,kind:r.kind,label:r.kind+" settings",selectable:!1,"default":!1,mode:"disabled"};r.selectable=!1;var u=e(this,n.call(this,i,r));return u.addClass("vjs-texttrack-settings"),u.controlText(", opens "+r.kind+" settings dialog"),u}return o(t,n),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show();this.player().getChild("textTrackSettings").el_.focus()},t}(h["default"]);l["default"].registerComponent("CaptionSettingsMenuItem",u);i["default"]=u},{31:31,5:5}],24:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(30),h=u(s),c=n(5),l=u(c),a=n(23),v=u(a),r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Captions Menu"),o}return o(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 v["default"](this.player_,{kind:this.kind_})),n.prototype.createItems.call(this,t)},t}(h["default"]);r.prototype.kind_="captions";r.prototype.controlText_="Captions";l["default"].registerComponent("CaptionsButton",r);i["default"]=r},{23:23,30:30,5:5}],25:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(30),h=r(s),c=n(5),l=r(c),a=n(26),v=r(a),y=n(91),p=r(y),u=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Chapters Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack());n.prototype.update.call(this)},t.prototype.setTrack=function(n){var t,i;this.track_!==n&&((this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_)&&(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),t&&t.removeEventListener("load",this.updateHandler_),this.track_=null),(this.track_=n,this.track_)&&(this.track_.mode="hidden",i=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),i&&i.addEventListener("load",this.updateHandler_)))},t.prototype.findChaptersTrack=function(){for(var i,t=this.player_.textTracks()||[],n=t.length-1;n>=0;n--)if(i=t[n],i.kind===this.kind_)return i},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(p["default"](this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},t.prototype.createItems=function(){var i=[],n,t,r,u,f;if(!this.track_||(n=this.track_.cues,!n))return i;for(t=0,r=n.length;t<r;t++)u=n[t],f=new v["default"](this.player_,{track:this.track_,cue:u}),i.push(f);return i},t}(h["default"]);u.prototype.kind_="chapters";u.prototype.controlText_="Chapters";l["default"].registerComponent("ChaptersButton",u);i["default"]=u},{26:26,30:30,5:5,91:91}],26:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(48),c=r(h),l=n(5),a=r(l),v=n(83),y=f(v),u=function(n){function t(i,r){var u;e(this,t);var s=r.track,f=r.cue,h=i.currentTime();return r.selectable=!0,r.label=f.text,r.selected=f.startTime<=h&&h<f.endTime,u=o(this,n.call(this,i,r)),u.track=s,u.cue=f,s.addEventListener("cuechange",y.bind(u,u.update)),u}return s(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}(c["default"]);a["default"].registerComponent("ChaptersTrackMenuItem",u);i["default"]=u},{48:48,5:5,83:83}],27:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(30),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v),r=function(n){function t(i,r,u){var f,s;return e(this,t),f=o(this,n.call(this,i,r,u)),f.el_.setAttribute("aria-label","Descriptions Menu"),s=i.textTracks(),s&&!function(){var n=y.bind(f,f.handleTracksChange);s.addEventListener("change",n);f.on("dispose",function(){s.removeEventListener("change",n)})}(),f}return s(t,n),t.prototype.handleTracksChange=function(){for(var t,i=this.player().textTracks(),r=!1,n=0,u=i.length;n<u;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}(c["default"]);r.prototype.kind_="descriptions";r.prototype.controlText_="Descriptions";a["default"].registerComponent("DescriptionsButton",r);i["default"]=r},{30:30,5:5,83:83}],28:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(31),h=r(s),c=n(5),l=r(c),u=function(n){function t(i,r){f(this,t);r.track={player:i,kind:r.kind,label:r.kind+" off","default":!1,mode:"disabled"};r.selectable=!0;var u=e(this,n.call(this,i,r));return u.selected(!0),u}return o(t,n),t.prototype.handleTracksChange=function(){for(var t,i=this.player().textTracks(),r=!0,n=0,u=i.length;n<u;n++)if(t=i[n],t.kind===this.track.kind&&"showing"===t.mode){r=!1;break}this.selected(r)},t}(h["default"]);l["default"].registerComponent("OffTextTrackMenuItem",u);i["default"]=u},{31:31,5:5}],29:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(30),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Subtitles Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},t}(h["default"]);r.prototype.kind_="subtitles";r.prototype.controlText_="Subtitles";l["default"].registerComponent("SubtitlesButton",r);i["default"]=r},{30:30,5:5}],30:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(36),h=r(s),c=n(5),l=r(c),a=n(31),v=r(a),y=n(28),p=r(y),u=function(n){function t(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(this,t),r.tracks=i.textTracks(),e(this,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 p["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 v["default"](this.player_,{track:r,selectable:!0}));return n},t}(h["default"]);l["default"].registerComponent("TextTrackButton",u);i["default"]=u},{28:28,31:31,36:36,5:5}],31:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l=n(48),a=r(l),v=n(5),y=r(v),p=n(83),w=e(p),b=n(95),u=r(b),k=n(94),d=r(k),f=function(n){function t(i,r){var h,f,e;return o(this,t),h=r.track,f=i.textTracks(),r.label=h.label||h.language||"Unknown",r.selected=h["default"]||"showing"===h.mode,e=s(this,n.call(this,i,r)),e.track=h,f&&!function(){var n=w.bind(e,e.handleTracksChange);f.addEventListener("change",n);e.on("dispose",function(){f.removeEventListener("change",n)})}(),f&&void 0===f.onchange&&!function(){var n=void 0;e.on(["tap","click"],function(){if("object"!==c(u["default"].Event))try{n=new u["default"].Event("change")}catch(t){}n||(n=d["default"].createEvent("Event"),n.initEvent("change",!0,!0));f.dispatchEvent(n)})}(),e}return h(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}(a["default"]);y["default"].registerComponent("TextTrackMenuItem",f);i["default"]=f},{48:48,5:5,83:83,94:94,95:95}],32:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=r(c),l=n(81),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"timeupdate",u.updateContent),u}return h(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_=a.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">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=y["default"](t,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+i+"<\/span> "+n)},t}(u["default"]);u["default"].registerComponent("CurrentTimeDisplay",f);i["default"]=f},{5:5,81:81,84:84}],33:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=r(c),l=n(81),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"durationchange",u.updateContent),u.on(i,"timeupdate",u.updateContent),u.on(i,"loadedmetadata",u.updateContent),u}return h(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_=a.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+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=y["default"](n),this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> "+i)},t}(u["default"]);u["default"].registerComponent("DurationDisplay",f);i["default"]=f},{5:5,81:81,84:84}],34:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=r(c),l=n(81),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"timeupdate",u.updateContent),u.on(i,"durationchange",u.updateContent),u}return h(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_=a.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+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=y["default"](this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> -"+n)}},t}(u["default"]);u["default"].registerComponent("RemainingTimeDisplay",f);i["default"]=f},{5:5,81:81,84:84}],35:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(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},{5:5}],36:[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 u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(47),c=r(h),l=n(5),a=r(l),v=n(83),y=e(v),f=function(n){function t(i,r){var e,f,s;return(o(this,t),e=r.tracks,f=u(this,n.call(this,i,r)),f.items.length<=1&&f.hide(),!e)?u(f):(s=y.bind(f,f.update),e.addEventListener("removetrack",s),e.addEventListener("addtrack",s),f.player_.on("dispose",function(){e.removeEventListener("removetrack",s);e.removeEventListener("addtrack",s)}),f)}return s(t,n),t}(c["default"]);a["default"].registerComponent("TrackButton",f);i["default"]=f},{47:47,5:5,83:83}],37:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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 r;i.__esModule=!0;var h=n(57),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v);n(39);r=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));return u.on(i,"volumechange",u.updateARIAAttributes),i.ready(y.bind(u,u.updateARIAAttributes)),u}return s(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}(c["default"]);r.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};r.prototype.playerEvent="volumechange";a["default"].registerComponent("VolumeBar",r);i["default"]=r},{39:39,5:5,57:57,83:83}],38:[function(n,t,i){"use strict";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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(37);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return i.tech_&&i.tech_.featuresVolumeControl===!1&&u.addClass("vjs-hidden"),u.on(i,"loadstart",function(){i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u["default"]);r.prototype.options_={children:["volumeBar"]};u["default"].registerComponent("VolumeControl",r);i["default"]=r},{37:37,5:5}],39:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(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},{5:5}],40:[function(n,t,i){"use strict";function r(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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(83),f=o(l),a=n(5),v=r(a),y=n(54),p=r(y),w=n(53),b=r(w),k=n(11),e=r(k),d=n(37),g=r(d),u=function(n){function t(i){function f(){i.tech_&&i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return s(this,t),void 0===u.inline&&(u.inline=!0),void 0===u.vertical&&(u.vertical=u.inline?!1:!0),u.volumeBar=u.volumeBar||{},u.volumeBar.vertical=!!u.vertical,r=h(this,n.call(this,i,u)),r.on(i,"volumechange",r.volumeUpdate),r.on(i,"loadstart",r.volumeUpdate),f.call(r),r.on(i,"loadstart",f),r.on(r.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),r.on(r.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),r.on(r.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),r.on(r.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),r}return c(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 p["default"](this.player_,{contentElType:"div"}),t=new g["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);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}(b["default"]);u.prototype.volumeUpdate=e["default"].prototype.update;u.prototype.controlText_="Mute";v["default"].registerComponent("VolumeMenuButton",u);i["default"]=u},{11:11,37:37,5:5,53:53,54:54,83:83}],41:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),c=r(h),l=n(50),f=r(l),a=n(87),v=r(a),u=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));return u.on(i,"error",u.open),u}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_=v["default"](f["default"].prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0});c["default"].registerComponent("ErrorDisplay",u);i["default"]=u},{5:5,50:50,87:87}],42:[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(82),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},{82:82}],43:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=n(86),e=r(f),o=n(88),s=function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":u(t)));n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(n.super_=t)},h=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(){n.apply(this,arguments)},r={},u;o.isObject(t)?("function"==typeof t.init&&(e["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);s(i,n);for(u in r)r.hasOwnProperty(u)&&(i.prototype[u]=r[u]);return i};i["default"]=h},{86:86,88:88}],44:[function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}var r;i.__esModule=!0;for(var h=n(94),c=s(h),o={},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"]],l=u[0],f=void 0,e=0;e<u.length;e++)if(u[e][1]in c["default"]){f=u[e];break}if(f)for(r=0;r<f.length;r++)o[l[r]]=f[r];i["default"]=o},{94:94}],45:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(r["default"]);r["default"].registerComponent("LoadingSpinner",u);i["default"]=u},{5:5}],46:[function(n,t,i){"use strict";function r(n){return n instanceof r?n:("number"==typeof n?this.code=n:"string"==typeof n?this.message=n:f.isObject(n)&&("number"==typeof n.code&&(this.code=n.code),f.assign(this,n)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}var f,u;for(i.__esModule=!0,f=n(88),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},{88:88}],47:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(3),l=r(c),a=n(5),v=r(a),y=n(49),p=r(y),w=n(81),f=u(w),b=n(83),k=u(b),d=n(91),g=r(d),e=function(n){function t(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return o(this,t),r=s(this,n.call(this,i,u)),r.update(),r.enabled_=!0,r.el_.setAttribute("aria-haspopup","true"),r.el_.setAttribute("role","menuitem"),r.on("keydown",r.handleSubmenuKeyPress),r}return h(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 p["default"](this.player_),i,t;if(this.options_.title&&(i=f.createEl("li",{className:"vjs-menu-title",innerHTML:g["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.handleClick=function(){this.one(this.menu.contentEl(),"mouseleave",k.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.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),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}(l["default"]);v["default"].registerComponent("MenuButton",e);i["default"]=e},{3:3,49:49,5:5,81:81,83:83,91:91}],48:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(3),h=r(s),c=n(5),l=r(c),a=n(88),u=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.selectable=r.selectable,u.selected(r.selected),u.selectable?u.el_.setAttribute("role","menuitemcheckbox"):u.el_.setAttribute("role","menuitem"),u}return o(t,n),t.prototype.createEl=function(t,i,r){return n.prototype.createEl.call(this,"li",a.assign({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},i),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",u);i["default"]=u},{3:3,5:5,88:88}],49:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=e(c),l=n(81),a=r(l),v=n(83),y=r(v),p=n(82),w=r(p),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.focusedChild_=-1,u.on("keydown",u.handleKeyPress),u}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",y.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;return this.contentEl_=a.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_),w.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]?arguments[0]:0,n=this.children().slice(),i=n.length&&n[0].className&&/vjs-menu-title/.test(n[0].className);i&&n.shift();n.length>0&&(t<0?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},{5:5,81:81,82:82,83:83}],50:[function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}}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 c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(81),r=e(v),y=n(83),o=e(y),p=n(5),s=h(p),u="vjs-modal-dialog",w=27,f=function(n){function t(i,f){c(this,t);var e=l(this,n.call(this,i,f));return e.opened_=e.hasBeenOpened_=e.hasBeenFilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentEl_=r.createEl("div",{className:u+"-content"},{role:"document"}),e.descEl_=r.createEl("p",{className:u+"-description vjs-offscreen",id:e.el().getAttribute("aria-describedby")}),r.textContent(e.descEl_,e.description()),e.el_.appendChild(e.descEl_),e.el_.appendChild(e.contentEl_),e}return a(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 u+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(n){n.which===w&&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",o.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",o.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}(s["default"]);f.prototype.options_={temporary:!0};s["default"].registerComponent("ModalDialog",f);i["default"]=f},{5:5,81:81,83:83}],51:[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 it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function rt(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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 k,o,c;i.__esModule=!0;var ft=n(5),h=r(ft),et=n(94),f=r(et),ot=n(95),v=r(ot),st=n(82),y=s(st),ht=n(81),u=s(ht),ct=n(83),p=s(ct),lt=n(85),at=s(lt),vt=n(78),yt=s(vt),pt=n(86),e=r(pt),wt=n(91),l=r(wt),bt=n(90),kt=n(79),dt=n(89),d=s(dt),gt=n(44),g=r(gt),ni=n(46),nt=r(ni),ti=n(97),ii=r(ti),w=n(88),ri=n(87),b=r(ri),ui=n(69),tt=r(ui),fi=n(50),ei=r(fi),oi=n(62),a=r(oi),si=n(63),hi=r(si),ci=n(76),li=r(ci);n(61);n(59);n(55);n(68);n(45);n(1);n(4);n(8);n(41);n(71);n(60);k=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"];o=function(n){function t(i,r,f){var h,s,o,c;if(it(this,t),i.id=i.id||"vjs_video_"+at.newGUID(),r=w.assign(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(o=rt(this,n.call(this,null,r,f)),!o.options_||!o.options_.techOrder||!o.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");return o.tag=i,o.tagAttributes=i&&u.getElAttributes(i),o.language(o.options_.language),r.languages?!function(){var n={};Object.getOwnPropertyNames(r.languages).forEach(function(t){n[t.toLowerCase()]=r.languages[t]});o.languages_=n}():o.languages_=t.prototype.options_.languages,o.cache_={},o.poster_=r.poster||"",o.controls_=!!r.controls,i.controls=!1,o.scrubbing_=!1,o.el_=o.createEl(),c=b["default"](o.options_),r.plugins&&!function(){var n=r.plugins;Object.getOwnPropertyNames(n).forEach(function(t){"function"==typeof this[t]?this[t](n[t]):e["default"].error("Unable to find plugin:",t)},o)}(),o.options_.playerOptions=c,o.initChildren(),o.isAudio("audio"===i.nodeName.toLowerCase()),o.controls()?o.addClass("vjs-controls-enabled"):o.addClass("vjs-controls-disabled"),o.el_.setAttribute("role","region"),o.isAudio()?o.el_.setAttribute("aria-label","audio player"):o.el_.setAttribute("aria-label","video player"),o.isAudio()&&o.addClass("vjs-audio"),o.flexNotSupported_()&&o.addClass("vjs-no-flex"),yt.IS_IOS||o.addClass("vjs-workinghover"),t.players[o.id_]=o,o.userActive(!0),o.reportUserActivity(),o.listenForUserActivity_(),o.on("fullscreenchange",o.handleFullscreenChange_),o.on("stageclick",o.handleStageClick_),o}return ut(t,n),t.prototype.dispose=function(){this.trigger("dispose");this.off("dispose");this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_);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)},t.prototype.createEl=function(){var t=this.tag,i=void 0,c=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),r,e,o,s,f,h;for(i=this.el_=c?t.parentNode:n.prototype.createEl.call(this,"div"),t.removeAttribute("width"),t.removeAttribute("height"),r=u.getElAttributes(t),(Object.getOwnPropertyNames(r).forEach(function(n){"class"===n?i.className+=" "+r[n]:i.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"),v["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0)&&(this.styleEl_=d.createStyleElement("vjs-styles-dimensions"),e=u.$(".vjs-styles-defaults"),o=u.$("head"),o.insertBefore(this.styleEl_,e?e.nextSibling:o.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),s=t.getElementsByTagName("a"),f=0;f<s.length;f++)h=s.item(f),u.addElClass(h,"vjs-hidden"),h.setAttribute("hidden","hidden");return t.initNetworkState_=t.networkState,t.parentNode&&!c&&t.parentNode.insertBefore(i,t),u.insertElFirst(t,i),this.children_.unshift(t),this.el_=i,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 this[i]||0;if(""===t)this[i]=void 0;else{if(r=parseFloat(t),isNaN(r))return e["default"].error('Improper value "'+t+'" supplied for for '+n),this;this[i]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(n){return void 0===n?!!this.fluid_:(this.fluid_=!!n,n?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},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 u,t;if(v["default"].VIDEOJS_NO_DYNAMIC_STYLE===!0){var f="number"==typeof this.width_?this.width_:this.options_.width,e="number"==typeof this.height_?this.height_:this.options_.height,i=this.tech_&&this.tech_.el();return void(i&&(f>=0&&(i.width=f),e>=0&&(i.height=e)))}var r=void 0,o=void 0,s=void 0,n=void 0;s=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";u=s.split(":");t=u[1]/u[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/t:this.videoWidth()||300;o=void 0!==this.height_?this.height_:r*t;n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(n);d.setTextContent(this.styleEl_,"\n      ."+n+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+n+".vjs-fluid {\n        padding-top: "+100*t+"%;\n      }\n    ")},t.prototype.loadTech_=function(n,t){var f=this,i,r;this.tech_&&this.unloadTech_();"Html5"!==n&&this.tag&&(a["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null);this.techName_=n;this.isReady_=!1;i=w.assign({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,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(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[n.toLowerCase()]);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_.sources=null,this.cache_.source=t,this.cache_.src=t.src);r=a["default"].getTech(n);r||(r=h["default"].getComponent(n));this.tech_=new r(i);this.tech_.ready(p.bind(this,this.handleTechReady_),!0);tt["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);k.forEach(function(n){f.on(f.tech_,n,f["handleTech"+l["default"](n)+"_"])});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_,"durationchange",this.handleTechDurationChange_);this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_);this.on(this.tech_,"error",this.handleTechError_);this.on(this.tech_,"loadedmetadata",this.updateStyleEl_);this.on(this.tech_,"posterchange",this.handleTechPosterChange_);this.on(this.tech_,"textdata",this.handleTechTextData_);this.usingNativeControls(this.techGet_("controls"));this.controls()&&!this.usingNativeControls()&&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_=tt["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 v["default"].alert(t),new Error(t);},t.prototype.addTechControlsListeners_=function(){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.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.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(n){e["default"]("deleting tag.poster throws in some browsers",n)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-seeking");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&&(e["default"].warn("Passing the `starttime` option to the player will be deprecated in 6.0"),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.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())},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()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},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.handleTechTextData_=function(){var n=null;arguments.length>1&&(n=arguments[1]);this.trigger("textdata",n)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(n,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[n](t)},!0);else try{this.tech_&&this.tech_[n](t)}catch(i){throw e["default"](i),i;}},t.prototype.techGet_=function(n){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[n]()}catch(t){throw void 0===this.tech_[n]?e["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?(e["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):e["default"](t),t;}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")!==!1},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){return void 0!==n?(this.techCall_("setCurrentTime",n),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(n){return void 0===n?this.cache_.duration||0:(n=parseFloat(n)||0,n<0&&(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?(this.techCall_("setMuted",n),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=g["default"];return this.isFullscreen(!0),n.requestFullscreen?(y.on(f["default"],n.fullscreenchange,p.bind(this,function t(){this.isFullscreen(f["default"][n.fullscreenElement]);this.isFullscreen()===!1&&y.off(f["default"],n.fullscreenchange,t);this.trigger("fullscreenchange")})),this.el_[n.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var n=g["default"];return this.isFullscreen(!1),n.requestFullscreen?f["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=f["default"].documentElement.style.overflow;y.on(f["default"],"keydown",p.bind(this,this.fullWindowOnEscKey));f["default"].documentElement.style.overflow="hidden";u.addElClass(f["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;y.off(f["default"],"keydown",this.fullWindowOnEscKey);f["default"].documentElement.style.overflow=this.docOrigOverflow;u.removeElClass(f["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=l["default"](f[r]),t=a["default"].getTech(i),t||(t=h["default"].getComponent(i)),t){if(t.isSupported()&&(u=t.canPlayType(n)))return u}else e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.');return""},t.prototype.selectSource=function(n){var f=this,t=this.options_.techOrder.map(l["default"]).map(function(n){return[n,a["default"].getTech(n)||h["default"].getComponent(n)]}).filter(function(n){var i=n[0],t=n[1];return t?t.isSupported():(e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(n,t,i){var r=void 0;return n.some(function(n){return t.some(function(t){if(r=i(n,t))return!0})}),r},r=void 0,o=function(n){return function(t,i){return n(i,t)}},u=function(n,t){var i=n[0],r=n[1];if(r.canPlaySource(t,f.options_[i.toLowerCase()]))return{source:t,tech:i}};return r=this.options_.sourceOrder?i(n,t,o(u)):i(t,n,u),r||!1},t.prototype.src=function(n){if(void 0===n)return this.techGet_("src");var t=a["default"].getTech(this.techName_);return t||(t=h["default"].getComponent(this.techName_)),Array.isArray(n)?this.sourceList_(n):"string"==typeof n?this.src({src:n}):n instanceof Object&&(n.type&&!t.canPlaySource(n,this.options_[this.techName_.toLowerCase()])?this.sourceList_([n]):(this.cache_.sources=null,this.cache_.source=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.cache_.sources=n):(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_(l["default"](this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var n=this.currentSource(),t=[];return 0!==Object.keys(n).length&&t.push(n),this.cache_.sources||t},t.prototype.currentSource=function(){var n={},t=this.currentSrc();return t&&(n.src=t),this.cache_.source||n},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):this.techGet_("preload")},t.prototype.autoplay=function(n){return void 0!==n?(this.techCall_("setAutoplay",n),this.options_.autoplay=n,this):this.techGet_("autoplay",n)},t.prototype.loop=function(n){return void 0!==n?(this.techCall_("setLoop",n),this.options_.loop=n,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_=new nt["default"](n),this.addClass("vjs-error"),e["default"].error("(CODE:"+this.error_.code+" "+nt["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(){this.userActivity_=!0},t.prototype.userActive=function(n){return void 0!==n?(n=!!n,n!==this.userActive_&&(this.userActive_=n,n?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(n){n.stopPropagation();n.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},t.prototype.listenForUserActivity_=function(){var t=void 0,r=void 0,u=void 0,n=p.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.userActivity_=!1;this.userActive(!0);this.clearTimeout(i);var n=this.options_.inactivityTimeout;n>0&&(i=this.setTimeout(function(){this.userActivity_||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.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new li["default"],this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new hi["default"],this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(n,t,i){if(this.tech_)return this.tech_.addTextTrack(n,t,i)},t.prototype.addRemoteTextTrack=function(n,t){if(this.tech_)return this.tech_.addRemoteTextTrack(n,t)},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;if(this.tech_)return 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_=String(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 ei["default"](this,t),this.addChild(i),i.on("dispose",function(){r.removeChild(i)}),i.open()},t.getTagSettings=function(n){var t={sources:[],tracks:[]},i=u.getElAttributes(n),s=i["data-setup"],r,o;if(u.hasElClass(n,"vjs-fluid")&&(i.fluid=!0),null!==s){var h=ii["default"](s||"{}"),c=h[0],a=h[1];c&&e["default"].error(c);w.assign(i,a)}if(w.assign(t,i),n.hasChildNodes())for(var l=n.childNodes,f=0,v=l.length;f<v;f++)r=l[f],o=r.nodeName.toLowerCase(),"source"===o?t.sources.push(u.getElAttributes(r)):"track"===o&&t.tracks.push(u.getElAttributes(r));return t},t.prototype.flexNotSupported_=function(){var n=f["default"].createElement("i");return!("flexBasis"in n.style||"webkitFlexBasis"in n.style||"mozFlexBasis"in n.style||"msFlexBasis"in n.style||"msFlexOrder"in n.style)},t}(h["default"]);o.players={};c=v["default"].navigator;o.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:c&&(c.languages&&c.languages[0]||c.userLanguage||c.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."};["ended","seeking","seekable","networkState","readyState"].forEach(function(n){o.prototype[n]=function(){return this.techGet_(n)}});k.forEach(function(n){o.prototype["handleTech"+l["default"](n)+"_"]=function(){return this.trigger(n)}});h["default"].registerComponent("Player",o);i["default"]=o},{1:1,4:4,41:41,44:44,45:45,46:46,5:5,50:50,55:55,59:59,60:60,61:61,62:62,63:63,68:68,69:69,71:71,76:76,78:78,79:79,8:8,81:81,82:82,83:83,85:85,86:86,87:87,88:88,89:89,90:90,91:91,94:94,95:95,97:97}],52:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u=n(51),f=r(u),e=function(n,t){f["default"].prototype[n]=t};i["default"]=e},{51:51}],53:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(3),h=r(s),c=n(5),l=r(c),u=function(n){function t(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return f(this,t),r=e(this,n.call(this,i,u)),r.update(),r}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",u);i["default"]=u},{3:3,5:5}],54:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=e(c),l=n(81),a=r(l),v=n(83),y=r(v),p=n(82),w=r(p),f=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",y.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;return this.contentEl_=a.createEl(i,{className:"vjs-menu-content"}),t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}),t.appendChild(this.contentEl_),w.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()}),t},t}(u["default"]);u["default"].registerComponent("Popup",f);i["default"]=f},{5:5,81:81,82:82,83:83}],55:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(3),l=u(c),a=n(5),v=u(a),y=n(83),p=r(y),w=n(81),f=r(w),b=n(78),k=r(b),e=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.update(),i.on("posterchange",p.bind(u,u.update)),u}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=f.createEl("div",{className:"vjs-poster",tabIndex:-1});return k.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=f.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){if(this.fallbackImg_)this.fallbackImg_.src=n;else{var t="";n&&(t='url("'+n+'")');this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(l["default"]);v["default"].registerComponent("PosterImage",e);i["default"]=e},{3:3,5:5,78:78,81:81,83:83}],56:[function(n,t,i){"use strict";function e(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 u(n,t){t&&(c=t);h["default"].setTimeout(l,n)}var a;i.__esModule=!0;i.hasLoaded=i.autoSetupTimeout=i.autoSetup=void 0;var v=n(81),s=o(v),y=n(82),p=o(y),w=n(94),f=e(w),b=n(95),h=e(b),r=!1,c=void 0,l=function(){var o,a,h,v,l,y,t,p;if(s.isReal()){var i=f["default"].getElementsByTagName("video"),e=f["default"].getElementsByTagName("audio"),n=[];if(i&&i.length>0)for(o=0,a=i.length;o<a;o++)n.push(i[o]);if(e&&e.length>0)for(h=0,v=e.length;h<v;h++)n.push(e[h]);if(n&&n.length>0)for(l=0,y=n.length;l<y;l++){if(t=n[l],!t||!t.getAttribute){u(1);break}void 0===t.player&&(p=t.getAttribute("data-setup"),null!==p&&c(t))}else r||u(1)}};s.isReal()&&"complete"===f["default"].readyState?r=!0:p.one(h["default"],"load",function(){r=!0});a=function(){return r};i.autoSetup=l;i.autoSetupTimeout=u;i.hasLoaded=a},{81:81,82:82,94:94,95:95}],57:[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 h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=s(a),v=n(81),r=o(v),f=n(88),e=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));return u.bar=u.getChild(u.options_.barName),u.vertical(!!u.options_.vertical),u.on("mousedown",u.handleMouseDown),u.on("touchstart",u.handleMouseDown),u.on("focus",u.handleFocus),u.on("blur",u.handleBlur),u.on("click",u.handleClick),u.on(i,"controlsvisible",u.update),u.on(i,u.playerEvent,u.update),u}return l(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=f.assign({tabIndex:0},i),r=f.assign({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||n<0||n===1/0)&&(n=0),i=(100*n).toFixed(2)+"%",this.vertical()?t.el().style.height=i:t.el().style.width=i))},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.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(u["default"]);u["default"].registerComponent("Slider",e);i["default"]=e},{5:5,81:81,88:88}],58:[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,t!==-1?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},{}],59:[function(n,t,i){"use strict";function y(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function nt(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 tt(n){var t=n.charAt(0).toUpperCase()+n.slice(1);b["set"+t]=function(t){return this.el_.vjs_setProperty(n,t)}}function p(n){b[n]=function(){return this.el_.vjs_getProperty(n)}}var c;i.__esModule=!0;for(var it=n(62),l=e(it),rt=n(81),o=y(rt),ut=n(92),w=y(ut),s=n(90),ft=n(58),et=e(ft),ot=n(5),st=e(ot),ht=n(95),u=e(ht),f=n(88),a=u["default"].navigator,r=function(n){function t(i,r){d(this,t);var f=g(this,n.call(this,i,r));return i.source&&f.ready(function(){this.setSource(i.source)},!0),i.startTime&&f.ready(function(){this.load();this.play();this.currentTime(i.startTime)},!0),u["default"].videojs=u["default"].videojs||{},u["default"].videojs.Flash=u["default"].videojs.Flash||{},u["default"].videojs.Flash.onReady=t.onReady,u["default"].videojs.Flash.onEvent=t.onEvent,u["default"].videojs.Flash.onError=t.onError,f.on("seeked",function(){this.lastSeekTarget_=void 0}),f}return nt(t,n),t.prototype.createEl=function(){var n=this.options_,i;n.swf||(i="5.1.0",n.swf="//vjs.zencdn.net/swf/"+i+"/video-js.swf");var r=n.techId,u=f.assign({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),e=f.assign({wmode:"opaque",bgcolor:"#000000"},n.params),o=f.assign({id:r,name:r,"class":"vjs-tech"},n.attributes);return this.el_=t.embed(n.swf,u,e,o),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){var t=this;n=w.getAbsoluteURL(n);this.el_.vjs_src(n);this.autoplay()&&this.setTimeout(function(){return 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?s.createTimeRange():s.createTimeRange(0,n)},t.prototype.buffered=function(){var n=this.el_.vjs_getProperty("buffered");return 0===n.length?s.createTimeRange():s.createTimeRange(n[0][0],n[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(l["default"]),b=r.prototype,v="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),k="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),h=0;h<v.length;h++)p(v[h]),tt(v[h]);for(c=0;c<k.length;c++)p(k[c]);r.isSupported=function(){return r.version()[0]>=10};l["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=w.getFileExtension(n);return t?"video/"+t:""}var t=void 0;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=o.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=o.getEl(n).tech,r=Array.prototype.slice.call(arguments,2);i.setTimeout(function(){i.trigger(t,r)},1)};r.onError=function(n,t){var i=o.getEl(n).tech;return"srcnotfound"===t?i.error(4):void i.error("FLASH: "+t)};r.version=function(){var n="0,0,0";try{n=new u["default"].ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{a.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(n=(a.plugins["Shockwave Flash 2.0"]||a.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(i){}}return n.split(",")};r.embed=function(n,t,i,u){var f=r.getEmbedCode(n,t,i,u);return o.createEl("div",{innerHTML:f}).childNodes[0]};r.getEmbedCode=function(n,t,i,r){var u="",e="",o="";return t&&Object.getOwnPropertyNames(t).forEach(function(n){u+=n+"="+t[n]+"&amp;"}),i=f.assign({movie:n,flashvars:u,allowScriptAccess:"always",allowNetworking:"all"},i),Object.getOwnPropertyNames(i).forEach(function(n){e+='<param name="'+n+'" value="'+i[n]+'" />'}),r=f.assign({data:n,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(n){o+=n+'="'+r[n]+'" '}),'<object type="application/x-shockwave-flash" '+o+">"+e+"<\/object>"};et["default"](r);st["default"].registerComponent("Flash",r);l["default"].registerTech("Flash",r);i["default"]=r},{5:5,58:58,62:62,81:81,88:88,90:90,92:92,95:95}],60:[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 f(n){return n&&n.__esModule?n:{"default":n}}function k(n,t){return n.raw=t,n}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function nt(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 y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},tt=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."]),it=n(62),c=f(it),rt=n(5),ut=f(rt),ft=n(81),s=o(ft),et=n(92),p=o(et),ot=n(83),l=o(ot),st=n(86),w=f(st),ht=n(98),ct=f(ht),lt=n(78),u=o(lt),at=n(94),h=f(at),vt=n(95),b=f(vt),yt=n(88),pt=n(87),wt=f(pt),bt=n(91),a=f(bt),r=function(n){function t(i,r){var e,b,o,k;d(this,t);var f=g(this,n.call(this,i,r)),s=i.source,h=!1;if(s&&(f.el_.currentSrc!==s.src||i.tag&&3===i.tag.initNetworkState_)?f.setSource(s):f.handleLateInit_(f.el_),f.el_.hasChildNodes()){for(var v=f.el_.childNodes,y=v.length,c=[];y--;)e=v[y],b=e.nodeName.toLowerCase(),"track"===b&&(f.featuresNativeTextTracks?(f.remoteTextTrackEls().addTrackElement_(e),f.remoteTextTracks().addTrack_(e.track),h||f.el_.hasAttribute("crossorigin")||!p.isCrossOrigin(e.src)||(h=!0)):c.push(e));for(o=0;o<c.length;o++)f.el_.removeChild(c[o])}return k=["audio","video"],k.forEach(function(n){var r=f.el()[n+"Tracks"],i=f[n+"Tracks"](),t=a["default"](n);f["featuresNative"+t+"Tracks"]&&r&&r.addEventListener&&(f["handle"+t+"TrackChange_"]=function(){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},f["handle"+t+"TrackAdd_"]=function(n){return i.addTrack(n.track)},f["handle"+t+"TrackRemove_"]=function(n){return i.removeTrack(n.track)},r.addEventListener("change",f["handle"+t+"TrackChange_"]),r.addEventListener("addtrack",f["handle"+t+"TrackAdd_"]),r.addEventListener("removetrack",f["handle"+t+"TrackRemove_"]),f["removeOld"+t+"Tracks_"]=function(){return f.removeOldTracks_(i,r)},f.on("loadstart",f["removeOld"+t+"Tracks_"]))}),f.featuresNativeTextTracks&&(h&&w["default"].warn(ct["default"](tt)),f.handleTextTrackChange_=l.bind(f,f.handleTextTrackChange),f.handleTextTrackAdd_=l.bind(f,f.handleTextTrackAdd),f.handleTextTrackRemove_=l.bind(f,f.handleTextTrackRemove),f.proxyNativeTextTracks_()),(u.TOUCH_ENABLED||u.IS_IPHONE||u.IS_NATIVE_ANDROID)&&i.nativeControlsForTouch===!0&&f.setControls(!0),f.proxyWebkitFullscreen_(),f.triggerReady(),f}return nt(t,n),t.prototype.dispose=function(){var i=this;["audio","video","text"].forEach(function(n){var r=a["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,l,e,o,i,r,c;for(n&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(n?(f=n.cloneNode(!0),n.parentNode&&n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=h["default"].createElement("video"),l=this.options_.tag&&s.getElAttributes(this.options_.tag),e=wt["default"]({},l),u.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,s.setElAttributes(n,yt.assign(e,{id:this.options_.techId,"class":"vjs-tech"}))),n.playerId=this.options_.playerId),o=["autoplay","preload","loop","muted"],i=o.length-1;i>=0;i--)r=o[i],c={},"undefined"!=typeof this.options_[r]&&(c[r]=this.options_[r]),s.setElAttributes(n,c);return n},t.prototype.handleLateInit_=function(n){var r=this,i,t;if(0!==n.networkState&&3!==n.networkState){if(0===n.readyState&&(i=function(){var n=!1,i=function(){n=!0},t;r.on("loadstart",i);return t=function(){n||this.trigger("loadstart")},r.on("loadedmetadata",t),r.ready(function(){this.off("loadstart",i);this.off("loadedmetadata",t);n||this.trigger("loadstart")}),{v:void 0}}(),"object"===("undefined"==typeof i?"undefined":y(i))))return i.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.removeOldTracks_=function(n,t){var u=[],i,r,s;if(t){for(i=0;i<n.length;i++){for(var e=n[i],o=!1,f=0;f<t.length;f++)if(t[f]===e){o=!0;break}o||u.push(e)}for(r=0;r<u.length;r++)s=u[r],n.removeTrack_(s)}},t.prototype.removeOldTextTracks_=function(){var n=this.textTracks(),t=this.el().textTracks;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.setCurrentTime=function(n){try{this.el_.currentTime=n}catch(t){w["default"](t,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var n=this,t;return this.el_.duration===1/0&&u.IS_ANDROID&&u.IS_CHROME&&0===this.el_.currentTime&&(t=function(){var t=function i(){n.el_.currentTime>0&&(n.el_.duration===1/0&&n.trigger("durationchange"),n.off("timeupdate",i))};return n.on("timeupdate",t),{v:NaN}}(),"object"===("undefined"==typeof t?"undefined":y(t)))?t.v:this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var i=this,n,t;"webkitDisplayingFullscreen"in this.el_&&(n=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},t=function(){this.one("webkitendfullscreen",n);this.trigger("fullscreenchange",{isFullscreen:!0})},this.on("webkitbeginfullscreen",t),this.on("dispose",function(){i.off("webkitbeginfullscreen",t);i.off("webkitendfullscreen",n)}))},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var n=b["default"].navigator&&b["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_;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.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(n){this.el_.controls=!!n},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.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.createRemoteTextTrack.call(this,t);var i=h["default"].createElement("track");return 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),i},t.prototype.addRemoteTextTrack=function(t,i){var r=n.prototype.addRemoteTextTrack.call(this,t,i);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(n.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var i=this.$$("track"),r=i.length;r--;)t!==i[r]&&t!==i[r].track||this.el().removeChild(i[r])},t}(c["default"]);s.isReal()&&(r.TEST_VID=h["default"].createElement("video"),e=h["default"].createElement("track"),e.kind="captions",e.srclang="en",e.label="English",r.TEST_VID.appendChild(e));r.isSupported=function(){try{r.TEST_VID.volume=.5}catch(n){return!1}return!(!r.TEST_VID||!r.TEST_VID.canPlayType)};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)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.supportsNativeTextTracks=function(){return u.IS_ANY_SAFARI};r.supportsNativeVideoTracks=function(){return!(!r.TEST_VID||!r.TEST_VID.videoTracks)};r.supportsNativeAudioTracks=function(){return!(!r.TEST_VID||!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.movingMediaElementInDOM=!u.IS_IOS;r.prototype.featuresFullscreenResize=!0;r.prototype.featuresProgressEvents=!0;r.prototype.featuresTimeupdateEvents=!0;r.prototype.featuresNativeTextTracks=r.supportsNativeTextTracks();r.prototype.featuresNativeVideoTracks=r.supportsNativeVideoTracks();r.prototype.featuresNativeAudioTracks=r.supportsNativeAudioTracks();var v=r.TEST_VID&&r.TEST_VID.constructor.prototype.canPlayType,kt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,dt=/^video\/mp4/i;r.patchCanPlayType=function(){u.ANDROID_VERSION>=4&&!u.IS_FIREFOX?r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&kt.test(n)?"maybe":v.call(this,n)}:u.IS_OLD_ANDROID&&(r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&dt.test(n)?"maybe":v.call(this,n)})};r.unpatchCanPlayType=function(){var n=r.TEST_VID.constructor.prototype.canPlayType;return r.TEST_VID.constructor.prototype.canPlayType=v,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){}}()}};["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]}});["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(n){r.prototype["set"+a["default"](n)]=function(t){this.el_[n]=t}});["pause","load"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]()}});c["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){if(n.type)return r.nativeSourceHandler.canPlayType(n.type);if(n.src){var t=p.getFileExtension(n.src);return r.nativeSourceHandler.canPlayType("video/"+t)}return""};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);ut["default"].registerComponent("Html5",r);c["default"].registerTech("Html5",r);i["default"]=r},{5:5,62:62,78:78,81:81,83:83,86:86,87:87,88:88,91:91,92:92,94:94,95:95,98:98}],61:[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(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(5),u=r(h),c=n(62),l=r(c),a=n(91),v=r(a),f=function(n){function t(i,r,f){var y,h,a,s,c;if(e(this,t),y=o(this,n.call(this,i,r,f)),r.playerOptions.sources&&0!==r.playerOptions.sources.length)i.src(r.playerOptions.sources);else for(h=0,a=r.playerOptions.techOrder;h<a.length;h++)if(s=v["default"](a[h]),c=l["default"].getTech(s),s||(c=u["default"].getComponent(s)),c&&c.isSupported()){i.loadTech_(s);break}return y}return s(t,n),t}(u["default"]);u["default"].registerComponent("MediaLoader",f);i["default"]=f},{5:5,62:62,91:91}],62:[function(n,t,i){"use strict";function l(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 a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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 p(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 ut["default"](u),e.addTrack_(f),f}i.__esModule=!0;var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b=n(5),e=u(b),k=n(66),d=u(k),g=n(65),nt=u(g),tt=n(87),it=u(tt),rt=n(72),ut=u(rt),ft=n(70),o=u(ft),et=n(76),ot=u(et),st=n(63),ht=u(st),ct=n(83),s=l(ct),lt=n(86),h=u(lt),c=n(90),at=n(79),vt=n(46),yt=u(vt),pt=n(95),f=u(pt),wt=n(94),bt=u(wt),kt=n(88),r=function(t){function i(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n;return a(this,i),r.reportTouchActivity=!1,n=v(this,t.call(this,null,r,u)),n.hasStarted_=!1,n.on("playing",function(){this.hasStarted_=!0}),n.on("loadstart",function(){this.hasStarted_=!1}),n.textTracks_=r.textTracks,n.videoTracks_=r.videoTracks,n.audioTracks_=r.audioTracks,n.featuresProgressEvents||n.manualProgressOn(),n.featuresTimeupdateEvents||n.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){r["native"+t+"Tracks"]===!1&&(n["featuresNative"+t+"Tracks"]=!1)}),r.nativeCaptions===!1&&(n.featuresNativeTextTracks=!1),n.featuresNativeTextTracks||n.emulateTextTracks(),n.autoRemoteTextTracks_=new o["default"],n.initTextTrackListeners(),n.initTrackListeners(),r.nativeControlsForTouch||n.emitTapEvents(),n.constructor&&(n.name_=n.constructor.name||"Unknown Tech"),n}return y(i,t),i.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);this.manualProgress=!0;this.one("ready",this.trackProgress)},i.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)},i.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(s.bind(this,function(){var n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress");this.bufferedPercent_=n;1===n&&this.stopTrackingProgress()}),500)},i.prototype.onDurationChange=function(){this.duration_=this.duration()},i.prototype.buffered=function(){return c.createTimeRange(0,0)},i.prototype.bufferedPercent=function(){return at.bufferedPercent(this.buffered(),this.duration_)},i.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},i.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime)},i.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)},i.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},i.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},i.prototype.dispose=function(){this.clearTracks(["audio","video","text"]);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();t.prototype.dispose.call(this)},i.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)})},i.prototype.cleanupAutoTextTracks=function(){for(var i,n=this.autoRemoteTextTracks_||[],t=n.length;t--;)i=n[t],this.removeRemoteTextTrack(i)},i.prototype.reset=function(){},i.prototype.error=function(n){return void 0!==n&&(this.error_=new yt["default"](n),this.trigger("error")),this.error_},i.prototype.played=function(){return this.hasStarted_?c.createTimeRange(0,0):c.createTimeRange()},i.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},i.prototype.initTextTrackListeners=function(){var t=s.bind(this,function(){this.trigger("texttrackchange")}),n=this.textTracks();n&&(n.addEventListener("removetrack",t),n.addEventListener("addtrack",t),this.on("dispose",s.bind(this,function(){n.removeEventListener("removetrack",t);n.removeEventListener("addtrack",t)})))},i.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)})})},i.prototype.addWebVttScript_=function(){var t=this,i;if(!f["default"].WebVTT&&null!==this.el().parentNode&&void 0!==this.el().parentNode&&(i=function(){var r=n(99),i;if(!t.options_["vtt.js"]&&kt.isPlain(r)&&Object.keys(r).length>0)return Object.keys(r).forEach(function(n){f["default"][n]=r[n]}),t.trigger("vttjsloaded"),{v:void 0};i=bt["default"].createElement("script");i.src=t.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js";i.onload=function(){t.trigger("vttjsloaded")};i.onerror=function(){t.trigger("vttjserror")};t.on("dispose",function(){i.onload=null;i.onerror=null});f["default"].WebVTT=!0;t.el().parentNode.appendChild(i)}(),"object"===("undefined"==typeof i?"undefined":w(i))))return i.v},i.prototype.emulateTextTracks=function(){var r=this,n=this.textTracks(),t,i;n&&(this.remoteTextTracks().on("addtrack",function(n){r.textTracks().addTrack_(n.track)}),this.remoteTextTracks().on("removetrack",function(n){r.textTracks().removeTrack_(n.track)}),this.on("ready",this.addWebVttScript_),t=function(){return r.trigger("texttrackchange")},i=function(){var i,r;for(t(),i=0;i<n.length;i++)r=n[i],r.removeEventListener("cuechange",t),"showing"===r.mode&&r.addEventListener("cuechange",t)},i(),n.addEventListener("change",i),this.on("dispose",function(){n.removeEventListener("change",i)}))},i.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new ot["default"],this.videoTracks_},i.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new ht["default"],this.audioTracks_},i.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new o["default"],this.textTracks_},i.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new o["default"],this.remoteTextTracks_},i.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new nt["default"],this.remoteTextTrackEls_},i.prototype.addTextTrack=function(n,t,i){if(!n)throw new Error("TextTrack kind is required but was not provided");return p(this,n,t,i)},i.prototype.createRemoteTextTrack=function(n){var t=it["default"](n,{tech:this});return new d["default"](t)},i.prototype.addRemoteTextTrack=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],t=this.createRemoteTextTrack(i);return n!==!0&&n!==!1&&(h["default"].warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),n!==!0&&this.autoRemoteTextTracks_.addTrack_(t.track),t},i.prototype.removeRemoteTextTrack=function(n){var t=this.remoteTextTrackEls().getTrackElementByTrack_(n);this.remoteTextTrackEls().removeTrackElement_(t);this.remoteTextTracks().removeTrack_(n);this.autoRemoteTextTracks_.removeTrack_(n)},i.prototype.setPoster=function(){},i.prototype.canPlayType=function(){return""},i.isTech=function(n){return n.prototype instanceof i||n instanceof i||n===i},i.registerTech=function(n,t){if(i.techs_||(i.techs_={}),!i.isTech(t))throw new Error("Tech "+n+" must be a Tech");return i.techs_[n]=t,t},i.getTech=function(n){return i.techs_&&i.techs_[n]?i.techs_[n]:f["default"]&&f["default"].videojs&&f["default"].videojs[n]?(h["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},i}(e["default"]);r.prototype.textTracks_;r.prototype.audioTracks_;r.prototype.videoTracks_;r.prototype.featuresVolumeControl=!0;r.prototype.featuresFullscreenResize=!1;r.prototype.featuresPlaybackRate=!1;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:h["default"].error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),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.disposeSourceHandler();this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null);this.cleanupAutoTextTracks();this.sourceHandler_&&(this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}};e["default"].registerComponent("Tech",r);e["default"].registerComponent("MediaTechController",r);r.registerTech("Tech",r);i["default"]=r},{46:46,5:5,63:63,65:65,66:66,70:70,72:72,76:76,79:79,83:83,86:86,87:87,88:88,90:90,94:94,95:95,99:99}],63:[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 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 e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(74),r=f(c),l=n(78),a=o(l),v=n(94),y=f(v),u=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].enabled=!1)},p=function(n){function t(){var l,v,f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i,o,h,c;for(s(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].enabled){u(f,f[o]);break}if(a.IS_IE8){i=y["default"].createElement("custom");for(h in r["default"].prototype)"constructor"!==h&&(i[h]=r["default"].prototype[h]);for(c in t.prototype)"constructor"!==c&&(i[c]=t.prototype[c])}return i=l=e(this,n.call(this,f,i)),i.changing_=!1,v=i,e(l,v)}return h(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"]=p},{74:74,78:78,94:94}],64:[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 u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(73),h=n(75),c=r(h),l=n(87),a=r(l),v=n(78),y=f(v),p=function(n){function t(){var h,c,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r;e(this,t);var f=a["default"](l,{kind:s.AudioTrackKind[l.kind]||""}),i=h=u(this,n.call(this,f)),o=!1;if(y.IS_IE8)for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"enabled",{get:function(){return o},set:function(n){"boolean"==typeof n&&n!==o&&(o=n,this.trigger("enabledchange"))}}),f.enabled&&(i.enabled=f.enabled),i.loaded_=!0,c=i,u(h,c)}return o(t,n),t}(c["default"]);i["default"]=p},{73:73,75:75,78:78,87:87}],65:[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(78),r=f(o),s=n(94),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;u<o;u++)t.addTrackElement_(f[u]);if(r.IS_IE8)return t}return n.prototype.addTrackElement_=function(n){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}});this.trackElements_.indexOf(n)===-1&&this.trackElements_.push(n)},n.prototype.getTrackElementByTrack_=function(n){for(var i=void 0,t=0,r=this.trackElements_.length;t<r;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;t<i;t++)if(n===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},n}();i["default"]=c},{78:78,94:94}],66:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}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 c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(78),e=h(a),v=n(94),y=u(v),p=n(42),w=u(p),b=n(72),k=u(b),o=0,s=2,r=function(n){function t(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u,r,a;c(this,t);var h=f(this,n.call(this)),l=void 0,i=h;if(e.IS_IE8){i=y["default"].createElement("custom");for(u in t.prototype)"constructor"!==u&&(i[u]=t.prototype[u])}return(r=new k["default"](v),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 l}}),Object.defineProperty(i,"track",{get:function(){return r}}),l=o,r.addEventListener("loadeddata",function(){l=s;i.trigger({type:"load",target:i})}),e.IS_IE8)?(a=i,f(h,a)):h}return l(t,n),t}(w["default"]);r.prototype.allowedEvents_={load:"load"};r.NONE=o;r.LOADING=1;r.LOADED=s;r.ERROR=3;i["default"]=r},{42:42,72:72,78:78,94:94}],67:[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(78),r=f(o),s=n(94),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])}if(n.prototype.setCues_.call(i,t),Object.defineProperty(i,"length",{get:function(){return this.length_}}),r.IS_IE8)return i}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]}})},i<r)for(t=i;t<r;t++)u.call(this,t)},n.prototype.getCueById=function(n){for(var i,r=null,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},n}();i["default"]=c},{78:78,94:94}],68:[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 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");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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)}function e(n,t){return"rgba("+parseInt(n[1]+n[1],16)+","+parseInt(n[2]+n[2],16)+","+parseInt(n[3]+n[3],16)+","+t+")"}function o(n,t,i){try{n.style[t]=i}catch(r){return}}i.__esModule=!0;var w=n(5),h=s(w),b=n(83),f=a(b),k=n(95),u=s(k),r="#222",c="#ccc",d={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);var e=y(this,n.call(this,i,r,u));return i.on("loadstart",f.bind(e,e.toggleDisplay)),i.on("texttrackchange",f.bind(e,e.updateDisplay)),i.ready(f.bind(e,function(){var o,t,e,n;if(i.tech_&&i.tech_.featuresNativeTextTracks)return void this.hide();i.on("fullscreenchange",f.bind(this,this.updateDisplay));for(o=this.options_.playerOptions.tracks||[],t=0;t<o.length;t++)this.player_.addRemoteTextTrack(o[t],!0);var h={captions:1,subtitles:1},s=this.player_.textTracks(),r=void 0,u=void 0;if(s){for(e=0;e<s.length;e++)n=s[e],n["default"]&&("descriptions"!==n.kind||r?n.kind in h&&!u&&(u=n):r=n);u?u.mode="showing":r&&(r.mode="showing")}})),e}return p(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":"off","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?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(r)):i&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),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=[],s=0;s<n.activeCues.length;s++)f.push(n.activeCues[s]);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&&o(i.firstChild,"color",e(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&o(i.firstChild,"backgroundColor",e(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?o(i,"backgroundColor",e(t.windowColor,t.windowOpacity)):i.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?i.firstChild.style.textShadow="2px 2px 3px "+r+", 2px 2px 4px "+r+", 2px 2px 5px "+r:"raised"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px "+r+", 2px 2px "+r+", 3px 3px "+r:"depressed"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px "+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=d[t.fontFamily]))}},t}(h["default"]);h["default"].registerComponent("TextTrackDisplay",l);i["default"]=l},{5:5,83:83,95:95}],69:[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 i.indexOf(n)===-1}).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}},{}],70:[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 e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(74),r=f(h),c=n(83),l=u(c),a=n(78),v=u(a),y=n(94),p=f(y),w=function(n){function t(){var s,h,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i,u,f;if(o(this,t),i=void 0,v.IS_IE8){i=p["default"].createElement("custom");for(u in r["default"].prototype)"constructor"!==u&&(i[u]=r["default"].prototype[u]);for(f in t.prototype)"constructor"!==f&&(i[f]=t.prototype[f])}return i=s=e(this,n.call(this,c,i)),h=i,e(s,h)}return s(t,n),t.prototype.addTrack_=function(t){n.prototype.addTrack_.call(this,t);t.addEventListener("modechange",l.bind(this,function(){this.trigger("change")}))},t}(r["default"]);i["default"]=w},{74:74,78:78,83:83,94:94}],71:[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 ut(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function ft(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function et(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 v(n,t){if(t&&(n=t(n)),n&&"none"!==n)return n}function ot(n,t){var i=n.options[n.options.selectedIndex].value;return v(i,t)}function st(n,t,i){if(t)for(var r=0;r<n.options.length;r++)if(v(n.options[r].value,i)===t){n.selectedIndex=r;break}}var l;i.__esModule=!0;var ht=n(95),o=e(ht),ct=n(5),y=e(ct),r=n(81),lt=n(83),at=a(lt),vt=n(88),f=a(vt),yt=n(86),p=e(yt),s="vjs-text-track-settings",w=["#000","Black"],b=["#00F","Blue"],k=["#0FF","Cyan"],d=["#0F0","Green"],g=["#F0F","Magenta"],nt=["#F00","Red"],tt=["#FFF","White"],it=["#FF0","Yellow"],h=["1","Opaque"],c=["0.5","Semi-Transparent"],rt=["0","Transparent"],u={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[w,tt,nt,d,b,it,g,k]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[h,c,rt]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[tt,w,nt,d,b,it,g,k]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],"default":2,parser:function(n){return"1.00"===n?null:Number(n)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[h,c]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[rt,c,h]}};u.windowColor.options=u.backgroundColor.options;l=function(n){function t(i,r){ut(this,t);var e=ft(this,n.call(this,i,r));return e.setDefaults(),e.hide(),e.updateDisplay=at.bind(e,e.updateDisplay),void 0===r.persistTextTrackSettings&&(e.options_.persistTextTrackSettings=e.options_.playerOptions.persistTextTrackSettings),e.on(e.$(".vjs-done-button"),"click",function(){e.saveSettings();e.hide()}),e.on(e.$(".vjs-default-button"),"click",function(){e.setDefaults();e.updateDisplay()}),f.each(u,function(n){e.on(e.$(n.selector),"change",e.updateDisplay)}),e.options_.persistTextTrackSettings&&e.restoreSettings(),e}return et(t,n),t.prototype.createElSelect_=function(n){var f=this,t=u[n],i=t.id.replace("%s",this.id_);return[r.createEl("label",{className:"vjs-label",textContent:t.label},{"for":i}),r.createEl("select",{id:i},void 0,t.options.map(function(n){return r.createEl("option",{textContent:f.localize(n[1]),value:n[0]})}))]},t.prototype.createElFgColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),i=r.createEl("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return r.createEl("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[n].concat(t,i))},t.prototype.createElBgColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),i=r.createEl("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return r.createEl("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[n].concat(t,i))},t.prototype.createElWinColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),i=r.createEl("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return r.createEl("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[n].concat(t,i))},t.prototype.createElColors_=function(){return r.createEl("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var n=r.createEl("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),t=r.createEl("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),i=r.createEl("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return r.createEl("div",{className:"vjs-tracksettings-font"},void 0,[n,t,i])},t.prototype.createElControls_=function(){var n=r.createEl("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=r.createEl("button",{className:"vjs-done-button",textContent:"Done"});return r.createEl("div",{className:"vjs-tracksettings-controls"},void 0,[n,t])},t.prototype.createEl=function(){var i=r.createEl("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),n=r.createEl("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),t=r.createEl("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),u=r.createEl("div",void 0,{role:"document"},[n,t,i]);return r.createEl("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":n.id,"aria-describedby":t.id},u)},t.prototype.getValues=function(){var n=this;return f.reduce(u,function(t,i,r){var u=ot(n.$(i.selector),i.parser);return void 0!==u&&(t[r]=u),t},{})},t.prototype.setValues=function(n){var t=this;f.each(u,function(i,r){st(t.$(i.selector),n[r],i.parser)})},t.prototype.setDefaults=function(){var n=this;f.each(u,function(t){var i=t.hasOwnProperty("default")?t["default"]:0;n.$(t.selector).selectedIndex=i})},t.prototype.restoreSettings=function(){var n=void 0;try{n=JSON.parse(o["default"].localStorage.getItem(s))}catch(t){p["default"].warn(t)}n&&this.setValues(n)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var n=this.getValues();try{Object.keys(n).length?o["default"].localStorage.setItem(s,JSON.stringify(n)):o["default"].localStorage.removeItem(s)}catch(t){p["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&n.updateDisplay()},t}(y["default"]);y["default"].registerComponent("TextTrackSettings",l);i["default"]=l},{5:5,81:81,83:83,86:86,88:88,95:95}],72:[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 v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(67),h=u(p),w=n(83),c=o(w),f=n(73),b=n(86),e=u(b),k=n(95),r=u(k),d=n(75),g=u(d),nt=n(92),tt=n(105),it=u(tt),rt=n(87),ut=u(rt),ft=n(78),et=o(ft),l=function(n,t){var i=new r["default"].WebVTT.Parser(r["default"],r["default"].vttjs,r["default"].WebVTT.StringDecoder()),u=[];i.oncue=function(n){t.addCue(n)};i.onparsingerror=function(n){u.push(n)};i.onflush=function(){t.trigger({type:"loadeddata",target:t})};i.parse(n);u.length>0&&(r["default"].console&&r["default"].console.groupCollapsed&&r["default"].console.groupCollapsed("Text Track parsing errors for "+t.src),u.forEach(function(n){return e["default"].error(n)}),r["default"].console&&r["default"].console.groupEnd&&r["default"].console.groupEnd());i.flush()},ot=function(n,t){var i={uri:n},u=nt.isCrossOrigin(n);u&&(i.cors=u);it["default"](i,c.bind(this,function(n,i,u){return n?e["default"].error(n,i):(t.loaded_=!0,void("function"!=typeof r["default"].WebVTT?t.tech_&&!function(){var n=function(){return l(u,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)})}():l(u,t)))}))},a=function(n){function t(){var y,p,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i,l;if(v(this,t),!u.tech)throw new Error("A tech was not provided.");var r=ut["default"](u,{kind:f.TextTrackKind[u.kind]||"subtitles",language:u.language||u.srclang||""}),e=f.TextTrackMode[r.mode]||"disabled",b=r["default"];if("metadata"!==r.kind&&"chapters"!==r.kind||(e="hidden"),i=y=s(this,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 k=new h["default"](i.cues_),a=new h["default"](i.activeCues_),o=!1,w=c.bind(i,function(){this.activeCues;o&&(this.trigger("cuechange"),o=!1)});return"disabled"!==e&&i.tech_.on("timeupdate",w),Object.defineProperty(i,"default",{get:function(){return b},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return e},set:function(n){f.TextTrackMode[n]&&(e=n,"showing"===e&&this.tech_.on("timeupdate",w),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?k:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){var n,r;if(!this.loaded_)return null;if(0===this.cues.length)return a;for(var i=this.tech_.currentTime(),t=[],u=0,f=this.cues.length;u<f;u++)n=this.cues[u],n.startTime<=i&&n.endTime>=i?t.push(n):n.startTime===n.endTime&&n.startTime<=i&&n.startTime+.5>=i&&t.push(n);if(o=!1,t.length!==this.activeCues_.length)o=!0;else for(r=0;r<t.length;r++)this.activeCues_.indexOf(t[r])===-1&&(o=!0);return this.activeCues_=t,a.setCues_(this.activeCues_),a},set:function(){}}),r.src?(i.src=r.src,ot(r.src,i)):i.loaded_=!0,p=i,s(y,p)}return y(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;t<u;t++)r=this.cues_[t],r===n&&(this.cues_.splice(t,1),i=!0);i&&this.cues.setCues_(this.cues_)},t}(g["default"]);a.prototype.allowedEvents_={cuechange:"cuechange"};i["default"]=a},{105:105,67:67,73:73,75:75,78:78,83:83,86:86,87:87,92:92,95:95}],73:[function(n,t,i){"use strict";i.__esModule=!0;i.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"};i.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"};i.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"};i.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},{}],74:[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 s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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)}var e;i.__esModule=!0;var c=n(42),l=u(c),a=n(78),v=o(a),y=n(94),p=u(y),r=function(n){function t(){var o,h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e,r,u;if(s(this,t),e=f(this,n.call(this)),!i&&(i=e,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<h.length;u++)i.addTrack_(h[u]);return o=i,f(e,o)}return h(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]}});this.tracks_.indexOf(n)===-1&&(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;i<r;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;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},t}(l["default"]);r.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(e in r.prototype.allowedEvents_)r.prototype["on"+e]=null;i["default"]=r},{42:42,78:78,94:94}],75:[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 e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(78),h=u(s),c=n(94),l=r(c),a=n(85),v=u(a),y=n(42),p=r(y),w=function(n){function t(){var c,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o,i,u,s,a,y;if(e(this,t),o=f(this,n.call(this)),i=o,h.IS_IE8){i=l["default"].createElement("custom");for(u in t.prototype)"constructor"!==u&&(i[u]=t.prototype[u])}s={id:r.id||"vjs_track_"+v.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""};a=function(n){Object.defineProperty(i,n,{get:function(){return s[n]},set:function(){}})};for(y in s)a(y);return c=i,f(o,c)}return o(t,n),t}(p["default"]);i["default"]=w},{42:42,78:78,85:85,94:94}],76:[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 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 e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(74),r=f(c),l=n(78),a=o(l),v=n(94),y=f(v),u=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].selected=!1)},p=function(n){function t(){var l,v,f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i,o,h,c;for(s(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].selected){u(f,f[o]);break}if(a.IS_IE8){i=y["default"].createElement("custom");for(h in r["default"].prototype)"constructor"!==h&&(i[h]=r["default"].prototype[h]);for(c in t.prototype)"constructor"!==c&&(i[c]=t.prototype[c])}return i=l=e(this,n.call(this,f,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(){}}),v=i,e(l,v)}return h(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"]=p},{74:74,78:78,94:94}],77:[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 u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}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(73),h=n(75),c=r(h),l=n(87),a=r(l),v=n(78),y=f(v),p=function(n){function t(){var h,c,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r;e(this,t);var f=a["default"](l,{kind:s.VideoTrackKind[l.kind]||""}),i=h=u(this,n.call(this,f)),o=!1;if(y.IS_IE8)for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"selected",{get:function(){return o},set:function(n){"boolean"==typeof n&&n!==o&&(o=n,this.trigger("selectedchange"))}}),f.selected&&(i.selected=f.selected),c=i,u(h,c)}return o(t,n),t}(c["default"]);i["default"]=p},{73:73,75:75,78:78,87:87}],78:[function(n,t,i){"use strict";function l(n){return n&&n.__esModule?n:{"default":n}}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}i.__esModule=!0;i.BACKGROUND_SIZE_SUPPORTED=i.TOUCH_ENABLED=i.IS_ANY_SAFARI=i.IS_SAFARI=i.IE_VERSION=i.IS_IE8=i.IS_CHROME=i.IS_EDGE=i.IS_FIREFOX=i.IS_NATIVE_ANDROID=i.IS_OLD_ANDROID=i.ANDROID_VERSION=i.IS_ANDROID=i.IOS_VERSION=i.IS_IOS=i.IS_IPOD=i.IS_IPHONE=i.IS_IPAD=void 0;var v=n(81),e=a(v),y=n(95),u=l(y),r=u["default"].navigator&&u["default"].navigator.userAgent||"",o=/AppleWebKit\/([\d.]+)/i.exec(r),p=o?parseFloat(o.pop()):null,s=i.IS_IPAD=/iPad/i.test(r),w=i.IS_IPHONE=/iPhone/i.test(r)&&!s,b=i.IS_IPOD=/iPod/i.test(r),k=i.IS_IOS=w||s||b,f=(i.IOS_VERSION=function(){var n=r.match(/OS (\d+)_/i);return n&&n[1]?n[1]:null}(),i.IS_ANDROID=/Android/i.test(r)),h=i.ANDROID_VERSION=function(){var n=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),t,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}(),c=(i.IS_OLD_ANDROID=f&&/webkit/i.test(r)&&h<2.3,i.IS_NATIVE_ANDROID=f&&h<5&&p<537,i.IS_FIREFOX=/Firefox/i.test(r),i.IS_EDGE=/Edge/i.test(r)),d=i.IS_CHROME=!c&&/Chrome/i.test(r),g=(i.IS_IE8=/MSIE\s8\.0/.test(r),i.IE_VERSION=function(n){return n&&parseFloat(n[1])}(/MSIE\s(\d+)\.\d/.exec(r)),i.IS_SAFARI=/Safari/i.test(r)&&!d&&!f&&!c);i.IS_ANY_SAFARI=g||k;i.TOUCH_ENABLED=e.isReal()&&("ontouchstart"in u["default"]||u["default"].DocumentTouch&&u["default"].document instanceof u["default"].DocumentTouch);i.BACKGROUND_SIZE_SUPPORTED=e.isReal()&&"backgroundSize"in u["default"].document.createElement("video").style},{81:81,95:95}],79:[function(n,t,i){"use strict";function r(n,t){var f=0,e=void 0,r=void 0,i;if(!t)return 0;for(n&&n.length||(n=u.createTimeRange(0,0)),i=0;i<n.length;i++)e=n.start(i),r=n.end(i),r>t&&(r=t),f+=r-e;return f/t}i.__esModule=!0;i.bufferedPercent=r;var u=n(90)},{90:90}],80:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!n||!t)return"";if("function"==typeof r["default"].getComputedStyle){var i=r["default"].getComputedStyle(n);return i?i[t]:""}return n.currentStyle[t]||""}i.__esModule=!0;i["default"]=f;var e=n(95),r=u(e)},{95:95}],81:[function(n,t,i){"use strict";function it(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 rt(n,t){return n.raw=t,n}function l(n){return"string"==typeof n&&/\S/.test(n)}function a(n){if(/\s/.test(n))throw new Error("class has illegal whitespace characters");}function ut(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function ft(){return r["default"]===c["default"].document&&"undefined"!=typeof r["default"].createElement}function o(n){return tt.isObject(n)&&1===n.nodeType}function v(n){return function(t,i){if(!l(t))return r["default"][n](null);l(i)&&(i=r["default"].querySelector(i));var u=o(i)?i:r["default"];return u[n]&&u[n](t)}}function et(n){return 0===n.indexOf("#")&&(n=n.slice(1)),r["default"].getElementById(n)}function ot(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments[3],n=r["default"].createElement(f);return Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];i.indexOf("aria-")!==-1||"role"===i||"type"===i?(ei["default"].warn(si["default"](nt,i,r)),n.setAttribute(i,r)):"textContent"===i?y(n,r):n[i]=r}),Object.getOwnPropertyNames(i).forEach(function(t){n.setAttribute(t,i[t])}),u&&h(n,u),n}function y(n,t){return"undefined"==typeof n.textContent?n.innerText=t:n.textContent=t,n}function st(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function ht(n){var t=n[u];return t||(t=n[u]=ui.newGUID()),f[t]||(f[t]={}),f[t]}function ct(n){var t=n[u];return!!t&&!!Object.getOwnPropertyNames(f[t]).length}function lt(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 s(n,t){return a(t),n.classList?n.classList.contains(t):ut(t).test(n.className)}function p(n,t){return n.classList?n.classList.add(t):s(n,t)||(n.className=(n.className+" "+t).trim()),n}function w(n,t){return n.classList?n.classList.remove(t):(a(t),n.className=n.className.split(/\s+/).filter(function(n){return n!==t}).join(" ")),n}function at(n,t,i){var r=s(n,t);if("function"==typeof i&&(i=i(n,t)),"boolean"!=typeof i&&(i=!r),i!==r)return i?p(n,t):w(n,t),n}function vt(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 yt(n){var f={},i,t,r,u;if(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]&&",autoplay,controls,loop,muted,default,".indexOf(","+r+",")===-1||(u=null!==u),f[r]=u;return f}function pt(n,t){return n.getAttribute(t)}function wt(n,t,i){n.setAttribute(t,i)}function bt(n,t){n.removeAttribute(t)}function kt(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function dt(){r["default"].onselectstart=function(){return!0}}function b(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=c["default"].pageXOffset||i.scrollLeft,o=t.left+e-f,s=u.clientTop||i.clientTop||0,h=c["default"].pageYOffset||i.scrollTop,l=t.top+h-s;return{left:Math.round(o),top:Math.round(l)}}function gt(n,t){var i={},r=b(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 k(n){return tt.isObject(n)&&3===n.nodeType}function d(n){for(;n.firstChild;)n.removeChild(n.firstChild);return n}function g(n){return"function"==typeof n&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return"function"==typeof n&&(n=n()),o(n)||k(n)?n:"string"==typeof n&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function h(n,t){return g(t).forEach(function(t){return n.appendChild(t)}),n}function ni(n,t){return h(d(n),t)}var nt;i.__esModule=!0;i.$$=i.$=void 0;nt=rt(["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 ","."]);i.isReal=ft;i.isEl=o;i.getEl=et;i.createEl=ot;i.textContent=y;i.insertElFirst=st;i.getElData=ht;i.hasElData=ct;i.removeElData=lt;i.hasElClass=s;i.addElClass=p;i.removeElClass=w;i.toggleElClass=at;i.setElAttributes=vt;i.getElAttributes=yt;i.getAttribute=pt;i.setAttribute=wt;i.removeAttribute=bt;i.blockTextSelection=kt;i.unblockTextSelection=dt;i.findElPosition=b;i.getPointerPosition=gt;i.isTextNode=k;i.emptyEl=d;i.normalizeContent=g;i.appendContent=h;i.insertContent=ni;var ti=n(94),r=e(ti),ii=n(95),c=e(ii),ri=n(85),ui=it(ri),fi=n(86),ei=e(fi),oi=n(98),si=e(oi),tt=n(88),f={},u="vdata"+(new Date).getTime();i.$=v("querySelector");i.$$=v("querySelectorAll")},{85:85,86:86,88:88,94:94,95:95,98:98}],82:[function(n,t,i){"use strict";function u(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 l(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 f(n,t,i,r){i.forEach(function(i){n(t,i,r)})}function e(n){function t(){return!0}function i(){return!1}return n&&n.isPropagationStopped||!function(){var r=n||g["default"].event,u,f,e;n={};for(u in r)"layerX"!==u&&"layerY"!==u&&"keyLocation"!==u&&"webkitMovementX"!==u&&"webkitMovementY"!==u&&("returnValue"===u&&r.preventDefault||(n[u]=r[u]));(n.target||(n.target=n.srcElement||h["default"]),n.relatedTarget||(n.relatedTarget=n.fromElement===n.target?n.toElement:n.fromElement),n.preventDefault=function(){r.preventDefault&&r.preventDefault();n.returnValue=!1;r.returnValue=!1;n.defaultPrevented=!0},n.defaultPrevented=!1,n.stopPropagation=function(){r.stopPropagation&&r.stopPropagation();n.cancelBubble=!0;r.cancelBubble=!0;n.isPropagationStopped=t},n.isPropagationStopped=i,n.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation();n.isImmediatePropagationStopped=t;n.stopPropagation()},n.isImmediatePropagationStopped=i,null!==n.clientX&&void 0!==n.clientX)&&(f=h["default"].documentElement,e=h["default"].body,n.pageX=n.clientX+(f&&f.scrollLeft||e&&e.scrollLeft||0)-(f&&f.clientLeft||e&&e.clientLeft||0),n.pageY=n.clientY+(f&&f.scrollTop||e&&e.scrollTop||0)-(f&&f.clientTop||e&&e.clientTop||0));n.which=n.charCode||n.keyCode;null!==n.button&&void 0!==n.button&&(n.button=1&n.button?0:4&n.button?1:2&n.button?2:0)}(),n}function o(n,t,i){if(Array.isArray(t))return f(o,n,t,i);var u=r.getElData(n);u.handlers||(u.handlers={});u.handlers[t]||(u.handlers[t]=[]);i.guid||(i.guid=y.newGUID());u.handlers[t].push(i);u.dispatcher||(u.disabled=!1,u.dispatcher=function(t,i){var r;if(!u.disabled&&(t=e(t),r=u.handlers[t.type],r))for(var o=r.slice(0),f=0,s=o.length;f<s&&!t.isImmediatePropagationStopped();f++)try{o[f].call(n,t,i)}catch(h){k["default"].error(h)}});1===u.handlers[t].length&&(n.addEventListener?n.addEventListener(t,u.dispatcher,!1):n.attachEvent&&n.attachEvent("on"+t,u.dispatcher))}function s(n,t,i){var u,h,e,o,c;if(r.hasElData(n)&&(u=r.getElData(n),u.handlers)){if(Array.isArray(t))return f(s,n,t,i);if(h=function(t){u.handlers[t]=[];l(n,t)},t){if(e=u.handlers[t],e){if(!i)return void h(t);if(i.guid)for(o=0;o<e.length;o++)e[o].guid===i.guid&&e.splice(o--,1);l(n,t)}}else for(c in u.handlers)h(c)}}function a(n,t,i){var o=r.hasElData(n)?r.getElData(n):{},u=n.parentNode||n.ownerDocument,f;return("string"==typeof t&&(t={type:t,target:n}),t=e(t),o.dispatcher&&o.dispatcher.call(n,t,i),u&&!t.isPropagationStopped()&&t.bubbles===!0)?a.call(null,u,t,i):u||t.defaultPrevented||(f=r.getElData(t.target),t.target[t.type]&&(f.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),f.disabled=!1)),!t.defaultPrevented}function v(n,t,i){if(Array.isArray(t))return f(v,n,t,i);var r=function u(){s(n,t,u);i.apply(this,arguments)};r.guid=i.guid=i.guid||y.newGUID();o(n,t,r)}i.__esModule=!0;i.fixEvent=e;i.on=o;i.off=s;i.trigger=a;i.one=v;var p=n(81),r=c(p),w=n(85),y=c(w),b=n(86),k=u(b),d=n(95),g=u(d),nt=n(94),h=u(nt)},{81:81,85:85,86:86,94:94,95:95}],83:[function(n,t,i){"use strict";i.__esModule=!0;i.throttle=i.bind=void 0;var r=n(85);i.bind=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.throttle=function(n,t){var i=Date.now();return function(){var r=Date.now();r-i>=t&&(n.apply(void 0,arguments),i=r)}}},{85:85}],84:[function(n,t,i){"use strict";function r(n){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;n=n<0?0:n;var t=Math.floor(n%60),i=Math.floor(n/60%60),r=Math.floor(n/3600),f=Math.floor(u/60%60),e=Math.floor(u/3600);return(isNaN(n)||n===1/0)&&(r=i=t="-"),r=r>0||e>0?r+":":"",i=((r||f>=10)&&i<10?"0"+i:i)+":",t=t<10?"0"+t:t,r+i+t}i.__esModule=!0;i["default"]=r},{}],85:[function(n,t,i){"use strict";function r(){return u++}i.__esModule=!0;i.newGUID=r;var u=1},{}],86:[function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.logByType=void 0;var s=n(95),u=o(s),e=n(78),h=n(88),r=void 0,f=i.logByType=function(n,t){var f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!e.IE_VERSION&&e.IE_VERSION<11,i;"log"!==n&&t.unshift(n.toUpperCase()+":");r.history.push(t);t.unshift("VIDEOJS:");i=u["default"].console&&u["default"].console[n];i&&(f&&(t=t.map(function(n){if(h.isObject(n)||Array.isArray(n))try{return JSON.stringify(n)}catch(t){return String(n)}return String(n)}).join(" ")),i.apply?i[Array.isArray(t)?"apply":"call"](u["default"].console,t):i(t))};r=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];f("log",i)};r.history=[];r.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return f("error",i)};r.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return f("warn",i)};i["default"]=r},{78:78,88:88,95:95}],87:[function(n,t,i){"use strict";function u(){for(var n={},i=arguments.length,f=Array(i),t=0;t<i;t++)f[t]=arguments[t];return f.forEach(function(t){t&&r.each(t,function(t,i){return r.isPlain(t)?(r.isPlain(n[i])||(n[i]={}),void(n[i]=u(n[i],t))):void(n[i]=t)})}),n}i.__esModule=!0;i["default"]=u;var r=n(88)},{88:88}],88:[function(n,t,i){"use strict";function r(n,t){Object.keys(n).forEach(function(i){return t(n[i],i)})}function o(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Object.keys(n).reduce(function(i,r){return t(i,n[r],r)},i)}function s(n){for(var i=arguments.length,u=Array(i>1?i-1:0),t=1;t<i;t++)u[t-1]=arguments[t];return Object.assign?Object.assign.apply(Object,[n].concat(u)):(u.forEach(function(t){t&&r(t,function(t,i){n[i]=t})}),n)}function u(n){return!!n&&"object"===("undefined"==typeof n?"undefined":f(n))}function h(n){return u(n)&&"[object Object]"===e.call(n)&&n.constructor===Object}var f,e;i.__esModule=!0;f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};i.each=r;i.reduce=o;i.assign=s;i.isObject=u;i.isPlain=h;e=Object.prototype.toString},{}],89:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.setTextContent=i.createStyleElement=void 0;var u=n(94),f=r(u);i.createStyleElement=function(n){var t=f["default"].createElement("style");return t.className=n,t};i.setTextContent=function(n,t){n.styleSheet?n.styleSheet.cssText=t:n.textContent=t}},{94:94}],90:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t,i){if(t<0||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+").");}function u(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 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:u.bind(null,"start",0,n),end:u.bind(null,"end",1,n)}}function f(n,t){return Array.isArray(n)?r(n):void 0===n||void 0===t?r():r([[n,t]])}i.__esModule=!0;i.createTimeRange=void 0;i.createTimeRanges=f;var s=n(86),h=e(s);i.createTimeRange=f},{86:86}],91:[function(n,t,i){"use strict";function r(n){return"string"!=typeof n?n:n.charAt(0).toUpperCase()+n.slice(1)}i.__esModule=!0;i["default"]=r},{}],92:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.isCrossOrigin=i.getFileExtension=i.getAbsoluteURL=i.parseUrl=void 0;var f=n(94),r=u(f),e=n(95),o=u(e),s=i.parseUrl=function(n){var e=["protocol","hostname","port","pathname","search","hash","host"],u=r["default"].createElement("a"),o,i,t,f;for(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.getAbsoluteURL=function(n){if(!n.match(/^https?:\/\//)){var t=r["default"].createElement("div");t.innerHTML='<a href="'+n+'">x<\/a>';n=t.firstChild.href}return n};i.getFileExtension=function(n){if("string"==typeof n){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(n);if(t)return t.pop().toLowerCase()}return""};i.isCrossOrigin=function(n){var t=o["default"].location,i=s(n),r=":"===i.protocol?t.protocol:i.protocol;return r+i.host!==t.protocol+t.host}},{94:94,95:95}],93:[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 u(n,t,i){var r=void 0,o,e;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=f.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]?r.player||s["default"].players[r.playerId]:(t=t||{},u.hooks("beforesetup").forEach(function(n){var i=n(r,a["default"](t));return!si.isObject(i)||Array.isArray(i)?void v["default"].error("please return an object in beforesetup hooks"):void(t=a["default"](t,i))}),o=c["default"].getComponent("Player"),e=new o(r,t,i),u.hooks("setup").forEach(function(n){return n(e)}),e)}var h,y;r.__esModule=!0;var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},nt=t(95),tt=e(nt),it=t(94),p=e(it),rt=t(56),ut=o(rt),ft=t(89),k=o(ft),et=t(5),c=e(et),ot=t(42),st=e(ot),ht=t(82),l=o(ht),ct=t(51),s=e(ct),lt=t(52),at=e(lt),vt=t(87),a=e(vt),yt=t(83),pt=o(yt),wt=t(72),bt=e(wt),kt=t(64),dt=e(kt),gt=t(77),ni=e(gt),ti=t(90),ii=t(84),ri=e(ii),ui=t(86),v=e(ui),fi=t(81),f=o(fi),ei=t(78),d=o(ei),oi=t(92),g=o(oi),si=t(88),hi=t(80),ci=e(hi),li=t(43),ai=e(li),vi=t(105),yi=e(vi),pi=t(62),w=e(pi);("undefined"==typeof HTMLVideoElement&&f.isReal()&&(p["default"].createElement("video"),p["default"].createElement("audio"),p["default"].createElement("track")),u.hooks_={},u.hooks=function(n,t){return u.hooks_[n]=u.hooks_[n]||[],t&&(u.hooks_[n]=u.hooks_[n].concat(t)),u.hooks_[n]},u.hook=function(n,t){u.hooks(n,t)},u.removeHook=function(n,t){var i=u.hooks(n).indexOf(t);return!(i<=-1)&&(u.hooks_[n]=u.hooks_[n].slice(),u.hooks_[n].splice(i,1),!0)},tt["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0&&f.isReal())&&(h=f.$(".vjs-styles-defaults"),h||(h=k.createStyleElement("vjs-styles-defaults"),y=f.$("head"),y&&y.insertBefore(h,y.firstChild),k.setTextContent(h,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")));ut.autoSetupTimeout(1,u);u.VERSION="5.16.0";u.options=s["default"].prototype.options_;u.getPlayers=function(){return s["default"].players};u.players=s["default"].players;u.getComponent=c["default"].getComponent;u.registerComponent=function(n,t){w["default"].isTech(t)&&v["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");c["default"].registerComponent.call(c["default"],n,t)};u.getTech=w["default"].getTech;u.registerTech=w["default"].registerTech;u.browser=d;u.TOUCH_ENABLED=d.TOUCH_ENABLED;u.extend=ai["default"];u.mergeOptions=a["default"];u.bind=pt.bind;u.plugin=at["default"];u.addLanguage=function(n,t){var i;return n=(""+n).toLowerCase(),u.options.languages=a["default"](u.options.languages,(i={},i[n]=t,i)),u.options.languages[n]};u.log=v["default"];u.createTimeRange=u.createTimeRanges=ti.createTimeRanges;u.formatTime=ri["default"];u.parseUrl=g.parseUrl;u.isCrossOrigin=g.isCrossOrigin;u.EventTarget=st["default"];u.on=l.on;u.one=l.one;u.off=l.off;u.trigger=l.trigger;u.xhr=yi["default"];u.TextTrack=bt["default"];u.AudioTrack=dt["default"];u.VideoTrack=ni["default"];u.isEl=f.isEl;u.isTextNode=f.isTextNode;u.createEl=f.createEl;u.hasClass=f.hasElClass;u.addClass=f.addElClass;u.removeClass=f.removeElClass;u.toggleClass=f.toggleElClass;u.setAttributes=f.setElAttributes;u.getAttributes=f.getElAttributes;u.emptyEl=f.emptyEl;u.appendContent=f.appendContent;u.insertContent=f.insertContent;u.computedStyle=ci["default"];"function"==typeof n&&n.amd?n("videojs",[],function(){return u}):"object"===("undefined"==typeof r?"undefined":b(r))&&"object"===("undefined"==typeof i?"undefined":b(i))&&(i.exports=u);r["default"]=u},{105:105,42:42,43:43,5:5,51:51,52:52,56:56,62:62,64:64,72:72,77:77,78:78,80:80,81:81,82:82,83:83,84:84,86:86,87:87,88:88,89:89,90:90,92:92,94:94,95:95}],94:[function(n,t){(function(i){var u="undefined"!=typeof i?i:"undefined"!=typeof window?window:{},f=n(96),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:{})},{96:96}],95:[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:{})},{}],96:[function(){},{}],97:[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},{}],98:[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}},{}],99:[function(n,t){t.exports={WebVTT:n(100).WebVTT,VTTCue:n(101).VTTCue,VTTRegion:n(103).VTTRegion}},{100:100,101:101,103:103}],100:[function(){!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++u*-1}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}""===t.vertical?this.applyStyles({left:this.formatStyle(u,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({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=s<0?-1:1,s*=Math.ceil(v/l)*l);e<0&&(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&&t<=100))&&(this.set(n,t),!0)}};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",r.indexOf("-->")===-1){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=r.indexOf("-->")!==-1,!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||{})},{}],101:[function(n,t){"undefined"!=typeof t&&t.exports&&(this.VTTCue=this.VTTCue||n(102).VTTCue),function(n){n.VTTCue.prototype.toJSON=function(){var n={},t=this;return Object.keys(this).forEach(function(i){"getCueAsHTML"!==i&&"hasBeenReset"!==i&&"displayState"!==i&&(n[i]=t[i])}),n};n.VTTCue.create=function(t){var i,r;if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");i=new n.VTTCue(t.startTime,t.endTime,t.text);for(r in t)i.hasOwnProperty(r)&&(i[r]=t[r]);return i};n.VTTCue.fromJSON=function(n){return this.create(JSON.parse(n))}}(this)},{102:102}],102:[function(){!function(n,t){function f(n){if("string"!=typeof n)return!1;var t=o[n.toLowerCase()];return!!t&&n.toLowerCase()}function r(n){if("string"!=typeof n)return!1;var t=s[n.toLowerCase()];return!!t&&n.toLowerCase()}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";if(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(n<0||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(n<0||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)return o}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||{})},{}],103:[function(n,t){"undefined"!=typeof t&&t.exports&&(this.VTTRegion=n(104).VTTRegion),function(n){n.VTTRegion.create=function(t){var i=new n.VTTRegion;for(var r in t)i.hasOwnProperty(r)&&(i[r]=t[r]);return i};n.VTTRegion.fromJSON=function(n){return this.create(JSON.parse(n))}}(this)},{104:104}],104:[function(){!function(n,t){function u(n){if("string"!=typeof n)return!1;var t=f[n.toLowerCase()];return!!t&&n.toLowerCase()}function i(n){return"number"==typeof n&&n>=0&&n<=100}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||{})},{}],105:[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 g(){4===t.readyState&&v()}function nt(){var n=void 0;if(n=t.response?t.response:t.responseText||s(t),d)try{n=JSON.parse(n)}catch(i){}return n}function e(n){return clearTimeout(h),n instanceof Error||(n=new Error(""+(n||"Unknown XMLHttpRequest Error"))),n.statusCode=0,p(n,w)}function v(){var r,i,f;if(!b)return clearTimeout(h),r=n.useXDR&&void 0===t.status?200:1223===t.status?204:t.status,i=w,f=null,0!==r?(i={body:nt(),statusCode:r,method:u,headers:{},url:c,rawRequest:t},t.getAllResponseHeaders&&(i.headers=l(t.getAllResponseHeaders()))):f=new Error("Internal XMLHttpRequest Error"),p(f,i,i.body)}if("undefined"==typeof n.callback)throw new Error("callback argument missing");var y=!1,p=function(t,i,r){y||(y=!0,n.callback(t,i,r))},w={body:void 0,headers:{},statusCode:0,method:u,url:c,rawRequest:t},t=n.xhr||null;t||(t=n.cors||n.useXDR?new i.XDomainRequest:new i.XMLHttpRequest);var f,b,h,c=t.url=n.uri||n.url,u=t.method=n.method||"GET",k=n.body||n.data||null,r=t.headers=n.headers||{},a=!!n.sync,d=!1;if("json"in n&&(d=!0,r.accept||r.Accept||(r.Accept="application/json"),"GET"!==u&&"HEAD"!==u&&(r["content-type"]||r["Content-Type"]||(r["Content-Type"]="application/json"),k=JSON.stringify(n.json))),t.onreadystatechange=g,t.onload=v,t.onerror=e,t.onprogress=function(){},t.ontimeout=e,t.open(u,c,!a,n.username,n.password),a||(t.withCredentials=!!n.withCredentials),!a&&n.timeout>0&&(h=setTimeout(function(){b=!0;t.abort("timeout");var n=new Error("XMLHttpRequest timeout");n.code="ETIMEDOUT";e(n)},n.timeout)),t.setRequestHeader)for(f in r)r.hasOwnProperty(f)&&t.setRequestHeader(f,r[f]);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(k),t}function s(n){if("document"===n.responseType)return n.responseXML;var t=204===n.status&&n.responseXML&&"parsererror"===n.responseXML.documentElement.nodeName;return""!==n.responseType||t?null:n.responseXML}function h(){}var f=n(95),c=n(106),l=n(109),a=n(110);t.exports=i;i.XMLHttpRequest=f.XMLHttpRequest||h;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)}})},{106:106,109:109,110:110,95:95}],106:[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},{}],107:[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;u<f;u++)i.call(n,u)&&t.call(r,n[u],u,n)}function e(n,t,i){for(var r=0,u=n.length;r<u;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(106),r,i;t.exports=u;r=Object.prototype.toString;i=Object.prototype.hasOwnProperty},{106:106}],108:[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*$/,"")}},{}],109:[function(n,t){var i=n(108),r=n(107),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}},{107:107,108:108}],110:[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},{}]},{},[93])(93)});!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-1==r.indexOf(t)&&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),-1!=r&&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=-1==n.indexOf("%")&&!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;f>n;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;f>c;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=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&&"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);-1!=i&&n.splice(i,1)},i.getParent=function(n,i){for(;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?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=-1!=r.indexOf("%")?parseFloat(r)/100*n.width:parseInt(r,10),i=-1!=u.indexOf("%")?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={};for(var 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(["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 i=n.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._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},i.prototype.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&&1>e?"round":"floor";u=Math[o](u);this.cols=Math.max(u,1)},i.prototype.getContainerWidth=function(){var i=this._getOption("fitWidth"),r=i?this.element.parentNode:this.element,n=t(r);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(n){n.getSize();var f=n.size.outerWidth%this.columnWidth,o=f&&1>f?"round":"ceil",t=Math[o](n.size.outerWidth/this.columnWidth);t=Math.min(t,this.cols);for(var i=this._getColGroup(t),r=Math.min.apply(Math,i),e=i.indexOf(r),s={x:this.columnWidth*e,y:r},h=r+n.size.outerHeight,c=this.cols+1-i.length,u=0;c>u;u++)this.colYs[e+u]=h;return s},i.prototype._getColGroup=function(n){var r;if(2>n)return this.colYs;for(var i=[],u=this.cols+1-n,t=0;u>t;t++)r=this.colYs.slice(t,t+n),i[t]=Math.max.apply(Math,r);return i},i.prototype._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;i>=u;u++)this.colYs[u]=Math.max(l,this.colYs[u])},i.prototype._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.prototype._getContainerFitWidth=function(){for(var n=0,t=this.cols;--t&&0===this.colYs[t];)n++;return(this.cols-n)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var n=this.containerWidth;return this.getContainerWidth(),n!=this.containerWidth},i}),function(n){var t,r,i;typeof define=="function"&&define.amd&&(define(n),t=!0);typeof exports=="object"&&(module.exports=n(),t=!0);t||(r=window.Cookies,i=window.Cookies=n(),i.noConflict=function(){return window.Cookies=r,i})}(function(){function n(){for(var n=0,r={},t,i;n<arguments.length;n++){t=arguments[n];for(i in t)r[i]=t[i]}return r}function t(i){function r(t,u,f){var c,s,o,v,e,h;if(typeof document!="undefined"){if(arguments.length>1){f=n({path:"/"},r.defaults,f);typeof f.expires=="number"&&(f.expires=new Date(new Date*1+f.expires*864e5));f.expires=f.expires?f.expires.toUTCString():"";try{c=JSON.stringify(u);/^[\{\[]/.test(c)&&(u=c)}catch(w){}u=i.write?i.write(u,t):encodeURIComponent(String(u)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);s="";for(o in f)f[o]&&(s+="; "+o,f[o]!==!0)&&(s+="="+f[o].split(";")[0]);return document.cookie=t+"="+u+s}for(var l={},y=function(n){return n.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)},p=document.cookie?document.cookie.split("; "):[],a=0;a<p.length;a++){v=p[a].split("=");e=v.slice(1).join("=");this.json||e.charAt(0)!=='"'||(e=e.slice(1,-1));try{if(h=y(v[0]),e=(i.read||i)(e,h)||y(e),this.json)try{e=JSON.parse(e)}catch(w){}if(l[h]=e,t===h)break}catch(w){}}return t?l[t]:l}}return r.set=r,r.get=function(n){return r.call(r,n)},r.getJSON=function(n){return r.call({json:!0},n)},r.remove=function(t,i){r(t,"",n(i,{expires:-1}))},r.defaults={},r.withConverter=t,r}return t(function(){})});$(document).ready(function(){});$(document).ready(function(){var n=function(){$(".js-3rdparty-embed").spiritec3rdPartyEmbed()};typeof asyncLoader!="undefined"&&asyncLoader.registerInit(n);n()}),function(n){"use strict";function r(r,u){this._element=r;this._$element=n(r);this._settings=n.extend({},i,u,this._$element.data());this._defaults=i;this._name=t;this.init()}var t="spiritec3rdPartyEmbed",i={pluginConfig:{youtube:{cookieName:"Website.Embed3rdPartyConsent.YouTube",jsHookClassname:"js-mediaplayer-youtube",embedIsActiveClassname:"youtube-placeholder--embed3rdparty-is-active",interfaceHtml:'<div class="embed3rdparty"><div class="embed3rdparty__defaultbackground"><\/div><div class="embed3rdparty__overlay"><\/div><div class="embed3rdparty__contentwrapper"><div class="embed3rdparty__content"><div class="embed3rdparty__title">{title}<\/div><div class="embed3rdparty__actions"><a href="$$dataprotectionpage$$" target="_blank" class="embed3rdparty__info">i<\/a><div class="embed3rdparty__buttoncontainer"><a href="#" class="embed3rdparty__play"><\/a><\/div><div><label class="embed3rdparty__alwaysembed"><input type="checkbox" class="embed3rdparty__alwaysembedcheckbox">{always}<\/label><\/div><\/div><div class="embed3rdparty__text">{text}<\/div><\/div><\/div><\/div>',content:{title:"YouTube aktivieren",text:'Weitere Informationen finden Sie in unserer <a href="{dataprotectionpage}" target="_blank">Datenschutzerklärung<\/a>.<br><br>Beim Abspielen des Videos werden Ihre IP-Nummer, Geräteinformationen, Referrer und Zeitstempel an Google Ireland Limited (nachfolgend "Google") übermittelt und ein Cookie gesetzt. Diese Daten können Google auch zur Analyse des Nutzungsverhaltens zu Marktforschungs- und Marketing-Zwecken dienen. Ein Zugriff auf diese Daten aus oder eine Speicherung in Staaten mit einem im Vergleich zur EU abweichenden Datenschutzniveau ist nicht ausgeschlossen.',always:"YouTube immer aktivieren"},contentEn:{title:"Embed YouTube",text:'Yes, show content from YouTube. Further information in our <a href="{dataprotectionpage}" target="_blank">privacy policy<\/a>.',always:"Always show content from YouTube"}},vimeo:{cookieName:"Website.Embed3rdPartyConsent.Vimeo",jsHookClassname:"js-mediaplayer-vimeo",embedIsActiveClassname:"vimeo-container--embed3rdparty-is-active",interfaceHtml:'<div class="embed3rdparty"><div class="embed3rdparty__defaultbackground"><\/div><div class="embed3rdparty__overlay"><\/div><div class="embed3rdparty__contentwrapper"><div class="embed3rdparty__content"><div class="embed3rdparty__title">{title}<\/div><div class="embed3rdparty__actions"><a href="$$dataprotectionpage$$" target="_blank" class="embed3rdparty__info">i<\/a><div class="embed3rdparty__buttoncontainer"><a href="#" class="embed3rdparty__play"><\/a><\/div><div><label class="embed3rdparty__alwaysembed"><input type="checkbox" class="embed3rdparty__alwaysembedcheckbox">{always}<\/label><\/div><\/div><div class="embed3rdparty__text">{text}<\/div><\/div><\/div><\/div>',content:{title:"Vimeo aktivieren",text:'Weitere Informationen finden Sie in unserer <a href="{dataprotectionpage}" target="_blank">Datenschutzerklärung<\/a>.',always:"Vimeo immer aktivieren"},contentEn:{title:"Embed Vimeo",text:'Yes, show content from Vimeo. Further information in our <a href="{dataprotectionpage}" target="_blank">privacy policy<\/a>.',always:"Always show content from Vimeo"}},soundcloud:{cookieName:"Website.Embed3rdPartyConsent.SoundCloud",jsHookClassname:"js-mediaplayer-soundcloud",embedIsActiveClassname:"soundcloud-placeholder--embed3rdparty-is-active",interfaceHtml:'<div class="embed3rdparty"><div class="embed3rdparty__defaultbackground"><\/div><div class="embed3rdparty__overlay"><\/div><div class="embed3rdparty__contentwrapper"><div class="embed3rdparty__content"><div class="embed3rdparty__title">{title}<\/div><div class="embed3rdparty__actions"><a href="$$dataprotectionpage$$" target="_blank" class="embed3rdparty__info">i<\/a><div class="embed3rdparty__buttoncontainer"><a href="#" class="embed3rdparty__play"><\/a><\/div><div><label class="embed3rdparty__alwaysembed"><input type="checkbox" class="embed3rdparty__alwaysembedcheckbox">{always}<\/label><\/div><\/div><div class="embed3rdparty__text">{text}<\/div><\/div><\/div><\/div>',content:{title:"SoundCloud aktivieren",text:'Weitere Informationen finden Sie in unserer <a href="{dataprotectionpage}">Datenschutzerklärung<\/a>.<br><br>Zur Anzeige des Players und Abspielen der Audio-Datei werden Ihre IP-Nummer, Geräteinformationen, Referrer und Zeitstempel an SoundCloud Limited (nachfolgend "SoundCloud") übermittelt. Diese Daten können SoundCloud auch zu anderen Zwecken wie Analyse des Nutzungsverhaltens zu Marktforschungs- und Marketing-Zwecken dienen. Ein Zugriff auf diese Daten aus oder eine Speicherung in Staaten mit einem im Vergleich zur EU abweichenden Datenschutzniveau ist nicht ausgeschlossen.',always:"SoundCloud immer aktivieren"},contentEn:{title:"Embed SoundCloud",text:'Yes, show content from SoundCloud. Further information in our <a href="{dataprotectionpage}">privacy policy<\/a>.',always:"Always show content from SoundCloud"}},issuu:{cookieName:"Website.Embed3rdPartyConsent.Issuu",jsHookClassname:"js-mediaplugin-issuu",embedIsActiveClassname:"issuu-placeholder--embed3rdparty-is-active",interfaceHtml:'<div class="embed3rdparty"><div class="embed3rdparty__defaultbackground"><\/div><div class="embed3rdparty__overlay"><\/div><div class="embed3rdparty__contentwrapper"><div class="embed3rdparty__content"><div class="embed3rdparty__title">{title}<\/div><div class="embed3rdparty__actions"><a href="$$dataprotectionpage$$" target="_blank" class="embed3rdparty__info">i<\/a><div class="embed3rdparty__buttoncontainer"><a href="#" class="embed3rdparty__textbutton">{button}<\/a><\/div><div><label class="embed3rdparty__alwaysembed"><input type="checkbox" class="embed3rdparty__alwaysembedcheckbox">{always}<\/label><\/div><\/div><div class="embed3rdparty__text">{text}<\/div><\/div><\/div><\/div>',content:{title:"Issuu aktivieren",text:'Weitere Informationen finden Sie in unserer <a href="{dataprotectionpage}" target="_blank">Datenschutzerklärung<\/a>.<br><br>Zur Anzeige unserer Publikationen werden Ihre IP-Nummer, Geräteinformationen, Referrer und Zeitstempel an Issuu ApS (nachfolgend "Issuu") übermittelt. Diese Daten können Issuu auch zu anderen Zwecken wie Analyse des Nutzungsverhaltens zu Marktforschungs- und Marketing-Zwecken dienen. Ein Zugriff auf diese Daten aus oder eine Speicherung in Staaten mit einem im Vergleich zur EU abweichenden Datenschutzniveau ist nicht ausgeschlossen.',always:"Issuu immer aktivieren",button:"Jetzt aktivieren"},contentEn:{title:"Embed Issuu",text:'Yes, show content from Issuu. Further information in our <a href="{dataprotectionpage}" target="_blank">privacy policy<\/a>.',always:"Always show content from Issuu",button:"Embed now"}},googlemaps:{cookieName:"Website.Embed3rdPartyConsent.GoogleMaps",jsHookClassname:"js-plugin-googlemaps",embedIsActiveClassname:"googlemaps--embed3rdparty-is-active",interfaceHtml:'<div class="embed3rdparty"><div class="embed3rdparty__defaultbackground"><\/div><div class="embed3rdparty__overlay"><\/div><div class="embed3rdparty__contentwrapper"><div class="embed3rdparty__content"><div class="embed3rdparty__title">{title}<\/div><div class="embed3rdparty__actions"><a href="$$dataprotectionpage$$" target="_blank" class="embed3rdparty__info">i<\/a><div class="embed3rdparty__buttoncontainer"><a href="#" class="embed3rdparty__textbutton">{button}<\/a><\/div><div><label class="embed3rdparty__alwaysembed"><input type="checkbox" class="embed3rdparty__alwaysembedcheckbox">{always}<\/label><\/div><\/div><div class="embed3rdparty__text">{text}<\/div><\/div><\/div><\/div>',content:{title:"Google Maps einbetten",text:'Weitere Informationen finden Sie in unserer <a href="{dataprotectionpage}" target="_blank">Datenschutzerklärung<\/a>.',always:"Google Maps immer aktivieren",button:"Jetzt aktivieren"},contentEn:{title:"Embed Google Maps",text:'Yes, show content from Google Maps. Further information in our <a href="{dataprotectionpage}" target="_blank">privacy policy<\/a>.',always:"Always show content from Google Maps",button:"Embed now"}},htmlsnippetextended:{cookieName:"Website.Embed3rdPartyConsent.HtmlSnippetExtended",jsHookClassname:"js-plugin-htmlsnippetextended",embedIsActiveClassname:"htmlsnippetextended--embed3rdparty-is-active",interfaceHtml:'<div class="embed3rdparty"><div class="embed3rdparty__defaultbackground"><\/div><div class="embed3rdparty__overlay"><\/div><div class="embed3rdparty__contentwrapper"><div class="embed3rdparty__content"><div class="embed3rdparty__title">{title}<\/div><div class="embed3rdparty__actions"><a href="{dataprotectionpage}" target="_blank" class="embed3rdparty__info">i<\/a><div class="embed3rdparty__buttoncontainer"><a href="#" class="embed3rdparty__textbutton">{button}<\/a><\/div><\/div><div class="embed3rdparty__text">{text}<\/div><\/div><\/div><\/div>',content:{title:"Inhalte aktivieren",text:'Ja, diese Inhalte jetzt anzeigen. Weitere Informationen dazu in unserer <a href="{dataprotectionpage}" target="_blank">Datenschutzerklärung<\/a>.',button:"Jetzt aktivieren"},contentEn:{title:"Embed external content",text:'Yes, show external content. Further information in our <a href="{dataprotectionpage}" target="_blank">privacy policy<\/a>.',button:"Embed now"}}},paramNames:{imagePlaceholder:"placeholder-image",embedType:"embed-type",embedLayout:"embed-layout",ratio:"ratio"},commonContent:{dataprotectionpage:"https://www.dhaus.de/service/datenschutzerklaerung/"},commonContentEn:{dataprotectionpage:"https://www.dhaus.de/service/datenschutzerklaerung/"}};n.extend(r.prototype,{init:function(){this._initParams();this._initCustomContent();this._addEmbedInterface();this._cacheDom();this._setInfos();this._addCustomContent();this._tryAutoEmbed();this._bindEvents()},_initParams:function(){this._embedType=this._$element.data(this._settings.paramNames.embedType);this._embedLayout=this._$element.data(this._settings.paramNames.embedLayout);this._placeholderImage=this._$element.data(this._settings.paramNames.imagePlaceholder);this._ratio=this._$element.data(this._settings.paramNames.ratio)},_initCustomContent:function(){var i=this._$element.find(".embed3rdparty__customcontent--title"),n,t;this._customTitle=i.length>0?i.html():"";i.remove();n=this._$element.find(".embed3rdparty__customcontent--text");n.find("a").attr("data-prevent-target-correction","1").attr("target","_blank");this._customText=n.length>0?n.html():"";n.remove();t=this._$element.find(".embed3rdparty__customcontent--buttontext");this._customButtontext=t.length>0?t.html():"";t.remove()},_addEmbedInterface:function(){var u=this._settings.pluginConfig[this._embedType].interfaceHtml,f=n.extend({},this._getContent(),this._getCommonContent()),i,e,r,t;for(i in f)f.hasOwnProperty(i)&&(u=u.replace(new RegExp("{"+i+"}","gi"),f[i]));this._$element.append(u);typeof this._embedLayout=="string"&&this._embedLayout!==""&&(e="embed3rdparty--layout-",e+=this._makeSafeForCss(this._embedLayout),this._$element.addClass(e));r=this._placeholderImage;typeof r=="string"&&r!==""&&(t=this._$element.find(".embed3rdparty"),t.data("image-url",r),t.addClass("js-medialoader-set-as-background"),t.addClass("js-medialoader"),t.addClass("embed3rdparty--hasimage"),typeof medialoader!="undefined"&&medialoader.triggerLoadContentImages())},_cacheDom:function(){this._$embedWrapper=this._$element.find(".embed3rdparty");this._$embedControl=this._$element.find(".embed3rdparty__play, .embed3rdparty__textbutton");this._$alwaysEmbedControl=this._$element.find(".embed3rdparty__alwaysembedcheckbox");this._$title=this._$element.find(".embed3rdparty__title");this._$text=this._$element.find(".embed3rdparty__text");this._$textbutton=this._$element.find(".embed3rdparty__textbutton")},_setInfos:function(){this._$element.addClass(this._settings.pluginConfig[this._embedType].embedIsActiveClassname);typeof this._ratio=="string"&&this._$embedWrapper.addClass("embed3rdparty--ratio-"+this._ratio)},_addCustomContent:function(){this._customTitle!==""&&this._$title.html(this._customTitle);this._customText!==""&&this._$text.html(this._customText);this._customButtontext!==""&&this._$textbutton.html(this._customButtontext)},_tryAutoEmbed:function(){this._cookieIsAlreadySet()?this._embedPlugin():this._showEmbedInterface()},_bindEvents:function(){var n=this;this._$embedControl.click(function(t){t.preventDefault();t.stopPropagation();n._$element.data("autoplay",!0);n._$alwaysEmbedControl.is(":checked")?(n._setCookie(),n._triggerAllPlugins()):n._embedPlugin()})},_showEmbedInterface:function(){this._$embedWrapper.addClass("embed3rdparty--visible")},_embedPlugin:function(){this._$element.addClass(this._settings.pluginConfig[this._embedType].jsHookClassname);this._$element.removeClass(this._settings.pluginConfig[this._embedType].embedIsActiveClassname);(this._embedType==="youtube"||this._embedType==="vimeo"||this._embedType==="soundcloud")&&typeof mediaplayerApi!="undefined"&&typeof mediaplayerApi.triggerInitMediaplayer=="function"&&mediaplayerApi.triggerInitMediaplayer();this._embedType==="issuu"&&typeof n().spiritecIssuuEmbed=="function"&&n(".js-mediaplugin-issuu").spiritecIssuuEmbed();this._embedType==="googlemaps"&&typeof googlemapsApi!="undefined"&&typeof googlemapsApi.initGooglemap=="function"&&googlemapsApi.initGooglemap(this._$element.data("googlemaps-callback"));this._embedType==="htmlsnippetextended"&&typeof n().spiritecHtmlsnippetextended=="function"&&n(".js-plugin-htmlsnippetextended").spiritecHtmlsnippetextended();this._$element.removeClass("js-3rdparty-embed")},_triggerAllPlugins:function(){n(".js-3rdparty-embed").each(function(){n(this).spiritec3rdPartyEmbed().data("plugin_spiritec3rdPartyEmbed").triggerEmbed()})},_setCookie:function(){Cookies.set(this._settings.pluginConfig[this._embedType].cookieName,1,{expires:365,path:"/"})},_cookieIsAlreadySet:function(){var n=!1,t=Cookies.get(this._settings.pluginConfig[this._embedType].cookieName);return typeof t!="undefined"&&(n=!0),n},triggerEmbed:function(){this._tryAutoEmbed()},_getContent:function(){return n("body").hasClass("language-en")?this._settings.pluginConfig[this._embedType].contentEn:this._settings.pluginConfig[this._embedType].content},_getCommonContent:function(){return n("body").hasClass("language-en")?this._settings.commonContentEn:this._settings.commonContent},_makeSafeForCss:function(n){return n.replace(/[^a-z0-9]/g,function(n){var t=n.charCodeAt(0);return t===32?"-":t===45?"-":t>=65&&t<=90?n.toLowerCase():""})}});n.fn[t]=function(i){return this.each(function(){n.data(this,"plugin_"+t)||n.data(this,"plugin_"+t,new r(this,i))})}}(jQuery,window,document);$(document).ready(function(){$(".js-plugin-htmlsnippetextended").spiritecHtmlsnippetextended()}),function(n,t){"use strict";function u(t,u){this._element=t;this._$element=n(t);this._settings=n.extend({},r,u,this._$element.data());this._defaults=r;this._name=i;this.init()}var i="spiritecHtmlsnippetextended",r={};n.extend(u.prototype,{init:function(){this._cacheDom();this._initParams();this._embedUserHtml();this._embedUserCss();this._embedUserJs()},_cacheDom:function(){this._$content=this._$element.find(".htmlsnippetextended__content")},_initParams:function(){this._embedCss=this._settings.embedCss;this._embedJs=this._settings.embedJs;this._variableNameHtml=this._settings.variableNameHtml;this._variableNameCss=this._settings.variableNameCss;this._functionNameJs=this._settings.functionNameJs;this._userHtml=t[this._variableNameHtml];this._userCss=t[this._variableNameCss];this._userJs=t[this._functionNameJs]},_embedUserHtml:function(){this._$content.html(this._userHtml);this._$element.find(".embed3rdparty").remove()},_embedUserCss:function(){if(this._embedCss){var t=n("<style>");t.html(this._userCss);n("head").append(t)}},_embedUserJs:function(){this._embedJs&&this._userJs()}});n.fn[i]=function(t){return this.each(function(){n.data(this,"plugin_"+i)||n.data(this,"plugin_"+i,new u(this,t))})}}(jQuery,window,document);$(document).ready(function(){medialoader.init()}),function(){typeof medialoader=="undefined"&&(window.medialoader=new function(){var n=this;n._defaultSettings={debug:!1,disable:!1,throttleInterval:50,timerInterval:500,portraitSwitchFactor:.75,interfaceMarkerClassnames:{main:"js-medialoader",asBackground:"js-medialoader-set-as-background",image:"js-medialoader-image"},interfaceAttributeNames:{imageUrl:"image-url",imagePortraitUrl:"image-portrait-url",jsCode:"js-code",triggerName:"medialoader-trigger",disableImageCorrection:"disable-image-correction",forceImageCorrection:"force-image-correction",disableMedialoader:"disable-medialoader",sizeCalculationFunc:"size-calculation-func"},uiMarkerClassnames:{loading:"medialoader--loading",loaded:"medialoader--loaded"}};n._settings=$.extend({},n._defaultSettings);n._isInititalized=!1;n._elements=[];n._positionChangeTimer=undefined;n.init=function(t){typeof t=="object"&&(n._settings=$.extend({},n._defaultSettings,t));n._log("fully initialized");n._isInititalized=!0;n.triggerLoadContentImages();$(window).resize(n._throttle(n._onResize));$(window).scroll(n._throttle(n._onScroll));typeof asyncLoader!="undefined"&&asyncLoader.registerInit(n.triggerLoadContentImages)};n.triggerLoadContentImages=function(t){var i=function(){n._updateElementDocumentInfos();n._searchForElementsInDOM();n._checkVisibilityAndLoad();typeof t=="string"&&t.trim()!==""&&n._loadByTrigger(t.trim())};n._executeAsyncIfInitialized(i)};n._log=function(t,i){(n._settings.debug||i===!0)&&(typeof t!="string"?(console.log("Medialoader:"),console.log(t)):console.log("Medialoader: "+t))};n._throttle=function(t,i){var u,r;return i=i||n._settings.throttleInterval,function(){var n=this,f=arguments;r?(clearTimeout(u),u=setTimeout(function(){Date.now()-r>=i&&(t.apply(n,f),r=Date.now())},i-(Date.now()-r))):(t.apply(n,f),r=Date.now())}};n._searchForPositionChange=function(){for(var t,i,f,r,e=!1,o=!1,u=0;u<n._elements.length;u++)(t=n._elements[u],t.listenForPositionChange)&&(e=!0,i=t.instance,typeof jQuery=="function"&&i instanceof jQuery&&(i=i[0]),f=i.getBoundingClientRect(),r={left:f.left,top:f.top},typeof t.currentPosition!="undefined"&&(t.currentPosition.left!==r.left||t.currentPosition.top!==r.top)&&(o=!0),t.currentPosition=r);o&&setTimeout(n._throttle(n._onPositionChange),0);e||(clearInterval(n._positionChangeTimer),n._positionChangeTimer=undefined)};n._onPositionChange=function(){n._updateElementDocumentInfos();n._checkVisibilityAndLoad()};n._onResize=function(){n._updateElementDocumentInfos();n._checkVisibilityAndLoad()};n._onScroll=function(){n._updateElementDocumentInfos();n._checkVisibilityAndLoad()};n._executeAsyncIfInitialized=function(t){if(!n._isInititalized){n._log("Medialoader has not been initialized! Initialize prior to access!");return}setTimeout(t,0)};n._searchForElementsInDOM=function(){var t=0;$("."+n._settings.interfaceMarkerClassnames.main).each(function(){var i,f,r,u;$(this).data("mediaLoaderIsInitialized")||($(this).addClass(n._settings.uiMarkerClassnames.loading),i=$(this).data(n._settings.interfaceAttributeNames.triggerName),(typeof i!="string"||i.trim()==="")&&(i=undefined),typeof i=="string"&&(i=i.trim()),f=undefined,r=$(this).data(n._settings.interfaceAttributeNames.sizeCalculationFunc),typeof r=="string"&&r.trim()!==""&&typeof window[r.trim()]=="function"&&(f=window[r.trim()]),u={instance:this,loadingInProgress:!1,loaded:!1,loadedQuality:0,recommendedQuality:0,waitForTrigger:i,documentInfos:n._getElementDocumentInfos(this),targetElements:n._getTargetElements(this),sizeCalculationFunc:f,listenForPositionChange:!1},n._addPositionChangeListenerIfNeccessary(u),n._calculateRecommendedQuality(u),n._elements.push(u),t++,$(this).data("mediaLoaderIsInitialized",!0))});n._log(t+" elements added")};n._updateElementDocumentInfos=function(){for(var t,i=0;i<n._elements.length;i++)t=n._elements[i],t.documentInfos=n._getElementDocumentInfos(t.instance),n._addPositionChangeListenerIfNeccessary(t),n._calculateRecommendedQuality(t)};n._getElementDocumentInfos=function(n){typeof jQuery=="function"&&n instanceof jQuery&&(n=n[0]);var i=$(window).height(),r=$(window).width(),t=n.getBoundingClientRect(),f=(t.top>=0&&t.top<=i||t.bottom>=0&&t.bottom<=i)&&(t.left>=0&&t.left<=r||t.right>=0&&t.right<=r),u={vertical:0,horizontal:0};return f||(t.bottom<0&&(u.vertical=-t.bottom/i),t.top>i&&(u.vertical=(t.top-i)/i),t.right<0&&(u.horizontal=-t.right/r),t.left>r&&(u.horizontal=(t.left-r)/r)),{inViewport:f,distance:u,visible:$(n).is(":visible")}};n._addPositionChangeListenerIfNeccessary=function(t,i){t.documentInfos.distance.horizontal<1||t.listenForPositionChange||t.loaded||(t.listenForPositionChange=!0,typeof n._positionChangeTimer!="number"&&(i=i||n._settings.timerInterval,n._positionChangeTimer=setInterval(n._searchForPositionChange,i)))};n._getTargetElements=function(t){var i=[],r=function(t){return{instance:$(t),asBackground:$(t).hasClass(n._settings.interfaceMarkerClassnames.asBackground)}},u=!1;return $(t).find("."+n._settings.interfaceMarkerClassnames.asBackground).each(function(){i.push(r(this));u=!0}),$(t).hasClass(n._settings.interfaceMarkerClassnames.asBackground)&&(i.push(r(t)),u=!0),$(t).prop("tagName").toUpperCase()==="IMG"?i.push(r(t)):$(t).find("."+n._settings.interfaceMarkerClassnames.image).length>0?$(t).find("."+n._settings.interfaceMarkerClassnames.image).each(function(){i.push(r(this))}):$(t).find("img").length>0&&!u&&$(t).find("img").each(function(){i.push(r(this))}),i};n._calculateRecommendedQuality=function(t){for(var e=0,f=0,a=!1,o=[],r,h,u,i=0;i<t.targetElements.length;i++)o[i]=t.targetElements[i].instance;for(o.length===0&&o.push(t.instance),i=0;i<o.length;i++){var s=o[i],c=$(s).outerWidth(),l=$(s).outerHeight();if(typeof t.sizeCalculationFunc=="function")try{r=t.sizeCalculationFunc(s);typeof r=="object"&&r!=null&&typeof r.w=="number"&&typeof r.h=="number"?(r.w>0&&(c=r.w),r.h>0&&(l=r.h)):n._log("The size calculation function did not return an objeckt of type { w: 100, h:100 } as expected.",!0)}catch(v){n._log("Executing the size calculation function threw an exception! - Message: "+v,!0)}c>e&&(e=c);l>f&&(f=l);h=$(s).css("background-size");typeof h=="string"&&h!==""&&h.toLowerCase()==="cover"&&(a=!0)}u=1;(e>=640||f>=360)&&u++;(e>=1280||f>=720)&&u++;(e>=1920||f>=1080)&&u++;a&&f===0&&u++;u>4&&(u=4);u>t.recommendedQuality&&(t.recommendedQuality=u)};n._tryAddQualityToUri=function(t,i){var u,f,l,v,a,e,o,c;if(typeof i!="string"||i==="")return undefined;var s="",h=i.split("/"),r=[];for(u=0;u<h.length;u++)h[u]!=null&&h[u]!==""&&r.push(h[u]);for(r.length>1&&(r[0].toLowerCase()==="http:"||r[0].toLowerCase()==="https:")&&(s=r[0]+"//"+r[1],r.shift(),r.shift());r.length>0;){if(r[0]==="content-images"||r[0]==="images")break;s=s+"/"+r[0];r.shift()}switch(t){case 1:f="360";break;case 3:f="1080";break;case 4:f="1620";break;default:f="720"}if(r.length>=4&&r[0]==="content-images")l=1,v=r[l],r[0]="content-images",r[l]="size"+f+"/"+v;else if(r.length>=3&&r[0]==="images")for(r[0]="content-images",a=r,r=[],e=0;e<a.length;e++)e===1&&r.push("image"+f),r.push(a[e]);else return undefined;for(o=s,c=0;c<r.length;c++)o=o+"/"+r[c];return n._log("Uri changed - "+i+" => "+o),o};n._checkVisibilityAndLoad=function(){var t=function(n){return n.documentInfos.inViewport&&n.documentInfos.visible&&typeof n.waitForTrigger=="undefined"},i=n._doCheckAndLoad(t);if(i>0){setTimeout(n._checkVisibilityAndLoad,200);return}if(t=function(n){return n.documentInfos.visible&&n.documentInfos.distance.vertical<=1&&n.documentInfos.distance.horizontal===0&&typeof n.waitForTrigger=="undefined"},i=n._doCheckAndLoad(t),i>0){setTimeout(n._checkVisibilityAndLoad,200);return}if(t=function(n){return n.documentInfos.distance.vertical<=1&&n.documentInfos.distance.horizontal<=1&&typeof n.waitForTrigger=="undefined"},i=n._doCheckAndLoad(t),i>0){setTimeout(n._checkVisibilityAndLoad,200);return}};n._loadByTrigger=function(t){var i=function(n){return n.waitForTrigger===t},r=n._doCheckAndLoad(i);n._log("Trigger called: "+t+" - "+r+" elements loaded.")};n._doCheckAndLoad=function(t){for(var r,u=0,i=0;i<n._elements.length;i++)r=n._elements[i],t(r)&&n._doLoadElement(r)&&u++;return u};n._doLoadElement=function(t){var r,o,s,e,h;if(t.loadingInProgress)return!0;if((r=window.innerWidth/window.innerHeight<=n._settings.portraitSwitchFactor,o=r&&t.currentFormat!=="portrait"&&(t.hasPortraitVersion||typeof t.hasPortraitVersion=="undefined")||!r&&t.currentFormat==="portrait",t.loaded&&(t.loadedQuality>=t.recommendedQuality||t.loadedQuality<0)&&!o)||(s=n._settings.disable||$(t.instance).data(n._settings.interfaceAttributeNames.disableMedialoader),s))return!1;var c=$(t.instance).data(n._settings.interfaceAttributeNames.disableImageCorrection),l=$(t.instance).data(n._settings.interfaceAttributeNames.forceImageCorrection),u=t.recommendedQuality,i,f="default";if(r&&(f="portrait",i=$(t.instance).data(n._settings.interfaceAttributeNames.imagePortraitUrl),typeof i=="string"&&i.trim()!==""&&(t.hasPortraitVersion=!0)),(typeof i!="string"||i.trim()==="")&&(f="default",i=$(t.instance).data(n._settings.interfaceAttributeNames.imageUrl)),typeof i!="string"||i.trim()==="")return n._log("Cannot get the image uri: "+i),t.loaded=!0,t.loadedQuality=-1,!1;i=i.trim();c||(e=n._tryAddQualityToUri(u,i,l),typeof e!="undefined"?i=e:u=-1);t.loadingInProgress=!0;t.currentUri=i;t.currentFormat=f;h=function(){for(var el,callback,i=0;i<t.targetElements.length;i++)el=t.targetElements[i],el.asBackground?$(el.instance).css("background-image","url("+t.currentUri+")"):$(el.instance).prop("tagName").toUpperCase()==="IMG"?$(el.instance).attr("src",t.currentUri):n._log("Element is not an image and image should not been set as background, so we are skipping that element.");if(t.loaded=!0,t.loadingInProgress=!1,t.loadedQuality=u,t.waitForTrigger=undefined,t.listenForPositionChange=!1,n._log("Loading finshed: "+t.currentUri),$(t.instance).addClass(n._settings.uiMarkerClassnames.loaded).removeClass(n._settings.uiMarkerClassnames.loading),callback=$(t.instance).data(n._settings.interfaceAttributeNames.jsCode),typeof callback=="string"&&callback.trim()!==""&&typeof window[callback.trim()]=="function"&&(callback=window[callback.trim()]),typeof callback=="function")try{callback(t.instance,t.currentUri)}catch(ex){n._log("Executing the callback threw an exception! - Message: "+ex,!0)}else if(typeof callback=="string")try{eval(callback)}catch(ex){n._log("Trying to exceute the callback as javascript code threw an exception! - Message: "+ex+" | Code: "+callback,!0)}};n._log("Start loading: "+i);$("<img />").attr({src:i}).on("load",h);return!0}})}();$(document).ready(function(){initContentPreloading("pageLoad");preloadImages("pageLoad")});registeredImagePreload=[];contentPreloadingCounter=0;contentPreloadingPriority=1;$(document).ready(function(){mediaplayerApi.init()}),function(){typeof mediaplayerApi=="undefined"&&(window.mediaplayerApi=new function(){var n=this;n._defaultSettings={debug:!1,interfaceMarkerClassnames:{mediaplayer:"js-mediaplayer",mediaplayerTitel:"js-mediaplayer-title",youTubePlayer:"js-mediaplayer-youtube",vimeoPlayer:"js-mediaplayer-vimeo",soundCloudPlayer:"js-mediaplayer-soundcloud",noImage:"mediaplayer--no-image"},interfaceAttributeNames:{videoMedium:"video-medium",videoLarge:"video-large",videoSmall:"video-small",startImage:"startimage",audio:"audio",mediaId:"media-id",jsCode:"js-code",triggerName:"mediaplayer-trigger",autoplay:"autoplay"},uiMarkerClassnames:{isPlaying:"mediaplayer--is-playing",initialized:"mediaplayer--is-initialized"}};n._settings=$.extend({},n._defaultSettings);n._isInititalized=!1;n._idCounter=0;n._registeredMediaplayer=[];n._registeredYouTubeVideoplayer=[];n._registeredVimeoVideoplayer=[];n._registeredSoundCloudAudioplayer=[];n._soundCloudApiInitialized=!1;n._soundCloudApiReady=!1;n._soundCloudMissedTrigger=[];n._youTubeApiInitialized=!1;n._youTubeApiReady=!1;n._youTubeMissedTrigger=[];n._vimeoApiInitialized=!1;n._vimeoPlayerOrigin=[];n.init=function(t){typeof t=="object"&&(n._settings=$.extend({},n._defaultSettings,t));n._log("fully initialized");n._isInititalized=!0;n.triggerInitMediaplayer();typeof asyncLoader!="undefined"&&asyncLoader.registerInit(n.triggerInitMediaplayer)};n.triggerInitMediaplayer=function(t){t=n._correctTrigger(t);var i=function(){n._ensureVideoApiEmbedAndInitialisation(t);n._doInitMediaplayer(t);n._removeOrphanedTrigger(t)};n._executeAsyncIfInitialized(i)};n.stopAllMediaplayer=function(){var t,i,r,u,f;for(n._log("Stopping all mediaplayer."),i=0;i<n._registeredMediaplayer.length;i++)t=n._registeredMediaplayer[i],typeof t.videoJs.pause=="function"&&t.videoJs.pause();for(r=0;r<n._registeredYouTubeVideoplayer.length;r++)t=n._registeredYouTubeVideoplayer[r],typeof t.youTubePlayer.pauseVideo=="function"&&t.youTubePlayer.pauseVideo();for(u=0;u<n._registeredVimeoVideoplayer.length;u++)t=n._registeredVimeoVideoplayer[u],n._postDataForVimeoPlayer(t.id,"pause");for(f=0;f<n._registeredSoundCloudAudioplayer.length;f++)t=n._registeredSoundCloudAudioplayer[f],typeof t.widget.pause=="function"&&t.widget.pause()};n._log=function(t,i){(n._settings.debug||i===!0)&&(typeof t!="string"?(console.log("Mediaplayer API:"),console.log(t)):console.log("Mediaplayer API: "+t))};n._executeAsyncIfInitialized=function(t){if(!n._isInititalized){n._log("Mediaplayer API has not been initialized! Initialize prior to access!");return}setTimeout(t,0)};n._getNewClientId=function(){return"mediaplayer-api-id-"+ ++this._idCounter};n._correctTrigger=function(n){return typeof n!="string"||n.trim()===""?undefined:n.trim()};n._removeOrphanedTrigger=function(t){typeof t=="string"&&t.trim()!==""&&$("[data-"+n._settings.interfaceAttributeNames.triggerName+"="+t+"]").each(function(){$(this).data(n._settings.interfaceAttributeNames.triggerName,"")})};n._skipDueToTriggerSettings=function(t,i){var r=n._correctTrigger(t.data(n._settings.interfaceAttributeNames.triggerName));return typeof i!=typeof r||typeof i!="undefined"&&i!==r};n._executeOnLoadJsCode=function($element){var callback=$element.data(n._settings.interfaceAttributeNames.jsCode);if(typeof callback=="function")try{callback(element.instance)}catch(ex){n._log("Executing the callback threw an exception! - Message: "+ex,!0)}else if(typeof callback=="string")try{eval(callback)}catch(ex){n._log("Trying to exceute the callback as javascript code threw an exception! - Message: "+ex+" | Code: "+callback,!0)}};n._initVideoJs=function(t){var r={controls:!0,autoplay:!1,preload:"none",fluid:!0},i;t.mediaType==="audio"&&(r.inactivityTimeout=0);typeof t.startImage=="string"&&t.startImage!==""&&(r.poster=t.startImage);i=videojs(t.id,r);t.mediaType==="video"&&t.videoSoucefileCount>1&&i.videoJsResolutionSwitcher({"default":360});i.on("play",function(){$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).find("."+n._settings.interfaceMarkerClassnames.mediaplayerTitel).fadeOut(200);$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).addClass(n._settings.uiMarkerClassnames.isPlaying)});i.on("pause",function(){$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).find("."+n._settings.interfaceMarkerClassnames.mediaplayerTitel).fadeIn(200);$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).removeClass(n._settings.uiMarkerClassnames.isPlaying)});i.on("ended",function(){this.currentTime(0);this.posterImage.show();this.bigPlayButton.show();$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).find("."+n._settings.interfaceMarkerClassnames.mediaplayerTitel).fadeIn(200);$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).removeClass(n._settings.uiMarkerClassnames.isPlaying)});i.on("loadstart",function(){t.mediaType==="audio"&&$("#"+this.id()).closest("."+n._settings.interfaceMarkerClassnames.mediaplayer).hasClass(n._settings.interfaceMarkerClassnames.noImage)&&$("#"+this.id()).addClass("vjs-has-started")});return i};n._doInitMediaplayer=function(t){var i=0;$("."+n._settings.interfaceMarkerClassnames.mediaplayer).each(function(){var f=$(this),u;if(!f.data("mediaplayerApiIsInitialized")&&!n._skipDueToTriggerSettings(f,t)){var e=f.data(n._settings.interfaceAttributeNames.audio),o=f.data(n._settings.interfaceAttributeNames.videoMedium),s=f.data(n._settings.interfaceAttributeNames.videoLarge),h=f.data(n._settings.interfaceAttributeNames.videoSmall),c=f.data(n._settings.interfaceAttributeNames.startImage),r={id:n._getNewClientId(),mediaType:undefined};(typeof o=="string"&&o!==""||typeof e=="string"&&e!=="")&&(u='<video id="'+r.id+'" class="video-js vjs-default-skin vjs-big-play-centered"',typeof c=="string"&&c!==""&&(u=u+' poster="'+c+'"',r.startImage=c),u=u+">",typeof e=="string"&&e!==""?(u=u+'<source src="'+e+'" type="video/mp4" label="360p" res="360">',r.audio=e,r.mediaType="audio"):(r.videoSoucefileCount=0,typeof s=="string"&&s!==""&&(u=u+'<source src="'+s+'" type="video/mp4" label="720p (HD)" res="720">',r.videoSoucefileCount++,r.mediaType="video",r.videoLarge=s),typeof o=="string"&&o!==""&&(u=u+'<source src="'+o+'" type="video/mp4" label="360p" res="360">',r.videoSoucefileCount++,r.mediaType="video",r.videoMedium=o),typeof h=="string"&&h!==""&&(u=u+'<source src="'+h+'" type="video/mp4" label="180p" res="180">',r.videoSoucefileCount++,r.mediaType="video",r.videoSmall=h)),u=u+"<\/video>",typeof r.mediaType!="undefined"&&(f.prepend(u),r.videoJs=n._initVideoJs(r),f.addClass(n._settings.uiMarkerClassnames.initialized),n._registeredMediaplayer.push(r),n._executeOnLoadJsCode(f)));i++;f.data("mediaplayerApiIsInitialized",!0)}});n._log(i+" mediaplayer initialized")};n._ensureVideoApiEmbedAndInitialisation=function(t){$("."+n._settings.interfaceMarkerClassnames.youTubePlayer).length>0&&(n._initYouTubeEmbedd(),n._youTubeApiReady?n._doInitYouTubePlayer(t):typeof t=="string"&&t.trim()!==""&&n._youTubeMissedTrigger.push(t));$("."+n._settings.interfaceMarkerClassnames.vimeoPlayer).length>0&&n._initVimeoEmbedd(t);$("."+n._settings.interfaceMarkerClassnames.soundCloudPlayer).length>0&&(n._initSoundCloudEmbedd(),n._soundCloudApiReady?n._doInitSoundCloudPlayer(t):typeof t=="string"&&t.trim()!==""&&n._soundCloudMissedTrigger.push(t))};n._initYouTubeEmbedd=function(){var t,i;n._youTubeApiInitialized||(n._youTubeApiInitialized=!0,t=document.createElement("script"),t.src="https://www.youtube.com/iframe_api",i=document.getElementsByTagName("script")[0],i.parentNode.insertBefore(t,i),n._log("YouTube API initialized."))};n._initVimeoEmbedd=function(t){n._vimeoApiInitialized||(n._vimeoApiInitialized=!0,$.getScript(SYSTEMURLBASE+"js/vendor/froogaloop.js",function(){n._log("Froogaloop script added.")}),window.addEventListener?window.addEventListener("message",n._onMessageReceivedForVimeo,!1):window.attachEvent("onmessage",n._onMessageReceivedForVimeo,!1),n._log("Vimeo API initialized."));var i=0;$("."+n._settings.interfaceMarkerClassnames.vimeoPlayer).each(function(){var r=$(this),f,e,u,o;r.data("mediaplayerApiIsInitialized")||n._skipDueToTriggerSettings(r,t)||(f=r.data(n._settings.interfaceAttributeNames.mediaId),typeof f=="number")&&(e=0,r.data(n._settings.interfaceAttributeNames.autoplay)&&(e=1),u={id:n._getNewClientId(),mediaId:f},o='<iframe id="'+u.id+'" src="//player.vimeo.com/video/'+u.mediaId+"?api=1&autoplay="+e+"&player_id="+u.id+'&title=0&byline=0&portrait=0" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>',r.html(o),n._registeredVimeoVideoplayer.push(u),i++,r.data("mediaplayerApiIsInitialized",!0))});n._log(i+" Vimeo player initialized")};n._initSoundCloudEmbedd=function(){var t,i;n._soundCloudApiInitialized||(n._soundCloudApiInitialized=!0,t=document.createElement("script"),t.src="https://w.soundcloud.com/player/api.js",i=document.getElementsByTagName("script")[0],i.parentNode.insertBefore(t,i),n._log("SoundCloud API initialized."),setTimeout(n._checkForSoundCloudApi,50))};n._onYouTubeIframeAPIReady=function(){n._log("YouTube iframe API ready.");n._youTubeApiReady=!0;n._doInitYouTubePlayer();for(var t=0;t<n._youTubeMissedTrigger.length;t++)n._doInitYouTubePlayer(n._youTubeMissedTrigger[t]);n._youTubeMissedTrigger=[]};n._doInitYouTubePlayer=function(t){var i=0;$("."+n._settings.interfaceMarkerClassnames.youTubePlayer).each(function(){var u=$(this),r,e,f,o;u.data("mediaplayerApiIsInitialized")||n._skipDueToTriggerSettings(u,t)||(r=u.data(n._settings.interfaceAttributeNames.mediaId),typeof r=="string"&&r.trim()!=="")&&(r=r.trim(),e={},u.data(n._settings.interfaceAttributeNames.autoplay)&&(e.autoplay=1),f={id:n._getNewClientId(),mediaId:r},o='<div id="'+f.id+'"><\/div>',u.html(o),f.youTubePlayer=new YT.Player(f.id,{videoId:r,events:{onStateChange:function(t){n._onYouTubePlayerStateChange(t,f.id)}},playerVars:e}),n._registeredYouTubeVideoplayer.push(f),i++,u.data("mediaplayerApiIsInitialized",!0))});n._log(i+" YouTube player initialized")};n._onYouTubePlayerStateChange=function(t,i){t.data===YT.PlayerState.PLAYING&&$("#"+i).closest("."+n._settings.interfaceMarkerClassnames.youTubePlayer).addClass(n._settings.uiMarkerClassnames.isPlaying);t.data===YT.PlayerState.PAUSED&&$("#"+i).closest("."+n._settings.interfaceMarkerClassnames.youTubePlayer).removeClass(n._settings.uiMarkerClassnames.isPlaying);t.data===YT.PlayerState.ENDED&&$("#"+i).closest("."+n._settings.interfaceMarkerClassnames.youTubePlayer).removeClass(n._settings.uiMarkerClassnames.isPlaying)};n._checkForSoundCloudApi=function(){if(typeof SC!="undefined"){n._onSoundCloudApiReady();return}n._log("Still waiting for SoundCloud API ...");setTimeout(n._checkForSoundCloudApi,50)};n._onSoundCloudApiReady=function(){n._log("SoundCloud API ready.");n._soundCloudApiReady=!0;n._doInitSoundCloudPlayer();for(var t=0;t<n._soundCloudMissedTrigger.length;t++)n._doInitSoundCloudPlayer(n._soundCloudMissedTrigger[t]);n._soundCloudMissedTrigger=[]};n._doInitSoundCloudPlayer=function(t){var i=0;$("."+n._settings.interfaceMarkerClassnames.soundCloudPlayer).each(function(){var f=$(this),u,e,r,s,h,o;f.data("mediaplayerApiIsInitialized")||n._skipDueToTriggerSettings(f,t)||(u=f.data(n._settings.interfaceAttributeNames.mediaId),(typeof u=="string"||typeof u=="number")&&u.toString().trim()!=="")&&(u=u.toString().trim(),e=!1,f.data(n._settings.interfaceAttributeNames.autoplay)&&(e=!0),r={id:n._getNewClientId(),mediaId:u},s='<iframe id="'+r.id+'" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/'+r.mediaId+"&auto_play="+e+'"><\/iframe>',f.html(s),h=function(t){n._onSoundCloudPlay(r,t)},o=function(t){n._onSoundCloudStop(r,t)},r.widget=SC.Widget(r.id),r.widget.bind(SC.Widget.Events.PLAY,h),r.widget.bind(SC.Widget.Events.PAUSE,o),r.widget.bind(SC.Widget.Events.FINISH,o),n._registeredSoundCloudAudioplayer.push(r),i++,f.data("mediaplayerApiIsInitialized",!0))});n._log(i+" SoundCloud player initialized")};n._onSoundCloudPlay=function(t){$("#"+t.id).closest("."+n._settings.interfaceMarkerClassnames.soundCloudPlayer).addClass(n._settings.uiMarkerClassnames.isPlaying)};n._onSoundCloudStop=function(t){$("#"+t.id).closest("."+n._settings.interfaceMarkerClassnames.soundCloudPlayer).removeClass(n._settings.uiMarkerClassnames.isPlaying)};n._postDataForVimeoPlayer=function(t,i,r){var u={method:i};r&&(u.value=r);var f=JSON.stringify(u),e=$("#"+t),o=n._getVimeoPlayerOrigin(t);e[0].contentWindow.postMessage(f,o.value)};n._onVimeoPayerReady=function(t){n._postDataForVimeoPlayer(t,"addEventListener","pause");n._postDataForVimeoPlayer(t,"addEventListener","finish");n._postDataForVimeoPlayer(t,"addEventListener","playProgress");n._postDataForVimeoPlayer(t,"addEventListener","play")};n._getVimeoPlayerOrigin=function(t){for(var r,i=0;i<n._vimeoPlayerOrigin.length;i++)if(n._vimeoPlayerOrigin[i].name===t)return n._vimeoPlayerOrigin[i];return r={name:t,value:"*"},n._vimeoPlayerOrigin.push(r),r};n._onMessageReceivedForVimeo=function(t){var i,r;if(/^https?:\/\/player.vimeo.com/.test(t.origin)){i=JSON.parse(t.data);typeof i.player_id!="undefined"&&(r=n._getVimeoPlayerOrigin(i.player_id),r.value==="*"&&(r.value=t.origin));switch(i.event){case"ready":typeof i.player_id!="undefined"&&n._onVimeoPayerReady(i.player_id);break;case"play":$("#"+i.player_id).closest("."+n._settings.interfaceMarkerClassnames.vimeoPlayer).addClass(n._settings.uiMarkerClassnames.isPlaying);break;case"pause":$("#"+i.player_id).closest("."+n._settings.interfaceMarkerClassnames.vimeoPlayer).removeClass(n._settings.uiMarkerClassnames.isPlaying);break;case"finish":$("#"+i.player_id).closest("."+n._settings.interfaceMarkerClassnames.vimeoPlayer).removeClass(n._settings.uiMarkerClassnames.isPlaying)}}}})}();$(document).ready(function(){$(".js-mediaplugin-issuu").spiritecIssuuEmbed()}),function(n,t,i){"use strict";function f(t,i){this._element=t;this._$element=n(t);this._settings=n.extend({},u,i,this._$element.data());this._defaults=u;this._name=r;this.init()}var r="spiritecIssuuEmbed",u={};n.extend(f.prototype,{init:function(){this._initParams();this._replaceEmbedCode();this._ensureIssuuApi()},_initParams:function(){this._mediaId=this._$element.data("media-id")},_replaceEmbedCode:function(){this._$element.html('<div data-configid="'+this._mediaId+'" class="issuuembed"><\/div>');typeof t.IssuuReaders!="undefined"&&t.IssuuReaders.add()},_ensureIssuuApi:function(){var t,r;n("body").data("issuuApiEmbedded")||(t=i.createElement("script"),t.src="//e.issuu.com/embed.js",r=i.getElementsByTagName("script")[0],r.parentNode.insertBefore(t,r),n("body").data("issuuApiEmbedded",!0))}});n.fn[r]=function(t){return this.each(function(){n.data(this,"plugin_"+r)||n.data(this,"plugin_"+r,new f(this,t))})}}(jQuery,window,document);__registeredMediaGalleries=[],function(){for(var n,u=function(){},t=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],i=t.length,r=window.console=window.console||{};i--;)n=t[i],r[n]||(r[n]=u)}();var isMobile=document.documentElement.clientWidth<500,isTablet=document.documentElement.clientWidth>=500&&document.documentElement.clientWidth<=1200,wasTabletBefore=!1;String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=t||0,this.substr(t,n.length)===n});$(document).ready(function(){initHomeMediaContent();initNavigation();initMobileMenu();initColoredLinkOverlay();initContentNavigation();initPressRelease();initPressComments();initScheduleInfolayer();initScheduleCalendar();initFullsizeImages();initFullsizeGallery();initMasonry();initStickyHeader();initWindowSizeChecker();initHeaderSearch();initSchedule();initHomeGallery();initMobileSeasonOverview();updateResponsivenessVariables();setTimeout(initStrechHeadlines,100);setTimeout(initStrechHeadlines,200);setTimeout(initStrechHeadlines,400);setTimeout(initStrechHeadlines,800);setTimeout(initStrechHeadlines,1200)});$(document).ready(function(){});$(document).ready(function(){$(".accordion").spiritecAccordion()}),function(n){"use strict";function r(r,u){this._element=r;this._$element=n(r);this._settings=n.extend({},i,u);this._defaults=i;this._name=t;this.init()}var t="spiritecAccordion",i={duration:400,classnames:{open:"accordion__item--is-open",closed:"accordion__item--is-closed"}};n.extend(r.prototype,{init:function(){this._cacheDom();this._bindEvents()},_cacheDom:function(){this._$itemsHeader=this._$element.find(".accordion__head")},_bindEvents:function(){var t=this;this._$itemsHeader.click(function(i){i.preventDefault();t._toggleItem(n(this).closest(".accordion__item"))})},_toggleItem:function(n){var t=this,i=n.find(".accordion__body");n.hasClass(t._settings.classnames.open)?i.slideUp(t._settings.duration,function(){n.removeClass(t._settings.classnames.open).addClass(t._settings.classnames.closed)}):i.slideDown(t._settings.duration,function(){n.removeClass(t._settings.classnames.closed).addClass(t._settings.classnames.open)})}});n.fn[t]=function(i){return this.each(function(){n.data(this,"plugin_"+t)||n.data(this,"plugin_"+t,new r(this,i))})}}(jQuery,window,document);$(document).ready(function(){changeOrderForTablet();manipulateNavigationFooterForTablet();$(window).resize(function(){changeOrderForTablet()})});linksToDisplayForTablet=["/datenschutzerklaerung/"];$(document).ready(function(){initFormDefaultButtonFunctionality()});__searchFormIdentifier=1;$(document).ready(function(){initSearch()});$(document).ready(function(){var i=location.href.indexOf("?"),r=location.href.indexOf("scrollTo="),n,t;i>0&&r>i&&(n=location.href.substring(r+9),t=n.indexOf("&"),t>0&&(n=n.substring(0,t)),ScrollToElement(n))});$(document).ready(function(){$(".js-marker-user-login-form .js-marker-user-login-form-send").click(function(n){n.preventDefault();var t=$(this).closest(".js-marker-user-login-form"),r=CALLBACKURLBASE+"login.json",u=$(t).find("input[name=username]").val(),f=$(t).find("input[name=password]").val(),i=$(t).find("input[name=identifier]").val();$(t).find(".js-marker-user-login-form-error").hide();$.getJSON(r,{username:u,password:f},function(n){if(n.ResultCode==="Ok"){var r=location.href;r=r.indexOf("?")>0?r+"&scrollTo="+i:r+"?scrollTo="+i;location.href=r}else $(t).find(".js-marker-user-login-form-errorText").html(n.HtmlEncodedErrors),$(t).find(".js-marker-user-login-form-error").show()})});$(".js-marker-user-logout-button").click(function(n){n.preventDefault();var t=CALLBACKURLBASE+"logout.json";$.getJSON(t,{},function(n){n.ResultCode==="Ok"&&location.reload()})})});$(document).ready(initScheduleFullTextSearch);$(document).ready(initTicketReservationForm);$(document).ready(initTicketReservationFormForSchools);$(document).ready(function(){$(".js-marker-press-cart-send").click(function(n){var f;n.preventDefault();var r=$("input:text[name=press-cart-email]").val(),u=$("input:text[name=press-cart-editorial-department]").val(),e=$("input:radio[name=press-cart-send-option]").val(),i=!1,t="";ValidateIsMail(r)||(i=!0,t=t+RESOURCES.PRESSCART_ERROR_EMAIL+" ");u.length<3&&(i=!0,t=t+RESOURCES.PRESSCART_ERROR_EDITORIALDEPARTMENT+" ");i?($(".js-marker-press-cart-error-container").show(),$(".js-marker-press-cart-error-message").html(t),$(".js-marker-press-cart-error-marker").addClass("error")):($(".js-marker-press-cart-error-container").hide(),$(".js-marker-press-cart-error-message").html(""),$(".js-marker-press-cart-error-marker").removeClass("error"),$(".js-marker-press-cart-send").hide(),f=CALLBACKURLBASE+"sendpresscart.json",$.getJSON(f,{email:r,editorialdepartment:u,sizeinfo:e},function(n){$(".js-marker-press-cart-send").show();n.ResultCode=="Ok"&&$(".js-marker-press-cart-item-count").html(n.CartItemCount);CheckCartVisibility(!1)}).fail(function(n){typeof n.responseJSON=="object"&&typeof n.responseJSON.HtmlEncodedErrors=="string"&&($(".js-marker-press-cart-error-container").show(),$(".js-marker-press-cart-error-message").html(n.responseJSON.HtmlEncodedErrors),$(".js-marker-press-cart-error-marker").addClass("error"))}))});$(".js-marker-press-cart-display-status-switch").click(function(n){var t,i,u,r;n.preventDefault();t="expanded";i="collapsed";$(".js-marker-press-cart-container").hasClass(t)&&(t="collapsed",i="expanded");u=CALLBACKURLBASE+"set-presscart-display-status.json";$.getJSON(u,{status:t},function(){});r=function(){$(".js-marker-press-cart-container").removeClass(i);$(".js-marker-press-cart-container").addClass(t)};t==="expanded"?$(".js-marker-press-cart-items-container").slideDown(400,r):$(".js-marker-press-cart-items-container").slideUp(400,r)})});$(document).ready(function(){initFullsizeOverlay()});$(document).ready(function(){initPressReleases()});var __nextPressreleasesPackageNumber=2,__loadedPressreleasesPackageNumber=1,__pressreleasesCategoryFilter="";$(document).ready(function(){initFloatingCols()}),function(){"use strict";var n=null;n=typeof window.videojs=="undefined"&&typeof require=="function"?require("video.js"):window.videojs,function(n,t){function f(n,t,i,r){return(u={label:i,sources:t},typeof r=="function")?r(n,t,i):n.src(t.map(function(n){return{src:n.src,type:n.type,res:n.res}}))}var s={},r,u={},i={},e=t.getComponent("MenuItem"),h=t.extend(e,{constructor:function(n,t,i,r){this.onClickListener=i;this.label=r;e.call(this,n,t);this.src=t.src;this.on("click",this.onClick);this.on("touchstart",this.onClick);t.initialySelected&&(this.showAsLabel(),this.selected(!0),this.addClass("vjs-selected"))},showAsLabel:function(){this.label&&(this.label.innerHTML=this.options_.label)},onClick:function(n){var r,t,i;this.onClickListener(this);r=this.player_.currentTime();t=this.player_.paused();this.showAsLabel();this.addClass("vjs-selected");t||this.player_.bigPlayButton.hide();typeof n!="function"&&typeof this.options_.customSourcePicker=="function"&&(n=this.options_.customSourcePicker);i="loadeddata";this.player_.preload()==="none"&&this.player_.techName_!=="Flash"&&(i="timeupdate");f(this.player_,this.src,this.options_.label,n).one(i,function(){this.player_.currentTime(r);this.player_.handleTechSeeked_();t||this.player_.play().handleTechSeeked_();this.player_.trigger("resolutionchange")})}}),o=t.getComponent("MenuButton"),c=t.extend(o,{constructor:function(n,t,i,r){if(this.sources=t.sources,this.label=r,this.label.innerHTML=t.initialySelectedLabel,o.call(this,n,t,i),this.controlText("Quality"),i.dynamicLabel)this.el().appendChild(r);else{var u=document.createElement("span");u.classList.add("vjs-resolution-button-staticlabel");this.el().appendChild(u)}},createItems:function(){var n=[],r=this.sources&&this.sources.label||{},u=function(t){n.map(function(n){n.selected(n===t);n.removeClass("vjs-selected")})};for(var t in r)r.hasOwnProperty(t)&&(n.push(new h(this.player_,{label:t,src:r[t],initialySelected:t===this.options_.initialySelectedLabel,customSourcePicker:this.options_.customSourcePicker},u,this.label)),i[t]=n[n.length-1]);return n}});r=function(n){function v(n,t){return!n.res||!t.res?0:+t.res-+n.res}function y(n){var t={label:{},res:{},type:{}};return n.map(function(n){h(t,"label",n);h(t,"res",n);h(t,"type",n);l(t,"label",n);l(t,"res",n);l(t,"type",n)}),t}function h(n,t,i){n[t][i[t]]==null&&(n[t][i[t]]=[])}function l(n,t,i){n[t][i[t]].push(i)}function p(n,t){var i=o["default"],r="";return(i==="high"?(i=t[0].res,r=t[0].label):i==="low"||i==null?(i=t[t.length-1].res,r=t[t.length-1].label):n.res[i]&&(r=n.res[i][0].label),i===undefined)?{res:i,label:r,sources:n.label[r]}:{res:i,label:r,sources:n.res[i]}}var o=t.mergeOptions(s,n),r=this,a=document.createElement("span"),e={};a.classList.add("vjs-resolution-button-label");r.updateSrc=function(n){if(!n)return r.src();r.controlBar.resolutionSwitcher&&(r.controlBar.resolutionSwitcher.dispose(),delete r.controlBar.resolutionSwitcher);n=n.sort(v);e=y(n);var t=p(e,n),i=new c(r,{sources:e,initialySelectedLabel:t.label,initialySelectedRes:t.res,customSourcePicker:o.customSourcePicker},o,a);return i.el().classList.add("vjs-resolution-button"),r.controlBar.resolutionSwitcher=r.controlBar.el_.insertBefore(i.el_,r.controlBar.getChild("fullscreenToggle").el_),f(r,t.sources,t.label)};r.currentResolution=function(n,t){if(n==null)return u;if(i[n]!=null)i[n].onClick(t);return r};r.getGroupedSrc=function(){return e};r.options_.sources.length>1&&r.ready(function(){r.updateSrc(r.options_.sources)})};t.plugin("videoJsResolutionSwitcher",r)}(window,n)}(),function(n,t){"use strict";var u=0,r=t("head"),f=n.BigText,e=t.fn.bigtext,i={DEBUG_MODE:!1,DEFAULT_MIN_FONT_SIZE_PX:null,DEFAULT_MAX_FONT_SIZE_PX:528,GLOBAL_STYLE_ID:"bigtext-style",STYLE_ID:"bigtext-id",LINE_CLASS_PREFIX:"bigtext-line",EXEMPT_CLASS:"bigtext-exempt",noConflict:function(r){return r&&(t.fn.bigtext=e,n.BigText=f),i},supports:{wholeNumberFontSizeOnly:function(){if(!("getComputedStyle"in n))return!0;var i=t("<div/>").css({position:"absolute","font-size":"14.1px"}).insertBefore(t("script").eq(0)),r=n.getComputedStyle(i[0],null),u=r&&r.getPropertyValue("font-size")==="14px";return i.remove(),u}()},init:function(){t("#"+i.GLOBAL_STYLE_ID).length||r.append(i.generateStyleTag(i.GLOBAL_STYLE_ID,[".bigtext * { white-space: nowrap; } .bigtext > * { display: block; }",".bigtext ."+i.EXEMPT_CLASS+", .bigtext ."+i.EXEMPT_CLASS+" * { white-space: normal; }"]))},bindResize:function(i,r){var u;t(n).off(i).on(i,function(){u&&clearTimeout(u);u=setTimeout(r,100)})},getStyleId:function(n){return i.STYLE_ID+"-"+n},generateStyleTag:function(n,i){return t("<style>"+i.join("\n")+"<\/style>").attr("id",n)},clearCss:function(n){var r=i.getStyleId(n);t("#"+r).remove()},generateCss:function(n,t,r,u){var e=[],f,o;for(i.clearCss(n),f=0,o=t.length;f<o;f++)e.push("#"+n+" ."+i.LINE_CLASS_PREFIX+f+" {"+(u[f]?" white-space: normal;":"")+(t[f]?" font-size: "+t[f]+"px;":"")+(r[f]?" word-spacing: "+r[f]+"px;":"")+"}");return i.generateStyleTag(i.getStyleId(n),e)},jQueryMethod:function(n){return i.init(),n=t.extend({minfontsize:i.DEFAULT_MIN_FONT_SIZE_PX,maxfontsize:i.DEFAULT_MAX_FONT_SIZE_PX,childSelector:"",resize:!0},n||{}),this.each(function(){var e=t(this).addClass("bigtext"),h=e.width(),f=e.attr("id"),s=n.childSelector?e.find(n.childSelector):e.children(),o;f||(f="bigtext-id"+u++,e.attr("id",f));n.resize&&i.bindResize("resize.bigtext-event-"+f,function(){i.jQueryMethod.call(t("#"+f),n)});i.clearCss(f);s.addClass(function(n,t){return[t.replace(new RegExp("\\b"+i.LINE_CLASS_PREFIX+"\\d+\\b"),""),i.LINE_CLASS_PREFIX+n].join(" ")});o=i.calculateSizes(e,s,h,n.maxfontsize,n.minfontsize);r.append(i.generateCss(f,o.fontSizes,o.wordSpacings,o.minFontSizes))}),this.trigger("bigtext:complete")},testLineDimensions:function(n,t,i,r,u,f,e){var o,s,h;return(e=typeof e=="number"?e:0,n.css(i,r+f),o=n.width(),o>=t)?(n.css(i,""),o===t)?{match:"exact",size:parseFloat((parseFloat(r)-.1).toFixed(3))}:(s=t-e,h=o-t,{match:"estimate",size:parseFloat((parseFloat(r)-(i==="word-spacing"&&e&&h<s?0:u)).toFixed(3))}):o},calculateSizes:function(n,r,u,f,e){var l=n.clone(!0).addClass("bigtext-cloned").css({fontFamily:n.css("font-family"),textTransform:n.css("text-transform"),wordSpacing:n.css("word-spacing"),letterSpacing:n.css("letter-spacing"),position:"absolute",left:i.DEBUG_MODE?0:-9999,top:i.DEBUG_MODE?0:-9999}).appendTo(document.body),o=[],h=[],s=[],c=[];return r.css("float","left").each(function(){var a=t(this),v=i.supports.wholeNumberFontSizeOnly?[8,4,1]:[8,4,1,.1],h,n,r,y,l,p;if(a.hasClass(i.EXEMPT_CLASS)){o.push(null);c.push(null);s.push(!1);return}var w=parseFloat(a.css("font-size")),b=(a.width()/w).toFixed(6);n=parseInt(u/b,10)-32;n:for(r=0,y=v.length;r<y;r++)t:for(l=1,p=10;l<=p;l++){if(n+l*v[r]>f){n=f;break n}if(h=i.testLineDimensions(a,u,"font-size",n+l*v[r],v[r],"px",h),typeof h!="number"){if(n=h.size,h.match==="exact")break n;break t}}c.push(u/n);n>f?(o.push(f),s.push(!1)):!!e&&n<e?(o.push(e),s.push(!0)):(o.push(n),s.push(!1))}).each(function(n){var r=t(this),s=0,c=1,f,e,l;if(r.hasClass(i.EXEMPT_CLASS)){h.push(null);return}for(r.css("font-size",o[n]+"px"),e=1,l=3;e<l;e+=c)if(f=i.testLineDimensions(r,u,"word-spacing",e,c,"px",f),typeof f!="number"){s=f.size;break}r.css("font-size","");h.push(s)}).removeAttr("style"),i.DEBUG_MODE?l.css({"background-color":"rgba(255,255,255,.4)"}):l.remove(),{fontSizes:o,wordSpacings:h,ratios:c,minFontSizes:s}}};t.fn.bigtext=i.jQueryMethod;n.BigText=i}(this,jQuery);$(document).ready(function(){blogModule.init()}),function(){typeof blogModule=="undefined"&&(window.blogModule=new function(){var n=this;n._defaultSettings={debug:!1,interfaceMarkerClassNames:{articlesContainer:"js-blog-articles-container",loadArticlesButton:"js-blog-load-further-articles"},interfaceAttributeNames:{onArticlesAddedEvent:"on-articles-added",currentPage:"current-page",articleBaseUrl:"base-url",articleFilter:"filter"},uiMarkerClassNames:{isLoadingArticles:"blog--is-loading-articles"}};n._settings=$.extend({},n._defaultSettings);n._isInititalized=!1;n.init=function(t){typeof t=="object"&&(n._settings=$.extend({},n._defaultSettings,t));n._log("fully initialized");n._isInititalized=!0;n._addDomEvents();typeof asyncLoader!="undefined"&&asyncLoader.registerInit(n._addDomEvents)};n._log=function(t,i){(n._settings.debug||i===!0)&&(typeof t!="string"?(console.log("Blog module:"),console.log(t)):console.log("Blog module: "+t))};n._addDomEvents=function(){$("."+n._settings.interfaceMarkerClassNames.loadArticlesButton).each(function(){$(this).data("isBlogModuleInitialized")||(typeof $(this).data(n._settings.interfaceAttributeNames.currentPage)!="number"&&$(this).data(n._settings.interfaceAttributeNames.currentPage,1),$(this).click(function(t){t.preventDefault();n._loadFurtherArticles($(this))}),$(this).data("isBlogModuleInitialized",!0))})};n._loadFurtherArticles=function(t){var i=t.data(n._settings.interfaceAttributeNames.currentPage)+1,u=t.data(n._settings.interfaceAttributeNames.articleBaseUrl),f=t.data(n._settings.interfaceAttributeNames.articleFilter),r;n._log("load articles on page "+i);t.addClass(n._settings.uiMarkerClassNames.isLoadingArticles);$("."+n._settings.interfaceMarkerClassNames.articlesContainer).addClass(n._settings.uiMarkerClassNames.isLoadingArticles);r=CALLBACKURLBASE+"blog-load-articles.json";$.getJSON(r,{page:i,baseUrl:u,filter:f},function(r){r.ResultCode==="Ok"?($("."+n._settings.interfaceMarkerClassNames.articlesContainer).each(function(){var t=$(this);t.append(r.Html);setTimeout(function(){n._onArticlesAdded(t)},1)}),t.data(n._settings.interfaceAttributeNames.currentPage,i),r.HasFurtherPages||t.hide(),typeof asyncLoader!="undefined"&&asyncLoader.triggerAsyncInit()):t.hide();t.removeClass(n._settings.uiMarkerClassNames.isLoadingArticles);$("."+n._settings.interfaceMarkerClassNames.articlesContainer).removeClass(n._settings.uiMarkerClassNames.isLoadingArticles)})};n._onArticlesAdded=function(t){var i=t.data(n._settings.interfaceAttributeNames.onArticlesAddedEvent);if(typeof window[i]=="function")try{window[i](t)}catch(r){n._log("Executing the OnArticlesAdded event threw an exception! - Message: "+r,!0)}}})}();$(document).ready(function(){$(".usercomments").spiritecUsercomments()}),function(n,t){"use strict";function u(t,u){this._element=t;this._$element=n(t);this._settings=n.extend({},r,u,this._$element.data());this._defaults=r;this._name=i;this.init()}var i="spiritecUsercomments",r={};n.extend(u.prototype,{init:function(){this._cacheDom();this._initParams();this._bindEvents()},_cacheDom:function(){this._$toggle=this._$element.find(".usercomments__toggleform");this._$form=this._$element.find(".usercommentsform__formular");this._$submit=this._$element.find(".usercommentsform__submit");this._$error=this._$element.find(".usercommentsform__error");this._$feedback=this._$element.find(".usercommentsform__feedback")},_initParams:function(){this._isOpen=!1},_bindEvents:function(){var n=this;this._$toggle.click(function(t){t.preventDefault();n._toggle()});this._$submit.click(function(t){t.preventDefault();n._submit()})},_toggle:function(){this._isOpen?this._close():this._open()},_open:function(){var n=this;this._$form.slideDown(400,function(){n._isOpen=!0})},_close:function(){var n=this;this._$form.slideUp(400,function(){n._isOpen=!1})},_submit:function(){var i=this,r,u;this._$submit.hasClass("disabled")||(this._$submit.addClass("disabled"),r={source:this._$element.data("source"),url:t.location.href,name:this._$form.find("input[name=name]").val(),email:this._$form.find("input[name=email]").val(),productionId:this._$form.find("select[name=production]").val(),productionName:this._$form.find("select[name=production] option:selected").text(),comment:this._$form.find("textarea[name=comment]").val(),verification:this._$form.find("input[name=verification]").val(),"verification-validation":this._$form.find("input[name=verification-validation]").val()},u=CALLBACKURLBASE+"add-user-comment.json",n.post(u,r,function(n){n.ResultCode==="Ok"?(i._$error.hide(),i._$form.slideUp(400,function(){i._$feedback.slideDown(200)})):(i._$error.html(n.HtmlEncodedErrors),i._$error.show(),i._$submit.removeClass("disabled"))}).fail(function(n){typeof n.responseJSON=="object"&&typeof n.responseJSON.HtmlEncodedErrors=="string"&&(i._$error.html(n.responseJSON.HtmlEncodedErrors),i._$error.show(),i._$submit.removeClass("disabled"))}))}});n.fn[i]=function(t){return this.each(function(){n.data(this,"plugin_"+i)||n.data(this,"plugin_"+i,new u(this,t))})}}(jQuery,window,document)