function isIE(){var n=navigator.userAgent.toLowerCase();return n.indexOf("msie")!=-1?parseInt(n.split("msie")[1]):!1}function inIframe(){try{return window.self!==window.top}catch(n){return!0}}function LinkToParent(n){window.top.location=n}function setCookie(n,t,i){var r,u;i<=0?window.top.document.cookie=n+"="+t+";":(r=new Date,r.setTime(r.getTime()+i*864e5),u="expires="+r.toGMTString(),window.top.document.cookie=n+"="+t+"; "+u)}function deleteCookie(n){window.top.document.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}function getCookie(n){for(var t,r=n+"=",u=window.top.document.cookie.split(";"),i=0;i<u.length;i++)if(t=u[i].trim(),t.indexOf(r)==0)return t.substring(r.length,t.length);return""}function getQueryString(n){n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i="[\\?&]"+n+"=([^&#]*)",r=new RegExp(i),t=r.exec(window.location.href);return t==null?"":t[1]}function getAllQueryStringParameters(){var i=[],t,n,r;if(window.location.search)for(t=window.location.search.slice(1).split("&"),n=0;n<t.length;n++)t[n].split("=")[0]!="page"&&(r=decodeURIComponent(t[n]),i[n]=r.split("="));return i}function loadScript(n){$.getScript(n)}function addHyphen(n){var t=n.val();t=t+"-";n.val(t)}function validateEmail(n){return/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n)}function initializeGallery(){var n=$(".carousel");n.each(function(){var n=$(this);n.find("img").removeAttr("height").removeAttr("width");n.slick({dots:!0,autoplay:!1,autoplaySpeed:5e3,fade:!0,pauseOnDotsHover:!0,pauseOnHover:!0,arrows:!1});n.slick("slickPlay");n.hover(function(){n.slick("slickPause")},function(){n.slick("slickPlay")});initializeGalleryVideos(n)})}function initializeGalleryVideos(n){n.find("video").each(function(){var t=$(this);t[0].onplay=function(){n.slick("slickPause")};t[0].onended=function(){n.slick("slickPlay")}});initializeVideoControls()}function initializeVideoControls(){$("video").hover(function(){var n=$(this);n.attr("controls","controls")},function(){var n=$(this);n.removeAttr("controls")})}function resizeGallery(){$(".slick-slide video").each(function(){var n=$(this),t=n.parent().parent().innerHeight();n.height(t)})}function initializeDefaults(){$('[href="#"]').click(function(n){n.preventDefault()});$(".header nav .dropdown-toggle").click(function(){$(".navbar-toggle").css("display")!="none"&&initializeHeader()});$(".TeamSelect").change(function(){var n=$(this).children("option:selected").val();window.location=window.location.pathname+"?team="+n})}function initializeEqualHeightElements(){$(".page-link").equalHeight();$('[class*="action-module"]').not(".action-module2-group").equalHeight(!1);$('[class*="action-module"] > .box').equalHeight(!1);$('[class*="action-module"]').not(".action-module2-group").equalHeight(!1);$(".page-link").equalHeight(!1);$(".body-nav2-heading").equalHeight(!1)}function initializeActionModuleRules(){$(".action-module1").each(function(){var t=$(this),i=t.parent(),n;i.attr("class").search("6")>-1&&(n=t.width(),n<270?n<170?t.css("height",Math.round(n*2.3)+"px"):t.css("height",Math.round(n*1.4)+"px"):t.css("height",Math.round(n*.76857142857142857)+"px"))})}function initializeHeader(){$(".header nav ul.nav > li > a.dropdown-toggle").unbind("click");$(".quick-help li.my-account > a").click(function(n){n.stopPropagation();var t=$(this).parent();t.hasClass("open")?t.removeClass("open"):t.addClass("open")});$(".quick-help li.my-account *").click(function(n){n.stopPropagation()});$(document).click(function(){var n=$(".quick-help li.my-account");n.hasClass("open")&&n.removeClass("open")});windowWidth>969?$(".header nav ul.nav > li > a.dropdown-toggle").click(function(){var n=$(this),t=n.attr("href");window.location=t}):$(".header nav ul.nav > li > a.dropdown-toggle").click(function(){var n=$(this),t=0,i=n.attr("data-clicked"),r;i==undefined?(n.attr("data-clicked","1"),t=1):(t=parseInt(i),t++,n.attr("data-clicked",t));t==2&&(r=n.attr("href"),window.location=r);setTimeout(function(){var t=n.attr("data-clicked",0)},500)});$(".header nav li .menu").each(function(){var n=$(this),f=n.offset().left,e=n.parent().parent().offset().left,u;n.css({width:n.parent().parent().width()+"px"});var t=n.children("div"),i=t.children("div"),r=i.length;t.addClass("row");u=0;i.each(function(){var n=$(this);n.hasClass("wide")&&(n.addClass("col-sm-12"),r--)});i.not(".wide").addClass("col-sm-"+12/r);windowWidth>640?t.children(".featured").css("min-height",t.height()+"px"):t.children(".featured").css("min-height","0px")})}function initializeSortDropdown(){$(".sort").change(function(){var n=$(this).children("option:selected").val();window.location=window.location.pathname+"?sort="+n})}function initializeLeftNav(){var n=0;$(".sub-nav > h3").click(function(t){if(windowWidth<970){t.preventDefault();setTimeout(function(){n=0},500);n++;var r=$(this),i=r.parent();n==2&&(window.location=r.children("a").attr("href"));i.hasClass("clicked")?i.removeClass("clicked"):i.addClass("clicked")}})}function initializeTextResizer(){var t={},n=0;$(".main").find("p,h1,h2,h3,h4,h5,h6,div").not(".symbol").each(function(){t[$(this).prop("tagName").toLowerCase()+n]=parseInt($(this).css("font-size").replace("px",""));n++});$(".widget.resize li a").click(function(i){var u,r,f;i.preventDefault();$(".widget.resize li").removeClass("active");u=$(this).parent();u.addClass("active");r=1;f=u.attr("data-size");switch(f){case"small":r=1;break;case"medium":r=1.2;break;case"large":r=1.4}n=0;$(".main").find("p,h1,h2,h3,h4,h5,h6,div").not(".symbol").each(function(){$(this).css({"font-size":t[$(this).prop("tagName").toLowerCase()+n]*r+"px"});n++})})}function fixRequiredFields(){$(".scfRequired, .scfValidatorRequired").each(function(){var n=$(this),t=n.siblings("label");n.detach().appendTo(t)})}function initializeSiteMap(){var n=$(".page-list-col");n.masonry({itemSelector:".page-list",gutter:0})}function initiallizeSiteSearch(){$(".GlobalSiteSearchTextField").keydown(function(n){var t,i;if(n.keyCode==13)return n.stopPropagation(),n.preventDefault(),t=$(this),t.val().length>2&&(i=t.attr("data-url"),window.location.href=i+"?keywords="+t.val()),!1});$(".GlobalSiteSearchButon").click(function(n){if(n.preventDefault(),$(".GlobalSiteSearchTextField").val().length>2){var t=$(".GlobalSiteSearchTextField").attr("data-url");window.location.href=t+"?keywords="+$(".GlobalSiteSearchTextField").val()}return!1});$(".SearchResults").length>0&&$(".ddlFilters").checkboxDropDown({multiSelect:!0,showCheckboxes:!0,singleSelectOptions:[0],selectedOptions:[0]});$(".SearchFaqResults").length>0&&$(".SearchFaqResults").attr("data-faq-search")!="rail"&&$(".ddlFilters").checkboxDropDown({multiSelect:!1,collapseOnSelect:!0});var n=$("#txtSearchField");n.length>0&&n.val(keywords);n.keydown(function(n){n.keyCode==13&&(n.preventDefault(),getSearchResults(),getFaqResults())});$("#btnSearch").click(function(n){n.preventDefault();getSearchResults();getFaqResults()});$(".LoadMore").click(function(){getSearchResults(!0)});$(".LoadMoreFaqs").click(function(){getFaqResults(!0)});$(".SearchFaqResults").length>0&&$(".SearchFaqResults").attr("data-faq-search")!="rail"?$(".SearchSort").click(function(){var n=$(this);n.hasClass("selected")||($(".SearchSort").removeClass("selected"),n.addClass("selected"),getFaqResults())}):$(".SearchSort").click(function(){var n=$(this);n.hasClass("selected")||($(".SearchSort").removeClass("selected"),n.addClass("selected"),getSearchResults())});$(".SearchFaqResults").length>0&&$(".SearchFaqResults").attr("data-faq-search")!="rail"?$(".ddlFilters + .checkbox-dropdown li > span").click(function(){getFaqResults()}):$(".ddlFilters + .checkbox-dropdown li > span").click(function(){getSearchResults()});$(".SearchResults").length>0&&(getSearchResults(),getFaqResults());$(".SearchFaqResults").length>0&&$(".SearchFaqResults").attr("data-faq-search")!="rail"&&getFaqResults()}function getSearchFilterValues(){var n=[];return $(".ddlFilters + .checkbox-dropdown").find(".selected").each(function(){var t=$(this).children("input").val();t=="all"?$(".ddlFilters + .checkbox-dropdown input").not('[value="all"]').each(function(){t=$(this).val();n.push(t)}):n.push(t)}),n}function getSearchFilters(){var n=[];return $(".ddlFilters + .checkbox-dropdown").find(".selected").each(function(){var t=$(this).children("label").text();n.push(t)}),n}function getSearchResults(n){var r=$(".search-items"),t={},f,e,o,i,u,s;t.Keywords=$("#txtSearchField").val().replace(/[&\/\\#,+()$~%.'":*?<>{}]/g,"");t.Keywords.length==0?(f=$("#txtSearchField"),f.focus(),$(".NoKeywordsMessage").fadeIn(1e3)):$(".NoKeywordsMessage").hide();n?t.Skip=parseInt(r.attr("data-index")):(t.Skip=0,r.attr("data-index",0));t.Take=numberOfResultsToShow;t.OrderByLatest=!1;$(".SearchSort.selected").attr("data-sort")=="date"&&(t.OrderByLatest=!0);t.Filters=getSearchFilterValues();e=[location.protocol,"//",location.host,location.pathname].join("")+"?keywords="+t.Keywords;window.history.pushState(t,t.Skip,e);o=JSON.stringify(t);i='<p>Results for "';i+="<strong>"+t.Keywords+"<\/strong>";i+='"';i+=" within "+getSearchFilters().join(", ");i+="<\/p>";$(".SearchInfo").html(i);u=0;s=setInterval(function(){u++},1);$.ajax({type:"POST",contentType:"application/json;charset=utf-8",url:"/api/content/Search/SearchResults",data:o,success:function(i){var e,f;if(window.clearInterval(s),n)for(h=0;h<i.Results.length;h++)ViewModels.Results.push(i.Results[h]);else ViewModels.Results(i.Results);r.attr("data-index",t.Skip+numberOfResultsToShow);e=1;i.Count==0&&(e=0);f="<p>Displaying "+e+" - ";i.Count<t.Skip+numberOfResultsToShow?($(".LoadMore").hide(),f+=i.Count):($(".LoadMore").show(),f+=t.Skip+numberOfResultsToShow);f+=" of "+i.Count+" results";showSearchTimer&&(f+=" ("+u/1e3+" seconds)");f+="<\/p>";$(".SearchCounts").html(f);$(".search-item").slideDown(200);initializeTextResizer()}})}function getFaqResults(n){var i=$(".faq-items > div"),t={},r;t.Keywords=$("#txtSearchField").val();n?t.Skip=parseInt(i.attr("data-index")):(t.Skip=0,i.attr("data-index",0));t.Take=numberOfFaqResultsToShow;t.OrderByLatest=!1;$(".SearchFaqResults").attr("data-faq-search")!="rail"&&($(".SearchSort.selected").attr("data-sort")=="date"&&(t.OrderByLatest=!0),t.Filters=getSearchFilterValues());r=JSON.stringify(t);$.ajax({type:"POST",contentType:"application/json;charset=utf-8",url:"/api/content/Search/SearchFaqResults",data:r,success:function(r){var f,u;if(r.Results.length>0){if($(".FaqNoResults").hide(),n)for(h=0;h<r.Results.length;h++)ViewModels.Faqs.push(r.Results[h]);else ViewModels.Faqs(r.Results);i.attr("data-index",t.Skip+numberOfFaqResultsToShow);f=1;r.Count==0&&(f=0);u="<p>Displaying "+f+" - ";r.Count<t.Skip+numberOfFaqResultsToShow?($(".LoadMoreFaqs").hide(),u+=r.Count):($(".LoadMoreFaqs").show(),u+=t.Skip+numberOfFaqResultsToShow);u+=" of "+r.Count+" results";u+="<\/p>";$(".SearchFaqResults").attr("data-faq-search")!="rail"&&$(".faq-results-info").html(u);$(".faq-item").fadeIn(400);initializeTextResizer()}else $(".LoadMoreFaqs").hide(),ViewModels.Faqs(r.Results),$(".FaqNoResults").show()}})}function submitNewsletterSignup(n){var i=validateEmail(n),r=location.protocol+"//"+location.hostname+"/newsletter/thank-you",t;i&&n!="name@email.com"&&(t=document.createElement("FORM"),t.name="myForm",t.method="POST",t.action="http://cl.exct.net/subscribe.aspx?lid=158330",DATA_SRC=document.createElement("INPUT"),DATA_SRC.type="HIDDEN",DATA_SRC.name="DATA_SRC",DATA_SRC.value="cdphp.com",t.appendChild(DATA_SRC),thx=document.createElement("INPUT"),thx.type="HIDDEN",thx.name="thx",thx.value=r,t.appendChild(thx),err=document.createElement("INPUT"),err.type="HIDDEN",err.name="err",err.value=location.protocol+"//"+location.hostname,t.appendChild(err),MID=document.createElement("INPUT"),MID.type="HIDDEN",MID.name="MID",MID.value="1042538",t.appendChild(MID),Email_Type=document.createElement("INPUT"),Email_Type.type="HIDDEN",Email_Type.name="Email Type",Email_Type.value="HTML",t.appendChild(Email_Type),SubAction=document.createElement("INPUT"),SubAction.type="HIDDEN",SubAction.name="SubAction",SubAction.value="sub_add_update",t.appendChild(SubAction),Email_Address=document.createElement("INPUT"),Email_Address.type="HIDDEN",Email_Address.name="Email Address",Email_Address.value=n,t.appendChild(Email_Address),document.body.appendChild(t),t.submit())}var windowWidth,IE;(function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define=="function"&&define.amd?define(["exports","jquery","popper.js"],t):(n=n||self,t(n.bootstrap={},n.jQuery,n.Popper))})(this,function(n,t,i){"use strict";function uu(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function o(n,t,i){return t&&uu(n.prototype,t),i&&uu(n,i),n}function re(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function fu(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function u(n){for(var i,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},t%2?fu(Object(i),!0).forEach(function(t){re(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):fu(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function ue(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function oe(n){return n===null||typeof n=="undefined"?""+n:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function se(){return{bindType:ci,delegateType:ci,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function he(n){var u=this,i=!1;t(this).one(r.TRANSITION_END,function(){i=!0});return setTimeout(function(){i||r.triggerTransitionEnd(u)},n),this}function ce(){t.fn.emulateTransitionEnd=he;t.event.special[r.TRANSITION_END]=se()}function hl(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return el.indexOf(r)!==-1?Boolean(n.nodeValue.match(ol)||n.nodeValue.match(sl)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function hf(n,t,i){var r,e,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,u=s.parseFromString(n,"text/html"),h=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),c=function(n){var i=f[n],e=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[e]||[]);r.forEach(function(n){hl(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,e=f.length;r<e;r++)o=c(r),o==="continue";return u.body.innerHTML}var r;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t;i=i&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i;var ci="transitionend",fe=1e6,ee=1e3;r={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*fe);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&t!=="#"||(i=n.getAttribute("href"),t=i&&i!=="#"?i.trim():"");try{return document.querySelector(t)?t:null}catch(r){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return!u&&!f?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*ee)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(ci)},supportsTransitionEnd:function(){return Boolean(ci)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){for(var u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.isElement(f)?"element":oe(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?r.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};r.jQueryDetection();ce();var ht="alert",le="4.5.0",li="bs.alert",hr="."+li,ae=t.fn[ht],ve="close"+hr,ye="closed"+hr,pe="click"+hr+".data-api",we="alert",be="fade",ke="show",nt=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,li);this._element=null},i._getRootElement=function(n){var u=r.getSelectorFromElement(n),i=!1;return u&&(i=document.querySelector(u)),i||(i=t(n).closest("."+we)[0]),i},i._triggerCloseEvent=function(n){var i=t.Event(ve);return t(n).trigger(i),i},i._removeElement=function(n){var u=this,i;if(t(n).removeClass(ke),!t(n).hasClass(be)){this._destroyElement(n);return}i=r.getTransitionDurationFromElement(n);t(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(i)},i._destroyElement=function(n){t(n).detach().trigger(ye).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(li);r||(r=new n(this),u.data(li,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return le}}]),n}();t(document).on(pe,'[data-dismiss="alert"]',nt._handleDismiss(new nt));t.fn[ht]=nt._jQueryInterface;t.fn[ht].Constructor=nt;t.fn[ht].noConflict=function(){return t.fn[ht]=ae,nt._jQueryInterface};var ct="button",de="4.5.0",ai="bs.button",vi="."+ai,yi=".data-api",ge=t.fn[ct],l="active",no="btn",to="focus",eu='[data-toggle^="button"]',io='[data-toggle="buttons"]',ro='[data-toggle="button"]',uo='[data-toggle="buttons"] .btn',cr='input:not([type="hidden"])',fo=".active",ou=".btn",eo="click"+vi+yi,oo="focus"+vi+yi+" "+("blur"+vi+yi),so="load"+vi+yi,lt=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest(io)[0],n,r;f&&(n=this._element.querySelector(cr),n&&(n.type==="radio"&&(n.checked&&this._element.classList.contains(l)?i=!1:(r=f.querySelector(fo),r&&t(r).removeClass(l))),i&&((n.type==="checkbox"||n.type==="radio")&&(n.checked=!this._element.classList.contains(l)),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(l)),i&&t(this._element).toggleClass(l))},i.dispose=function(){t.removeData(this._element,ai);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ai);r||(r=new n(this),t(this).data(ai,r));i==="toggle"&&r[i]()})},o(n,null,[{key:"VERSION",get:function(){return de}}]),n}();t(document).on(eo,eu,function(n){var i=n.target,u=i,r;if(t(i).hasClass(no)||(i=t(i).closest(ou)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(cr),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled"))){n.preventDefault();return}u.tagName==="LABEL"&&r&&r.type==="checkbox"&&n.preventDefault();lt._jQueryInterface.call(t(i),"toggle")}}).on(oo,eu,function(n){var i=t(n.target).closest(ou)[0];t(i).toggleClass(to,/^focus(in)?$/.test(n.type))});t(window).on(so,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(uo)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(cr),f.checked||f.hasAttribute("checked")?t.classList.add(l):t.classList.remove(l);for(n=[].slice.call(document.querySelectorAll(ro)),i=0,e=n.length;i<e;i++)r=n[i],r.getAttribute("aria-pressed")==="true"?r.classList.add(l):r.classList.remove(l)});t.fn[ct]=lt._jQueryInterface;t.fn[ct].Constructor=lt;t.fn[ct].noConflict=function(){return t.fn[ct]=ge,lt._jQueryInterface};var tt="carousel",ho="4.5.0",at="bs.carousel",f="."+at,su=".data-api",co=t.fn[tt],lo=37,ao=39,vo=500,yo=40,lr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},po={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},pi="next",wi="prev",wo="left",bo="right",ko="slide"+f,hu="slid"+f,go="keydown"+f,ns="mouseenter"+f,ts="mouseleave"+f,is="touchstart"+f,rs="touchmove"+f,us="touchend"+f,fs="pointerdown"+f,es="pointerup"+f,os="dragstart"+f,ss="load"+f+su,hs="click"+f+su,cs="carousel",y="active",ls="slide",as="carousel-item-right",vs="carousel-item-left",ys="carousel-item-next",ps="carousel-item-prev",ws="pointer-event",bs=".active",ar=".active.carousel-item",ks=".carousel-item",ds=".carousel-item img",gs=".carousel-item-next, .carousel-item-prev",nh=".carousel-indicators",th='[data-ride="carousel"]',cu={TOUCH:"touch",PEN:"pen"},it=function(){function i(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=n;this._indicatorsElement=this._element.querySelector(nh);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=i.prototype;return n.next=function(){this._isSliding||this._slide(pi)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(wi)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(gs)&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(ar),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(hu,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?pi:wi;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(f);t.removeData(this._element,at);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=u(u({},lr),n),r.typeCheckConfig(tt,n,po),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=yo||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(go,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(ns,function(t){return n.pause(t)}).on(ts,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&cu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&cu[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},vo+n._config.interval))};t(this._element.querySelectorAll(ds)).on(os,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(fs,function(n){return i(n)});t(this._element).on(es,function(n){return r(n)});this._element.classList.add(ws)}else{t(this._element).on(is,function(n){return i(n)});t(this._element).on(rs,function(n){return u(n)});t(this._element).on(us,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case lo:n.preventDefault();this.prev();break;case ao:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(ks)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===pi,e=n===wi,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===wi?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(ar)),r=t.Event(ko,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(bs)),t(r).removeClass(y),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(y))},n._slide=function(n,i){var l=this,f=this._element.querySelector(ar),w=this._getItemIndex(f),u=i||f&&this._getItemByDirection(n,f),b=this._getItemIndex(u),a=Boolean(this._interval),e,o,s,v,h,c,p;if(n===pi?(e=vs,o=ys,s=wo):(e=as,o=ps,s=bo),u&&t(u).hasClass(y)){this._isSliding=!1;return}(v=this._triggerSlideEvent(u,s),v.isDefaultPrevented())||f&&u&&(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event(hu,{relatedTarget:u,direction:s,from:w,to:b}),t(this._element).hasClass(ls)?(t(u).addClass(o),r.reflow(u),t(f).addClass(e),t(u).addClass(e),c=parseInt(u.getAttribute("data-interval"),10),c?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=c):this._config.interval=this._config.defaultInterval||this._config.interval,p=r.getTransitionDurationFromElement(f),t(f).one(r.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(y);t(f).removeClass(y+" "+o+" "+e);l._isSliding=!1;setTimeout(function(){return t(l._element).trigger(h)},0)}).emulateTransitionEnd(p)):(t(f).removeClass(y),t(u).addClass(y),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle())},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(at),f=u(u({},lr),t(this).data()),e;if(typeof n=="object"&&(f=u(u({},f),n)),e=typeof n=="string"?n:f.slide,r||(r=new i(this,f),t(this).data(at,r)),typeof n=="number")r.to(n);else if(typeof e=="string"){if(typeof r[e]=="undefined")throw new TypeError('No method named "'+e+'"');r[e]()}else f.interval&&f.ride&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),f,o,e;s&&(f=t(s)[0],f&&t(f).hasClass(cs))&&(o=u(u({},t(f).data()),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),i._jQueryInterface.call(t(f),o),e&&t(f).data(at).to(e),n.preventDefault())},o(i,null,[{key:"VERSION",get:function(){return ho}},{key:"Default",get:function(){return lr}}]),i}();t(document).on(hs,"[data-slide], [data-slide-to]",it._dataApiClickHandler);t(window).on(ss,function(){for(var i,r=[].slice.call(document.querySelectorAll(th)),n=0,u=r.length;n<u;n++)i=t(r[n]),it._jQueryInterface.call(i,i.data())});t.fn[tt]=it._jQueryInterface;t.fn[tt].Constructor=it;t.fn[tt].noConflict=function(){return t.fn[tt]=co,it._jQueryInterface};var rt="collapse",ih="4.5.0",p="bs.collapse",vt="."+p,rh=t.fn[rt],vr={toggle:!0,parent:""},uh={toggle:"boolean",parent:"(string|element)"},fh="show"+vt,eh="shown"+vt,oh="hide"+vt,sh="hidden"+vt,hh="click"+vt+".data-api",w="show",yt="collapse",bi="collapsing",yr="collapsed",lu="width",ch="height",lh=".show, .collapsing",au='[data-toggle="collapse"]',pt=function(){function i(n,t){var u,i,e;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],'+('[data-toggle="collapse"][data-target="#'+n.id+'"]'))),u=[].slice.call(document.querySelectorAll(au)),i=0,e=u.length;i<e;i++){var o=u[i],f=r.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=i.prototype;return n.toggle=function(){t(this._element).hasClass(w)?this.hide():this.show()},n.show=function(){var u=this,n,e,o,f;if(!this._isTransitioning&&!t(this._element).hasClass(w)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(lh)).filter(function(n){return typeof u._config.parent=="string"?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(yt)}),n.length===0&&(n=null)),!n||(e=t(n).not(this._selector).data(p),!e||!e._isTransitioning))&&(o=t.Event(fh),t(this._element).trigger(o),!o.isDefaultPrevented())){n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(p,null));f=this._getDimension();t(this._element).removeClass(yt).addClass(bi);this._element.style[f]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(yr).attr("aria-expanded",!0);this.setTransitioning(!0);var s=function(){t(u._element).removeClass(bi).addClass(yt+" "+w);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(eh)},h=f[0].toUpperCase()+f.slice(1),c="scroll"+h,l=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,s).emulateTransitionEnd(l);this._element.style[f]=this._element[c]+"px"}},n.hide=function(){var s=this,u,n,f,i,e,o,h,c,l;if(!this._isTransitioning&&t(this._element).hasClass(w)&&(u=t.Event(oh),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),t(this._element).addClass(bi).removeClass(yt+" "+w),f=this._triggerArray.length,f>0)for(i=0;i<f;i++)e=this._triggerArray[i],o=r.getSelectorFromElement(e),o!==null&&(h=t([].slice.call(document.querySelectorAll(o))),h.hasClass(w)||t(e).addClass(yr).attr("aria-expanded",!1));this.setTransitioning(!0);c=function(){s.setTransitioning(!1);t(s._element).removeClass(bi).addClass(yt).trigger(sh)};this._element.style[n]="";l=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,c).emulateTransitionEnd(l)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,p);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=u(u({},vr),n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(rt,n,uh),n},n._getDimension=function(){var n=t(this._element).hasClass(lu);return n?lu:ch},n._getParent=function(){var e=this,n,u,f;return r.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(i._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(w);i.length&&t(i).toggleClass(yr,!r).attr("aria-expanded",r)},i._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},i._jQueryInterface=function(n){return this.each(function(){var f=t(this),r=f.data(p),e=u(u(u({},vr),f.data()),typeof n=="object"&&n?n:{});if(!r&&e.toggle&&typeof n=="string"&&/show|hide/.test(n)&&(e.toggle=!1),r||(r=new i(this,e),f.data(p,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return ih}},{key:"Default",get:function(){return vr}}]),i}();t(document).on(hh,au,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var i=t(this),u=r.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),r=n.data(p),u=r?"toggle":i.data();pt._jQueryInterface.call(n,u)})});t.fn[rt]=pt._jQueryInterface;t.fn[rt].Constructor=pt;t.fn[rt].noConflict=function(){return t.fn[rt]=rh,pt._jQueryInterface};var ut="dropdown",ah="4.5.0",wt="bs.dropdown",a="."+wt,pr=".data-api",vh=t.fn[ut],bt=27,vu=32,yu=9,wr=38,br=40,yh=3,ph=new RegExp(wr+"|"+br+"|"+bt),pu="hide"+a,wu="hidden"+a,wh="show"+a,bh="shown"+a,kh="click"+a,kr="click"+a+pr,bu="keydown"+a+pr,dh="keyup"+a+pr,ki="disabled",s="show",gh="dropup",nc="dropright",tc="dropleft",ku="dropdown-menu-right",ic="position-static",di='[data-toggle="dropdown"]',dr=".dropdown-menu",rc=".navbar-nav",uc=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",fc="top-start",ec="top-end",oc="bottom-start",sc="bottom-end",hc="right-start",cc="left-start",lc={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ac={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},v=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var f=n.prototype;return f.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(ki)){var i=t(this._menu).hasClass(s);(n._clearMenus(),i)||this.show(!0)}},f.show=function(u){var e;if(u===void 0&&(u=!1),!this._element.disabled&&!t(this._element).hasClass(ki)&&!t(this._menu).hasClass(s)){var o={relatedTarget:this._element},h=t.Event(wh,o),f=n._getParentFromElement(this._element);if(t(f).trigger(h),!h.isDefaultPrevented()){if(!this._inNavbar&&u){if(typeof i=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");e=this._element;this._config.reference==="parent"?e=f:r.isElement(this._config.reference)&&(e=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(e=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(f).addClass(ic);this._popper=new i(e,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(f).closest(rc).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(s);t(f).toggleClass(s).trigger(t.Event(bh,o))}}},f.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(ki)&&t(this._menu).hasClass(s)){var i={relatedTarget:this._element},r=t.Event(pu,i),u=n._getParentFromElement(this._element);(t(u).trigger(r),r.isDefaultPrevented())||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(s),t(u).toggleClass(s).trigger(t.Event(wu,i)))}},f.dispose=function(){t.removeData(this._element,wt);t(this._element).off(a);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},f.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},f._addEventListeners=function(){var n=this;t(this._element).on(kh,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},f._getConfig=function(n){return n=u(u(u({},this.constructor.Default),t(this._element).data()),n),r.typeCheckConfig(ut,n,this.constructor.DefaultType),n},f._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(dr))}return this._menu},f._getPlacement=function(){var i=t(this._element.parentNode),n=oc;return i.hasClass(gh)?n=t(this._menu).hasClass(ku)?ec:fc:i.hasClass(nc)?n=hc:i.hasClass(tc)?n=cc:t(this._menu).hasClass(ku)&&(n=sc),n},f._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},f._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=u(u({},n.offsets),t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},f._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),u(u({},n),this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(wt),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(wt,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var u,r,c,l,h;if(!i||i.which!==yh&&(i.type!=="keyup"||i.which===yu))for(u=[].slice.call(document.querySelectorAll(di)),r=0,c=u.length;r<c;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data(wt),o={relatedTarget:u[r]};(i&&i.type==="click"&&(o.clickEvent=i),e)&&(l=e._menu,t(f).hasClass(s))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===yu)&&t.contains(f,i.target)||(h=t.Event(pu,o),t(f).trigger(h),h.isDefaultPrevented())||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),e._popper&&e._popper.destroy(),t(l).removeClass(s),t(f).removeClass(s).trigger(t.Event(wu,o))))}},n._getParentFromElement=function(n){var t,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==vu&&(i.which===bt||(i.which===br||i.which===wr)&&!t(i.target).closest(dr).length):ph.test(i.which))&&!this.disabled&&!t(this).hasClass(ki)&&(f=n._getParentFromElement(this),e=t(f).hasClass(s),e||i.which!==bt)){if(i.preventDefault(),i.stopPropagation(),!e||e&&(i.which===bt||i.which===vu)){i.which===bt&&t(f.querySelector(di)).trigger("focus");t(this).trigger("click");return}(u=[].slice.call(f.querySelectorAll(uc)).filter(function(n){return t(n).is(":visible")}),u.length!==0)&&(r=u.indexOf(i.target),i.which===wr&&r>0&&r--,i.which===br&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},o(n,null,[{key:"VERSION",get:function(){return ah}},{key:"Default",get:function(){return lc}},{key:"DefaultType",get:function(){return ac}}]),n}();t(document).on(bu,di,v._dataApiKeydownHandler).on(bu,dr,v._dataApiKeydownHandler).on(kr+" "+dh,v._clearMenus).on(kr,di,function(n){n.preventDefault();n.stopPropagation();v._jQueryInterface.call(t(this),"toggle")}).on(kr,".dropdown form",function(n){n.stopPropagation()});t.fn[ut]=v._jQueryInterface;t.fn[ut].Constructor=v;t.fn[ut].noConflict=function(){return t.fn[ut]=vh,v._jQueryInterface};var ft="modal",vc="4.5.0",kt="bs.modal",e="."+kt,yc=t.fn[ft],du=27,gr={backdrop:!0,keyboard:!0,focus:!0,show:!0},pc={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},wc="hide"+e,bc="hidePrevented"+e,gu="hidden"+e,nf="show"+e,kc="shown"+e,gi="focusin"+e,tf="resize"+e,nu="click.dismiss"+e,rf="keydown.dismiss"+e,dc="mouseup.dismiss"+e,uf="mousedown.dismiss"+e,gc="click"+e+".data-api",nl="modal-dialog-scrollable",tl="modal-scrollbar-measure",il="modal-backdrop",ff="modal-open",et="fade",nr="show",ef="modal-static",rl=".modal-dialog",ul=".modal-body",fl='[data-dismiss="modal"]',of=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",sf=".sticky-top",dt=function(){function i(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(rl);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=i.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(et)&&(this._isTransitioning=!0),r=t.Event(nf,{relatedTarget:n}),t(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();t(this._element).on(nu,fl,function(n){return i.hide(n)});t(this._dialog).on(uf,function(){t(i._element).one(dc,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(n)})}},n.hide=function(n){var e=this,i,u,f;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(i=t.Event(wc),t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented())&&(this._isShown=!1,u=t(this._element).hasClass(et),u&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(gi),t(this._element).removeClass(nr),t(this._element).off(nu),t(this._dialog).off(uf),u?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(f)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(e)});t(document).off(gi);t.removeData(this._element,kt);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._isTransitioning=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=u(u({},gr),n),r.typeCheckConfig(ft,n,pc),n},n._triggerBackdropTransition=function(){var u=this,n,i;if(this._config.backdrop==="static"){if(n=t.Event(bc),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add(ef);i=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,function(){u._element.classList.remove(ef)}).emulateTransitionEnd(i);this._element.focus()}else this.hide()},n._showElement=function(n){var i=this,f=t(this._element).hasClass(et),e=this._dialog?this._dialog.querySelector(ul):null,o,u,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);t(this._dialog).hasClass(nl)&&e?e.scrollTop=0:this._element.scrollTop=0;f&&r.reflow(this._element);t(this._element).addClass(nr);this._config.focus&&this._enforceFocus();o=t.Event(kc,{relatedTarget:n});u=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;t(i._element).trigger(o)};f?(s=r.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(r.TRANSITION_END,u).emulateTransitionEnd(s)):u()},n._enforceFocus=function(){var n=this;t(document).off(gi).on(gi,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown)t(this._element).on(rf,function(t){n._config.keyboard&&t.which===du?(t.preventDefault(),n.hide()):n._config.keyboard||t.which!==du||n._triggerBackdropTransition()});else this._isShown||t(this._element).off(rf)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(tf,function(t){return n.handleUpdate(t)});else t(window).off(tf)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(ff);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(gu)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var i=this,u=t(this._element).hasClass(et)?et:"",e,f,o;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=il;u&&this._backdrop.classList.add(u);t(this._backdrop).appendTo(document.body);t(this._element).on(nu,function(n){if(i._ignoreBackdropClick){i._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&i._triggerBackdropTransition()});if(u&&r.reflow(this._backdrop),t(this._backdrop).addClass(nr),!n)return;if(!u){n();return}e=r.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(nr),f=function(){i._removeBackdrop();n&&n()},t(this._element).hasClass(et)?(o=r.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(r.TRANSITION_END,f).emulateTransitionEnd(o)):f()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(n.left+n.right)<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(of)),r=[].slice.call(document.querySelectorAll(sf)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(ff)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(of)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+sf));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=tl,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},i._jQueryInterface=function(n,r){return this.each(function(){var f=t(this).data(kt),e=u(u(u({},gr),t(this).data()),typeof n=="object"&&n?n:{});if(f||(f=new i(this,e),t(this).data(kt,f)),typeof n=="string"){if(typeof f[n]=="undefined")throw new TypeError('No method named "'+n+'"');f[n](r)}else e.show&&f.show(r)})},o(i,null,[{key:"VERSION",get:function(){return vc}},{key:"Default",get:function(){return gr}}]),i}();t(document).on(gc,'[data-toggle="modal"]',function(n){var f=this,i,e=r.getSelectorFromElement(this),o,s;e&&(i=document.querySelector(e));o=t(i).data(kt)?"toggle":u(u({},t(i).data()),t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();s=t(i).one(nf,function(n){if(!n.isDefaultPrevented())s.one(gu,function(){t(f).is(":visible")&&f.focus()})});dt._jQueryInterface.call(t(i),o,this)});t.fn[ft]=dt._jQueryInterface;t.fn[ft].Constructor=dt;t.fn[ft].noConflict=function(){return t.fn[ft]=yc,dt._jQueryInterface};var el=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ol=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,sl=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;var b="tooltip",cl="4.5.0",tr="bs.tooltip",h="."+tr,ll=t.fn[b],cf="bs-tooltip",al=new RegExp("(^|\\s)"+cf+"\\S+","g"),vl=["sanitize","whiteList","sanitizeFn"],yl={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},pl={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},wl={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},gt="show",tu="out",bl={HIDE:"hide"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,INSERTED:"inserted"+h,CLICK:"click"+h,FOCUSIN:"focusin"+h,FOCUSOUT:"focusout"+h,MOUSEENTER:"mouseenter"+h,MOUSELEAVE:"mouseleave"+h},ni="fade",ti="show",kl=".tooltip-inner",dl=".arrow",ii="hover",iu="focus",gl="click",na="manual",k=function(){function f(n,t){if(typeof i=="undefined")throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=f.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(ti)){this._leave(null,this);return}this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,f,e,c,u,o,l,s,a,h,v;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(f),e=r.findShadowRoot(this.element),c=t.contains(e!==null?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;if(u=this.getTipElement(),o=r.getUID(this.constructor.NAME),u.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&t(u).addClass(ni),l=typeof this.config.placement=="function"?this.config.placement.call(this,u,this.element):this.config.placement,s=this._getAttachment(l),this.addAttachmentClass(s),a=this._getContainer(),t(u).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(a),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,u,this._getPopperConfig(s)),t(u).addClass(ti),"ontouchstart"in document.documentElement)t(document.body).children().on("mouseover",null,t.noop);h=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===tu&&n._leave(null,n)};t(this.tip).hasClass(ni)?(v=r.getTransitionDurationFromElement(this.tip),t(this.tip).one(r.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){var i=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){i._hoverState!==gt&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(ti),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[gl]=!1,this._activeTrigger[iu]=!1,this._activeTrigger[ii]=!1,t(this.tip).hasClass(ni)?(o=r.getTransitionDurationFromElement(u),t(u).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(cf+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(kl)),this.getTitle());t(n).removeClass(ni+" "+ti)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=hf(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this,i={placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:dl},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}};return u(u({},i),this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=u(u({},n.offsets),t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:r.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return pl[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==na){var r=i===ii?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ii?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=u(u({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?iu:ii]=!0),t(i.getTipElement()).hasClass(ti)||i._hoverState===gt){i._hoverState=gt;return}if(clearTimeout(i._timeout),i._hoverState=gt,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===gt&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?iu:ii]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=tu,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===tu&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var i=t(this.element).data();return Object.keys(i).forEach(function(n){vl.indexOf(n)!==-1&&delete i[n]}),n=u(u(u({},this.constructor.Default),i),typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),r.typeCheckConfig(b,n,this.constructor.DefaultType),n.sanitize&&(n.template=hf(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(al);n!==null&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this.tip=n.instance.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;n.getAttribute("x-placement")===null&&(t(n).removeClass(ni),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},f._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(tr),r=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new f(this,r),t(this).data(tr,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},o(f,null,[{key:"VERSION",get:function(){return cl}},{key:"Default",get:function(){return wl}},{key:"NAME",get:function(){return b}},{key:"DATA_KEY",get:function(){return tr}},{key:"Event",get:function(){return bl}},{key:"EVENT_KEY",get:function(){return h}},{key:"DefaultType",get:function(){return yl}}]),f}();t.fn[b]=k._jQueryInterface;t.fn[b].Constructor=k;t.fn[b].noConflict=function(){return t.fn[b]=ll,k._jQueryInterface};var ot="popover",ta="4.5.0",ir="bs.popover",c="."+ir,ia=t.fn[ot],lf="bs-popover",ra=new RegExp("(^|\\s)"+lf+"\\S+","g"),ua=u(u({},k.Default),{},{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),fa=u(u({},k.DefaultType),{},{content:"(string|element|function)"}),ea="fade",oa="show",sa=".popover-header",ha=".popover-body",ca={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},rr=function(n){function i(){return n.apply(this,arguments)||this}ue(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(lf+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(sa),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(ha),n);i.removeClass(ea+" "+oa)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(ra);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(ir),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(ir,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return ta}},{key:"Default",get:function(){return ua}},{key:"NAME",get:function(){return ot}},{key:"DATA_KEY",get:function(){return ir}},{key:"Event",get:function(){return ca}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return fa}}]),i}(k);t.fn[ot]=rr._jQueryInterface;t.fn[ot].Constructor=rr;t.fn[ot].noConflict=function(){return t.fn[ot]=ia,rr._jQueryInterface};var d="scrollspy",la="4.5.0",ur="bs.scrollspy",fr="."+ur,aa=t.fn[d],af={offset:10,method:"auto",target:""},va={offset:"number",method:"string",target:"(string|element)"},ya="activate"+fr,pa="scroll"+fr,wa="load"+fr+".data-api",ba="dropdown-item",g="active",ka='[data-spy="scroll"]',vf=".nav, .list-group",ru=".nav-link",da=".nav-item",yf=".list-group-item",ga=".dropdown",nv=".dropdown-item",tv=".dropdown-toggle",iv="offset",pf="position",ri=function(){function i(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+ru+","+(this._config.target+" "+yf+",")+(this._config.target+" "+nv);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(pa,function(n){return r._process(n)});this.refresh();this._process()}var n=i.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?iv:pf,i=this._config.method==="auto"?f:this._config.method,e=i===pf?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=r.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[i]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,ur);t(this._scrollElement).off(fr);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if(n=u(u({},af),typeof n=="object"&&n?n:{}),typeof n.target!="string"&&r.isElement(n.target)){var i=t(n.target).attr("id");i||(i=r.getUID(d),t(n.target).attr("id",i));n.target="#"+i}return r.typeCheckConfig(d,n,va),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),u&&this._activate(this._targets[n])},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(ba)?(i.closest(ga).find(tv).addClass(g),i.addClass(g)):(i.addClass(g),i.parents(vf).prev(ru+", "+yf).addClass(g),i.parents(vf).prev(da).children(ru).addClass(g));t(this._scrollElement).trigger(ya,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(g)}).forEach(function(n){return n.classList.remove(g)})},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(ur),u=typeof n=="object"&&n;if(r||(r=new i(this,u),t(this).data(ur,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return la}},{key:"Default",get:function(){return af}}]),i}();t(window).on(wa,function(){for(var n,i=[].slice.call(document.querySelectorAll(ka)),u=i.length,r=u;r--;)n=t(i[r]),ri._jQueryInterface.call(n,n.data())});t.fn[d]=ri._jQueryInterface;t.fn[d].Constructor=ri;t.fn[d].noConflict=function(){return t.fn[d]=aa,ri._jQueryInterface};var ui="tab",rv="4.5.0",er="bs.tab",fi="."+er,uv=t.fn[ui],fv="hide"+fi,ev="hidden"+fi,ov="show"+fi,sv="shown"+fi,hv="click"+fi+".data-api",cv="dropdown-menu",ei="active",lv="disabled",wf="fade",bf="show",av=".dropdown",vv=".nav, .list-group",kf=".active",df="> li > .active",yv=".dropdown-toggle",pv="> .dropdown-menu .active",oi=function(){function n(n){this._element=n}var i=n.prototype;return i.show=function(){var h=this,u,n,i,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(ei)||t(this._element).hasClass(lv)||(i=t(this._element).closest(vv)[0],f=r.getSelectorFromElement(this._element),i&&(c=i.nodeName==="UL"||i.nodeName==="OL"?df:kf,n=t.makeArray(t(i).find(c)),n=n[n.length-1]),e=t.Event(fv,{relatedTarget:this._element}),o=t.Event(ov,{relatedTarget:n}),n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,i),s=function(){var i=t.Event(ev,{relatedTarget:h._element}),r=t.Event(sv,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},i.dispose=function(){t.removeData(this._element,er);this._element=null},i._activate=function(n,i,u){var s=this,h=i&&(i.nodeName==="UL"||i.nodeName==="OL")?t(i).find(df):t(i).children(kf),f=h[0],c=u&&f&&t(f).hasClass(wf),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=r.getTransitionDurationFromElement(f),t(f).removeClass(bf).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},i._transitionComplete=function(n,i,u){var f,e,o;i&&(t(i).removeClass(ei),f=t(i.parentNode).find(pv)[0],f&&t(f).removeClass(ei),i.getAttribute("role")==="tab"&&i.setAttribute("aria-selected",!1));t(n).addClass(ei);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);r.reflow(n);n.classList.contains(wf)&&n.classList.add(bf);n.parentNode&&t(n.parentNode).hasClass(cv)&&(e=t(n).closest(av)[0],e&&(o=[].slice.call(e.querySelectorAll(yv)),t(o).addClass(ei)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(er);if(r||(r=new n(this),u.data(er,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},o(n,null,[{key:"VERSION",get:function(){return rv}}]),n}();t(document).on(hv,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();oi._jQueryInterface.call(t(this),"show")});t.fn[ui]=oi._jQueryInterface;t.fn[ui].Constructor=oi;t.fn[ui].noConflict=function(){return t.fn[ui]=uv,oi._jQueryInterface};var st="toast",wv="4.5.0",or="bs.toast",si="."+or,bv=t.fn[st],gf="click.dismiss"+si,kv="hide"+si,dv="hidden"+si,gv="show"+si,ny="shown"+si,ty="fade",ne="hide",hi="show",te="showing",iy={animation:"boolean",autohide:"boolean",delay:"number"},ie={animation:!0,autohide:!0,delay:500},ry='[data-dismiss="toast"]',sr=function(){function i(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=i.prototype;return n.show=function(){var n=this,u=t.Event(gv),i,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add(ty),i=function(){n._element.classList.remove(te);n._element.classList.add(hi);t(n._element).trigger(ny);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove(ne),r.reflow(this._element),this._element.classList.add(te),this._config.animation?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(f)):i())},n.hide=function(){if(this._element.classList.contains(hi)){var n=t.Event(kv);(t(this._element).trigger(n),n.isDefaultPrevented())||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(hi)&&this._element.classList.remove(hi);t(this._element).off(gf);t.removeData(this._element,or);this._element=null;this._config=null},n._getConfig=function(n){return n=u(u(u({},ie),t(this._element).data()),typeof n=="object"&&n?n:{}),r.typeCheckConfig(st,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(gf,ry,function(){return n.hide()})},n._close=function(){var n=this,i=function(){n._element.classList.add(ne);t(n._element).trigger(dv)},u;this._element.classList.remove(hi);this._config.animation?(u=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(u)):i()},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(or),f=typeof n=="object"&&n;if(r||(r=new i(this,f),u.data(or,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n](this)}})},o(i,null,[{key:"VERSION",get:function(){return wv}},{key:"DefaultType",get:function(){return iy}},{key:"Default",get:function(){return ie}}]),i}();t.fn[st]=sr._jQueryInterface;t.fn[st].Constructor=sr;t.fn[st].noConflict=function(){return t.fn[st]=bv,sr._jQueryInterface};n.Alert=nt;n.Button=lt;n.Carousel=it;n.Collapse=pt;n.Dropdown=v;n.Modal=dt;n.Popover=rr;n.Scrollspy=ri;n.Tab=oi;n.Toast=sr;n.Tooltip=k;n.Util=r;Object.defineProperty(n,"__esModule",{value:!0})});!function(a){var g,b=this||eval("this"),c=b.document,d=b.navigator,e=b.jQuery,f=b.JSON;e||"undefined"==typeof jQuery||(e=jQuery);g=function(n,t){function st(n,t){return(null===n||typeof n in hi)&&n===t}function or(n,t){var r;return function(){r=r||i.a.setTimeout(function(){r=a;n()},t)}}function sr(n,t){var r;return function(){clearTimeout(r);r=i.a.setTimeout(n,t)}}function hr(n,t){t&&"change"!==t?"beforeChange"===t?this.pc(n):this.gb(n,t):this.qc(n)}function cr(n,t){null!==t&&t.s&&t.s()}function lr(n,t){var i=this.qd,u=i[r];u.ra||(this.Qb&&this.mb[t]?(i.uc(t,n,this.mb[t]),this.mb[t]=null,--this.Qb):u.I[t]||i.uc(t,n,u.J?{da:n}:i.$c(n)),n.Ja&&n.gd())}function oi(){if(s)for(var n,t=s,r=0;y<s;)if(n=k[y++]){if(t<y){if(5e3<=++r){y=s;i.a.Gc(Error("'Too much recursion' after processing "+r+" task groups."));break}t=s}try{n()}catch(n){i.a.Gc(n)}}}function si(){oi();y=s=k.length=0}function li(n){vt.push(o);o=n}function ai(){o=vt.pop()}function gi(n,t,i){if(i=i||new kt,"object"!=typeof(n=t(n))||null===n||n===a||n instanceof RegExp||n instanceof Date||n instanceof String||n instanceof Number||n instanceof Boolean)return n;var r=n instanceof Array?[]:{};return i.save(n,r),function(n,t){if(n instanceof Array){for(var i=0;i<n.length;i++)t(i);"function"==typeof n.toJSON&&t("toJSON")}else for(i in n)t(i)}(n,function(u){var f=t(n[u]),e;switch(typeof f){case"boolean":case"number":case"string":case"function":r[u]=f;break;case"object":case"undefined":e=i.get(f);r[u]=e!==a?e:gi(f,t,i)}}),r}function kt(){this.keys=[];this.values=[]}function nr(n){var r,o,t;123===(n=i.a.Db(n)).charCodeAt(0)&&(n=n.slice(1,-1));var f,h=[],s=(n+="\n,").match(yt),u=[],e=0;if(1<s.length){for(o=0;r=s[o];++o){if(t=r.charCodeAt(0),44===t){if(e<=0){h.push(f&&u.length?{key:f,value:u.join("")}:{unknown:f||u.join("")});f=e=0;u=[];continue}}else if(58===t){if(!e&&!f&&1===u.length){f=u.pop();continue}}else{if(47===t&&1<r.length&&(47===r.charCodeAt(1)||42===r.charCodeAt(1)))continue;47===t&&o&&1<r.length?(t=s[o-1].match(pi))&&!wi[t[0]]&&(s=(n=n.substr(n.indexOf(r)+1)).match(yt),o=-1,r="/"):40===t||123===t||91===t?++e:41===t||125===t||93===t?--e:f||u.length||34!==t&&39!==t||(r=r.slice(1,-1))}u.push(r)}if(0<e)throw Error("Unbalanced parentheses, braces, or brackets");}return h}function v(n){return 8==n.nodeType&&pt.test(g?n.text:n.nodeValue)}function nt(n){return 8==n.nodeType&&bi.test(g?n.text:n.nodeValue)}function tr(n,t){for(var r=n,u=1,f=[];r=r.nextSibling;){if(nt(r)&&(i.a.g.set(r,wt,!0),0==--u))return f;f.push(r);v(r)&&u++}if(!t)throw Error("Cannot find closing comment tag to match: "+n.nodeValue);return null}function ir(n,t){var i=tr(n,t);return i?0<i.length?i[i.length-1].nextSibling:n.nextSibling:null}function yr(n,t){var f,e,u,r=Object.prototype.hasOwnProperty.call(tt,n)?tt[n]:bt;r?r.subscribe(t):((r=tt[n]=new i.T).subscribe(t),u=function(t,u){var e=!(!u||!u.synchronous);it[n]={definition:t,Gd:e};delete tt[n];f||e?r.notifySubscribers(t):i.na.zb(function(){r.notifySubscribers(t)})},rt("getConfig",[e=n],function(n){n?rt("loadComponent",[e,n],function(t){u(t,n)}):u(null,null)}),f=!0)}function rt(n,t,r,u){var f=(u=u||i.j.loaders.slice(0)).shift(),e,o;if(f)if(e=f[n],e){if(o=!1,e.apply(f,t.concat(function(i){o?r(null):null!==i?r(i):rt(n,t,r,u)}))!==bt&&(o=!0,!f.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.");}else rt(n,t,r,u);else r(null)}function gt(n,t,r){i.c[n]={init:function(n,u,f,e,o){var a,h,v,y,c,s={},l;return t&&(e=f.get("as"),l=f.get("noChildContext"),s={as:e,noChildContext:l,exportDependencies:c=!(e&&l)}),y=(v="render"==f.get("completeOn"))||f.has(i.i.pa),i.o(function(){var l,e=i.a.f(u()),f=!r!=!e,p=!h;(c||f!==a)&&(y&&(o=i.i.Cb(n,o)),f&&(t&&!c||(s.dataDependency=i.S.o()),l=t?o.createChildContext("function"==typeof e?e:u,s):i.S.qa()?o.extend(null,s):o),p&&i.S.qa()&&(h=i.a.Ca(i.h.childNodes(n),!0)),f?(p||i.h.va(n,i.a.Ca(h)),i.Oa(l,n)):(i.h.Ea(n),v||i.i.ma(n,i.i.H)),a=f)},null,{l:n}),{controlsDescendantBindings:!0}}};i.m.Ra[n]=!1;i.h.ea[n]=!0}function fr(n,t,r,u){var s,e,f,o;for(n=i.m.ac(n),s=i.m.Ra,e=0;e<n.length;e++)if(f=n[e].key,Object.prototype.hasOwnProperty.call(s,f))if(o=s[f],"function"==typeof o){if(f=o(n[e].value))throw Error(f);}else if(!o)throw Error("This template engine does not support the '"+f+"' binding within its templates");return r="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+i.m.vb(n,{valueAccessors:!0})+" } })()},'"+r.toLowerCase()+"')",u.createJavaScriptEvaluatorBlock(r)+t}function er(n,t,r,u,f){for(var e,l,p,w,s=Math.min,a=Math.max,v=[],c=n.length,h=t.length,y=h-c||1,b=c+h+1,o=0;o<=c;o++)for(p=l,v.push(l=[]),w=s(h,o+y),e=a(0,o-1);e<=w;e++)l[e]=e?o?n[o-1]===t[e-1]?p[e-1]:s(p[e]||b,l[e-1]||b)+1:e+1:o+1;for(s=[],a=[],y=[],o=c,e=h;o||e;)h=v[o][e]-1,e&&h===v[o][e-1]?a.push(s[s.length]={status:r,value:t[--e],index:e}):o&&h===v[o-1][e]?y.push(s[s.length]={status:u,value:n[--o],index:o}):(--e,--o,f.sparse||s.push({status:"retained",value:t[e]}));return i.a.Kc(y,a,!f.dontLimitMoves&&10*c),s.reverse()}function pr(n,t,r,u,f){var e=[],o=i.$(function(){var o=t(r,f,i.a.Ua(e,n))||[];0<e.length&&(i.a.Xc(e,o),u&&i.u.G(u,null,[r,o,f]));e.length=0;i.a.Nb(e,o)},null,{l:n,Sa:function(){return!i.a.kd(e)}});return{Y:e,$:o.ja()?o:a}}var ii,ht,ri,ui,fi,ct,ut,ei,lt,k,s,at,y,i=void 0!==n?n:{},hi,o,vt,ci,h,p,l,w,r,vi,yi,yt,pi,wi,ft,g,pt,bi,ki,wt,bt,tt,it,di,et,dt,rr,ur,ni,ti,ot;i.b=function(n,t){for(var r=n.split("."),u=i,f=0;f<r.length-1;f++)u=u[r[f]];u[r[r.length-1]]=t};i.L=function(n,t,i){n[t]=i};i.version="3.5.1";i.b("version",i.version);i.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1};i.a=function(){function t(n,t){for(var i in n)r.call(n,i)&&t(i,n[i])}function h(n,t){if(t)for(var i in t)r.call(t,i)&&(n[i]=t[i]);return n}function l(n,t){return n.__proto__=t,n}function v(n,t,r,u){var f=n[t].match(s)||[];i.a.D(r.match(s),function(n){i.a.Na(f,n,u)});n[t]=f.join(" ")}var r=Object.prototype.hasOwnProperty,y={__proto__:[]}instanceof Array,w="function"==typeof Symbol,u={},p={};u[d&&/Firefox\/2/i.test(d.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"];u.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" ");t(u,function(n,t){if(t.length)for(var i=0,r=t.length;i<r;i++)p[t[i]]=n});var o,k={propertychange:!0},n=c&&function(){for(var n=3,t=c.createElement("div"),i=t.getElementsByTagName("i");t.innerHTML="<!--[if gt IE "+ ++n+"]><i><\/i><![endif]-->",i[0];);return 4<n?n:a}(),s=/\S+/g;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(n,t,i){for(var r=0,u=n.length;r<u;r++)t.call(i,n[r],r,n)},A:"function"==typeof Array.prototype.indexOf?function(n,t){return Array.prototype.indexOf.call(n,t)}:function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},Lb:function(n,t,i){for(var r=0,u=n.length;r<u;r++)if(t.call(i,n[r],r,n))return n[r];return a},Pa:function(n,t){var r=i.a.A(n,t);0<r?n.splice(r,1):0===r&&n.shift()},wc:function(n){var t=[];return n&&i.a.D(n,function(n){i.a.A(t,n)<0&&t.push(n)}),t},Mb:function(n,t,i){var u=[],r,f;if(n)for(r=0,f=n.length;r<f;r++)u.push(t.call(i,n[r],r));return u},jb:function(n,t,i){var u=[],r,f;if(n)for(r=0,f=n.length;r<f;r++)t.call(i,n[r],r)&&u.push(n[r]);return u},Nb:function(n,t){if(t instanceof Array)n.push.apply(n,t);else for(var i=0,r=t.length;i<r;i++)n.push(t[i]);return n},Na:function(n,t,r){var u=i.a.A(i.a.bc(n),t);u<0?r&&n.push(t):r||n.splice(u,1)},Ba:y,extend:h,setPrototypeOf:l,Ab:y?l:h,P:t,Ga:function(n,t,i){if(!n)return n;var u,f={};for(u in n)r.call(n,u)&&(f[u]=t.call(i,n[u],u,n));return f},Tb:function(n){for(;n.firstChild;)i.removeNode(n.firstChild)},Yb:function(n){for(var r=((n=i.a.la(n))[0]&&n[0].ownerDocument||c).createElement("div"),t=0,u=n.length;t<u;t++)r.appendChild(i.oa(n[t]));return r},Ca:function(n,t){for(var u,r=0,e=n.length,f=[];r<e;r++)u=n[r].cloneNode(!0),f.push(t?i.oa(u):u);return f},va:function(n,t){if(i.a.Tb(n),t)for(var r=0,u=t.length;r<u;r++)n.appendChild(t[r])},Xc:function(n,t){var u=n.nodeType?[n]:n;if(0<u.length){for(var e=u[0],o=e.parentNode,r=0,f=t.length;r<f;r++)o.insertBefore(t[r],e);for(r=0,f=u.length;r<f;r++)i.removeNode(u[r])}},Ua:function(n,t){if(n.length){for(t=8===t.nodeType&&t.parentNode||t;n.length&&n[0].parentNode!==t;)n.splice(0,1);for(;1<n.length&&n[n.length-1].parentNode!==t;)n.length--;if(1<n.length){var i=n[0],r=n[n.length-1];for(n.length=0;i!==r;)n.push(i),i=i.nextSibling;n.push(r)}}return n},Zc:function(t,i){n<7?t.setAttribute("selected",i):t.selected=i},Db:function(n){return null===n||n===a?"":n.trim?n.trim():n.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(n,t){return n=n||"",!(t.length>n.length)&&n.substring(0,t.length)===t},vd:function(n,t){if(n===t)return!0;if(11===n.nodeType)return!1;if(t.contains)return t.contains(1!==n.nodeType?n.parentNode:n);if(t.compareDocumentPosition)return 16==(16&t.compareDocumentPosition(n));for(;n&&n!=t;)n=n.parentNode;return!!n},Sb:function(n){return i.a.vd(n,n.ownerDocument.documentElement)},kd:function(n){return!!i.a.Lb(n,i.a.Sb)},R:function(n){return n&&n.tagName&&n.tagName.toLowerCase()},Ac:function(n){return i.onError?function(){try{return n.apply(this,arguments)}catch(n){throw i.onError&&i.onError(n),n;}}:n},setTimeout:function(n,t){return setTimeout(i.a.Ac(n),t)},Gc:function(n){setTimeout(function(){throw i.onError&&i.onError(n),n;},0)},B:function(n,t,r){var u=i.a.Ac(r),f;if(r=k[t],i.options.useOnlyNativeEvents||r||!e)if(r||"function"!=typeof n.addEventListener){if(void 0===n.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");function r(t){u.call(n,t)}f="on"+t;n.attachEvent(f,r);i.a.K.za(n,function(){n.detachEvent(f,r)})}else n.addEventListener(t,u,!1);else o=o||("function"==typeof e(n).on?"on":"bind"),e(n)[o](t,u)},Fb:function(n,t){if(!n||!n.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var r;if(r=!("input"!==i.a.R(n)||!n.type||"click"!=t.toLowerCase())&&("checkbox"==(r=n.type)||"radio"==r),i.options.useOnlyNativeEvents||!e||r)if("function"==typeof c.createEvent){if("function"!=typeof n.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(r=c.createEvent(p[t]||"HTMLEvents")).initEvent(t,!0,!0,b,0,0,0,0,0,!1,!1,!1,!1,0,n);n.dispatchEvent(r)}else if(r&&n.click)n.click();else{if(void 0===n.fireEvent)throw Error("Browser doesn't support triggering events");n.fireEvent("on"+t)}else e(n).trigger(t)},f:function(n){return i.O(n)?n():n},bc:function(n){return i.O(n)?n.v():n},Eb:function(n,t,r){var u;t&&("object"==typeof n.classList?(u=n.classList[r?"add":"remove"],i.a.D(t.match(s),function(t){u.call(n.classList,t)})):"string"==typeof n.className.baseVal?v(n.className,"baseVal",t,r):v(n,"className",t,r))},Bb:function(n,t){var r=i.a.f(t),u;null!==r&&r!==a||(r="");u=i.h.firstChild(n);!u||3!=u.nodeType||i.h.nextSibling(u)?i.h.va(n,[n.ownerDocument.createTextNode(r)]):u.data=r;i.a.Ad(n)},Yc:function(t,i){if(t.name=i,n<=7)try{var r=t.name.replace(/[&<>'"]/g,function(n){return"&#"+n.charCodeAt(0)+";"});t.mergeAttributes(c.createElement("<input name='"+r+"'/>"),!1)}catch(t){}},Ad:function(t){9<=n&&(t=1==t.nodeType?t:t.parentNode).style&&(t.style.zoom=t.style.zoom)},wd:function(t){if(n){var i=t.style.width;t.style.width=0;t.style.width=i}},Pd:function(n,t){n=i.a.f(n);t=i.a.f(t);for(var u=[],r=n;r<=t;r++)u.push(r);return u},la:function(n){for(var i=[],t=0,r=n.length;t<r;t++)i.push(n[t]);return i},Da:function(n){return w?Symbol(n):n},Zd:6===n,$d:7===n,W:n,Lc:function(n,t){for(var u=i.a.la(n.getElementsByTagName("input")).concat(i.a.la(n.getElementsByTagName("textarea"))),e="string"==typeof t?function(n){return n.name===t}:function(n){return t.test(n.name)},f=[],r=u.length-1;0<=r;r--)e(u[r])&&f.push(u[r]);return f},Nd:function(n){return"string"==typeof n&&(n=i.a.Db(n))?f&&f.parse?f.parse(n):new Function("return "+n)():null},hc:function(n,t,r){if(!f||!f.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return f.stringify(i.a.f(n),t,r)},Od:function(n,r,u){var l=(u=u||{}).params||{},a=u.includeFields||this.Jc,v=n,o,s,e,f,h;if("object"==typeof n&&"form"===i.a.R(n))for(v=n.action,o=a.length-1;0<=o;o--)for(s=i.a.Lc(n,a[o]),e=s.length-1;0<=e;e--)l[s[e].name]=s[e].value;r=i.a.f(r);f=c.createElement("form");for(h in f.style.display="none",f.action=v,f.method="post",r)(n=c.createElement("input")).type="hidden",n.name=h,n.value=i.a.hc(i.a.f(r[h])),f.appendChild(n);t(l,function(n,t){var i=c.createElement("input");i.type="hidden";i.name=n;i.value=t;f.appendChild(i)});c.body.appendChild(f);u.submitter?u.submitter(f):f.submit();setTimeout(function(){f.parentNode.removeChild(f)},0)}}}();i.b("utils",i.a);i.b("utils.arrayForEach",i.a.D);i.b("utils.arrayFirst",i.a.Lb);i.b("utils.arrayFilter",i.a.jb);i.b("utils.arrayGetDistinctValues",i.a.wc);i.b("utils.arrayIndexOf",i.a.A);i.b("utils.arrayMap",i.a.Mb);i.b("utils.arrayPushAll",i.a.Nb);i.b("utils.arrayRemoveItem",i.a.Pa);i.b("utils.cloneNodes",i.a.Ca);i.b("utils.createSymbolOrString",i.a.Da);i.b("utils.extend",i.a.extend);i.b("utils.fieldsIncludedWithJsonPost",i.a.Jc);i.b("utils.getFormFields",i.a.Lc);i.b("utils.objectMap",i.a.Ga);i.b("utils.peekObservable",i.a.bc);i.b("utils.postJson",i.a.Od);i.b("utils.parseJson",i.a.Nd);i.b("utils.registerEventHandler",i.a.B);i.b("utils.stringifyJson",i.a.hc);i.b("utils.range",i.a.Pd);i.b("utils.toggleDomNodeCssClass",i.a.Eb);i.b("utils.triggerEvent",i.a.Fb);i.b("utils.unwrapObservable",i.a.f);i.b("utils.objectForEach",i.a.P);i.b("utils.addOrRemoveItem",i.a.Na);i.b("utils.setTextContent",i.a.Bb);i.b("unwrap",i.a.f);Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i;return 1===arguments.length?function(){return t.apply(n,arguments)}:(i=Array.prototype.slice.call(arguments,1),function(){var r=i.slice(0);return r.push.apply(r,arguments),t.apply(n,r)})});i.a.g=new function(){var t,u=0,n="__ko__"+(new Date).getTime(),r={};return{get:function(n,i){var r=t(n,!1);return r&&r[i]},set:function(n,i,r){(n=t(n,r!==a))&&(n[i]=r)},Ub:function(n,i,r){return(n=t(n,!0))[i]||(n[i]=r)},clear:i.a.W?(t=function(t,i){var f=t[n];if(!f||"null"===f||!r[f]){if(!i)return a;f=t[n]="ko"+u++;r[f]={}}return r[f]},function(t){var i=t[n];return!!i&&(delete r[i],!(t[n]=null))}):(t=function(t,i){var r=t[n];return!r&&i&&(r=t[n]={}),r},function(t){return!!t[n]&&(delete t[n],!0)}),Z:function(){return u+++n}}};i.b("utils.domData",i.a.g);i.b("utils.domData.clear",i.a.g.clear);i.a.K=new function(){function n(n,r){var u=i.a.g.get(n,t);return u===a&&r&&(u=[],i.a.g.set(n,t,u)),u}function r(t){if(r=n(t,!1))for(var r=r.slice(0),e=0;e<r.length;e++)r[e](t);i.a.g.clear(t);i.a.K.cleanExternalData(t);f[t.nodeType]&&u(t.childNodes,!0)}function u(n,t){for(var e,f=[],u=0;u<n.length;u++)if((!t||8===n[u].nodeType)&&(r(f[f.length]=e=n[u]),n[u]!==e))for(;u--&&-1==i.a.A(f,n[u]););}var t=i.a.g.Z(),o={1:!0,8:!0,9:!0},f={1:!0,9:!0};return{za:function(t,i){if("function"!=typeof i)throw Error("Callback must be a function");n(t,!0).push(i)},yb:function(r,u){var f=n(r,!1);f&&(i.a.Pa(f,u),0==f.length&&i.a.g.set(r,t,a))},oa:function(n){return i.u.G(function(){o[n.nodeType]&&(r(n),f[n.nodeType]&&u(n.getElementsByTagName("*")))}),n},removeNode:function(n){i.oa(n);n.parentNode&&n.parentNode.removeChild(n)},cleanExternalData:function(n){e&&"function"==typeof e.cleanData&&e.cleanData([n])}}};i.oa=i.a.K.oa;i.removeNode=i.a.K.removeNode;i.b("cleanNode",i.oa);i.b("removeNode",i.removeNode);i.b("utils.domNodeDisposal",i.a.K);i.b("utils.domNodeDisposal.addDisposeCallback",i.a.K.za);i.b("utils.domNodeDisposal.removeDisposeCallback",i.a.K.yb);ii=[0,"",""];fi={thead:ht=[1,"<table>","<\/table>"],tbody:ht,tfoot:ht,tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:ri=[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],th:ri,option:ui=[1,"<select multiple='multiple'>","<\/select>"],optgroup:ui};ct=i.a.W<=8;i.a.ua=function(n,t){var r,u,o,s,f;if(e){if(e.parseHTML)r=e.parseHTML(n,t)||[];else if((r=e.clean([n],t))&&r[0]){for(u=r[0];u.parentNode&&11!==u.parentNode.nodeType;)u=u.parentNode;u.parentNode&&u.parentNode.removeChild(u)}}else{for((r=t)||(r=c),u=r.parentWindow||r.defaultView||b,s=i.a.Db(n).toLowerCase(),f=r.createElement("div"),s=(o=(s=s.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&fi[s[1]]||ii)[0],o="ignored<div>"+o[1]+n+o[2]+"<\/div>","function"==typeof u.innerShiv?f.appendChild(u.innerShiv(o)):(ct&&r.body.appendChild(f),f.innerHTML=o,ct&&f.parentNode.removeChild(f));s--;)f=f.lastChild;r=i.a.la(f.lastChild.childNodes)}return r};i.a.Md=function(n,t){var r=i.a.ua(n,t);return r.length&&r[0].parentElement||i.a.Yb(r)};i.a.fc=function(n,t){if(i.a.Tb(n),null!==(t=i.a.f(t))&&t!==a)if("string"!=typeof t&&(t=t.toString()),e)e(n).html(t);else for(var u=i.a.ua(t,n.ownerDocument),r=0;r<u.length;r++)n.appendChild(u[r])};i.b("utils.parseHtmlFragment",i.a.ua);i.b("utils.setHtml",i.a.fc);i.aa=(ut={},{Xb:function(n){if("function"!=typeof n)throw Error("You can only pass a function to ko.memoization.memoize()");var t=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return ut[t]=n,"<!--[ko_memo:"+t+"]-->"},bd:function(n,t){var i=ut[n];if(i===a)throw Error("Couldn't find any memo with ID "+n+". Perhaps it's already been unmemoized.");try{return i.apply(null,t||[]),!0}finally{delete ut[n]}},cd:function(n,t){var f=[],u,o,r,e;for(!function n(t,r){if(t)if(8==t.nodeType)null!=(u=i.aa.Uc(t.nodeValue))&&r.push({ud:t,Kd:u});else if(1==t.nodeType)for(var u=0,f=t.childNodes,e=f.length;u<e;u++)n(f[u],r)}(n,f),u=0,o=f.length;u<o;u++)r=f[u].ud,e=[r],t&&i.a.Nb(e,t),i.aa.bd(f[u].Kd,e),r.nodeValue="",r.parentNode&&r.parentNode.removeChild(r)},Uc:function(n){return(n=n.match(/^\[ko_memo\:(.*?)\]$/))?n[1]:null}});i.b("memoization",i.aa);i.b("memoization.memoize",i.aa.Xb);i.b("memoization.unmemoize",i.aa.bd);i.b("memoization.parseMemoText",i.aa.Uc);i.b("memoization.unmemoizeDomNodeAndDescendants",i.aa.cd);i.na=(k=[],at=1,y=s=0,{scheduler:b.MutationObserver?(ei=si,lt=c.createElement("div"),new MutationObserver(ei).observe(lt,{attributes:!0}),function(){lt.classList.toggle("foo")}):c&&"onreadystatechange"in c.createElement("script")?function(n){var t=c.createElement("script");t.onreadystatechange=function(){t.onreadystatechange=null;c.documentElement.removeChild(t);t=null;n()};c.documentElement.appendChild(t)}:function(n){setTimeout(n,0)},zb:function(n){return s||i.na.scheduler(si),k[s++]=n,at++},cancel:function(n){y<=(n-=at-s)&&n<s&&(k[n]=null)},resetForTesting:function(){var n=s-y;return y=s=k.length=0,n},Sd:oi});i.b("tasks",i.na);i.b("tasks.schedule",i.na.zb);i.b("tasks.runEarly",i.na.Sd);i.Ta={throttle:function(n,t){n.throttleEvaluation=t;var r=null;return i.$({read:n,write:function(u){clearTimeout(r);r=i.a.setTimeout(function(){n(u)},t)}})},rateLimit:function(n,t){var r,i,u;"number"==typeof t?r=t:(r=t.timeout,i=t.method);n.Hb=!1;u="function"==typeof i?i:"notifyWhenChangesStop"==i?sr:or;n.ub(function(n){return u(n,r,t)})},deferred:function(n,t){if(!0!==t)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");n.Hb||(n.Hb=!0,n.ub(function(t){var u,r=!1;return function(){if(!r){i.na.cancel(u);u=i.na.zb(t);try{r=!0;n.notifySubscribers(a,"dirty")}finally{r=!1}}}}))},notify:function(n,t){n.equalityComparer="always"==t?null:st}};hi={undefined:1,boolean:1,number:1,string:1};i.b("extenders",i.Ta);i.ic=function(n,t,r){this.da=n;this.lc=t;this.mc=r;this.Ib=!1;this.fb=this.Jb=null;i.L(this,"dispose",this.s);i.L(this,"disposeWhenNodeIsRemoved",this.l)};i.ic.prototype.s=function(){this.Ib||(this.fb&&i.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)};i.ic.prototype.l=function(n){this.Jb=n;i.a.K.za(n,this.fb=this.s.bind(this))};i.T=function(){i.a.Ab(this,h);h.qb(this)};h={qb:function(n){n.U={change:[]};n.sc=1},subscribe:function(n,t,r){var u=this,f;return r=r||"change",f=new i.ic(u,t?n.bind(t):n,function(){i.a.Pa(u.U[r],f);u.hb&&u.hb(r)}),u.Qa&&u.Qa(r),u.U[r]||(u.U[r]=[]),u.U[r].push(f),f},notifySubscribers:function(n,t){var f,r,u;if("change"===(t=t||"change")&&this.Gb(),this.Wa(t)){f="change"===t&&this.ed||this.U[t].slice(0);try{for(i.u.xc(),u=0;r=f[u];++u)r.Ib||r.lc(n)}finally{i.u.end()}}},ob:function(){return this.sc},Dd:function(n){return this.ob()!==n},Gb:function(){++this.sc},ub:function(n){var e,o,u,r,f,t=this,h=i.O(t),s;t.gb||(t.gb=t.notifySubscribers,t.notifySubscribers=hr);s=n(function(){t.Ja=!1;h&&r===t&&(r=t.nc?t.nc():t());var n=o||f&&t.sb(u,r);f=o=e=!1;n&&t.gb(u=r)});t.qc=function(n,i){i&&t.Ja||(f=!i);t.ed=t.U.change.slice(0);t.Ja=e=!0;r=n;s()};t.pc=function(n){e||(u=n,t.gb(n,"beforeChange"))};t.rc=function(){f=!0};t.gd=function(){t.sb(u,t.v(!0))&&(o=!0)}},Wa:function(n){return this.U[n]&&this.U[n].length},Bd:function(n){if(n)return this.U[n]&&this.U[n].length||0;var t=0;return i.a.P(this.U,function(n,i){"dirty"!==n&&(t+=i.length)}),t},sb:function(n,t){return!this.equalityComparer||!this.equalityComparer(n,t)},toString:function(){return"[object Object]"},extend:function(n){var t=this;return n&&i.a.P(n,function(n,r){var u=i.Ta[n];"function"==typeof u&&(t=u(t,r)||t)}),t}};i.L(h,"init",h.qb);i.L(h,"subscribe",h.subscribe);i.L(h,"extend",h.extend);i.L(h,"getSubscriptionsCount",h.Bd);i.a.Ba&&i.a.setPrototypeOf(h,Function.prototype);i.T.fn=h;i.Qc=function(n){return null!=n&&"function"==typeof n.subscribe&&"function"==typeof n.notifySubscribers};i.b("subscribable",i.T);i.b("isSubscribable",i.Qc);i.S=i.u=(vt=[],ci=0,{xc:li,end:ai,cc:function(n){if(o){if(!i.Qc(n))throw Error("Only subscribable things can act as dependencies");o.od.call(o.pd,n,n.fd||(n.fd=++ci))}},G:function(n,t,i){try{return li(),n.apply(t,i||[])}finally{ai()}},qa:function(){if(o)return o.o.qa()},Va:function(){if(o)return o.o.Va()},Ya:function(){if(o)return o.Ya},o:function(){if(o)return o.o}});i.b("computedContext",i.S);i.b("computedContext.getDependenciesCount",i.S.qa);i.b("computedContext.getDependencies",i.S.Va);i.b("computedContext.isInitial",i.S.Ya);i.b("computedContext.registerDependency",i.S.cc);i.b("ignoreDependencies",i.Yd=i.u.G);p=i.a.Da("_latestValue");i.ta=function(n){function t(){return 0<arguments.length?(t.sb(t[p],arguments[0])&&(t.ya(),t[p]=arguments[0],t.xa()),this):(i.u.cc(t),t[p])}return t[p]=n,i.a.Ba||i.a.extend(t,i.T.fn),i.T.fn.qb(t),i.a.Ab(t,l),i.options.deferUpdates&&i.Ta.deferred(t,!0),t};l={equalityComparer:st,v:function(){return this[p]},xa:function(){this.notifySubscribers(this[p],"spectate");this.notifySubscribers(this[p])},ya:function(){this.notifySubscribers(this[p],"beforeChange")}};i.a.Ba&&i.a.setPrototypeOf(l,i.T.fn);w=i.ta.Ma="__ko_proto__";l[w]=i.ta;i.O=function(n){if((n="function"==typeof n&&n[w])&&n!==l[w]&&n!==i.o.fn[w])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!n};i.Za=function(n){return"function"==typeof n&&(n[w]===l[w]||n[w]===i.o.fn[w]&&n.Nc)};i.b("observable",i.ta);i.b("isObservable",i.O);i.b("isWriteableObservable",i.Za);i.b("isWritableObservable",i.Za);i.b("observable.fn",l);i.L(l,"peek",l.v);i.L(l,"valueHasMutated",l.xa);i.L(l,"valueWillMutate",l.ya);i.Ha=function(n){if("object"!=typeof(n=n||[])||!("length"in n))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return n=i.ta(n),i.a.Ab(n,i.Ha.fn),n.extend({trackArrayChanges:!0})};i.Ha.fn={remove:function(n){for(var f,r=this.v(),u=[],e="function"!=typeof n||i.O(n)?function(t){return t===n}:n,t=0;t<r.length;t++)if(f=r[t],e(f)){if(0===u.length&&this.ya(),r[t]!==f)throw Error("Array modified during remove; cannot remove item");u.push(f);r.splice(t,1);t--}return u.length&&this.xa(),u},removeAll:function(n){if(n!==a)return n?this.remove(function(t){return 0<=i.a.A(n,t)}):[];var t=this.v(),r=t.slice(0);return this.ya(),t.splice(0,t.length),this.xa(),r},destroy:function(n){var u=this.v(),f="function"!=typeof n||i.O(n)?function(t){return t===n}:n,t,r;for(this.ya(),t=u.length-1;0<=t;t--)r=u[t],f(r)&&(r._destroy=!0);this.xa()},destroyAll:function(n){return n===a?this.destroy(function(){return!0}):n?this.destroy(function(t){return 0<=i.a.A(n,t)}):[]},indexOf:function(n){var t=this();return i.a.A(t,n)},replace:function(n,t){var i=this.indexOf(n);0<=i&&(this.ya(),this.v()[i]=t,this.xa())},sorted:function(n){var t=this().slice(0);return n?t.sort(n):t.sort()},reversed:function(){return this().slice(0).reverse()}};i.a.Ba&&i.a.setPrototypeOf(i.Ha.fn,i.ta.fn);i.a.D("pop push reverse shift sort splice unshift".split(" "),function(n){i.Ha.fn[n]=function(){var t=this.v(),i;return this.ya(),this.zc(t,n,arguments),i=t[n].apply(t,arguments),this.xa(),i===t?this:i}});i.a.D(["slice"],function(n){i.Ha.fn[n]=function(){var t=this();return t[n].apply(t,arguments)}});i.Pc=function(n){return i.O(n)&&"function"==typeof n.remove&&"function"==typeof n.push};i.b("observableArray",i.Ha);i.b("isObservableArray",i.Pc);i.Ta.trackArrayChanges=function(n,t){if(n.Ob={},t&&"object"==typeof t&&i.a.extend(n.Ob,t),n.Ob.sparse=!0,!n.zc){var f,e,o,s=!1,r=null,u=0,h=n.Qa,c=n.hb;n.Qa=function(t){function c(){if(u){var t,f=[].concat(n.v()||[]);n.Wa("arrayChange")&&((!r||1<u)&&(r=i.a.Pb(o,f,n.Ob)),t=r);o=f;r=null;u=0;t&&t.length&&n.notifySubscribers(t,"arrayChange")}}h&&h.call(n,t);"arrayChange"===t&&(s?c():(s=!0,e=n.subscribe(function(){++u},null,"spectate"),o=[].concat(n.v()||[]),r=null,f=n.subscribe(c)))};n.hb=function(t){c&&c.call(n,t);"arrayChange"!==t||n.Wa("arrayChange")||(f&&f.s(),e&&e.s(),e=f=null,s=!1,o=a)};n.zc=function(n,t,f){function c(n,t,i){return l[l.length]={status:n,value:t,index:i}}if(s&&!u){var l=[],e=n.length,h=f.length,o=0;switch(t){case"push":o=e;case"unshift":for(t=0;t<h;t++)c("added",f[t],o+t);break;case"pop":o=e-1;case"shift":e&&c("deleted",n[o],o);break;case"splice":t=Math.min(Math.max(0,f[0]<0?e+f[0]:f[0]),e);e=1===h?e:Math.min(t+(f[1]||0),e);h=t+h-2;o=Math.max(e,h);for(var a=[],v=[],y=2;t<o;++t,++y)t<e&&v.push(c("deleted",n[t],t)),t<h&&a.push(c("added",f[y],t));i.a.Kc(v,a);break;default:return}r=l}}}};r=i.a.Da("_state");i.o=i.$=function(n,t,f){function o(){if(0<arguments.length){if("function"!=typeof s)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return s.apply(e.nb,arguments),this}return e.ra||i.u.cc(o),(e.ka||e.J&&o.Xa())&&o.ha(),e.X}if("object"==typeof n?f=n:(f=f||{},n&&(f.read=n)),"function"!=typeof f.read)throw Error("Pass a function that returns the value of the ko.computed");var s=f.write,e={X:a,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:f.read,nb:t||f.owner,l:f.disposeWhenNodeIsRemoved||f.l||null,Sa:f.disposeWhen||f.Sa,Rb:null,I:{},V:0,Ic:null};return o[r]=e,o.Nc="function"==typeof s,i.a.Ba||i.a.extend(o,i.T.fn),i.T.fn.qb(o),i.a.Ab(o,u),f.pure?(e.wb=!0,e.J=!0,i.a.extend(o,ar)):f.deferEvaluation&&i.a.extend(o,vr),i.options.deferUpdates&&i.Ta.deferred(o,!0),e.l&&(e.jc=!0,e.l.nodeType||(e.l=null)),e.J||f.deferEvaluation||o.ha(),e.l&&o.ja()&&i.a.K.za(e.l,e.Rb=function(){o.s()}),o};var u={equalityComparer:st,qa:function(){return this[r].V},Va:function(){var n=[];return i.a.P(this[r].I,function(t,i){n[i.Ka]=i.da}),n},Vb:function(n){if(!this[r].V)return!1;var t=this.Va();return-1!==i.a.A(t,n)||!!i.a.Lb(t,function(t){return t.Vb&&t.Vb(n)})},uc:function(n,t,i){if(this[r].wb&&t===this)throw Error("A 'pure' computed must not be called recursively");(this[r].I[n]=i).Ka=this[r].V++;i.La=t.ob()},Xa:function(){var t,n,i=this[r].I;for(t in i)if(Object.prototype.hasOwnProperty.call(i,t)&&(n=i[t],this.Ia&&n.da.Ja||n.da.Dd(n.La)))return!0},Jd:function(){this.Ia&&!this[r].rb&&this.Ia(!1)},ja:function(){var n=this[r];return n.ka||0<n.V},Rd:function(){this.Ja?this[r].ka&&(this[r].sa=!0):this.Hc()},$c:function(n){if(n.Hb){var t=n.subscribe(this.Jd,this,"dirty"),i=n.subscribe(this.Rd,this);return{da:n,s:function(){t.s();i.s()}}}return n.subscribe(this.Hc,this)},Hc:function(){var n=this,t=n.throttleEvaluation;t&&0<=t?(clearTimeout(this[r].Ic),this[r].Ic=i.a.setTimeout(function(){n.ha(!0)},t)):n.Ia?n.Ia(!0):n.ha(!0)},ha:function(n){var t=this[r],u=t.Sa,f=!1;if(!t.rb&&!t.ra){if(t.l&&!i.a.Sb(t.l)||u&&u()){if(!t.jc)return void this.s()}else t.jc=!1;t.rb=!0;try{f=this.zd(n)}finally{t.rb=!1}return f}},zd:function(n){var t=this[r],u=!1,e=t.wb?a:!t.V,f;return u={qd:this,mb:t.I,Qb:t.V},i.u.xc({pd:u,od:lr,o:this,Ya:e}),t.I={},t.V=0,f=this.yd(t,u),(u=t.V?this.sb(t.X,f):(this.s(),!0))&&(t.J?this.Gb():this.notifySubscribers(t.X,"beforeChange"),t.X=f,this.notifySubscribers(t.X,"spectate"),!t.J&&n&&this.notifySubscribers(t.X),this.rc&&this.rc()),e&&this.notifySubscribers(t.X,"awake"),u},yd:function(n,t){try{var r=n.Wc;return n.nb?r.call(n.nb):r()}finally{i.u.end();t.Qb&&!n.J&&i.a.P(t.mb,cr);n.sa=n.ka=!1}},v:function(n){var t=this[r];return(t.ka&&(n||!t.V)||t.J&&this.Xa())&&this.ha(),t.X},ub:function(n){i.T.fn.ub.call(this,n);this.nc=function(){return this[r].J||(this[r].sa?this.ha():this[r].ka=!1),this[r].X};this.Ia=function(n){this.pc(this[r].X);this[r].ka=!0;n&&(this[r].sa=!0);this.qc(this,!n)}},s:function(){var n=this[r];!n.J&&n.I&&i.a.P(n.I,function(n,t){t.s&&t.s()});n.l&&n.Rb&&i.a.K.yb(n.l,n.Rb);n.I=a;n.V=0;n.ra=!0;n.sa=!1;n.ka=!1;n.J=!1;n.l=a;n.Sa=a;n.Wc=a;this.Nc||(n.nb=a)}},ar={Qa:function(n){var u=this,t=u[r],f;!t.ra&&t.J&&"change"==n&&((t.J=!1,t.sa||u.Xa())?(t.I=null,t.V=0,u.ha()&&u.Gb()):(f=[],i.a.P(t.I,function(n,t){f[t.Ka]=n}),i.a.D(f,function(n,i){var f=t.I[n],r=u.$c(f.da);r.Ka=i;r.La=f.La;t.I[n]=r}),u.Xa()&&u.ha()&&u.Gb()),t.ra||u.notifySubscribers(t.X,"awake"))},hb:function(n){var t=this[r];t.ra||"change"!=n||this.Wa("change")||(i.a.P(t.I,function(n,i){i.s&&(t.I[n]={da:i.da,Ka:i.Ka,La:i.La},i.s())}),t.J=!0,this.notifySubscribers(a,"asleep"))},ob:function(){var n=this[r];return n.J&&(n.sa||this.Xa())&&this.ha(),i.T.fn.ob.call(this)}},vr={Qa:function(n){"change"!=n&&"beforeChange"!=n||this.v()}};i.a.Ba&&i.a.setPrototypeOf(u,i.T.fn);et=i.ta.Ma;u[et]=i.o;i.Oc=function(n){return"function"==typeof n&&n[et]===u[et]};i.Fd=function(n){return i.Oc(n)&&n[r]&&n[r].wb};i.b("computed",i.o);i.b("dependentObservable",i.o);i.b("isComputed",i.Oc);i.b("isPureComputed",i.Fd);i.b("computed.fn",u);i.L(u,"peek",u.v);i.L(u,"dispose",u.s);i.L(u,"isActive",u.ja);i.L(u,"getDependenciesCount",u.qa);i.L(u,"getDependencies",u.Va);i.xb=function(n,t){return"function"==typeof n?i.o(n,t,{pure:!0}):((n=i.a.extend({},n)).pure=!0,i.o(n,t))};i.b("pureComputed",i.xb);i.ad=function(n){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return gi(n,function(n){for(var t=0;i.O(n)&&t<10;t++)n=n();return n})};i.toJSON=function(n,t,r){return n=i.ad(n),i.a.hc(n,t,r)};kt.prototype={constructor:kt,save:function(n,t){var r=i.a.A(this.keys,n);0<=r?this.values[r]=t:(this.keys.push(n),this.values.push(t))},get:function(n){return 0<=(n=i.a.A(this.keys,n))?this.values[n]:a}};i.b("toJS",i.ad);i.b("toJSON",i.toJSON);i.Wd=function(n,t,r){function u(t){var u=i.xb(n,r).extend({ma:"always"}),f=u.subscribe(function(n){n&&(f.s(),t(n))});return u.notifySubscribers(u.v()),f}return"function"!=typeof Promise||t?u(t.bind(r)):new Promise(u)};i.b("when",i.Wd);i.w={M:function(n){switch(i.a.R(n)){case"option":return!0===n.__ko__hasDomDataOptionValue__?i.a.g.get(n,i.c.options.$b):i.a.W<=7?n.getAttributeNode("value")&&n.getAttributeNode("value").specified?n.value:n.text:n.value;case"select":return 0<=n.selectedIndex?i.w.M(n.options[n.selectedIndex]):a;default:return n.value}},cb:function(n,t,r){switch(i.a.R(n)){case"option":"string"==typeof t?(i.a.g.set(n,i.c.options.$b,a),"__ko__hasDomDataOptionValue__"in n&&delete n.__ko__hasDomDataOptionValue__,n.value=t):(i.a.g.set(n,i.c.options.$b,t),n.__ko__hasDomDataOptionValue__=!0,n.value="number"==typeof t?t:"");break;case"select":""!==t&&null!==t||(t=a);for(var e,u=-1,f=0,o=n.options.length;f<o;++f)if((e=i.w.M(n.options[f]))==t||""===e&&t===a){u=f;break}(r||0<=u||t===a&&1<n.size)&&(n.selectedIndex=u,6===i.a.W&&i.a.setTimeout(function(){n.selectedIndex=u},0));break;default:null!==t&&t!==a||(t="");n.value=t}}};i.b("selectExtensions",i.w);i.b("selectExtensions.readValue",i.w.M);i.b("selectExtensions.writeValue",i.w.cb);i.m=(vi=["true","false","null","undefined"],yi=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,yt=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),pi=/[\])"'A-Za-z0-9_$]+$/,wi={"in":1,"return":1,"typeof":1},{Ra:[],wa:ft={},ac:nr,vb:function(n,t){function r(n,t){var h,s;if(!o){if(s=i.getBindingHandler(n),s&&s.preprocess&&!(t=s.preprocess(t,n,r)))return;(s=ft[n])&&(h=t,s=h=!(0<=i.a.A(vi,h))&&null!==(s=h.match(yi))&&(s[1]?"Object("+s[1]+")"+s[2]:h));s&&u.push("'"+("string"==typeof ft[n]?ft[n]:n)+"':function(_z){"+h+"=_z}")}e&&(t="function(){return "+t+" }");f.push("'"+n+"':"+t)}var f=[],u=[],e=(t=t||{}).valueAccessors,o=t.bindingParams,s="string"==typeof n?nr(n):n;return i.a.D(s,function(n){r(n.key||n.unknown,n.value)}),u.length&&r("_ko_property_writers","{"+u.join(",")+" }"),f.join(",")},Id:function(n,t){for(var i=0;i<n.length;i++)if(n[i].key==t)return!0;return!1},eb:function(n,t,r,u,f){n&&i.O(n)?!i.Za(n)||f&&n.v()===u||n(u):(n=t.get("_ko_property_writers"))&&n[r]&&n[r](u)}});i.b("expressionRewriting",i.m);i.b("expressionRewriting.bindingRewriteValidators",i.m.Ra);i.b("expressionRewriting.parseObjectLiteral",i.m.ac);i.b("expressionRewriting.preProcessBindings",i.m.vb);i.b("expressionRewriting._twoWayBindings",i.m.wa);i.b("jsonExpressionRewriting",i.m);i.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",i.m.vb);g=c&&"<!--test-->"===c.createComment("test").text;pt=g?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/;bi=g?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/;ki={ul:!0,ol:!0};wt="__ko_matchedEndComment__";i.h={ea:{},childNodes:function(n){return v(n)?tr(n):n.childNodes},Ea:function(n){if(v(n))for(var t=0,r=(n=i.h.childNodes(n)).length;t<r;t++)i.removeNode(n[t]);else i.a.Tb(n)},va:function(n,t){if(v(n)){i.h.Ea(n);for(var u=n.nextSibling,r=0,f=t.length;r<f;r++)u.parentNode.insertBefore(t[r],u)}else i.a.va(n,t)},Vc:function(n,t){var i;v(n)?(i=n.nextSibling,n=n.parentNode):i=n.firstChild;i?t!==i&&n.insertBefore(t,i):n.appendChild(t)},Wb:function(n,t,r){r?(r=r.nextSibling,v(n)&&(n=n.parentNode),r?t!==r&&n.insertBefore(t,r):n.appendChild(t)):i.h.Vc(n,t)},firstChild:function(n){if(v(n))return!n.nextSibling||nt(n.nextSibling)?null:n.nextSibling;if(n.firstChild&&nt(n.firstChild))throw Error("Found invalid end comment, as the first child of "+n);return n.firstChild},nextSibling:function(n){if(v(n)&&(n=ir(n)),n.nextSibling&&nt(n.nextSibling)){var t=n.nextSibling;if(nt(t)&&!i.a.g.get(t,wt))throw Error("Found end comment without a matching opening comment, as child of "+n);return null}return n.nextSibling},Cd:v,Vd:function(n){return(n=(g?n.text:n.nodeValue).match(pt))?n[1]:null},Sc:function(n){var f,t,r,u;if(ki[i.a.R(n)]&&(f=n.firstChild,f))do if(1===f.nodeType){if(r=null,t=f.firstChild)do r?r.push(t):v(t)?(u=ir(t,!0),u?t=u:r=[t]):nt(t)&&(r=[t]);while(t=t.nextSibling);if(t=r)for(r=f.nextSibling,u=0;u<t.length;u++)r?n.insertBefore(t[u],r):n.appendChild(t[u])}while(f=f.nextSibling)}};i.b("virtualElements",i.h);i.b("virtualElements.allowedBindings",i.h.ea);i.b("virtualElements.emptyNode",i.h.Ea);i.b("virtualElements.insertAfter",i.h.Wb);i.b("virtualElements.prepend",i.h.Vc);i.b("virtualElements.setDomNodeChildren",i.h.va);i.ga=function(){this.nd={}};i.a.extend(i.ga.prototype,{nodeHasBindings:function(n){switch(n.nodeType){case 1:return null!=n.getAttribute("data-bind")||i.j.getComponentNameForNode(n);case 8:return i.h.Cd(n);default:return!1}},getBindings:function(n,t){var r=(r=this.getBindingsString(n,t))?this.parseBindingsString(r,t,n):null;return i.j.tc(r,n,t,!1)},getBindingAccessors:function(n,t){var r=(r=this.getBindingsString(n,t))?this.parseBindingsString(r,t,n,{valueAccessors:!0}):null;return i.j.tc(r,n,t,!0)},getBindingsString:function(n){switch(n.nodeType){case 1:return n.getAttribute("data-bind");case 8:return i.h.Vd(n);default:return null}},parseBindingsString:function(n,t,r,u){var f,e,o,s,h;try{return e=this.nd,o=n+(u&&u.valueAccessors||""),(f=e[o])||(h="with($context){with($data||{}){return{"+i.m.vb(n,u)+"}}}",s=new Function("$context","$element",h),f=e[o]=s),f(t,r)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+n+"\nMessage: "+t.message,t;}}});i.ga.instance=new i.ga;i.b("bindingProvider",i.ga),function(){function l(n){var r=(n=i.a.g.get(n,t))&&n.N;r&&(n.N=null,r.Tc())}function u(n,t,r){this.node=n;this.yc=t;this.kb=[];this.H=!1;t.N||i.a.K.za(n,l);r&&r.N&&(r.N.kb.push(n),this.Kb=r)}function d(n){return function(){return n}}function s(n){return n()}function v(n){return i.a.Ga(i.u.G(n),function(t,i){return function(){return n()[i]}})}function g(n,t){return v(this.getBindings.bind(this,n,t))}function y(n,t){var r=i.h.firstChild(t),u,f,e;if(r){if(f=i.ga.instance,e=f.preprocessNode,e){for(;u=r;)r=i.h.nextSibling(u),e.call(f,u);r=i.h.firstChild(t)}for(;u=r;)r=i.h.nextSibling(u),p(n,u)}i.i.ma(t,i.i.H)}function p(n,t){var r=n,u=1===t.nodeType;u&&i.h.Sc(t);(u||i.ga.instance.nodeHasBindings(t))&&(r=w(t,null,n).bindingContextForDescendants);r&&!k[i.a.R(t)]&&y(r,t)}function w(r,u,f){var e,o=i.a.g.Ub(r,t,{}),d=o.hd,y,w,b,k,v,c,p;if(!u){if(d)throw Error("You cannot apply bindings multiple times to the same element.");o.hd=!0}if(d||(o.context=f),o.Zb||(o.Zb={}),u&&"function"!=typeof u)e=u;else{var nt=i.ga.instance,tt=nt.getBindingAccessors||g,l=i.$(function(){return(e=u?u(f,r):tt.call(nt,r,f))&&(f[n]&&f[n](),f[h]&&f[h]()),e},null,{l:r});e&&l.ja()||(l=null)}if(c=f,e){function n(){return i.a.Ga(l?l():e,s)}p=l?function(n){return function(){return s(l()[n])}}:function(n){return e[n]};n.get=function(n){return e[n]&&s(p(n))};n.has=function(n){return n in e};i.i.H in e&&i.i.subscribe(r,i.i.H,function(){var t=e[i.i.H](),n;t&&(n=i.h.childNodes(r),n.length&&t(n,i.Ec(n[0])))});i.i.pa in e&&(c=i.i.Cb(r,f),i.i.subscribe(r,i.i.pa,function(){var n=e[i.i.pa]();n&&i.h.firstChild(r)&&n(r)}));w=e;b=[];k={};v=[];i.a.P(w,function f(n){if(!k[n]){var t=i.getBindingHandler(n);t&&(t.after&&(v.push(n),i.a.D(t.after,function(n){if(w[n]){if(-1!==i.a.A(v,n))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+v.join(", "));f(n)}}),v.length--),b.push({key:n,Mc:t}));k[n]=!0}});o=b;i.a.D(o,function(t){var f=t.Mc.init,o=t.Mc.update,u=t.key;if(8===r.nodeType&&!i.h.ea[u])throw Error("The binding '"+u+"' cannot be used with virtual elements");try{"function"==typeof f&&i.u.G(function(){var t=f(r,p(u),n,c.$data,c);if(t&&t.controlsDescendantBindings){if(y!==a)throw Error("Multiple bindings ("+y+" and "+u+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");y=u}});"function"==typeof o&&i.$(function(){o(r,p(u),n,c.$data,c)},null,{l:r})}catch(t){throw t.message='Unable to process binding "'+u+": "+e[u]+'"\nMessage: '+t.message,t;}})}return{shouldBindDescendants:o=y===a,bindingContextForDescendants:o&&c}}function f(n,t){return n&&n instanceof i.fa?n:new i.fa(n,a,a,t)}var n=i.a.Da("_subscribable"),r=i.a.Da("_ancestorBindingInfo"),h=i.a.Da("_dataDependency"),k,o,t;i.c={};k={script:!0,textarea:!0,template:!0};i.getBindingHandler=function(n){return i.c[n]};o={};i.fa=function(t,u,f,e,s){function y(){var o=b?v():v,t=i.a.f(o);return u?(i.a.extend(c,u),r in u&&(c[r]=u[r])):(c.$parents=[],c.$root=t,c.ko=i),c[n]=l,p?t=c.$data:(c.$rawData=o,c.$data=t),f&&(c[f]=t),e&&e(c,u,t),u&&u[n]&&!i.S.o().Vb(u[n])&&u[n](),w&&(c[h]=w),c.$data}var l,c=this,p=t===o,v=p?a:t,b="function"==typeof v&&!i.O(v),w=s&&s.dataDependency;s&&s.exportDependencies?y():((l=i.xb(y)).v(),l.ja()?l.equalityComparer=null:c[n]=a)};i.fa.prototype.createChildContext=function(n,t,r,u){if(!u&&t&&"object"==typeof t&&(t=(u=t).as,r=u.extend),t&&u&&u.noChildContext){var f="function"==typeof n&&!i.O(n);return new i.fa(o,this,null,function(i){r&&r(i);i[t]=f?n():n},u)}return new i.fa(n,this,t,function(n,t){n.$parentContext=t;n.$parent=t.$data;n.$parents=(t.$parents||[]).slice(0);n.$parents.unshift(n.$parent);r&&r(n)},u)};i.fa.prototype.extend=function(n,t){return new i.fa(o,this,null,function(t){i.a.extend(t,"function"==typeof n?n(t):n)},t)};t=i.a.g.Z();u.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)};u.prototype.sd=function(n){i.a.Pa(this.kb,n);!this.kb.length&&this.H&&this.Cc()};u.prototype.Cc=function(){this.H=!0;this.yc.N&&!this.kb.length&&(this.yc.N=null,i.a.K.yb(this.node,l),i.i.ma(this.node,i.i.pa),this.Tc())};i.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(n,r,u,f,e){var o=i.a.g.Ub(n,t,{});return o.Fa||(o.Fa=new i.T),e&&e.notifyImmediately&&o.Zb[r]&&i.u.G(u,f,[n]),o.Fa.subscribe(u,f,r)},ma:function(n,r){var u=i.a.g.get(n,t);if(u&&(u.Zb[r]=!0,u.Fa&&u.Fa.notifySubscribers(n,r),r==i.i.H))if(u.N)u.N.Cc();else if(u.N===a&&u.Fa&&u.Fa.Wa(i.i.pa))throw Error("descendantsComplete event not supported for bindings on this node");},Cb:function(n,f){var e=i.a.g.Ub(n,t,{});return e.N||(e.N=new u(n,e,f[r])),f[r]==e?f:f.extend(function(n){n[r]=e})}};i.Td=function(n){return(n=i.a.g.get(n,t))&&n.context};i.ib=function(n,t,r){return 1===n.nodeType&&i.h.Sc(n),w(n,t,f(r))};i.ld=function(n,t,r){return r=f(r),i.ib(n,(e=r,o=n,"function"==typeof(u=t)?v(u.bind(null,e,o)):i.a.Ga(u,d)),r);var u,e,o};i.Oa=function(n,t){1!==t.nodeType&&8!==t.nodeType||y(f(n),t)};i.vc=function(n,t,i){if(!e&&b.jQuery&&(e=b.jQuery),arguments.length<2){if(!(t=c.body))throw Error("ko.applyBindings: could not find document.body; has the document been loaded?");}else if(!t||1!==t.nodeType&&8!==t.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");p(f(n,i),t)};i.Dc=function(n){return!n||1!==n.nodeType&&8!==n.nodeType?a:i.Td(n)};i.Ec=function(n){return(n=i.Dc(n))?n.$data:a};i.b("bindingHandlers",i.c);i.b("bindingEvent",i.i);i.b("bindingEvent.subscribe",i.i.subscribe);i.b("bindingEvent.startPossiblyAsyncContentBinding",i.i.Cb);i.b("applyBindings",i.vc);i.b("applyBindingsToDescendants",i.Oa);i.b("applyBindingAccessorsToNode",i.ib);i.b("applyBindingsToNode",i.ld);i.b("contextFor",i.Dc);i.b("dataFor",i.Ec)}();tt={};it={};i.j={get:function(n,t){var r=Object.prototype.hasOwnProperty.call(it,n)?it[n]:bt;r?r.Gd?i.u.G(function(){t(r.definition)}):i.na.zb(function(){t(r.definition)}):yr(n,t)},Bc:function(n){delete it[n]},oc:rt};i.j.loaders=[];i.b("components",i.j);i.b("components.get",i.j.get);i.b("components.clearCachedDefinition",i.j.Bc),function(){function e(n){switch(i.a.R(n)){case"script":return i.a.ua(n.text);case"textarea":return i.a.ua(n.value);case"template":if(o(n.content))return i.a.Ca(n.content.childNodes)}return i.a.Ca(n.childNodes)}function o(n){return b.DocumentFragment?n instanceof DocumentFragment:n&&11===n.nodeType}function u(n,i,r){"string"==typeof i.require?t||b.require?(t||b.require)([i.require],function(n){n&&"object"==typeof n&&n.Xd&&n.default&&(n=n.default);r(n)}):n("Uses require, but no AMD loader is present"):r(i)}function f(n){return function(t){throw Error("Component '"+n+"': "+t);}}var n={},r;i.j.register=function(t,r){if(!r)throw Error("Invalid configuration for "+t);if(i.j.tb(t))throw Error("Component "+t+" is already registered");n[t]=r};i.j.tb=function(t){return Object.prototype.hasOwnProperty.call(n,t)};i.j.unregister=function(t){delete n[t];i.j.Bc(t)};i.j.Fc={getConfig:function(t,r){r(i.j.tb(t)?n[t]:null)},loadComponent:function(n,t,e){var o=f(n);u(o,t,function(t){function s(){0==--y&&v(h)}var c,l,f,v,h,y,a;c=n;l=o;v=e;h={};y=2;a=(f=t).template;f=f.viewModel;a?u(l,a,function(n){i.j.oc("loadTemplate",[c,n],function(n){h.template=n;s()})}):s();f?u(l,f,function(n){i.j.oc("loadViewModel",[c,n],function(n){h[r]=n;s()})}):s()})},loadTemplate:function(n,t,r){if(n=f(n),"string"==typeof t)r(i.a.ua(t));else if(t instanceof Array)r(t);else if(o(t))r(i.a.la(t.childNodes));else if(t.element)if(t=t.element,b.HTMLElement?t instanceof HTMLElement:t&&t.tagName&&1===t.nodeType)r(e(t));else if("string"==typeof t){var u=c.getElementById(t);u?r(e(u)):n("Cannot find element with ID "+t)}else n("Unknown element type: "+t);else n("Unknown template value: "+t)},loadViewModel:function(n,t,i){!function n(t,i,u){if("function"==typeof i)u(function(n){return new i(n)});else if("function"==typeof i[r])u(i[r]);else if("instance"in i){var f=i.instance;u(function(){return f})}else"viewModel"in i?n(t,i.viewModel,u):t("Unknown viewModel value: "+i)}(f(n),t,i)}};r="createViewModel";i.b("components.register",i.j.register);i.b("components.isRegistered",i.j.tb);i.b("components.unregister",i.j.unregister);i.b("components.defaultLoader",i.j.Fc);i.j.loaders.push(i.j.Fc);i.j.dd=n}(),function(){i.j.getComponentNameForNode=function(n){var t=i.a.R(n);if(i.j.tb(t)&&(-1!=t.indexOf("-")||"[object HTMLUnknownElement]"==""+n||i.a.W<=8&&n.tagName===t))return t};i.j.tc=function(n,t,u,f){var e,o;if(1===t.nodeType&&(e=i.j.getComponentNameForNode(t),e)){if((n=n||{}).component)throw Error('Cannot use the "component" binding on a custom element matching a component');o={name:e,params:function(n,t){if(u=n.getAttribute("params")){var u=r.parseBindingsString(u,t,n,{valueAccessors:!0,bindingParams:!0}),f=(u=i.a.Ga(u,function(t){return i.o(t,null,{l:n})}),i.a.Ga(u,function(t){var r=t.v();return t.ja()?i.o({read:function(){return i.a.f(t())},write:i.Za(r)&&function(n){t()(n)},l:n}):r}));return Object.prototype.hasOwnProperty.call(f,"$raw")||(f.$raw=u),f}return{$raw:{}}}(t,u)};n.component=f?function(){return o}:o}return n};var n,t,r=new i.ga;i.a.W<9&&(i.j.register=(t=i.j.register,function(){return t.apply(this,arguments)}),c.createDocumentFragment=(n=c.createDocumentFragment,function(){var t,r=n(),u=i.j.dd;for(t in u);return r}))}();di=0;i.c.component={init:function(n,t,r,u,f){function h(){var n=e&&e.dispose;"function"==typeof n&&n.call(e);o&&o.s();s=e=o=null}var e,s,o,c=i.a.la(i.h.childNodes(n));return i.h.Ea(n),i.a.K.za(n,h),i.o(function(){var r,l,u=i.a.f(t()),a,v;if("string"==typeof u?r=u:(r=i.a.f(u.name),l=i.a.f(u.params)),!r)throw Error("No component name specified");a=i.i.Cb(n,f);v=s=++di;i.j.get(r,function(t){var u,y,f,p,w;if(s===v){if(h(),!t)throw Error("Unknown component '"+r+"'");!function(n,t,r){if(!(t=t.template))throw Error("Component '"+n+"' has no template");n=i.a.Ca(t);i.h.va(r,n)}(r,t,n);u=(f=l,p={element:n,templateNodes:c},(w=(y=t).createViewModel)?w.call(y,f,p):f);t=a.createChildContext(u,{extend:function(n){n.$component=u;n.$componentTemplateNodes=c}});u&&u.koDescendantsComplete&&(o=i.i.subscribe(n,i.i.pa,u.koDescendantsComplete,u));e=u;i.Oa(t,n)}})},null,{l:n}),{controlsDescendantBindings:!0}}};i.h.ea.component=!0;dt={"class":"className","for":"htmlFor"};i.c.attr={update:function(n,t){var r=i.a.f(t())||{};i.a.P(r,function(t,r){r=i.a.f(r);var u=t.indexOf(":"),f=(u="lookupNamespaceURI"in n&&0<u&&n.lookupNamespaceURI(t.substr(0,u)),!1===r||null===r||r===a);f?u?n.removeAttributeNS(u,t):n.removeAttribute(t):r=r.toString();i.a.W<=8&&t in dt?(t=dt[t],f?n.removeAttribute(t):n[t]=r):f||(u?n.setAttributeNS(u,t,r):n.setAttribute(t,r));"name"===t&&i.a.Yc(n,f?"":r)})}};i.c.checked={after:["value","attr"],init:function(n,t,r){function c(){var v=n.checked,s=f(),c,y,p;i.S.Ya()||!v&&(o||i.S.qa())||(c=i.u.G(t),u?(y=l?c.v():c,p=h,p!==(h=s)?v&&(i.a.Na(y,s,!0),i.a.Na(y,p,!1)):i.a.Na(y,s,v),l&&i.Za(c)&&c(y)):(e&&(s===a?s=v:v||(s=a)),i.m.eb(c,r,"checked",s,!0)))}var f=i.xb(function(){return r.has("checkedValue")?i.a.f(r.get("checkedValue")):v?r.has("value")?i.a.f(r.get("value")):n.value:void 0}),e="checkbox"==n.type,o="radio"==n.type;if(e||o){var s=t(),u=e&&i.a.f(s)instanceof Array,l=!(u&&s.push&&s.splice),v=o||u,h=u?f():a;o&&!n.name&&i.c.uniqueName.init(n,function(){return!0});i.o(c,null,{l:n});i.a.B(n,"click",c);i.o(function(){var r=i.a.f(t()),o=f();u?(n.checked=0<=i.a.A(r,o),h=o):n.checked=e&&o===a?!!r:f()===r},null,{l:n});s=a}}};i.m.wa.checked=!0;i.c.checkedValue={update:function(n,t){n.value=i.a.f(t())}};i.c.class={update:function(n,t){var r=i.a.Db(i.a.f(t()));i.a.Eb(n,n.__ko__cssValue,!1);n.__ko__cssValue=r;i.a.Eb(n,r,!0)}};i.c.css={update:function(n,t){var r=i.a.f(t());null!==r&&"object"==typeof r?i.a.P(r,function(t,r){r=i.a.f(r);i.a.Eb(n,t,r)}):i.c.class.update(n,t)}};i.c.enable={update:function(n,t){var r=i.a.f(t());r&&n.disabled?n.removeAttribute("disabled"):r||n.disabled||(n.disabled=!0)}};i.c.disable={update:function(n,t){i.c.enable.update(n,function(){return!i.a.f(t())})}};i.c.event={init:function(n,t,r,u,f){var e=t()||{};i.a.P(e,function(e){"string"==typeof e&&i.a.B(n,e,function(n){var s,h=t()[e],o;if(h){try{o=i.a.la(arguments);u=f.$data;o.unshift(u);s=h.apply(u,o)}finally{!0!==s&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}!1===r.get(e+"Bubble")&&(n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation())}})})}};i.c.foreach={Rc:function(n){return function(){var r=n(),t=i.a.bc(r);return t&&"number"!=typeof t.length?(i.a.f(r),{foreach:t.data,as:t.as,noChildContext:t.noChildContext,includeDestroyed:t.includeDestroyed,afterAdd:t.afterAdd,beforeRemove:t.beforeRemove,afterRender:t.afterRender,beforeMove:t.beforeMove,afterMove:t.afterMove,templateEngine:i.ba.Ma}):{foreach:r,templateEngine:i.ba.Ma}}},init:function(n,t){return i.c.template.init(n,i.c.foreach.Rc(t))},update:function(n,t,r,u,f){return i.c.template.update(n,i.c.foreach.Rc(t),r,u,f)}};i.m.Ra.foreach=!1;i.h.ea.foreach=!0;i.c.hasfocus={init:function(n,t,r){function u(u){var f,e;if(n.__ko_hasfocusUpdating=!0,f=n.ownerDocument,"activeElement"in f){try{e=f.activeElement}catch(u){e=f.body}u=e===n}f=t();i.m.eb(f,r,"hasfocus",u,!0);n.__ko_hasfocusLastValue=u;n.__ko_hasfocusUpdating=!1}var f=u.bind(null,!0),e=u.bind(null,!1);i.a.B(n,"focus",f);i.a.B(n,"focusin",f);i.a.B(n,"blur",e);i.a.B(n,"focusout",e);n.__ko_hasfocusLastValue=!1},update:function(n,t){var r=!!i.a.f(t());n.__ko_hasfocusUpdating||n.__ko_hasfocusLastValue===r||(r?n.focus():n.blur(),!r&&n.__ko_hasfocusLastValue&&n.ownerDocument.body.focus(),i.u.G(i.a.Fb,null,[n,r?"focusin":"focusout"]))}};i.m.wa.hasfocus=!0;i.c.hasFocus=i.c.hasfocus;i.m.wa.hasFocus="hasfocus";i.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){i.a.fc(n,t())}};gt("if");gt("ifnot",!1,!0);gt("with",!0);i.c.let={init:function(n,t,r,u,f){return t=f.extend(t),i.Oa(t,n),{controlsDescendantBindings:!0}}};i.h.ea.let=!0;ot={};i.c.options={init:function(n){if("select"!==i.a.R(n))throw Error("options binding applies only to SELECT elements");for(;0<n.length;)n.remove(0);return{controlsDescendantBindings:!0}},update:function(n,t,r){function l(){return i.a.jb(n.options,function(n){return n.selected})}function v(n,t,i){var r=typeof t;return"function"==r?t(n):"string"==r?n[t]:i}function y(t,r){if(o&&e)i.i.ma(n,i.i.H);else if(u.length){var f=0<=i.a.A(u,i.w.M(r[0]));i.a.Zc(r[0],f);o&&!f&&i.u.G(i.a.Fb,null,[n,"change"])}}var s=n.multiple,h=0!=n.length&&s?n.scrollTop:null,f=i.a.f(t()),e=r.get("valueAllowUnset")&&r.has("value"),p=r.get("optionsIncludeDestroyed"),c,u,o;t={};u=[];e||(s?u=i.a.Mb(l(),i.w.M):0<=n.selectedIndex&&u.push(i.w.M(n.options[n.selectedIndex])));f&&(void 0===f.length&&(f=[f]),c=i.a.jb(f,function(n){return p||n===a||null===n||!i.a.f(n._destroy)}),!r.has("optionsCaption")||null!==(f=i.a.f(r.get("optionsCaption")))&&f!==a&&c.unshift(ot));o=!1;t.beforeRemove=function(t){n.removeChild(t)};f=y;r.has("optionsAfterRender")&&"function"==typeof r.get("optionsAfterRender")&&(f=function(n,t){y(0,t);i.u.G(r.get("optionsAfterRender"),null,[t[0],n!==ot?n:a])});i.a.ec(n,c,function(t,f,s){return s.length&&(u=!e&&s[0].selected?[i.w.M(s[0])]:[],o=!0),f=n.ownerDocument.createElement("option"),t===ot?(i.a.Bb(f,r.get("optionsCaption")),i.w.cb(f,a)):(s=v(t,r.get("optionsValue"),t),i.w.cb(f,i.a.f(s)),t=v(t,r.get("optionsText"),s),i.a.Bb(f,t)),[f]},t,f);e||(s?u.length&&l().length<u.length:u.length&&0<=n.selectedIndex?i.w.M(n.options[n.selectedIndex])!==u[0]:u.length||0<=n.selectedIndex)&&i.u.G(i.a.Fb,null,[n,"change"]);(e||i.S.Ya())&&i.i.ma(n,i.i.H);i.a.wd(n);h&&20<Math.abs(h-n.scrollTop)&&(n.scrollTop=h)}};i.c.options.$b=i.a.g.Z();i.c.selectedOptions={init:function(n,t,r){function u(){var f=t(),u=[];i.a.D(n.getElementsByTagName("option"),function(n){n.selected&&u.push(i.w.M(n))});i.m.eb(f,r,"selectedOptions",u)}function e(){var r=i.a.f(t()),u=n.scrollTop;r&&"number"==typeof r.length&&i.a.D(n.getElementsByTagName("option"),function(n){var t=0<=i.a.A(r,i.w.M(n));n.selected!=t&&i.a.Zc(n,t)});n.scrollTop=u}if("select"!=i.a.R(n))throw Error("selectedOptions binding applies only to SELECT elements");var f;i.i.subscribe(n,i.i.H,function(){f?u():(i.a.B(n,"change",u),f=i.o(e,null,{l:n}))},null,{notifyImmediately:!0})},update:function(){}};i.m.wa.selectedOptions=!0;i.c.style={update:function(n,t){var r=i.a.f(t()||{});i.a.P(r,function(t,r){if(null!==(r=i.a.f(r))&&r!==a&&!1!==r||(r=""),e)e(n).css(t,r);else if(/^--/.test(t))n.style.setProperty(t,r);else{t=t.replace(/-(\w)/g,function(n,t){return t.toUpperCase()});var u=n.style[t];(n.style[t]=r)===u||n.style[t]!=u||isNaN(r)||(n.style[t]=r+"px")}})}};i.c.submit={init:function(n,t,r,u,f){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");i.a.B(n,"submit",function(i){var r,u=t();try{r=u.call(f.$data,n)}finally{!0!==r&&(i.preventDefault?i.preventDefault():i.returnValue=!1)}})}};i.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t){i.a.Bb(n,t())}};i.h.ea.text=!0,function(){var r,u,f,n,e,t;if(b&&b.navigator){function o(n){if(n)return parseFloat(n[1])}t=b.navigator.userAgent;(r=b.opera&&b.opera.version&&parseInt(b.opera.version()))||(e=o(t.match(/Edge\/([^ ]+)$/)))||o(t.match(/Chrome\/([^ ]+)/))||(u=o(t.match(/Version\/([^ ]+) Safari/)))||(f=o(t.match(/Firefox\/([^ ]+)/)))||(n=i.a.W||o(t.match(/MSIE ([^ ]+)/)))||(n=o(t.match(/rv:([^ )]+)/)))}if(8<=n&&n<10){function n(n){var t=this.activeElement;(t=t&&i.a.g.get(t,s))&&t(n)}var o=i.a.g.Z(),s=i.a.g.Z(),h=function(t,r){var u=t.ownerDocument;i.a.g.get(u,o)||(i.a.g.set(u,o,!0),i.a.B(u,"selectionchange",n));i.a.g.set(t,s,r)}}i.c.textInput={init:function(t,o,s){function c(n,r){i.a.B(t,n,r)}function v(){y||(p=t.value,y=i.a.setTimeout(l,4))}function l(){clearTimeout(y);p=y=a;var n=t.value;w!==n&&(w=n,i.m.eb(o(),s,"textInput",n))}var y,p,w=t.value,b=9==i.a.W?v:l,k=!1;n&&c("keypress",l);n<11&&c("propertychange",function(n){k||"value"!==n.propertyName||b(n)});8==n&&(c("keyup",l),c("keydown",l));h&&(h(t,b),c("dragend",v));(!n||9<=n)&&c("input",b);u<5&&"textarea"===i.a.R(t)?(c("keydown",v),c("paste",v),c("cut",v)):r<11?c("keydown",v):f<4?(c("DOMAutoComplete",l),c("dragdrop",l),c("drop",l)):e&&"number"===t.type&&c("keydown",v);c("change",l);c("blur",l);i.o(function c(){var n=i.a.f(o());null!==n&&n!==a||(n="");p!==a&&n===p?i.a.setTimeout(c,4):t.value!==n&&(k=!0,t.value=n,k=!1,w=t.value)},null,{l:t})}};i.m.wa.textInput=!0;i.c.textinput={preprocess:function(n,t,i){i("textInput",n)}}}();i.c.uniqueName={init:function(n,t){if(t()){var r="ko_unique_"+ ++i.c.uniqueName.rd;i.a.Yc(n,r)}}};i.c.uniqueName.rd=0;i.c.using={init:function(n,t,r,u,f){var e;return r.has("as")&&(e={as:r.get("as"),noChildContext:r.get("noChildContext")}),t=f.createChildContext(t,e),i.Oa(t,n),{controlsDescendantBindings:!0}}};i.h.ea.using=!0;i.c.value={init:function(n,t,r){var h=i.a.R(n),c="input"==h,u,l;if(c&&("checkbox"==n.type||"radio"==n.type))i.ib(n,{checkedValue:t});else{var f=[],e=r.get("valueUpdate"),o=!1,s=null;e&&(f="string"==typeof e?[e]:i.a.wc(e),i.a.Pa(f,"change"));function v(){s=null;o=!1;var u=t(),f=i.w.M(n);i.m.eb(u,r,"value",f)}(!i.a.W||!c||"text"!=n.type||"off"==n.autocomplete||n.form&&"off"==n.form.autocomplete||-1!=i.a.A(f,"propertychange")||(i.a.B(n,"propertychange",function(){o=!0}),i.a.B(n,"focus",function(){o=!1}),i.a.B(n,"blur",function(){o&&v()})),i.a.D(f,function(t){var r=v;i.a.Ud(t,"after")&&(r=function(){s=i.w.M(n);i.a.setTimeout(v,0)},t=t.substring(5));i.a.B(n,t,r)}),u=c&&"file"==n.type?function(){var r=i.a.f(t());null===r||r===a||""===r?n.value="":i.u.G(v)}:function(){var f=i.a.f(t()),e=i.w.M(n);null!==s&&f===s?i.a.setTimeout(u,0):f===e&&e!==a||("select"===h?(e=r.get("valueAllowUnset"),i.w.cb(n,f,e),e||f===i.w.M(n)||i.u.G(v)):i.w.cb(n,f))},"select"===h)?i.i.subscribe(n,i.i.H,function(){l?(r.get("valueAllowUnset")?u:v)():(i.a.B(n,"change",v),l=i.o(u,null,{l:n}))},null,{notifyImmediately:!0}):(i.a.B(n,"change",v),i.o(u,null,{l:n}))}},update:function(){}};i.m.wa.value=!0;i.c.visible={update:function(n,t){var r=i.a.f(t()),u="none"!=n.style.display;r&&!u?n.style.display="":!r&&u&&(n.style.display="none")}};i.c.hidden={update:function(n,t){i.c.visible.update(n,function(){return!i.a.f(t())})}};i.c.click={init:function(n,t,r,u,f){return i.c.event.init.call(this,n,function(){var n={};return n.click=t(),n},r,u,f)}};i.ca=function(){};i.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource");};i.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock");};i.ca.prototype.makeTemplateSource=function(n,t){if("string"==typeof n){var r=(t=t||c).getElementById(n);if(!r)throw Error("Cannot find template with ID "+n);return new i.C.F(r)}if(1==n.nodeType||8==n.nodeType)return new i.C.ia(n);throw Error("Unknown template type: "+n);};i.ca.prototype.renderTemplate=function(n,t,i,r){return n=this.makeTemplateSource(n,r),this.renderTemplateSource(n,t,i,r)};i.ca.prototype.isTemplateRewritten=function(n,t){return!1===this.allowTemplateRewriting||this.makeTemplateSource(n,t).data("isRewritten")};i.ca.prototype.rewriteTemplate=function(n,t,i){t=t((n=this.makeTemplateSource(n,i)).text());n.text(t);n.data("isRewritten",!0)};i.b("templateEngine",i.ca);i.kc=(rr=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,ur=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g,{xd:function(n,t,r){t.isTemplateRewritten(n,r)||t.rewriteTemplate(n,function(n){return i.kc.Ld(n,t)},r)},Ld:function(n,t){return n.replace(rr,function(n,i,r,u,f){return fr(f,i,r,t)}).replace(ur,function(n,i){return fr(i,"<!-- ko -->","#comment",t)})},md:function(n,t){return i.aa.Xb(function(r,u){var f=r.nextSibling;f&&f.nodeName.toLowerCase()===t&&i.ib(f,n,u)})}});i.b("__tr_ambtns",i.kc.md),function(){var t,n;i.C={};i.C.F=function(n){if(this.F=n){var t=i.a.R(n);this.ab="script"===t?1:"textarea"===t?2:"template"==t&&n.content&&11===n.content.nodeType?3:4}};i.C.F.prototype.text=function(){var n=1===this.ab?"text":2===this.ab?"value":"innerHTML",t;if(0==arguments.length)return this.F[n];t=arguments[0];"innerHTML"==n?i.a.fc(this.F,t):this.F[n]=t};t=i.a.g.Z()+"_";i.C.F.prototype.data=function(n){if(1===arguments.length)return i.a.g.get(this.F,t+n);i.a.g.set(this.F,t+n,arguments[1])};n=i.a.g.Z();i.C.F.prototype.nodes=function(){var t=this.F,r,u,f;if(0==arguments.length)return r=i.a.g.get(t,n)||{},u=r.lb||(3===this.ab?t.content:4===this.ab?t:a),(!u||r.jd)&&(f=this.text(),f&&f!==r.bb&&(u=i.a.Md(f,t.ownerDocument),i.a.g.set(t,n,{lb:u,bb:f,jd:!0}))),u;r=arguments[0];this.ab!==a&&this.text("");i.a.g.set(t,n,{lb:r})};i.C.ia=function(n){this.F=n};i.C.ia.prototype=new i.C.F;i.C.ia.prototype.constructor=i.C.ia;i.C.ia.prototype.text=function(){if(0==arguments.length){var t=i.a.g.get(this.F,n)||{};return t.bb===a&&t.lb&&(t.bb=t.lb.innerHTML),t.bb}i.a.g.set(this.F,n,{bb:arguments[0]})};i.b("templateSources",i.C);i.b("templateSources.domElement",i.C.F);i.b("templateSources.anonymousTemplate",i.C.ia)}(),function(){function n(n,t,r){var u;for(t=i.h.nextSibling(t);n&&(u=n)!==t;)r(u,n=i.h.nextSibling(u))}function e(t,r){if(t.length){var u=t[0],f=t[t.length-1],e=u.parentNode,o=i.ga.instance,s=o.preprocessNode;if(s){if(n(u,f,function(n,t){var r=n.previousSibling,i=s.call(o,n);i&&(n===u&&(u=i[0]||t),n===f&&(f=i[i.length-1]||r))}),t.length=0,!u)return;u===f?t.push(u):(t.push(u,f),i.a.Ua(t,e))}n(u,f,function(n){1!==n.nodeType&&8!==n.nodeType||i.vc(r,n)});n(u,f,function(n){1!==n.nodeType&&8!==n.nodeType||i.aa.cd(n,[r])});i.a.Ua(t,e)}}function t(n){return n.nodeType?n:0<n.length?n[0]:null}function o(n,u,f,o,s){s=s||{};var h=(n&&t(n)||f||{}).ownerDocument,c=s.templateEngine||r;if(i.kc.xd(f,c,h),"number"!=typeof(f=c.renderTemplate(f,o,s,h)).length||0<f.length&&"number"!=typeof f[0].nodeType)throw Error("Template engine must return an array of DOM nodes");switch(h=!1,u){case"replaceChildren":i.h.va(n,f);h=!0;break;case"replaceNode":i.a.Xc(n,f);h=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+u);}return h&&(e(f,o),s.afterRender&&i.u.G(s.afterRender,null,[f,o[s.as||"$data"]]),"replaceChildren"==u&&i.i.ma(n,i.i.H)),f}function s(n,t,r){return i.O(n)?n():"function"==typeof n?n(t,r):n}var r,u,f;i.gc=function(n){if(n!=a&&!(n instanceof i.ca))throw Error("templateEngine must inherit from ko.templateEngine");r=n};i.dc=function(n,u,f,e,h){if(((f=f||{}).templateEngine||r)==a)throw Error("Set a template engine before calling renderTemplate");if(h=h||"replaceChildren",e){var c=t(e);return i.$(function(){var r=u&&u instanceof i.fa?u:new i.fa(u,null,null,null,{exportDependencies:!0}),l=s(n,r.$data,r);r=o(e,h,l,r,f);"replaceNode"==h&&(c=t(e=r))},null,{Sa:function(){return!c||!i.a.Sb(c)},l:c&&"replaceNode"==h?c.parentNode:c})}return i.aa.Xb(function(t){i.dc(n,u,f,t,"replaceNode")})};i.Qd=function(n,t,r,u,f){function c(n,t){i.u.G(i.a.ec,null,[u,n,w,r,p,t]);i.i.ma(u,i.i.H)}function p(n,t){e(t,h);r.afterRender&&r.afterRender(t,n);h=null}function w(t,i){h=f.createChildContext(t,{as:l,noChildContext:r.noChildContext,extend:function(n){n.$index=i;l&&(n[l+"Index"]=i)}});var e=s(n,t,h);return o(u,"ignoreTargetNode",e,h,r)}var h,l=r.as,y=!1===r.includeDestroyed||i.options.foreachHidesDestroyed&&!r.includeDestroyed,v;return y||r.beforeRemove||!i.Pc(t)?i.$(function(){var n=i.a.f(t)||[];void 0===n.length&&(n=[n]);y&&(n=i.a.jb(n,function(n){return n===a||null===n||!i.a.f(n._destroy)}));c(n)},null,{l:u}):(c(t.v()),v=t.subscribe(function(n){c(t(),n)},null,"arrayChange"),v.l(u),v)};u=i.a.g.Z();f=i.a.g.Z();i.c.template={init:function(n,t){var r=i.a.f(t()),u;if("string"==typeof r||"name"in r)i.h.Ea(n);else if("nodes"in r){if(r=r.nodes||[],i.O(r))throw Error('The "nodes" option must be a plain, non-observable array.');u=r[0]&&r[0].parentNode;u&&i.a.g.get(u,f)||(u=i.a.Yb(r),i.a.g.set(u,f,!0));new i.C.ia(n).nodes(u)}else{if(!(0<(r=i.h.childNodes(n)).length))throw Error("Anonymous template defined, but no template content was provided");u=i.a.Yb(r);new i.C.ia(n).nodes(u)}return{controlsDescendantBindings:!0}},update:function(n,t,r,f,e){var o=t();r=!0;f=null;"string"==typeof(t=i.a.f(o))?t={}:(o="name"in t?t.name:n,"if"in t&&(r=i.a.f(t.if)),r&&"ifnot"in t&&(r=!i.a.f(t.ifnot)),r&&!o&&(r=!1));"foreach"in t?f=i.Qd(o,r&&t.foreach||[],t,n,e):r?(r=e,"data"in t&&(r=e.createChildContext(t.data,{as:t.as,noChildContext:t.noChildContext,exportDependencies:!0})),f=i.dc(o,r,t,n)):i.h.Ea(n);e=f;(t=i.a.g.get(n,u))&&"function"==typeof t.s&&t.s();i.a.g.set(n,u,!e||e.ja&&!e.ja()?a:e)}};i.m.Ra.template=function(n){return 1==(n=i.m.ac(n)).length&&n[0].unknown||i.m.Id(n,"name")?null:"This template engine does not support anonymous templates nested within its templates"};i.h.ea.template=!0}();i.b("setTemplateEngine",i.gc);i.b("renderTemplate",i.dc);i.a.Kc=function(n,t,i){var u,o,r,f,e;if(n.length&&t.length)for(u=o=0;(!i||u<i)&&(f=n[o]);++o){for(r=0;e=t[r];++r)if(f.value===e.value){f.moved=e.index;e.moved=f.index;t.splice(r,1);u=r=0;break}u+=r}};i.a.Pb=function(n,t,i){return i="boolean"==typeof i?{dontLimitMoves:i}:i||{},(n=n||[]).length<(t=t||[]).length?er(n,t,"added","deleted",i):er(t,n,"deleted","added",i)};i.b("utils.compareArrays",i.a.Pb);ni=i.a.g.Z();ti=i.a.g.Z();i.a.ec=function(n,t,r,u,f,e){function ft(n){o={Aa:n,pb:i.ta(y++)};c.push(o);et||ot.push(o)}function w(t){o=v[t];y!==o.pb.v()&&rt.push(o);o.pb(y++);i.a.Ua(o.Y,n);c.push(o)}function b(n,t){if(n)for(var r=0,u=t.length;r<u;r++)i.a.D(t[r].Y,function(i){n(i,r,t[r].Aa)})}var s,p,nt,ut;void 0===(t=t||[]).length&&(t=[t]);u=u||{};var o,l,k,d,v=i.a.g.get(n,ni),et=!v,c=[],h=0,y=0,tt=[],it=[],g=[],rt=[],ot=[],st=0;if(et)i.a.D(t,ft);else{for((!e||v&&v._countWaitingForRemove)&&(s=i.a.Mb(v,function(n){return n.Aa}),e=i.a.Pb(s,t,{dontLimitMoves:u.dontLimitMoves,sparse:!0})),s=0;p=e[s];s++)switch(nt=p.moved,ut=p.index,p.status){case"deleted":for(;h<ut;)w(h++);nt===a&&((o=v[h]).$&&(o.$.s(),o.$=a),i.a.Ua(o.Y,n).length&&(u.beforeRemove&&(c.push(o),st++,o.Aa===ti?o=null:g.push(o)),o&&tt.push.apply(tt,o.Y)));h++;break;case"added":for(;y<ut;)w(h++);nt!==a?(it.push(c.length),w(nt)):ft(p.value)}for(;y<t.length;)w(h++);c._countWaitingForRemove=st}i.a.g.set(n,ni,c);b(u.beforeMove,rt);i.a.D(tt,u.beforeRemove?i.oa:i.removeNode);try{d=n.ownerDocument.activeElement}catch(t){}if(it.length)for(;(s=it.shift())!=a;){for(o=c[s],l=a;s;)if((k=c[--s].Y)&&k.length){l=k[k.length-1];break}for(t=0;h=o.Y[t];l=h,t++)i.h.Wb(n,h,l)}for(s=0;o=c[s];s++){for(o.Y||i.a.extend(o,pr(n,r,o.Aa,f,o.pb)),t=0;h=o.Y[t];l=h,t++)i.h.Wb(n,h,l);!o.Ed&&f&&(f(o.Aa,o.Y,o.pb),o.Ed=!0,l=o.Y[o.Y.length-1])}for(d&&n.ownerDocument.activeElement!=d&&d.focus(),b(u.beforeRemove,g),s=0;s<g.length;++s)g[s].Aa=ti;b(u.afterMove,rt);b(u.afterAdd,ot)};i.b("utils.setDomNodeChildrenFromArrayMapping",i.a.ec);i.ba=function(){this.allowTemplateRewriting=!1};i.ba.prototype=new i.ca;i.ba.prototype.constructor=i.ba;i.ba.prototype.renderTemplateSource=function(n,t,r,u){return(t=i.a.W<9||!n.nodes?null:n.nodes())?i.a.la(t.cloneNode(!0).childNodes):(n=n.text(),i.a.ua(n,u))};i.ba.Ma=new i.ba;i.gc(i.ba.Ma);i.b("nativeTemplateEngine",i.ba),function(){i.$a=function(){var n=this.Hd=function(){if(!e||!e.tmpl)return 0;try{if(0<=e.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(e){}return 1}();this.renderTemplateSource=function(t,i,r,u){if(u=u||c,r=r||{},n<2)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var f=t.data("precompiled");return f||(f=t.text()||"",f=e.template(null,"{{ko_with $item.koBindingContext}}"+f+"{{/ko_with}}"),t.data("precompiled",f)),t=[i.$data],i=e.extend({koBindingContext:i},r.templateOptions),(i=e.tmpl(f,t,i)).appendTo(u.createElement("div")),e.fragments={},i};this.createJavaScriptEvaluatorBlock=function(n){return"{{ko_code ((function() { return "+n+" })()) }}"};this.addTemplate=function(n,t){c.write("<script type='text/html' id='"+n+"'>"+t+"<\/script>")};0<n&&(e.tmpl.tag.ko_code={open:"__.push($1 || '');"},e.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};i.$a.prototype=new i.ca;i.$a.prototype.constructor=i.$a;var n=new i.$a;0<n.Hd&&i.gc(n);i.b("jqueryTmplTemplateEngine",i.$a)}()};"function"==typeof define&&define.amd?define(["exports","require"],g):"object"==typeof exports&&"object"==typeof module?g(module.exports||exports):g(b.ko={})}(),function(n){typeof require=="function"&&typeof exports=="object"&&typeof module=="object"?n(require("knockout"),exports):typeof define=="function"&&define.amd?define(["knockout","exports"],n):n(ko,ko.mapping={})}(function(n,t){function rt(n,t){for(var u,f,r={},i=n.length-1;i>=0;--i)r[n[i]]=n[i];for(i=t.length-1;i>=0;--i)r[t[i]]=t[i];u=[];for(f in r)u.push(r[f]);return u}function y(n,i){var u,r,f;for(r in i)i.hasOwnProperty(r)&&i[r]&&(u=t.getType(n[r]),r&&n[r]&&u!=="array"&&u!=="string"?y(n[r],i[r]):(f=t.getType(n[r])==="array"&&t.getType(i[r])==="array",n[r]=f?rt(n[r],i[r]):i[r]))}function c(n,t){var i={};return y(i,n),y(i,t),i}function p(n,t){for(var f,i=c({},n),e=w.length-1;e>=0;e--)(f=w[e],i[f])&&(i[""]instanceof Object||(i[""]={}),i[""][f]=i[f],delete i[f]);return t&&(i.ignore=u(t.ignore,i.ignore),i.include=u(t.include,i.include),i.copy=u(t.copy,i.copy),i.observe=u(t.observe,i.observe)),i.ignore=u(i.ignore,r.ignore),i.include=u(i.include,r.include),i.copy=u(i.copy,r.copy),i.observe=u(i.observe,r.observe),i.mappedProperties=i.mappedProperties||{},i.copiedProperties=i.copiedProperties||{},i}function u(i,r){return t.getType(i)!=="array"&&(i=t.getType(i)==="undefined"?[]:[i]),t.getType(r)!=="array"&&(r=t.getType(r)==="undefined"?[]:[r]),n.utils.arrayGetDistinctValues(i.concat(r))}function ut(t,i){var u=n.dependentObservable,r;return n.dependentObservable=function(i,r,u){var f;u=u||{};i&&typeof i=="object"&&(u=i);var s=u.deferEvaluation,o=!1,h=function(i){var f=n.dependentObservable,u,r;return n.dependentObservable=e,u=n.isWriteableObservable(i),n.dependentObservable=f,r=e({read:function(){return o||(n.utils.arrayRemoveItem(t,i),o=!0),i.apply(i,arguments)},write:u&&function(n){return i(n)},deferEvaluation:!0}),it&&(r._wrapper=!0),r.__DO=i,r};return u.deferEvaluation=!0,f=new e(i,r,u),s||(f=h(f),t.push(f)),f},n.dependentObservable.fn=e.fn,n.computed=n.dependentObservable,r=i(),n.dependentObservable=u,n.computed=n.dependentObservable,r}function l(r,u,e,h,v,y,p){var si=t.getType(n.utils.unwrapObservable(u))==="array",ti,ot,ri,lt,ei,wt,yt,gt,d,it,ni,st,ht;y=y||"";t.isMapped(r)&&(ti=n.utils.unwrapObservable(r)[i],e=c(ti,e));var et={data:u,parent:p||v},ct=function(){return e[h]&&e[h].create instanceof Function},pt=function(t){return ut(o,function(){return n.utils.unwrapObservable(v)instanceof Array?e[h].create({data:t||et.data,parent:et.parent,skip:b}):e[h].create({data:t||et.data,parent:et.parent})})},rt=function(){return e[h]&&e[h].update instanceof Function},ft=function(t,i){var r={data:i||et.data,parent:et.parent,target:n.utils.unwrapObservable(t)};return n.isWriteableObservable(t)&&(r.observable=t),e[h].update(r)},ii=s.get(u);if(ii)return ii;if(h=h||"",si){var ui=[],fi=!1,w=function(n){return n};e[h]&&e[h].key&&(w=e[h].key,fi=!0);n.isObservable(r)||(r=n.observableArray([]),r.mappedRemove=function(n){var t=typeof n=="function"?n:function(t){return t===w(n)};return r.remove(function(n){return t(w(n))})},r.mappedRemoveAll=function(t){var i=f(t,w);return r.remove(function(t){return n.utils.arrayIndexOf(i,w(t))!=-1})},r.mappedDestroy=function(n){var t=typeof n=="function"?n:function(t){return t===w(n)};return r.destroy(function(n){return t(w(n))})},r.mappedDestroyAll=function(t){var i=f(t,w);return r.destroy(function(t){return n.utils.arrayIndexOf(i,w(t))!=-1})},r.mappedIndexOf=function(t){var i=f(r(),w),u=w(t);return n.utils.arrayIndexOf(i,u)},r.mappedGet=function(n){return r()[r.mappedIndexOf(n)]},r.mappedCreate=function(t){var i,u;if(r.mappedIndexOf(t)!==-1)throw new Error("There already is an object with the key that you specified.");return i=ct()?pt(t):t,rt()&&(u=ft(i,t),n.isWriteableObservable(i)?i(u):i=u),r.push(i),i});ei=f(n.utils.unwrapObservable(r),w).sort();wt=f(u,w);fi&&wt.sort();for(var oi=n.utils.compareArrays(ei,wt),at={},bt=n.utils.unwrapObservable(u),kt={},dt=!0,tt=0,vt=bt.length;tt<vt;tt++){if(d=w(bt[tt]),d===undefined||d instanceof Object){dt=!1;break}kt[d]=bt[tt]}for(yt=[],gt=0,tt=0,vt=oi.length;tt<vt;tt++){d=oi[tt];ni=y+"["+tt+"]";switch(d.status){case"added":st=dt?kt[d.value]:a(n.utils.unwrapObservable(u),d.value,w);it=l(undefined,st,e,h,r,ni,v);ct()||(it=n.utils.unwrapObservable(it));ht=k(n.utils.unwrapObservable(u),st,at);it===b?gt++:yt[ht-gt]=it;at[ht]=!0;break;case"retained":st=dt?kt[d.value]:a(n.utils.unwrapObservable(u),d.value,w);it=a(r,d.value,w);l(it,st,e,h,r,ni,v);ht=k(n.utils.unwrapObservable(u),st,at);yt[ht]=it;at[ht]=!0;break;case"deleted":it=a(r,d.value,w)}ui.push({event:d.status,item:it})}r(yt);e[h]&&e[h].arrayChanged&&n.utils.arrayForEach(ui,function(n){e[h].arrayChanged(n.event,n.item)})}else if(nt(u)){if(r=n.utils.unwrapObservable(r),!r){if(ct())return lt=pt(),rt()&&(lt=ft(lt)),lt;if(rt())return ft(lt);r={}}if(rt()&&(r=ft(r)),s.save(u,r),rt())return r;g(u,function(t){var f=y.length?y+"."+t:t;if(n.utils.arrayIndexOf(e.ignore,f)==-1){if(n.utils.arrayIndexOf(e.copy,f)!=-1){r[t]=u[t];return}if(typeof u[t]!="object"&&typeof u[t]!="array"&&e.observe.length>0&&n.utils.arrayIndexOf(e.observe,f)==-1){r[t]=u[t];e.copiedProperties[f]=!0;return}var o=s.get(u[t]),h=l(r[t],u[t],e,t,r,f,r),i=o||h;if(e.observe.length>0&&n.utils.arrayIndexOf(e.observe,f)==-1){r[t]=i();e.copiedProperties[f]=!0;return}n.isWriteableObservable(r[t])?(i=n.utils.unwrapObservable(i),r[t]()!==i&&r[t](i)):(i=r[t]===undefined?i:n.utils.unwrapObservable(i),r[t]=i);e.mappedProperties[f]=!0}})}else switch(t.getType(u)){case"function":rt()?n.isWriteableObservable(u)?(u(ft(u)),r=u):r=ft(u):r=u;break;default:if(n.isWriteableObservable(r))return rt()?(ot=ft(r),r(ot),ot):(ot=n.utils.unwrapObservable(u),r(ot),ot);if(ri=ct()||rt(),r=ct()?pt():n.observable(n.utils.unwrapObservable(u)),rt()&&r(ft(r)),ri)return r}return r}function k(n,t,i){for(var r=0,u=n.length;r<u;r++)if(i[r]!==!0&&n[r]===t)return r;return null}function d(i,r){var u;return r&&(u=r(i)),t.getType(u)==="undefined"&&(u=i),n.utils.unwrapObservable(u)}function a(t,i,r){var u,e,f;for(t=n.utils.unwrapObservable(t),u=0,e=t.length;u<e;u++)if(f=t[u],d(f,r)===i)return f;throw new Error("When calling ko.update*, the key '"+i+"' was not found!");}function f(t,i){return n.utils.arrayMap(n.utils.unwrapObservable(t),function(n){return i?d(n,i):n})}function g(n,i){var r,u;if(t.getType(n)==="array")for(r=0;r<n.length;r++)i(r);else for(u in n)i(u)}function nt(n){var i=t.getType(n);return(i==="object"||i==="array")&&n!==null}function ft(n,i,r){var u=n||"";return t.getType(i)==="array"?n&&(u+="["+r+"]"):(n&&(u+="."),u+=r),u}function et(){var t=[],i=[];this.save=function(r,u){var f=n.utils.arrayIndexOf(t,r);f>=0?i[f]=u:(t.push(r),i.push(u))};this.get=function(r){var u=n.utils.arrayIndexOf(t,r);return u>=0?i[u]:undefined}}function tt(){var n={},t=function(t){var r,i;try{r=t}catch(u){r="$$$"}return i=n[r],i===undefined&&(i=new et,n[r]=i),i};this.save=function(n,i){t(n).save(n,i)};this.get=function(n){return t(n).get(n)}}var it=!0,i="__ko_mapping__",e=n.dependentObservable,v=0,o,s,w=["create","update","key","arrayChanged"],b={},h={include:["_destroy"],ignore:[],copy:[],observe:[]},r=h;t.isMapped=function(t){var r=n.utils.unwrapObservable(t);return r&&r[i]};t.fromJS=function(n){var t,r,u,f;if(arguments.length==0)throw new Error("When calling ko.fromJS, pass the object you want to convert.");try{if(v++||(o=[],s=new tt),arguments.length==2&&(arguments[1][i]?r=arguments[1]:t=arguments[1]),arguments.length==3&&(t=arguments[1],r=arguments[2]),r&&(t=c(t,r[i])),t=p(t),u=l(r,n,t),r&&(u=r),!--v)while(o.length)f=o.pop(),f&&(f(),f.__DO.throttleEvaluation=f.throttleEvaluation);return u[i]=c(u[i],t),u}catch(e){v=0;throw e;}};t.fromJSON=function(i){var r=n.utils.parseJson(i);return arguments[0]=r,t.fromJS.apply(this,arguments)};t.updateFromJS=function(){throw new Error("ko.mapping.updateFromJS, use ko.mapping.fromJS instead. Please note that the order of parameters is different!");};t.updateFromJSON=function(){throw new Error("ko.mapping.updateFromJSON, use ko.mapping.fromJSON instead. Please note that the order of parameters is different!");};t.toJS=function(u,f){if(r||t.resetDefaultOptions(),arguments.length==0)throw new Error("When calling ko.mapping.toJS, pass the object you want to convert.");if(t.getType(r.ignore)!=="array")throw new Error("ko.mapping.defaultOptions().ignore should be an array.");if(t.getType(r.include)!=="array")throw new Error("ko.mapping.defaultOptions().include should be an array.");if(t.getType(r.copy)!=="array")throw new Error("ko.mapping.defaultOptions().copy should be an array.");return f=p(f,u[i]),t.visitModel(u,function(t){return n.utils.unwrapObservable(t)},f)};t.toJSON=function(i,r){var u=t.toJS(i,r);return n.utils.stringifyJson(u)};t.defaultOptions=function(){if(arguments.length>0)r=arguments[0];else return r};t.resetDefaultOptions=function(){r={include:h.include.slice(0),ignore:h.ignore.slice(0),copy:h.copy.slice(0)}};t.getType=function(n){if(n&&typeof n=="object"){if(n.constructor===Date)return"date";if(n.constructor===Array)return"array"}return typeof n};t.visitModel=function(r,u,f){var o,e,s;if(f=f||{},f.visitedObjects=f.visitedObjects||new tt,e=n.utils.unwrapObservable(r),nt(e))f=p(f,e[i]),u(r,f.parentName),o=t.getType(e)==="array"?[]:{};else return u(r,f.parentName);return f.visitedObjects.save(r,o),s=f.parentName,g(e,function(r){var h,c;if((!f.ignore||n.utils.arrayIndexOf(f.ignore,r)==-1)&&(h=e[r],f.parentName=ft(s,e,r),n.utils.arrayIndexOf(f.copy,r)!==-1||n.utils.arrayIndexOf(f.include,r)!==-1||!e[i]||!e[i].mappedProperties||e[i].mappedProperties[r]||!e[i].copiedProperties||e[i].copiedProperties[r]||t.getType(e)==="array"))switch(t.getType(n.utils.unwrapObservable(h))){case"object":case"array":case"undefined":c=f.visitedObjects.get(h);o[r]=t.getType(c)!=="undefined"?c:t.visitModel(h,u,f);break;default:o[r]=u(h,f.parentName)}}),o}});!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";var t=window.Slick||{};(t=function(){var t=0;return function(i,r){var f,u=this;u.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:n(i),appendDots:n(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous<\/button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next<\/button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return n('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3};u.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1};n.extend(u,u.initials);u.activeBreakpoint=null;u.animType=null;u.animProp=null;u.breakpoints=[];u.breakpointSettings=[];u.cssTransitions=!1;u.focussed=!1;u.interrupted=!1;u.hidden="hidden";u.paused=!0;u.positionProp=null;u.respondTo=null;u.rowCount=1;u.shouldClick=!0;u.$slider=n(i);u.$slidesCache=null;u.transformType=null;u.transitionType=null;u.visibilityChange="visibilitychange";u.windowWidth=0;u.windowTimer=null;f=n(i).data("slick")||{};u.options=n.extend({},u.defaults,r,f);u.currentSlide=u.options.initialSlide;u.originalSettings=u.options;void 0!==document.mozHidden?(u.hidden="mozHidden",u.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(u.hidden="webkitHidden",u.visibilityChange="webkitvisibilitychange");u.autoPlay=n.proxy(u.autoPlay,u);u.autoPlayClear=n.proxy(u.autoPlayClear,u);u.autoPlayIterator=n.proxy(u.autoPlayIterator,u);u.changeSlide=n.proxy(u.changeSlide,u);u.clickHandler=n.proxy(u.clickHandler,u);u.selectHandler=n.proxy(u.selectHandler,u);u.setPosition=n.proxy(u.setPosition,u);u.swipeHandler=n.proxy(u.swipeHandler,u);u.dragHandler=n.proxy(u.dragHandler,u);u.keyHandler=n.proxy(u.keyHandler,u);u.instanceUid=t++;u.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;u.registerBreakpoints();u.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};t.prototype.addSlide=t.prototype.slickAdd=function(t,i,r){var u=this;if("boolean"==typeof i)r=i,i=null;else if(i<0||i>=u.slideCount)return!1;u.unload();"number"==typeof i?0===i&&0===u.$slides.length?n(t).appendTo(u.$slideTrack):r?n(t).insertBefore(u.$slides.eq(i)):n(t).insertAfter(u.$slides.eq(i)):!0===r?n(t).prependTo(u.$slideTrack):n(t).appendTo(u.$slideTrack);u.$slides=u.$slideTrack.children(this.options.slide);u.$slideTrack.children(this.options.slide).detach();u.$slideTrack.append(u.$slides);u.$slides.each(function(t,i){n(i).attr("data-slick-index",t)});u.$slidesCache=u.$slides;u.reinit()};t.prototype.animateHeight=function(){var n=this,t;1===n.options.slidesToShow&&!0===n.options.adaptiveHeight&&!1===n.options.vertical&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.animate({height:t},n.options.speed))};t.prototype.animateSlide=function(t,i){var u={},r=this;r.animateHeight();!0===r.options.rtl&&!1===r.options.vertical&&(t=-t);!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),n({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(n){n=Math.ceil(n);!1===r.options.vertical?(u[r.animType]="translate("+n+"px, 0px)",r.$slideTrack.css(u)):(u[r.animType]="translate(0px,"+n+"px)",r.$slideTrack.css(u))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),u[r.animType]=!1===r.options.vertical?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(u),i&&setTimeout(function(){r.disableTransition();i.call()},r.options.speed))};t.prototype.getNavTarget=function(){var i=this,t=i.options.asNavFor;return t&&null!==t&&(t=n(t).not(i.$slider)),t};t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=n(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})};t.prototype.applyTransition=function(n){var t=this,i={};i[t.transitionType]=!1===t.options.fade?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase;!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.autoPlay=function(){var n=this;n.autoPlayClear();n.slideCount>n.options.slidesToShow&&(n.autoPlayTimer=setInterval(n.autoPlayIterator,n.options.autoplaySpeed))};t.prototype.autoPlayClear=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer)};t.prototype.autoPlayIterator=function(){var n=this,t=n.currentSlide+n.options.slidesToScroll;n.paused||n.interrupted||n.focussed||(!1===n.options.infinite&&(1===n.direction&&n.currentSlide+1===n.slideCount-1?n.direction=0:0===n.direction&&(t=n.currentSlide-n.options.slidesToScroll,n.currentSlide-1==0&&(n.direction=1))),n.slideHandler(t))};t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=n(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=n(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))};t.prototype.buildDots=function(){var i,r,t=this;if(!0===t.options.dots){for(t.$slider.addClass("slick-dotted"),r=n("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)r.append(n("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=r.appendTo(t.options.appendDots);t.$dots.find("li").first().addClass("slick-active")}};t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide");t.slideCount=t.$slides.length;t.$slides.each(function(t,i){n(i).attr("data-slick-index",t).data("originalStyling",n(i).attr("style")||"")});t.$slider.addClass("slick-slider");t.$slideTrack=0===t.slideCount?n('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent();t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent();t.$slideTrack.css("opacity",0);!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1);n("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading");t.setupInfinite();t.buildArrows();t.buildDots();t.updateDots();t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);!0===t.options.draggable&&t.$list.addClass("draggable")};t.prototype.buildRows=function(){var t,i,r,f,c,u,e,n=this,o,s,h;if(f=document.createDocumentFragment(),u=n.$slider.children(),n.options.rows>1){for(e=n.options.slidesPerRow*n.options.rows,c=Math.ceil(u.length/e),t=0;t<c;t++){for(o=document.createElement("div"),i=0;i<n.options.rows;i++){for(s=document.createElement("div"),r=0;r<n.options.slidesPerRow;r++)h=t*e+(i*n.options.slidesPerRow+r),u.get(h)&&s.appendChild(u.get(h));o.appendChild(s)}f.appendChild(o)}n.$slider.empty().append(f);n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}};t.prototype.checkResponsive=function(t,i){var f,u,e,r=this,o=!1,s=r.$slider.width(),h=window.innerWidth||n(window).width();if("window"===r.respondTo?e=h:"slider"===r.respondTo?e=s:"min"===r.respondTo&&(e=Math.min(h,s)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){u=null;for(f in r.breakpoints)r.breakpoints.hasOwnProperty(f)&&(!1===r.originalSettings.mobileFirst?e<r.breakpoints[f]&&(u=r.breakpoints[f]):e>r.breakpoints[f]&&(u=r.breakpoints[f]));null!==u?null!==r.activeBreakpoint?(u!==r.activeBreakpoint||i)&&(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=u);t||!1===o||r.$slider.trigger("breakpoint",[r,o])}};t.prototype.changeSlide=function(t,i){var f,e,o,r=this,u=n(t.currentTarget),s;switch(u.is("a")&&t.preventDefault(),u.is("li")||(u=u.closest("li")),o=r.slideCount%r.options.slidesToScroll!=0,f=o?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":e=0===f?r.options.slidesToScroll:r.options.slidesToShow-f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-e,!1,i);break;case"next":e=0===f?r.options.slidesToScroll:f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+e,!1,i);break;case"index":s=0===t.data.index?0:t.data.index||u.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,i);u.children().trigger("focus");break;default:return}};t.prototype.checkNavigable=function(n){var t,i,r;if(t=this.getNavigableIndexes(),i=0,n>t[t.length-1])n=t[t.length-1];else for(r in t){if(n<t[r]){n=i;break}i=t[r]}return n};t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(n("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",n.proxy(t.interrupt,t,!0)).off("mouseleave.slick",n.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler));t.$slider.off("focus.slick blur.slick");!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler)));t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler);t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler);t.$list.off("touchend.slick mouseup.slick",t.swipeHandler);t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler);t.$list.off("click.slick",t.clickHandler);n(document).off(t.visibilityChange,t.visibility);t.cleanUpSlideEvents();!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().off("click.slick",t.selectHandler);n(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange);n(window).off("resize.slick.slick-"+t.instanceUid,t.resize);n("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault);n(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",n.proxy(t.interrupt,t,!0));t.$list.off("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.cleanUpRows=function(){var t,n=this;n.options.rows>1&&((t=n.$slides.children().children()).removeAttr("style"),n.$slider.empty().append(t))};t.prototype.clickHandler=function(n){!1===this.shouldClick&&(n.stopImmediatePropagation(),n.stopPropagation(),n.preventDefault())};t.prototype.destroy=function(t){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();n(".slick-cloned",i.$slider).detach();i.$dots&&i.$dots.remove();i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove());i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove());i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){n(this).attr("style",n(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides));i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.$slider.removeClass("slick-dotted");i.unslicked=!0;t||i.$slider.trigger("destroy",[i])};t.prototype.disableTransition=function(n){var t=this,i={};i[t.transitionType]="";!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.fadeSlide=function(n,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(n).css({zIndex:i.options.zIndex}),i.$slides.eq(n).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(n),i.$slides.eq(n).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(n);t.call()},i.options.speed))};t.prototype.fadeSlideOut=function(n){var t=this;!1===t.cssTransitions?t.$slides.eq(n).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(n),t.$slides.eq(n).css({opacity:0,zIndex:t.options.zIndex-2}))};t.prototype.filterSlides=t.prototype.slickFilter=function(n){var t=this;null!==n&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(n).appendTo(t.$slideTrack),t.reinit())};t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var r=n(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=r.is(":focus"),t.autoPlay())},0)})};t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide};t.prototype.getDotCount=function(){var n=this,i=0,r=0,t=0;if(!0===n.options.infinite)if(n.slideCount<=n.options.slidesToShow)++t;else for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(!0===n.options.centerMode)t=n.slideCount;else if(n.options.asNavFor)for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else t=1+Math.ceil((n.slideCount-n.options.slidesToShow)/n.options.slidesToScroll);return t-1};t.prototype.getLeft=function(n){var f,r,i,e,t=this,u=0;return t.slideOffset=0,r=t.$slides.first().outerHeight(!0),!0===t.options.infinite?(t.slideCount>t.options.slidesToShow&&(t.slideOffset=t.slideWidth*t.options.slidesToShow*-1,e=-1,!0===t.options.vertical&&!0===t.options.centerMode&&(2===t.options.slidesToShow?e=-1.5:1===t.options.slidesToShow&&(e=-2)),u=r*t.options.slidesToShow*e),t.slideCount%t.options.slidesToScroll!=0&&n+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow&&(n>t.slideCount?(t.slideOffset=(t.options.slidesToShow-(n-t.slideCount))*t.slideWidth*-1,u=(t.options.slidesToShow-(n-t.slideCount))*r*-1):(t.slideOffset=t.slideCount%t.options.slidesToScroll*t.slideWidth*-1,u=t.slideCount%t.options.slidesToScroll*r*-1))):n+t.options.slidesToShow>t.slideCount&&(t.slideOffset=(n+t.options.slidesToShow-t.slideCount)*t.slideWidth,u=(n+t.options.slidesToShow-t.slideCount)*r),t.slideCount<=t.options.slidesToShow&&(t.slideOffset=0,u=0),!0===t.options.centerMode&&t.slideCount<=t.options.slidesToShow?t.slideOffset=t.slideWidth*Math.floor(t.options.slidesToShow)/2-t.slideWidth*t.slideCount/2:!0===t.options.centerMode&&!0===t.options.infinite?t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth:!0===t.options.centerMode&&(t.slideOffset=0,t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)),f=!1===t.options.vertical?n*t.slideWidth*-1+t.slideOffset:n*r*-1+u,!0===t.options.variableWidth&&(i=t.slideCount<=t.options.slidesToShow||!1===t.options.infinite?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow),f=!0===t.options.rtl?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===t.options.centerMode&&(i=t.slideCount<=t.options.slidesToShow||!1===t.options.infinite?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow+1),f=!0===t.options.rtl?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,f+=(t.$list.width()-i.outerWidth())/2)),f};t.prototype.getOption=t.prototype.slickGetOption=function(n){return this.options[n]};t.prototype.getNavigableIndexes=function(){var i,n=this,t=0,r=0,u=[];for(!1===n.options.infinite?i=n.slideCount:(t=-1*n.options.slidesToScroll,r=-1*n.options.slidesToScroll,i=2*n.slideCount);t<i;)u.push(t),t=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return u};t.prototype.getSlick=function(){return this};t.prototype.getSlideCount=function(){var i,r,t=this;return r=!0===t.options.centerMode?t.slideWidth*Math.floor(t.options.slidesToShow/2):0,!0===t.options.swipeToSlide?(t.$slideTrack.find(".slick-slide").each(function(u,f){if(f.offsetLeft-r+n(f).outerWidth()/2>-1*t.swipeLeft)return i=f,!1}),Math.abs(n(i).attr("data-slick-index")-t.currentSlide)||1):t.options.slidesToScroll};t.prototype.goTo=t.prototype.slickGoTo=function(n,t){this.changeSlide({data:{message:"index",index:parseInt(n)}},t)};t.prototype.init=function(t){var i=this;n(i.$slider).hasClass("slick-initialized")||(n(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler());t&&i.$slider.trigger("init",[i]);!0===i.options.accessibility&&i.initADA();i.options.autoplay&&(i.paused=!1,i.autoPlay())};t.prototype.initADA=function(){var t=this,f=Math.ceil(t.slideCount/t.options.slidesToShow),r=t.getNavigableIndexes().filter(function(n){return n>=0&&n<t.slideCount}),i,u;for(t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){var u=r.indexOf(i);n(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1});-1!==u&&n(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+u})}),t.$dots.attr("role","tablist").find("li").each(function(i){var u=r[i];n(this).attr({role:"presentation"});n(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+i,"aria-controls":"slick-slide"+t.instanceUid+u,"aria-label":i+1+" of "+f,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end()),i=t.currentSlide,u=i+t.options.slidesToShow;i<u;i++)t.$slides.eq(i).attr("tabindex",0);t.activateADA()};t.prototype.initArrowEvents=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},n.changeSlide),n.$nextArrow.off("click.slick").on("click.slick",{message:"next"},n.changeSlide),!0===n.options.accessibility&&(n.$prevArrow.on("keydown.slick",n.keyHandler),n.$nextArrow.on("keydown.slick",n.keyHandler)))};t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(n("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler));!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&n("li",t.$dots).on("mouseenter.slick",n.proxy(t.interrupt,t,!0)).on("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",n.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",n.proxy(t.interrupt,t,!1)))};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.initSlideEvents();t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler);t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler);t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler);t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler);t.$list.on("click.slick",t.clickHandler);n(document).on(t.visibilityChange,n.proxy(t.visibility,t));!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);n(window).on("orientationchange.slick.slick-"+t.instanceUid,n.proxy(t.orientationChange,t));n(window).on("resize.slick.slick-"+t.instanceUid,n.proxy(t.resize,t));n("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault);n(window).on("load.slick.slick-"+t.instanceUid,t.setPosition);n(t.setPosition)};t.prototype.initUI=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show());!0===n.options.dots&&n.slideCount>n.options.slidesToShow&&n.$dots.show()};t.prototype.keyHandler=function(n){var t=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===n.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===n.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))};t.prototype.lazyLoad=function(){function f(i){n("img[data-lazy]",i).each(function(){var i=n(this),r=n(this).attr("data-lazy"),f=n(this).attr("data-srcset"),e=n(this).attr("data-sizes")||t.$slider.attr("data-sizes"),u=document.createElement("img");u.onload=function(){i.animate({opacity:0},100,function(){f&&(i.attr("srcset",f),e&&i.attr("sizes",e));i.attr("src",r).animate({opacity:1},200,function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")});t.$slider.trigger("lazyLoaded",[t,i,r])})};u.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");t.$slider.trigger("lazyLoadError",[t,i,r])};u.src=r})}var u,i,r,t=this;if(!0===t.options.centerMode?!0===t.options.infinite?r=(i=t.currentSlide+(t.options.slidesToShow/2+1))+t.options.slidesToShow+2:(i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1)),r=t.options.slidesToShow/2+1+2+t.currentSlide):(i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,r=Math.ceil(i+t.options.slidesToShow),!0===t.options.fade&&(i>0&&i--,r<=t.slideCount&&r++)),u=t.$slider.find(".slick-slide").slice(i,r),"anticipated"===t.options.lazyLoad)for(var e=i-1,o=r,s=t.$slider.find(".slick-slide"),h=0;h<t.options.slidesToScroll;h++)e<0&&(e=t.slideCount-1),u=(u=u.add(s.eq(e))).add(s.eq(o)),e--,o++;f(u);t.slideCount<=t.options.slidesToShow?f(t.$slider.find(".slick-slide")):t.currentSlide>=t.slideCount-t.options.slidesToShow?f(t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow)):0===t.currentSlide&&f(t.$slider.find(".slick-cloned").slice(-1*t.options.slidesToShow))};t.prototype.loadSlider=function(){var n=this;n.setPosition();n.$slideTrack.css({opacity:1});n.$slider.removeClass("slick-loading");n.initUI();"progressive"===n.options.lazyLoad&&n.progressiveLazyLoad()};t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})};t.prototype.orientationChange=function(){var n=this;n.checkResponsive();n.setPosition()};t.prototype.pause=t.prototype.slickPause=function(){var n=this;n.autoPlayClear();n.paused=!0};t.prototype.play=t.prototype.slickPlay=function(){var n=this;n.autoPlay();n.options.autoplay=!0;n.paused=!1;n.focussed=!1;n.interrupted=!1};t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&n(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))};t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})};t.prototype.preventDefault=function(n){n.preventDefault()};t.prototype.progressiveLazyLoad=function(t){t=t||1;var r,u,f,e,o,i=this,s=n("img[data-lazy]",i.$slider);s.length?(r=s.first(),u=r.attr("data-lazy"),f=r.attr("data-srcset"),e=r.attr("data-sizes")||i.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){f&&(r.attr("srcset",f),e&&r.attr("sizes",e));r.attr("src",u).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");!0===i.options.adaptiveHeight&&i.setPosition();i.$slider.trigger("lazyLoaded",[i,r,u]);i.progressiveLazyLoad()},o.onerror=function(){t<3?setTimeout(function(){i.progressiveLazyLoad(t+1)},500):(r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,r,u]),i.progressiveLazyLoad())},o.src=u):i.$slider.trigger("allImagesLoaded",[i])};t.prototype.refresh=function(t){var r,u,i=this;u=i.slideCount-i.options.slidesToShow;!i.options.infinite&&i.currentSlide>u&&(i.currentSlide=u);i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0);r=i.currentSlide;i.destroy(!0);n.extend(i,i.initials,{currentSlide:r});i.init();t||i.changeSlide({data:{message:"index",index:r}},!1)};t.prototype.registerBreakpoints=function(){var u,f,i,t=this,r=t.options.responsive||null;if("array"===n.type(r)&&r.length){t.respondTo=t.options.respondTo||"window";for(u in r)if(i=t.breakpoints.length-1,r.hasOwnProperty(u)){for(f=r[u].breakpoint;i>=0;)t.breakpoints[i]&&t.breakpoints[i]===f&&t.breakpoints.splice(i,1),i--;t.breakpoints.push(f);t.breakpointSettings[f]=r[u].settings}t.breakpoints.sort(function(n,i){return t.options.mobileFirst?n-i:i-n})}};t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide");t.slideCount=t.$slides.length;t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll);t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0);t.registerBreakpoints();t.setProps();t.setupInfinite();t.buildArrows();t.updateArrows();t.initArrowEvents();t.buildDots();t.updateDots();t.initDotEvents();t.cleanUpSlideEvents();t.initSlideEvents();t.checkResponsive(!1,!0);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);t.setPosition();t.focusHandler();t.paused=!t.options.autoplay;t.autoPlay();t.$slider.trigger("reInit",[t])};t.prototype.resize=function(){var t=this;n(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=n(window).width();t.checkResponsive();t.unslicked||t.setPosition()},50))};t.prototype.removeSlide=t.prototype.slickRemove=function(n,t,i){var r=this;if(n="boolean"==typeof n?!0===(t=n)?0:r.slideCount-1:!0===t?--n:n,r.slideCount<1||n<0||n>r.slideCount-1)return!1;r.unload();!0===i?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(n).remove();r.$slides=r.$slideTrack.children(this.options.slide);r.$slideTrack.children(this.options.slide).detach();r.$slideTrack.append(r.$slides);r.$slidesCache=r.$slides;r.reinit()};t.prototype.setCSS=function(n){var r,u,t=this,i={};!0===t.options.rtl&&(n=-n);r="left"==t.positionProp?Math.ceil(n)+"px":"0px";u="top"==t.positionProp?Math.ceil(n)+"px":"0px";i[t.positionProp]=n;!1===t.transformsEnabled?t.$slideTrack.css(i):(i={},!1===t.cssTransitions?(i[t.animType]="translate("+r+", "+u+")",t.$slideTrack.css(i)):(i[t.animType]="translate3d("+r+", "+u+", 0px)",t.$slideTrack.css(i)))};t.prototype.setDimensions=function(){var n=this,t;!1===n.options.vertical?!0===n.options.centerMode&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),!0===n.options.centerMode&&n.$list.css({padding:n.options.centerPadding+" 0px"}));n.listWidth=n.$list.width();n.listHeight=n.$list.height();!1===n.options.vertical&&!1===n.options.variableWidth?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):!0===n.options.variableWidth?n.$slideTrack.width(5e3*n.slideCount):(n.slideWidth=Math.ceil(n.listWidth),n.$slideTrack.height(Math.ceil(n.$slides.first().outerHeight(!0)*n.$slideTrack.children(".slick-slide").length)));t=n.$slides.first().outerWidth(!0)-n.$slides.first().width();!1===n.options.variableWidth&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-t)};t.prototype.setFade=function(){var i,t=this;t.$slides.each(function(r,u){i=t.slideWidth*r*-1;!0===t.options.rtl?n(u).css({position:"relative",right:i,top:0,zIndex:t.options.zIndex-2,opacity:0}):n(u).css({position:"relative",left:i,top:0,zIndex:t.options.zIndex-2,opacity:0})});t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})};t.prototype.setHeight=function(){var n=this,t;1===n.options.slidesToShow&&!0===n.options.adaptiveHeight&&!1===n.options.vertical&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.css("height",t))};t.prototype.setOption=t.prototype.slickSetOption=function(){var u,f,e,i,r,t=this,o=!1;if("object"===n.type(arguments[0])?(e=arguments[0],o=arguments[1],r="multiple"):"string"===n.type(arguments[0])&&(e=arguments[0],i=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===n.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)t.options[e]=i;else if("multiple"===r)n.each(e,function(n,i){t.options[n]=i});else if("responsive"===r)for(f in i)if("array"!==n.type(t.options.responsive))t.options.responsive=[i[f]];else{for(u=t.options.responsive.length-1;u>=0;)t.options.responsive[u].breakpoint===i[f].breakpoint&&t.options.responsive.splice(u,1),u--;t.options.responsive.push(i[f])}o&&(t.unload(),t.reinit())};t.prototype.setPosition=function(){var n=this;n.setDimensions();n.setHeight();!1===n.options.fade?n.setCSS(n.getLeft(n.currentSlide)):n.setFade();n.$slider.trigger("setPosition",[n])};t.prototype.setProps=function(){var n=this,t=document.body.style;n.positionProp=!0===n.options.vertical?"top":"left";"top"===n.positionProp?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical");void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===n.options.useCSS&&(n.cssTransitions=!0);n.options.fade&&("number"==typeof n.options.zIndex?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex);void 0!==t.OTransform&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.MozTransform&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(n.animType=!1));void 0!==t.webkitTransform&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.msTransform&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",void 0===t.msTransform&&(n.animType=!1));void 0!==t.transform&&!1!==n.animType&&(n.animType="transform",n.transformType="transform",n.transitionType="transition");n.transformsEnabled=n.options.useTransform&&null!==n.animType&&!1!==n.animType};t.prototype.setSlideClasses=function(n){var u,i,r,f,t=this,e;(i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),t.$slides.eq(n).addClass("slick-current"),!0===t.options.centerMode)?(e=t.options.slidesToShow%2==0?1:0,u=Math.floor(t.options.slidesToShow/2),!0===t.options.infinite&&(n>=u&&n<=t.slideCount-1-u?t.$slides.slice(n-u+e,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(r=t.options.slidesToShow+n,i.slice(r-u+1+e,r+u+2).addClass("slick-active").attr("aria-hidden","false")),0===n?i.eq(i.length-1-t.options.slidesToShow).addClass("slick-center"):n===t.slideCount-1&&i.eq(t.options.slidesToShow).addClass("slick-center")),t.$slides.eq(n).addClass("slick-center")):n>=0&&n<=t.slideCount-t.options.slidesToShow?t.$slides.slice(n,n+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=t.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(f=t.slideCount%t.options.slidesToShow,r=!0===t.options.infinite?t.options.slidesToShow+n:n,t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-n<t.options.slidesToShow?i.slice(r-(t.options.slidesToShow-f),r+f).addClass("slick-active").attr("aria-hidden","false"):i.slice(r,r+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==t.options.lazyLoad&&"anticipated"!==t.options.lazyLoad||t.lazyLoad()};t.prototype.setupInfinite=function(){var i,r,u,t=this;if(!0===t.options.fade&&(t.options.centerMode=!1),!0===t.options.infinite&&!1===t.options.fade&&(r=null,t.slideCount>t.options.slidesToShow)){for(u=!0===t.options.centerMode?t.options.slidesToShow+1:t.options.slidesToShow,i=t.slideCount;i>t.slideCount-u;i-=1)r=i-1,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r-t.slideCount).prependTo(t.$slideTrack).addClass("slick-cloned");for(i=0;i<u+t.slideCount;i+=1)r=i,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r+t.slideCount).appendTo(t.$slideTrack).addClass("slick-cloned");t.$slideTrack.find(".slick-cloned").find("[id]").each(function(){n(this).attr("id","")})}};t.prototype.interrupt=function(n){var t=this;n||t.autoPlay();t.interrupted=n};t.prototype.selectHandler=function(t){var i=this,u=n(t.target).is(".slick-slide")?n(t.target):n(t.target).parents(".slick-slide"),r=parseInt(u.attr("data-slick-index"));r||(r=0);i.slideCount<=i.options.slidesToShow?i.slideHandler(r,!1,!0):i.slideHandler(r)};t.prototype.slideHandler=function(n,t,i){var u,f,s,e,o,h=null,r=this;if(t=t||!1,!(!0===r.animating&&!0===r.options.waitForAnimate||!0===r.options.fade&&r.currentSlide===n))if(!1===t&&r.asNavFor(n),u=n,h=r.getLeft(u),e=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?e:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(n<0||n>r.getDotCount()*r.options.slidesToScroll))!1===r.options.fade&&(u=r.currentSlide,!0!==i?r.animateSlide(e,function(){r.postSlide(u)}):r.postSlide(u));else if(!1===r.options.infinite&&!0===r.options.centerMode&&(n<0||n>r.slideCount-r.options.slidesToScroll))!1===r.options.fade&&(u=r.currentSlide,!0!==i?r.animateSlide(e,function(){r.postSlide(u)}):r.postSlide(u));else{if(r.options.autoplay&&clearInterval(r.autoPlayTimer),f=u<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+u:u>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:u-r.slideCount:u,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,f]),s=r.currentSlide,r.currentSlide=f,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(o=(o=r.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),!0===r.options.fade)return!0!==i?(r.fadeSlideOut(s),r.fadeSlide(f,function(){r.postSlide(f)})):r.postSlide(f),void r.animateHeight();!0!==i?r.animateSlide(h,function(){r.postSlide(f)}):r.postSlide(f)}};t.prototype.startLoad=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide());!0===n.options.dots&&n.slideCount>n.options.slidesToShow&&n.$dots.hide();n.$slider.addClass("slick-loading")};t.prototype.swipeDirection=function(){var i,r,u,n,t=this;return i=t.touchObject.startX-t.touchObject.curX,r=t.touchObject.startY-t.touchObject.curY,u=Math.atan2(r,i),(n=Math.round(180*u/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===t.options.rtl?"left":"right":n<=360&&n>=315?!1===t.options.rtl?"left":"right":n>=135&&n<=225?!1===t.options.rtl?"right":"left":!0===t.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"};t.prototype.swipeEnd=function(){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount();n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount();n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})};t.prototype.swipeHandler=function(n){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==n.type.indexOf("mouse")))switch(t.touchObject.fingerCount=n.originalEvent&&void 0!==n.originalEvent.touches?n.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),n.data.action){case"start":t.swipeStart(n);break;case"move":t.swipeMove(n);break;case"end":t.swipeEnd(n)}};t.prototype.swipeMove=function(n){var f,e,r,u,i,o,t=this;return i=void 0!==n.originalEvent?n.originalEvent.touches:null,!(!t.dragging||t.scrolling||i&&1!==i.length)&&(f=t.getLeft(t.currentSlide),t.touchObject.curX=void 0!==i?i[0].pageX:n.clientX,t.touchObject.curY=void 0!==i?i[0].pageY:n.clientY,t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2))),!t.options.verticalSwiping&&!t.swiping&&o>4?(t.scrolling=!0,!1):(!0===t.options.verticalSwiping&&(t.touchObject.swipeLength=o),e=t.swipeDirection(),void 0!==n.originalEvent&&t.touchObject.swipeLength>4&&(t.swiping=!0,n.preventDefault()),u=(!1===t.options.rtl?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1),!0===t.options.verticalSwiping&&(u=t.touchObject.curY>t.touchObject.startY?1:-1),r=t.touchObject.swipeLength,t.touchObject.edgeHit=!1,!1===t.options.infinite&&(0===t.currentSlide&&"right"===e||t.currentSlide>=t.getDotCount()&&"left"===e)&&(r=t.touchObject.swipeLength*t.options.edgeFriction,t.touchObject.edgeHit=!0),t.swipeLeft=!1===t.options.vertical?f+r*u:f+r*(t.$list.height()/t.listWidth)*u,!0===t.options.verticalSwiping&&(t.swipeLeft=f+r*u),!0!==t.options.fade&&!1!==t.options.touchMove&&(!0===t.animating?(t.swipeLeft=null,!1):void t.setCSS(t.swipeLeft))))};t.prototype.swipeStart=function(n){var i,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==n.originalEvent&&void 0!==n.originalEvent.touches&&(i=n.originalEvent.touches[0]);t.touchObject.startX=t.touchObject.curX=void 0!==i?i.pageX:n.clientX;t.touchObject.startY=t.touchObject.curY=void 0!==i?i.pageY:n.clientY;t.dragging=!0};t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var n=this;null!==n.$slidesCache&&(n.unload(),n.$slideTrack.children(this.options.slide).detach(),n.$slidesCache.appendTo(n.$slideTrack),n.reinit())};t.prototype.unload=function(){var t=this;n(".slick-cloned",t.$slider).remove();t.$dots&&t.$dots.remove();t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove();t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove();t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};t.prototype.unslick=function(n){var t=this;t.$slider.trigger("unslick",[t,n]);t.destroy()};t.prototype.updateArrows=function(){var n=this;Math.floor(n.options.slidesToShow/2);!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&!n.options.infinite&&(n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===n.currentSlide?(n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-n.options.slidesToShow&&!1===n.options.centerMode?(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-1&&!0===n.options.centerMode&&(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))};t.prototype.updateDots=function(){var n=this;null!==n.$dots&&(n.$dots.find("li").removeClass("slick-active").end(),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active"))};t.prototype.visibility=function(){var n=this;n.options.autoplay&&(n.interrupted=document[n.hidden]?!0:!1)};n.fn.slick=function(){for(var u,i=this,r=arguments[0],f=Array.prototype.slice.call(arguments,1),e=i.length,n=0;n<e;n++)if("object"==typeof r||void 0===r?i[n].slick=new t(i[n],r):u=i[n].slick[r].apply(i[n].slick,f),void 0!==u)return u;return i}});!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 i=this._events&&this._events[n],u,f,r,e;if(i&&i.length){for(i=i.slice(0),t=t||[],u=this._onceEvents&&this._onceEvents[n],f=0;f<i.length;f++)r=i[f],e=u&&u[r],e&&(this.off(n,r),delete u[r]),r.apply(this,t);return this}},n.allOff=function(){delete this._events;delete this._onceEvents},t}),function(n,t){"function"==typeof define&&define.amd?define("get-size/get-size",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,t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;f>n;n++)r=i[n],t[r]=0;return t}function r(n){var t=getComputedStyle(n);return t||c("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function h(){var i,f,o;e||(e=!0,i=document.createElement("div"),i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box",f=document.body||document.documentElement,f.appendChild(i),o=r(i),t=200==Math.round(n(o.width)),u.isBoxSizeOuter=t,f.removeChild(i))}function u(u){var o,e,a,c,l;if(h(),"string"==typeof u&&(u=document.querySelector(u)),u&&"object"==typeof u&&u.nodeType){if(o=r(u),"none"==o.display)return s();for(e={},e.width=u.offsetWidth,e.height=u.offsetHeight,a=e.isBorderBox="border-box"==o.boxSizing,c=0;f>c;c++){var v=i[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&&t,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 t,c="undefined"==typeof console?o:function(n){console.error(n)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],f=i.length,e=!1;return u}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():n.matchesSelector=t()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype,i,n,u,r;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(i=["webkit","moz","ms","o"],n=0;n<i.length;n++)if(u=i[n],r=u+"MatchesSelector",t[r])return r}();return function(t,i){return t[n](i)}}),function(n,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return t(n,i)}):"object"==typeof module&&module.exports?module.exports=t(n,require("desandro-matches-selector")):n.fizzyUIUtils=t(n,n.matchesSelector)}(window,function(n,t){var i={},u,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},u=Array.prototype.slice,i.makeArray=function(n){if(Array.isArray(n))return n;if(null===n||void 0===n)return[];var t="object"==typeof n&&"number"==typeof n.length;return t?u.call(n):[n]},i.removeFrom=function(n,t){var i=n.indexOf(t);-1!=i&&n.splice(i,1)},i.getParent=function(n,i){for(;n.parentNode&&n!=document.body;)if(n=n.parentNode,t(n,i))return n},i.getQueryElement=function(n){return"string"==typeof n?document.querySelector(n):n},i.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},i.filterFindElements=function(n,r){n=i.makeArray(n);var u=[];return n.forEach(function(n){if(n instanceof HTMLElement){if(!r)return void u.push(n);t(n,r)&&u.push(n);for(var f=n.querySelectorAll(r),i=0;i<f.length;i++)u.push(f[i])}}),u},i.debounceMethod=function(n,t,i){i=i||100;var u=n.prototype[t],r=t+"Timeout";n.prototype[t]=function(){var f=this[r],t,n;clearTimeout(f);t=arguments;n=this;this[r]=setTimeout(function(){u.apply(n,t);delete n[r]},i)}},i.docReady=function(n){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(n):document.addEventListener("DOMContentLoaded",n)},i.toDashed=function(n){return n.replace(/(.)([A-Z])/g,function(n,t,i){return t+"-"+i}).toLowerCase()},r=n.console,i.htmlInit=function(t,u){i.docReady(function(){var e=i.toDashed(u),f="data-"+e,s=document.querySelectorAll("["+f+"]"),h=document.querySelectorAll(".js-"+e),c=i.makeArray(s).concat(i.makeArray(h)),l=f+"-options",o=n.jQuery;c.forEach(function(n){var i,e=n.getAttribute(f)||n.getAttribute(l),s;try{i=e&&JSON.parse(e)}catch(h){return void(r&&r.error("Error parsing "+f+" on "+n.className+": "+h))}s=new t(n,i);o&&o.data(n,u,s)})})},i}),function(n,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(n.Outlayer={},n.Outlayer.Item=t(n.EvEmitter,n.getSize))}(window,function(n,t){"use strict";function l(n){for(var t in n)return!1;return t=null,!0}function u(n,t){n&&(this.element=n,this.layout=t,this.position={x:0,y:0},this._create())}function a(n){return n.replace(/([A-Z])/g,function(n){return"-"+n.toLowerCase()})}var f=document.documentElement.style,r="string"==typeof f.transition?"transition":"WebkitTransition",e="string"==typeof f.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],v={transform:e,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},i=u.prototype=Object.create(n.prototype),s,h,c;return i.constructor=u,i._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}};this.css({position:"absolute"})},i.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},i.getSize=function(){this.size=t(this.element)},i.css=function(n){var r=this.element.style,t,i;for(t in n)i=v[t]||t,r[i]=n[t]},i.getPosition=function(){var r=getComputedStyle(this.element),u=this.layout._getOption("originLeft"),f=this.layout._getOption("originTop"),e=r[u?"left":"right"],o=r[f?"top":"bottom"],n=parseFloat(e),t=parseFloat(o),i=this.layout.size;-1!=e.indexOf("%")&&(n=n/100*i.width);-1!=o.indexOf("%")&&(t=t/100*i.height);n=isNaN(n)?0:n;t=isNaN(t)?0:t;n-=u?i.paddingLeft:i.paddingRight;t-=f?i.paddingTop:i.paddingBottom;this.position.x=n;this.position.y=t},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=n==this.position.x&&t==this.position.y;if(this.setPosition(n,t),f&&!this.isTransitioning)return void this.layoutPosition();var e=n-r,o=t-u,i={};i.transform=this.getTranslate(e,o);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=parseFloat(n);this.position.y=parseFloat(t)},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 r=n.create("masonry"),i;return r.compatOptions.fitWidth="isFitWidth",i=r.prototype,i._resetLayout=function(){this.getSize();this._getMeasurement("columnWidth","outerWidth");this._getMeasurement("gutter","outerWidth");this.measureColumns();this.colYs=[];for(var n=0;n<this.cols;n++)this.colYs.push(0);this.maxY=0;this.horizontalColIndex=0},i.measureColumns=function(){var n,i;(this.getContainerWidth(),this.columnWidth)||(n=this.items[0],i=n&&n.element,this.columnWidth=i&&t(i).outerWidth||this.containerWidth);var r=this.columnWidth+=this.gutter,f=this.containerWidth+this.gutter,u=f/r,e=r-f%r,o=e&&1>e?"round":"floor";u=Math[o](u);this.cols=Math.max(u,1)},i.getContainerWidth=function(){var i=this._getOption("fitWidth"),r=i?this.element.parentNode:this.element,n=t(r);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(n){n.getSize();var u=n.size.outerWidth%this.columnWidth,f=u&&1>u?"round":"ceil",i=Math[f](n.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var e=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",t=this[e](i,n),o={x:this.columnWidth*t.col,y:t.y},s=t.y+n.size.outerHeight,h=i+t.col,r=t.col;h>r;r++)this.colYs[r]=s;return o},i._getTopColPosition=function(n){var t=this._getTopColGroup(n),i=Math.min.apply(Math,t);return{col:t.indexOf(i),y:i}},i._getTopColGroup=function(n){if(2>n)return this.colYs;for(var i=[],r=this.cols+1-n,t=0;r>t;t++)i[t]=this._getColGroupY(t,n);return i},i._getColGroupY=function(n,t){if(2>t)return this.colYs[n];var i=this.colYs.slice(n,n+t);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(n,t){var i=this.horizontalColIndex%this.cols,u=n>1&&i+n>this.cols,r;return i=u?0:i,r=t.size.outerWidth&&t.size.outerHeight,this.horizontalColIndex=r?i+n:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,n)}},i._manageStamp=function(n){var e=t(n),r=this._getElementOffset(n),h=this._getOption("originLeft"),o=h?r.left:r.right,s=o+e.outerWidth,f=Math.floor(o/this.columnWidth),i;f=Math.max(0,f);i=Math.floor(s/this.columnWidth);i-=s%this.columnWidth?0:1;i=Math.min(this.cols-1,i);for(var c=this._getOption("originTop"),l=(c?r.top:r.bottom)+e.outerHeight,u=f;i>=u;u++)this.colYs[u]=Math.max(l,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var n={height:this.maxY};return this._getOption("fitWidth")&&(n.width=this._getContainerFitWidth()),n},i._getContainerFitWidth=function(){for(var n=0,t=this.cols;--t&&0===this.colYs[t];)n++;return(this.cols-n)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var n=this.containerWidth;return this.getContainerWidth(),n!=this.containerWidth},r});windowWidth=$(window).width();IE={};isIE()&&isIE()==10&&(IE.Version=10);isIE()&&isIE()==9&&(IE.Version=9);isIE()&&isIE()==8&&(IE.Version=8);IE.Version<=9&&$('input[type="text"]').each(function(){var n=$(this),t=n.attr("placeholder");n.val(t);n.focus(function(){n.val()==t&&n.val("")}).focusout(function(){n.val()==""&&n.val(t)})});typeof String.prototype.trim!="function"&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});typeof window.history.pushState!="function"&&(window.history.pushState=function(){});typeof window.history.replaceState!="function"&&(window.history.replaceState=function(){});$.fn.equalHeight=function(n,t){var r,f;if(this.css("height","auto"),r={},r.OffsetTops=[],r.ModuleHeights=[],r.Parents=[],r.Modules=[],r.ModuleHeightArray=[],this.each(function(){var n=$(this);r.OffsetTops.push(n.offset().top);r.ModuleHeights.push(n.innerHeight());r.Parents.push(n.parent());r.Modules.push(n);r.ModuleHeightArray.push([n,n.innerHeight(),n.offset().top,n.parent()])}),n)for(i=0;i<r.OffsetTops.length;i++){var e=r.Modules[i].offset().top,o=r.Parents[i],u=[];for(x=0;x<r.Modules.length;x++)e==r.Modules[x].offset().top&&o[0]===r.Parents[x][0]&&u.push(r.Modules[x].innerHeight());u.sort(function(n,t){return t-n});$(this[i]).innerHeight(u[0])}else for(i=0;i<r.ModuleHeightArray.length;i++){for(f=[],x=0;x<r.Modules.length;x++)r.ModuleHeightArray[x][2]==r.ModuleHeightArray[i][2]&&f.push(r.ModuleHeightArray[x][1]);r.ModuleHeightArray[i][0].innerHeight(f.sort(function(n,t){return t-n})[0])}return typeof t=="function"&&t.call(this),this};$.fn.phoneNumber=function(){this.addEventListener("onkeydown",function(n){var t=n.which?n.which:event.keyCode;return t!=46&&t>31&&(t<48||t>57)?!1:(ele.val().length==3&&addHyphen(ele),ele.val().length==7&&addHyphen(ele),ele.val().length>11?!1:void 0)})};$.fn.checkboxDropDown=function(n,t){return this.each(function(){var r=$(this),h=n.multiSelect,u=n.singleSelectOptions,c=n.selectedOptions,s=n.showCheckboxes,l=n.collapseOnSelect,t,a,o;if(l==undefined&&(l=!1),u==undefined&&(u=[]),h==undefined&&(h=!1),!h)for(i=0;i<r.children().length;i++)u.push(i);if(s==undefined&&(s=!1),c==undefined&&(c=[0]),r.is("select")){r.css("display","none");t='<div class="checkbox-dropdown">';t+="<ul>";a=0;r.children().each(function(){var n=$(this).val(),i=$(this).text();c.indexOf(a)>-1?(t+='<li><span class="selected">',t+=s?'<input type="checkbox" checked="checked" value="'+n+'"/>':'<input type="checkbox" style="display:none;" checked="checked" value="'+n+'"/>',t+=" <label>"+i+"<\/label><\/span><\/li>"):(t+="<li><span>",t+=s?'<input type="checkbox" value="'+n+'"/>':'<input type="checkbox" style="display:none;" value="'+n+'"/>',t+=" <label>"+i+"<\/label><\/span><\/li>");a++});t+="<\/ul>";t+='<span class="checkbox-dropdown-selected-filters"><\/span>';t+="<\/div>";r.after(t);var v=r.next(),f=v.children("span"),e=v.children("ul").find("span");f.click(function(){var n=$(this).siblings("ul");n.hasClass("open")?n.removeClass("open").slideUp(100):n.addClass("open").slideDown(100)});o=[];e.each(function(){var n=$(this),t;n.hasClass("selected")&&(t=n.children("label").text(),o.push(t))});f.text(o.join(", "));e.click(function(){var n,i,t;o=[];n=$(this);i=n.parent().index();u.indexOf(i)<0?(n.hasClass("selected")?(n.removeClass("selected"),n.children("input").prop("checked",!1)):(n.addClass("selected"),n.children("input").prop("checked",!0)),u!=undefined&&e.each(function(){var n=$(this);u.indexOf(n.parent().index())>-1&&n.removeClass("selected").children("input").prop("checked",!1)})):(e.removeClass("selected").children("input").prop("checked",!1),n.addClass("selected").children("input").prop("checked",!0));e.each(function(){var n=$(this),t;n.hasClass("selected")&&(t=n.children("label").text(),o.push(t))});f.text(o.join(", "));f.text()==""&&e.eq(0).click();l&&(t=f.siblings("ul"),t.hasClass("open")&&t.removeClass("open").slideUp(200))});v.click(function(n){n.stopPropagation()});$(document).click(function(){var n=f.siblings("ul");n.hasClass("open")&&n.removeClass("open").slideUp(200)})}}),typeof n=="function"&&n.call(this),typeof t=="function"&&t.call(this),this};$(document).ready(function(){initializeDefaults();initializeGallery();initializeSiteMap();initializeLeftNav();initializeTextResizer();initializeSortDropdown();fixRequiredFields()});$(window).on("load",function(){initializeHeader();resizeGallery();initializeEqualHeightElements()});$(window).resize(function(){windowWidth=$(window).width();initializeHeader();resizeGallery();initializeEqualHeightElements()});$(window).on("orientationchange",function(){setTimeout(function(){initializeEqualHeightElements()},1e3)});var ViewModels={Results:ko.observableArray([]),Faqs:ko.observableArray([])},numberOfResultsToShow=10,numberOfFaqResultsToShow=5,showSearchTimer=!1,keywords=decodeURI(getQueryString("keywords"));typeof ko!="undefined"&&(ko.applyBindings(ViewModels),initiallizeSiteSearch());$(".NewsletterSubmit").click(function(n){n.preventDefault();submitNewsletterSignup($(this).siblings('[type="text"]').val())}),function(){function n(n,t){n.classList.add(t)}function t(n,t){n.classList.remove(t)}function u(r){if(r.stopPropagation(),r.currentTarget.parentElement.classList.contains("active"))t(r.currentTarget.parentElement,"active"),n(r.currentTarget.parentElement.querySelector(".accordion__content"),"hidden");else{for(let r=0;r<i.length;r++)t(i[r].parentElement,"active"),n(i[r],"hidden");n(r.currentTarget.parentElement,"active");t(r.currentTarget.parentElement.querySelector(".accordion__content"),"hidden")}}const r=document.querySelectorAll(".accordion__item"),i=document.querySelectorAll(".accordion__content");for(let n=0;n<r.length;n++){const t=r[n].firstElementChild;t.addEventListener("click",u)}}()