function gaSendEvent(n,t,i){ga("send",{hitType:"event",eventCategory:n,eventAction:t,eventLabel:i})}function gaSendEventAction(n,t){var i=document.title+" ~ "+window.location.href;gaSendEvent(n,t,i)}function detectIE(){var n=window.navigator.userAgent,i=n.indexOf("MSIE "),t,r;return i>0?"10":(t=n.indexOf("Trident/"),t>0)?(r=n.indexOf("rv:"),"11"):!1}function iPadFixesForOfficeView(){$("html").addClass("ipad");$(".ipad-strip-remove").hasClass("services-box")?$(".ipad-strip-remove").removeClass("services-box"):$(".ipad-strip-remove").hasClass("strip-line")&&$(".ipad-strip-remove").removeClass("strip-line");$(".services-box-item").matchHeight();$(".auto-height-policy-item").matchHeight();$(".padding-right-3").addClass("padding-0-iPad");$(".unitAddress").css("width","75%")}function initDevicesSpecificClass(){var n,t;detectIE()&&($("html").addClass("ie"),detectIE()==="11"?$("html").addClass("ie11"):detectIE()==="10"&&$("html").addClass("ie10"));n=/iphone/i.test(navigator.userAgent.toLowerCase());n&&$("html").addClass("iphone");t=/ipad/i.test(navigator.userAgent.toLowerCase());t&&iPadFixesForOfficeView()}function setCollapseBtns(){$(".more").click(function(){$(this).next("span").show().css("display","block");$(this).hide()});$(".less").click(function(){$(this).hide();$(this).prev(".more").show().css("display","block")});$("#accordion, #p_accordion").on("hidden.bs.collapse",toggleIconClass);$("#accordion, #p_accordion").on("shown.bs.collapse",toggleIconClass);$("#collapsSwitch+-Icons").on("hidden.bs.collapse",toggleIconClass);$("#collapsSwitch+-Icons").on("shown.bs.collapse",toggleIconClass);$("#roleholderscollaps").on("hidden.bs.collapse",function(){$("#roleholderscollaps i.icon-minus").toggleClass("icon-plus icon-minus");$("#lessRoleHolders").addClass("d-none");$("#moreRoleHolders").removeClass("d-none")});$("#roleholderscollaps").on("shown.bs.collapse",function(){$("#roleholderscollaps i.icon-plus").toggleClass("icon-plus icon-minus");$("#lessRoleHolders").removeClass("d-none");$("#moreRoleHolders").addClass("d-none")});$("#accordion-files").on("hidden.bs.collapse",function(){$("#accordion-files i.icon-minus").toggleClass("icon-plus icon-minus")});$("#accordion-files").on("shown.bs.collapse",function(){$("#accordion-files i.icon-plus").toggleClass("icon-plus icon-minus")});$("#accordion-links").on("hidden.bs.collapse",function(){$("#accordion-links i.icon-minus").toggleClass("icon-plus icon-minus")});$("#accordion-links").on("shown.bs.collapse",function(){$("#accordion-links i.icon-plus").toggleClass("icon-plus icon-minus")});$("#more-reletedcities").click(function(){$("#extraRelatedCities").css("display","none");$("#more-reletedcities").css("display","none");$("#close-more-RelatedCities").css("display","inline-block")});$("#close-more-RelatedCities").click(function(){$("#close-more-RelatedCities").css("display","none");$("#extraRelatedCities").css("display","inline-block");$("#more-reletedcities").css("display","inline-block")});$("#more-bureauscategory").click(function(){$("#extraBureausCategory").css("display","none");$("#more-bureauscategory").css("display","none");$("#close-more-bureaus-category").css("display","inline-block")});$("#close-more-bureaus-category").click(function(){$("#close-more-bureaus-category").css("display","none");$("#extraBureausCategory").css("display","inline-block");$("#more-bureauscategory").css("display","inline-block")});$(".btnOpenall").on("click",function(){$(this).closest(".faq-group").find(".collapse").collapse("show")});$(".btnCloseall").on("click",function(){$(this).closest(".faq-group").find(".collapse").collapse("hide")});$(".btnOpenall1").on("click",function(){$(".faq-group .collapse").collapse("show")});$(".btnCloseall1").on("click",function(){$(".faq-group .collapse").collapse("hide")})}function toggleIconClass(n){var t=$(n.target).prev(".panel-heading,.card-header")[0]||$(n.target).closest(".panel-heading,.card-header")[0],i=$(t).find("i").attr("class");i&&(i.indexOf("icon-plus-s")>=0||i.indexOf("icon-minus-s")>=0?$(t).find("i.icon-plus-s,i.icon-minus-s").toggleClass("icon-plus-s icon-minus-s"):$(t).find("i.icon-plus, i.icon-minus").toggleClass("icon-plus icon-minus"))}function loadDynamicHeaderFooter(){typeof GLOBAL!="undefined"&&(typeof GLOBAL!="undefined"&&typeof GLOBAL!="undefined"&&typeof GLOBAL.currLang!="undefined"&&($("#load_footer_insite").load(GLOBAL.baseUrl+"/"+GLOBAL.currLang+GLOBAL.footerUrl),$("#load_home_page_footer_insite").load(GLOBAL.baseUrl+"/"+GLOBAL.currLang+GLOBAL.HPFooterUrl)),setTimeout(function(){if($("#load_header, #load_footer").length>0){var t=document.documentElement.lang||"he",n=GLOBAL.baseUrl+"/"+t+"/";$("#load_header").parent().load(n+"header");$("#load_footer").parent().load(n+"footer")}},300))}function initScrollToTop(){var t=300,i=1200,r=700,n=$(".cd-top");$(window).scroll(function(){$(this).scrollTop()>t?n.addClass("cd-is-visible"):n.removeClass("cd-is-visible cd-fade-out");$(this).scrollTop()>i&&n.addClass("cd-fade-out")});n.on("click",function(n){n.preventDefault();$("body,html").animate({scrollTop:0},r)})}function loadSingleImageFedeIn(n){var i=$(n),r=i.attr("src"),t=i.attr("data-src");(!r&&t||t&&r&&r!=t)&&i.hide(10).attr("src",t).fadeIn(1e3)}function imagesLazyLoad(n,t){var r=(t||"")+" ",i=$(r+'img.lazy[data-src]:not([data-src=""])');if(i.length==1){loadSingleImageFedeIn(i[0]);return}i.length&&i.Lazy({effect:"fadeIn",effectTime:n||1e3,threshold:0})}function skipToContent1(){$(".skipToSearch>a.skip").click(function(){var n=document.getElementsByClassName("searchOnSite");Array.prototype.forEach.call(n,function(n){console.log(n.id);n.clientHeight>0&&n.id=="SearchInput"&&(n.scrollIntoView({behavior:"smooth",block:"start"}),n.tabIndex=-1,n.focus(),n.onblur=function(){n.removeAttribute("tabindex")})})});$(".skipToSiteContent>a.skip").click(function(){var t=document.getElementsByTagName("article"),n;t.length>0&&(n=t[0],n.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),n.tabIndex=-1,n.focus(),n.onblur=function(){n.removeAttribute("tabindex")})})}function skipToContent2(){var n=0,t=0;$("html").on("keydown",function(i){var r,u;i.keyCode==9&&t==0&&(r=new Date,r-n<=200&&(i.preventDefault(),t=1,$(".skipToSiteContent").removeClass("d-none"),$(".skipToSiteContent").focusin(),u=".skip",$(u).attr("tabindex",1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus(),r=0),n=r)})}function truncTextEllipsis(n,t){$(n).text(function(n,i){var r=$.trim(i);return r.length>t-1?r.substring(0,t-1)+"…":r})}function runRecursive(n,t,i){t>i&&setTimeout(function(){n();runRecursive(n,t-i,i)},i)}function endsWith(n,t){return n.indexOf(t,n.length-t.length)!==-1}function openWazeMap(n,t,i){var u=n.trim()+" "+t+", "+i.trim(),r="width=660,height=520,",f,e;r+="resizable=yes,scrollbars=no,status=yes,";r+="menubar=no,toolbar=no,location=no,directories=no";f="waze://?q="+encodeURIComponent(u);u!=""&&(e=window.open(f,"StationsWaze",r),e.focus())}function shareThisPage(n,t){var i=t||$(n).attr("href");i&&!i.endsWith(document.URL)&&(i+=document.URL,$(n).attr("href",i))}function getParameterByName(n,t){t||(t=window.location.href);n=n.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function setNewSearchAutocomplete(){$("#searchInput").searchAutocomplete({lookup:function(n,t){n.trim()&&(typeof showAutocompleteSuggestions=="undefined"||showAutocompleteSuggestions)&&$.ajax(SearchAutocompleteSource+encodeURIComponent(n)).done(function(n){var i=$.map(n.Results,function(n){return{value:n.title,data:n.ranking}});t({suggestions:i})})},zIndex:2,maxHeight:400,triggerSelectOnValidInput:!1,preventBadQueries:!1,formatResult:function(n,t){var i=n.value;return t?(t.split(" ").forEach(function(n){n&&(i=i.replace(new RegExp(n,"gi"),"<strong>$&<\/strong>"))}),i):i},onSelect:function(n){n.value&&n.value.trim()&&$("#SearchForm").submit()},onSearchStart:function(n){return this.value.trim()==n.query}})}function setImprovedSearchAutocomplete(n){var t="#"+n+' > form[role="search"]',i=t+' > input[type="search"]';$(i).searchAutocomplete({lookup:function(t,i){t.trim()&&(typeof showAutocompleteSuggestions=="undefined"||showAutocompleteSuggestions)&&$.ajax(SearchAutocompleteSource+encodeURIComponent(t)+"&culture="+currLanguage_GLOBALJS).done(function(t){t.Results.length>0&&$("#"+n).addClass("has-results");var r=$.map(t.Results,function(n){return{value:n.title,data:n.ranking,className:n.suggType,logoSrc:n.logoSrc,moreInfo:n.moreInfo,suggestionUrl:n.suggestionUrl}});i({suggestions:r})})},zIndex:2,maxHeight:565,appendTo:$(t),forceFixPosition:!0,triggerSelectOnValidInput:!1,preventBadQueries:!1,containerClass:"autocomplete-suggestions designed",formatResult:function(n,t){var i=n;return i.currentValue=t,getSuggestionTemplate(i)},onSelect:function(n){if(!n.suggestionUrl&&n.value&&n.value.trim()){var i=$("<input>").attr("type","hidden").attr("name","trigger").val("sugg");$(t).append(i);$(t).submit()}else n.suggestionUrl&&(document.location=n.suggestionUrl+"?trigger=sugg")},onSearchStart:function(n){return this.value.trim()==n.query},onActivate:function(n){var t=resources_GLOBALJS.goToDescription;$(n).find(">div").hasClass("search")&&(t=resources_GLOBALJS.searchOnDescription);t+=$(n).find(".sug-title")[0].innerText;$(i).attr("aria-description",t)},onHide:function(){$("#"+n).removeClass("has-results")}})}function getSuggestionTemplate(n){var r=n.className!="logo"?"<i class='d-flex align-self-center justify-content-center' aria-hidden='true' ><\/i>":"<img class='align-self-center' src='"+n.logoSrc+"' aria-hidden='true' />",t=n.value,i="";return n.currentValue&&n.currentValue.split(" ").forEach(function(n){n&&(t=t.replace(new RegExp(n,"gi"),"<strong>$&<\/strong>"))}),n.className=="logo"?n.moreInfo.unshift(resources_GLOBALJS.officesAndunits_Title):n.className=="service"&&n.moreInfo.unshift(resources_GLOBALJS.Services),n.moreInfo&&n.moreInfo.length>0&&(i="<span class='more-info text-truncate'>"+n.moreInfo.join("<span>&bull;<\/span>")+"<\/span>"),"<div class='{className} d-flex align-content-center'> {logoElement}<div class='suggestion-info d-flex justify-content-center flex-column px-2'><span class='sug-title text-truncate'>{suggestionLine}<\/span>{moreInfo}<\/div><\/div> ".replace("{logoElement}",r).replace("{suggestionLine}",t).replace("{className}",n.className).replace("{moreInfo}",i)}function setSelectedLangForMenu(){$("#select_lang").each(function(){var n=$(this),t=n.find("option[selected]").val();t?n.val(t):n.prop("selectedIndex",0)})}function setChangeEventForLangMenu(){var n=$("#langDialog");$("#select_lang").selectmenu({change:function(t,i){var r=i.item.value.replace(/\/$/,""),o=r.substring(r.lastIndexOf("/")+1),c=r.substring(0,r.indexOf(o)),u=$("option[selected]",t.target)[0].value.replace(/\/$/,""),s=u.substring(u.lastIndexOf("/")+1),l=u.substring(0,u.indexOf(s)),f=i.item.element[0].getAttribute("data-lang"),h=/(he|ar)/i.test(f),a=r.includes("/apps/"),v=window.location.href.toLowerCase().includes("/apps/"),e;s==o||c==l||v&&a?window.location.href=i.item.value:($(this).val(u),$(this).selectmenu("refresh"),n.length||(n=$('<div id="langDialog"><i class="icon-foreign-languages blue-txt"><\/i><span class="body-text dark-gray-txt"><\/span><\/div>')),n.find(".body-text").html(resources_GLOBALJS_All_LANG.LngAlertBody[f]),n.attr("dir",h?"rtl":"ltr"),n.dialog({resizable:!1,modal:!0,dialogClass:"gov-alert lang-alert",buttons:[{"class":"button-gov blue",text:resources_GLOBALJS_All_LANG.LngAlertClose[f],click:function(){$(this).dialog("close")}},{"class":"button-gov blue",text:resources_GLOBALJS_All_LANG.LngAlertGoTo[f],click:function(){window.location.href=r}}]}),e=n.parent().find(".ui-dialog-buttonset"),e&&(e.attr("dir",h?"rtl":"ltr"),e.addClass("ie-width-100")))},classes:{"ui-selectmenu-menu":"lang-menu"},position:{my:"top",at:document.documentElement.clientWidth>992?"bottom+12":"bottom"}})}function setSelectLangMenu(){var t="",i=window.location.href.toLowerCase().includes("/apps/"),n;i?t=variables_GLOBALJS.baseUrl+"/he/api/LanguagesApi/GetSupportedLanguagesForApp?UrlName="+appUrlName_GLOBALJS:typeof officeUrlName_GLOBALJS!="undefined"?t+=document.location.protocol+"//"+document.location.hostname+domainExtension_GLOBALJS+"/he/api/LanguagesApi/GetSupportedLanguages?urlName="+urlName_GLOBALJS+"&type="+type_GLOBALJS+"&officeUrlName="+officeUrlName_GLOBALJS:($.each(resources_GLOBALJS.LngHeaderLinks.split("~"),function(n,t){var i=t.split(","),r=GLOBAL.baseUrl+"/"+i[1],u;r==undefined?r=GLOBAL.baseUrl+"/"+i[1]:(u=(document.documentElement.lang||"he")==i[1]?"selected":"",$("#select_lang").append("<option "+u+" value="+r+" data-lang="+i[1]+">"+i[0]+"<\/option >"))}),setSelectedLangForMenu(),setChangeEventForLangMenu());n=[];t&&$.get(t).then(function(t){n=t.PageInfo;officeTranslatedLangList=t.OfficeInfo;var r=window.location.href;window.location.href.slice(0,-1)==window.location.origin?r=r+"he":window.location.href=="http://localhost/Govil"&&(r=r+"/he");$.each(resources_GLOBALJS.LngHeaderLinks.split("~"),function(u,f){var e=f.split(","),o=GLOBAL.baseUrl+"/"+e[1],s;o==undefined&&(o=GLOBAL.baseUrl+"/"+e[1]);i&&t?o=t[e[1]]||o:siteValidCultures_GOLBALJS.includes(e[1])&&(!isContentTypePage_GLOBALJS||Array.isArray(n)&&n.length>0&&n.includes(e[1])?o=r.replace(window.location.origin,"").replace("/"+currLanguage_GLOBALJS,"/"+e[1]):officeTranslatedLangList!=null&&officeTranslatedLangList.length>0&&officeTranslatedLangList.includes(e[1])&&(o=o+"/departments/"+officeUrlName_GLOBALJS));o!=undefined&&(s=(document.documentElement.lang||"he")==e[1]?"selected":"",$("#select_lang").append("<option "+s+" value="+o+" data-lang="+e[1]+">"+e[0]+"<\/option >"))})}).then(setSelectedLangForMenu).then(setChangeEventForLangMenu).catch(function(n){console.error(n)})}function markCurrentNavMenuItem(n){var t=window.location.href.split("?")[0].replace(/\//g,""),i=document.getElementsByClassName(n);Array.prototype.forEach.call(i,function(n){var i=n.href.split("?")[0].replace(/\//g,"");t==i&&n.parentElement.classList.add("header-navbar-button-clicked")})}function loadOfficeHeader(){if(selectedOffice_GLOBALJS&&selectedOffice_GLOBALJS!="9999"&&!document.officeHeaderLoaded){var n=new XMLHttpRequest,t=GLOBAL.baseUrl+"/"+GLOBAL.currLang+"/OfficeHeader?officeId="+selectedOffice_GLOBALJS+"&v=1";n.open("GET",t,!1);n.send(null);n.status===200&&(document.officeHeaderLoaded=!0,$("#dark-strip").replaceWith(n.responseText))}}function handleTabs(){var n=document.querySelectorAll(qSelector);n.length>0&&Array.prototype.forEach.call(n,function(n){return n.addEventListener("keydown",function(n){var i,r,u,f,e;if(n.which==9){n.stopPropagation();var s=n.target,t=s.parentElement,o=t.parentElement.parentElement;!n.shiftKey&&moreClasses.some(function(n){return t.classList.contains(n)})?t.classList.add("open"):n.shiftKey&&moreClasses.some(function(n){var i,r;if((r=(i=t.previousElementSibling)===null||i===void 0?void 0:i.classList)!==null&&r!==void 0)return r.contains(n)})&&(moreClasses.some(function(n){return t.classList.contains(n)})&&t.classList.remove("open"),((r=(i=t.previousElementSibling)===null||i===void 0?void 0:i.classList)===null||r===void 0?void 0:r.contains("open"))==!1&&t.previousElementSibling.classList.add("open"));(n.shiftKey&&(t.previousElementSibling==null||t.previousElementSibling.classList.contains("p-title"))||!n.shiftKey&&t.nextElementSibling==null&&!t.classList.contains("has-list"))&&(o.classList.remove("open"),n.shiftKey||o.nextElementSibling!=null||((e=(f=(u=o.parentElement)===null||u===void 0?void 0:u.parentElement)===null||f===void 0?void 0:f.classList)===null||e===void 0?void 0:e.remove("open")))}})})}function handleMobileNavClick(){document.querySelector("a.hamburger").addEventListener("click",function(n){var t=n.target,i=t.classList.contains("hamburger")?t:t.parentElement,r=i.parentElement.parentElement.parentElement.parentElement;i.classList.toggle("open");r.classList.toggle("open");document.body.classList.toggle("nav-open")});document.querySelectorAll(listParent).forEach(function(n){return n.addEventListener("click",function(n){var i=n.target,r=moreClasses.some(function(n){return i.classList.contains(n)})?i:i.parentElement,t=r.parentElement.parentElement;t.tagName=="NAV"&&t.parentElement.parentElement.classList.contains("blue-strip")&&t.parentElement.parentElement.classList.add("ul-open");r.classList.add("open");t.classList.add("has-open-child")})});document.querySelectorAll(pfx+first+", "+(pfx+sec+first)).forEach(function(n){var i,r=document.createElement("li"),t=document.createElement("a");r.classList.add("go-back","d-flex","align-items-center");t.classList.add("px-2");r.appendChild(t);n.parentElement.prepend(r);t.href="javascript:;";t.innerText=resources_GLOBALJS.BackTo+(n.parentElement.parentElement.classList.contains("tab-menu")?resources_GLOBALJS.MainMenu:((i=n.parentElement)===null||i===void 0?void 0:i.parentElement.parentElement.previousElementSibling).innerText);t.addEventListener("click",function(n){var i=n.target,u=moreClasses.some(function(n){return i.classList.contains(n)})?i:i.parentElement,r=u.parentElement.parentElement,t=r.parentElement.parentElement;t.tagName=="NAV"&&t.parentElement.parentElement.classList.contains("blue-strip")&&t.parentElement.parentElement.classList.remove("ul-open");r.classList.remove("open");t.classList.remove("has-open-child")})})}function markNavButton(){for(var r=window.location.href.replace(/\//g,"").toLowerCase(),i=document.querySelectorAll(officeMenuAnc),t,n=0;n<i.length;n++)if(t=i[n],r.indexOf(t.href.split("?")[0].replace(/\//g,"").toLowerCase())==0){t.parentElement.classList.add(markClass);break}}!function(n,t,i){function o(n,t){return typeof n===t}function it(){var i,n,u,f,e,h,t,s;for(s in c)if(c.hasOwnProperty(s)){if(i=[],n=c[s],n.name&&(i.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(u=0;u<n.options.aliases.length;u++)i.push(n.options.aliases[u].toLowerCase());for(f=o(n.fn,"function")?n.fn():n.fn,e=0;e<i.length;e++)h=i[e],t=h.split("."),1===t.length?r[t[0]]=f:(!r[t[0]]||r[t[0]]instanceof Boolean||(r[t[0]]=new Boolean(r[t[0]])),r[t[0]][t[1]]=f),tt.push((f?"":"no-")+t.join("-"))}}function rt(n){var t=e.className,i=r._config.classPrefix||"",u;(a&&(t=t.baseVal),r._config.enableJSClass)&&(u=new RegExp("(^|\\s)"+i+"no-js(\\s|$)"),t=t.replace(u,"$1"+i+"js$2"));r._config.enableClasses&&(t+=" "+i+n.join(" "+i),a?e.className.baseVal=t:e.className=t)}function l(n,t){return n-1===t||n===t||n+1===t}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):a?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function ut(){var n=t.body;return n||(n=s(a?"svg":"body"),n.fake=!0),n}function d(n,i,r,u){var o,a,c,v,l="modernizr",h=s("div"),f=ut();if(parseInt(r,10))for(;r--;)c=s("div"),c.id=u?u[r]:l+(r+1),h.appendChild(c);return o=s("style"),o.type="text/css",o.id="s"+l,(f.fake?f:h).appendChild(o),f.appendChild(h),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(t.createTextNode(n)),h.id=l,f.fake&&(f.style.background="",f.style.overflow="hidden",v=e.style.overflow,e.style.overflow="hidden",e.appendChild(f)),a=i(h,n),f.fake?(f.parentNode.removeChild(f),e.style.overflow=v,e.offsetHeight):h.parentNode.removeChild(h),!!a}function ft(n,t){return!!~(""+n).indexOf(t)}function et(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function ot(n,t){return function(){return n.apply(t,arguments)}}function st(n,t,i){var r,u;for(u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],o(r,"function")?ot(r,i||t):r);return!1}function g(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function ht(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){for(;f--;)if(n.CSS.supports(g(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+g(t[f])+":"+r+")");return u=u.join(" or "),d("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==getComputedStyle(n,null).position})}return i}function ct(n,t,r,f){function c(){a&&(delete u.style,delete u.modElem)}var l,a,h,v,e,y,p;if((f=o(f,"undefined")?!1:f,!o(r,"undefined"))&&(l=ht(n,r),!o(l,"undefined")))return l;for(p=["modernizr","tspan"];!u.style;)a=!0,u.modElem=s(p.shift()),u.style=u.modElem.style;for(v=n.length,h=0;v>h;h++)if(e=n[h],y=u.style[e],ft(e,"-")&&(e=et(e)),u.style[e]!==i){if(f||o(r,"undefined"))return c(),"pfx"==t?e:!0;try{u.style[e]=r}catch(w){}if(u.style[e]!=y)return c(),"pfx"==t?e:!0}return c(),!1}function nt(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),e=(n+" "+w.join(f+" ")+f).split(" ");return o(t,"string")||o(t,"undefined")?ct(e,t,r,u):(e=(n+" "+b.join(f+" ")+f).split(" "),st(e,t,i))}function h(n,t,r){return nt(n,i,i,t,r)}var tt=[],c=[],f={_version:"3.3.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,t){var i=this;setTimeout(function(){t(i[n])},0)},addTest:function(n,t,i){c.push({name:n,fn:t,options:i})},addAsyncTest:function(n){c.push({name:null,fn:n})}},r=function(){},p,w,b,k,u,y;r.prototype=f;r=new r;var e=t.documentElement,a="svg"===e.nodeName.toLowerCase(),v=f.testStyles=d;for(v("#modernizr { height: 50vh; }",function(t){var i=parseInt(n.innerHeight/2,10),u=parseInt((n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).height,10);r.addTest("cssvhunit",u==i)}),v("#modernizr1{width: 50vm;width:50vmin}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(t){var i=t.childNodes[2],u=t.childNodes[1],f=t.childNodes[0],s=parseInt((u.offsetWidth-u.clientWidth)/2,10),h=f.clientWidth/100,c=f.clientHeight/100,e=parseInt(50*Math.min(h,c),10),o=parseInt((n.getComputedStyle?getComputedStyle(i,null):i.currentStyle).width,10);r.addTest("cssvminunit",l(e,o)||l(e,o-s))},3),v("#modernizr { width: 50vw; }",function(t){var i=parseInt(n.innerWidth/2,10),u=parseInt((n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).width,10);r.addTest("cssvwunit",u==i)}),v("#modernizr1{width: 50vmax}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(t){var i=t.childNodes[2],u=t.childNodes[1],f=t.childNodes[0],s=parseInt((u.offsetWidth-u.clientWidth)/2,10),h=f.clientWidth/100,c=f.clientHeight/100,e=parseInt(50*Math.max(h,c),10),o=parseInt((n.getComputedStyle?getComputedStyle(i,null):i.currentStyle).width,10);r.addTest("cssvmaxunit",l(e,o)||l(e,o-s))},3),p="Moz O ms Webkit",w=f._config.usePrefixes?p.split(" "):[],f._cssomPrefixes=w,b=f._config.usePrefixes?p.toLowerCase().split(" "):[],f._domPrefixes=b,k={elem:s("modernizr")},r._q.push(function(){delete k.elem}),u={style:k.elem.style},r._q.unshift(function(){delete u.style}),f.testAllProps=nt,f.testAllProps=h,r.addTest("flexbox",h("flexBasis","1px",!0)),r.addTest("flexboxlegacy",h("boxDirection","reverse",!0)),r.addTest("flexboxtweener",h("flexAlign","end",!0)),r.addTest("flexwrap",h("flexWrap","wrap",!0)),it(),rt(tt),delete f.addTest,delete f.addAsyncTest,y=0;y<r._q.length;y++)r._q[y]();n.Modernizr=r}(window,document);!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((n=n||self).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 l(n,t,i){return t&&uu(n.prototype,t),i&&uu(n,i),n}function f(n){for(var i,r,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i),"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f});return n}function cf(n){var u=this,i=!1;return t(this).one(r.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||r.triggerTransitionEnd(u)},n),this}function wu(n,t,i){if(0===n.length)return n;if(i&&"function"==typeof i)return i(n);for(var u=(new window.DOMParser).parseFromString(n,"text/html"),e=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),o=function(n){var i=f[n],o=i.nodeName.toLowerCase(),r,u;if(-1===e.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[o]||[]);r.forEach(function(n){(function(n,t){var i=n.nodeName.toLowerCase();if(-1!==t.indexOf(i))return-1===us.indexOf(i)||Boolean(n.nodeValue.match(fs)||n.nodeValue.match(es));for(var u=t.filter(function(n){return n instanceof RegExp}),r=0,f=u.length;r<f;r++)if(i.match(u[r]))return!0;return!1})(n,u)||i.removeAttribute(n.nodeName)})},r=0,s=f.length;r<s;r++)o(r);return u.body.innerHTML}var at,r;t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;at="transitionend";r={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),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(n){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?(i=i.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(i)+parseFloat(r))):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(at)},supportsTransitionEnd:function(){return Boolean(at)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){var u,s;for(u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());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("function"!=typeof n.getRootNode)return n instanceof ShadowRoot?n:n.parentNode?r.findShadowRoot(n.parentNode):null;var t=n.getRootNode();return t instanceof ShadowRoot?t:null}};t.fn.emulateTransitionEnd=cf;t.event.special[r.TRANSITION_END]={bindType:at,delegateType:at,handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var vt="alert",pi="bs.alert",cr="."+pi,lf=t.fn[vt],lr={CLOSE:"close"+cr,CLOSED:"closed"+cr,CLICK_DATA_API:"click"+cr+".data-api"},af="alert",vf="fade",yf="show",it=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,pi);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("."+af)[0]),i},i._triggerCloseEvent=function(n){var i=t.Event(lr.CLOSE);return t(n).trigger(i),i},i._removeElement=function(n){var u=this,i;(t(n).removeClass(yf),t(n).hasClass(vf))?(i=r.getTransitionDurationFromElement(n),t(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(i)):this._destroyElement(n)},i._destroyElement=function(n){t(n).detach().trigger(lr.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(pi);r||(r=new n(this),u.data(pi,r));"close"===i&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();t(document).on(lr.CLICK_DATA_API,'[data-dismiss="alert"]',it._handleDismiss(new it));t.fn[vt]=it._jQueryInterface;t.fn[vt].Constructor=it;t.fn[vt].noConflict=function(){return t.fn[vt]=lf,it._jQueryInterface};var yt="button",wi="bs.button",ar="."+wi,vr=".data-api",pf=t.fn[yt],pt="active",wf="btn",bf="focus",fu='[data-toggle^="button"]',kf='[data-toggle="buttons"]',df='input:not([type="hidden"])',gf=".active",eu=".btn",ou={CLICK_DATA_API:"click"+ar+vr,FOCUS_BLUR_DATA_API:"focus"+ar+vr+" blur"+ar+vr},wt=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var r=!0,f=!0,i=t(this._element).closest(kf)[0],n,u;if(i&&(n=this._element.querySelector(df),n)){if("radio"===n.type&&(n.checked&&this._element.classList.contains(pt)?r=!1:(u=i.querySelector(gf),u&&t(u).removeClass(pt))),r){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(pt);t(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(pt));r&&t(this._element).toggleClass(pt)},i.dispose=function(){t.removeData(this._element,wi);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(wi);r||(r=new n(this),t(this).data(wi,r));"toggle"===i&&r[i]()})},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();t(document).on(ou.CLICK_DATA_API,fu,function(n){n.preventDefault();var i=n.target;t(i).hasClass(wf)||(i=t(i).closest(eu));wt._jQueryInterface.call(t(i),"toggle")}).on(ou.FOCUS_BLUR_DATA_API,fu,function(n){var i=t(n.target).closest(eu)[0];t(i).toggleClass(bf,/^focus(in)?$/.test(n.type))});t.fn[yt]=wt._jQueryInterface;t.fn[yt].Constructor=wt;t.fn[yt].noConflict=function(){return t.fn[yt]=pf,wt._jQueryInterface};var rt="carousel",bt="bs.carousel",o="."+bt,su=".data-api",ne=t.fn[rt],yr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},te={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},bi="next",ki="prev",ie="left",re="right",s={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,TOUCHSTART:"touchstart"+o,TOUCHMOVE:"touchmove"+o,TOUCHEND:"touchend"+o,POINTERDOWN:"pointerdown"+o,POINTERUP:"pointerup"+o,DRAG_START:"dragstart"+o,LOAD_DATA_API:"load"+o+su,CLICK_DATA_API:"click"+o+su},ue="carousel",w="active",fe="slide",ee="carousel-item-right",oe="carousel-item-left",se="carousel-item-next",he="carousel-item-prev",ce="pointer-event",le=".active",pr=".active.carousel-item",ae=".carousel-item",ve=".carousel-item img",ye=".carousel-item-next, .carousel-item-prev",pe=".carousel-indicators",we='[data-ride="carousel"]',hu={TOUCH:"touch",PEN:"pen"},ut=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(pe);this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=i.prototype;return n.next=function(){this._isSliding||this._slide(bi)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(ki)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(ye)&&(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(pr),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one(s.SLID,function(){return u.to(n)});else{if(i===n)return this.pause(),void this.cycle();r=i<n?bi:ki;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(o);t.removeData(this._element,bt);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=f({},yr,n),r.typeCheckConfig(rt,n,te),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=40||(n=t/this.touchDeltaX,0<n&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on(s.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&t(this._element).on(s.MOUSEENTER,function(t){return n.pause(t)}).on(s.MOUSELEAVE,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this,i,r;this._touchSupported&&(i=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},t(this._element.querySelectorAll(ve)).on(s.DRAG_START,function(n){return n.preventDefault()}),this._pointerEvent?(t(this._element).on(s.POINTERDOWN,function(n){return i(n)}),t(this._element).on(s.POINTERUP,function(n){return r(n)}),this._element.classList.add(ce)):(t(this._element).on(s.TOUCHSTART,function(n){return i(n)}),t(this._element).on(s.TOUCHMOVE,function(t){var i;n.touchDeltaX=(i=t).originalEvent.touches&&1<i.originalEvent.touches.length?0:i.originalEvent.touches[0].clientX-n.touchStartX}),t(this._element).on(s.TOUCHEND,function(n){return r(n)})))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(ae)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===bi,f=n===ki,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===ki?-1:1))%this._items.length,-1===r?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(pr)),r=t.Event(s.SLIDE,{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(le)),t(r).removeClass(w),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(w))},n._slide=function(n,i){var e,o,h,a=this,f=this._element.querySelector(pr),p=this._getItemIndex(f),u=i||f&&this._getItemByDirection(n,f),b=this._getItemIndex(u),v=Boolean(this._interval),c,l,y;(h=n===bi?(e=oe,o=se,ie):(e=ee,o=he,re),u&&t(u).hasClass(w))?this._isSliding=!1:!this._triggerSlideEvent(u,h).isDefaultPrevented()&&f&&u&&(this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(u),c=t.Event(s.SLID,{relatedTarget:u,direction:h,from:p,to:b}),t(this._element).hasClass(fe)?(t(u).addClass(o),r.reflow(u),t(f).addClass(e),t(u).addClass(e),l=parseInt(u.getAttribute("data-interval"),10),this._config.interval=l?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,l):this._config.defaultInterval||this._config.interval,y=r.getTransitionDurationFromElement(f),t(f).one(r.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(w);t(f).removeClass(w+" "+o+" "+e);a._isSliding=!1;setTimeout(function(){return t(a._element).trigger(c)},0)}).emulateTransitionEnd(y)):(t(f).removeClass(w),t(u).addClass(w),this._isSliding=!1,t(this._element).trigger(c)),v&&this.cycle())},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(bt),u=f({},yr,t(this).data()),e;if("object"==typeof n&&(u=f({},u,n)),e="string"==typeof n?n:u.slide,r||(r=new i(this,u),t(this).data(bt,r)),"number"==typeof n)r.to(n);else if("string"==typeof e){if("undefined"==typeof r[e])throw new TypeError('No method named "'+e+'"');r[e]()}else u.interval&&u.ride&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),u,o,e;s&&(u=t(s)[0],u&&t(u).hasClass(ue)&&(o=f({},t(u).data(),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),i._jQueryInterface.call(t(u),o),e&&t(u).data(bt).to(e),n.preventDefault()))},l(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return yr}}]),i}();t(document).on(s.CLICK_DATA_API,"[data-slide], [data-slide-to]",ut._dataApiClickHandler);t(window).on(s.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(we)),n=0,u=r.length;n<u;n++)i=t(r[n]),ut._jQueryInterface.call(i,i.data())});t.fn[rt]=ut._jQueryInterface;t.fn[rt].Constructor=ut;t.fn[rt].noConflict=function(){return t.fn[rt]=ne,ut._jQueryInterface};var ft="collapse",b="bs.collapse",kt="."+b,be=t.fn[ft],wr={toggle:!0,parent:""},ke={toggle:"boolean",parent:"(string|element)"},dt={SHOW:"show"+kt,SHOWN:"shown"+kt,HIDE:"hide"+kt,HIDDEN:"hidden"+kt,CLICK_DATA_API:"click"+kt+".data-api"},k="show",gt="collapse",di="collapsing",br="collapsed",cu="width",de="height",ge=".show, .collapsing",lu='[data-toggle="collapse"]',ni=function(){function i(n,t){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+'"]'));for(var f=[].slice.call(document.querySelectorAll(lu)),i=0,o=f.length;i<o;i++){var e=f[i],u=r.getSelectorFromElement(e),s=[].slice.call(document.querySelectorAll(u)).filter(function(t){return t===n});null!==u&&0<s.length&&(this._selector=u,this._triggerArray.push(e))}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(k)?this.hide():this.show()},n.show=function(){var n,e,u=this,o,f,s,h;this._isTransitioning||t(this._element).hasClass(k)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(ge)).filter(function(n){return"string"==typeof u._config.parent?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(gt)})).length&&(n=null),n&&(e=t(n).not(this._selector).data(b))&&e._isTransitioning)||(o=t.Event(dt.SHOW),(t(this._element).trigger(o),o.isDefaultPrevented())||(n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(b,null)),f=this._getDimension(),t(this._element).removeClass(gt).addClass(di),this._element.style[f]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(br).attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,function(){t(u._element).removeClass(di).addClass(gt).addClass(k);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(dt.SHOWN)}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,u,n,f,i,e,o,h;if(!this._isTransitioning&&t(this._element).hasClass(k)&&(u=t.Event(dt.HIDE),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(di).removeClass(gt).removeClass(k),f=this._triggerArray.length,0<f)for(i=0;i<f;i++)e=this._triggerArray[i],o=r.getSelectorFromElement(e),null!==o&&(t([].slice.call(document.querySelectorAll(o))).hasClass(k)||t(e).addClass(br).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,function(){s.setTransitioning(!1);t(s._element).removeClass(di).addClass(gt).trigger(dt.HIDDEN)}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,b);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=f({},wr,n)).toggle=Boolean(n.toggle),r.typeCheckConfig(ft,n,ke),n},n._getDimension=function(){return t(this._element).hasClass(cu)?cu:de},n._getParent=function(){var n,e=this,u,f;return r.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(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(k);i.length&&t(i).toggleClass(br,!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 u=t(this),r=u.data(b),e=f({},wr,u.data(),"object"==typeof n&&n?n:{});if(!r&&e.toggle&&/show|hide/.test(n)&&(e.toggle=!1),r||(r=new i(this,e),u.data(b,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},l(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return wr}}]),i}();t(document).on(dt.CLICK_DATA_API,lu,function(n){"A"===n.currentTarget.tagName&&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(b)?"toggle":i.data();ni._jQueryInterface.call(n,r)})});t.fn[ft]=ni._jQueryInterface;t.fn[ft].Constructor=ni;t.fn[ft].noConflict=function(){return t.fn[ft]=be,ni._jQueryInterface};var et="dropdown",ti="bs.dropdown",y="."+ti,kr=".data-api",no=t.fn[et],to=new RegExp("38|40|27"),e={HIDE:"hide"+y,HIDDEN:"hidden"+y,SHOW:"show"+y,SHOWN:"shown"+y,CLICK:"click"+y,CLICK_DATA_API:"click"+y+kr,KEYDOWN_DATA_API:"keydown"+y+kr,KEYUP_DATA_API:"keyup"+y+kr},gi="disabled",h="show",io="dropup",ro="dropright",uo="dropleft",au="dropdown-menu-right",fo="position-static",nr='[data-toggle="dropdown"]',dr=".dropdown-menu",eo=".navbar-nav",oo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",so="top-start",ho="top-end",co="bottom-start",lo="bottom-end",ao="right-start",vo="left-start",yo={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},po={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},p=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 u=n.prototype;return u.toggle=function(){var u,c,o,s,f;if(!this._element.disabled&&!t(this._element).hasClass(gi)&&(u=n._getParentFromElement(this._element),c=t(this._menu).hasClass(h),(n._clearMenus(),!c)&&(o={relatedTarget:this._element},s=t.Event(e.SHOW,o),t(u).trigger(s),!s.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;"parent"===this._config.reference?f=u:r.isElement(this._config.reference)&&(f=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(f=this._config.reference[0]));"scrollParent"!==this._config.boundary&&t(u).addClass(fo);this._popper=new i(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(u).closest(eo).length&&t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(h);t(u).toggleClass(h).trigger(t.Event(e.SHOWN,o))}},u.show=function(){if(!(this._element.disabled||t(this._element).hasClass(gi)||t(this._menu).hasClass(h))){var i={relatedTarget:this._element},r=t.Event(e.SHOW,i),u=n._getParentFromElement(this._element);t(u).trigger(r);r.isDefaultPrevented()||(t(this._menu).toggleClass(h),t(u).toggleClass(h).trigger(t.Event(e.SHOWN,i)))}},u.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(gi)&&t(this._menu).hasClass(h)){var i={relatedTarget:this._element},r=t.Event(e.HIDE,i),u=n._getParentFromElement(this._element);t(u).trigger(r);r.isDefaultPrevented()||(t(this._menu).toggleClass(h),t(u).toggleClass(h).trigger(t.Event(e.HIDDEN,i)))}},u.dispose=function(){t.removeData(this._element,ti);t(this._element).off(y);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;t(this._element).on(e.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=f({},this.constructor.Default,t(this._element).data(),n),r.typeCheckConfig(et,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(dr))}return this._menu},u._getPlacement=function(){var i=t(this._element.parentNode),n=co;return i.hasClass(io)?(n=so,t(this._menu).hasClass(au)&&(n=ho)):i.hasClass(ro)?n=ao:i.hasClass(uo)?n=vo:t(this._menu).hasClass(au)&&(n=lo),n},u._detectNavbar=function(){return 0<t(this._element).closest(".navbar").length},u._getOffset=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},u._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ti);if(r||(r=new n(this,"object"==typeof i?i:null),t(this).data(ti,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var l,s;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(var u=[].slice.call(document.querySelectorAll(nr)),r=0,a=u.length;r<a;r++){var f=n._getParentFromElement(u[r]),c=t(u[r]).data(ti),o={relatedTarget:u[r]};(i&&"click"===i.type&&(o.clickEvent=i),c)&&(l=c._menu,!t(f).hasClass(h)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&t.contains(f,i.target)||(s=t.Event(e.HIDE,o),t(f).trigger(s),s.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),t(l).removeClass(h),t(f).removeClass(h).trigger(t.Event(e.HIDDEN,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,o;(/input|textarea/i.test(i.target.tagName)?32===i.which||27!==i.which&&(40!==i.which&&38!==i.which||t(i.target).closest(dr).length):!to.test(i.which))||(i.preventDefault(),i.stopPropagation(),this.disabled||t(this).hasClass(gi))||(f=n._getParentFromElement(this),e=t(f).hasClass(h),e&&(!e||27!==i.which&&32!==i.which)?(u=[].slice.call(f.querySelectorAll(oo)),0!==u.length&&(r=u.indexOf(i.target),38===i.which&&0<r&&r--,40===i.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())):(27===i.which&&(o=f.querySelector(nr),t(o).trigger("focus")),t(this).trigger("click")))},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return yo}},{key:"DefaultType",get:function(){return po}}]),n}();t(document).on(e.KEYDOWN_DATA_API,nr,p._dataApiKeydownHandler).on(e.KEYDOWN_DATA_API,dr,p._dataApiKeydownHandler).on(e.CLICK_DATA_API+" "+e.KEYUP_DATA_API,p._clearMenus).on(e.CLICK_DATA_API,nr,function(n){n.preventDefault();n.stopPropagation();p._jQueryInterface.call(t(this),"toggle")}).on(e.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()});t.fn[et]=p._jQueryInterface;t.fn[et].Constructor=p;t.fn[et].noConflict=function(){return t.fn[et]=no,p._jQueryInterface};var ot="modal",ii="bs.modal",c="."+ii,wo=t.fn[ot],gr={backdrop:!0,keyboard:!0,focus:!0,show:!0},bo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},u={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,FOCUSIN:"focusin"+c,RESIZE:"resize"+c,CLICK_DISMISS:"click.dismiss"+c,KEYDOWN_DISMISS:"keydown.dismiss"+c,MOUSEUP_DISMISS:"mouseup.dismiss"+c,MOUSEDOWN_DISMISS:"mousedown.dismiss"+c,CLICK_DATA_API:"click"+c+".data-api"},ko="modal-dialog-scrollable",go="modal-scrollbar-measure",ns="modal-backdrop",vu="modal-open",st="fade",tr="show",ts=".modal-dialog",is=".modal-body",rs='[data-dismiss="modal"]',yu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",pu=".sticky-top",ri=function(){function i(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(ts);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;this._isShown||this._isTransitioning||(t(this._element).hasClass(st)&&(this._isTransitioning=!0),r=t.Event(u.SHOW,{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(u.CLICK_DISMISS,rs,function(n){return i.hide(n)}),t(this._dialog).on(u.MOUSEDOWN_DISMISS,function(){t(i._element).one(u.MOUSEUP_DISMISS,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(n)})))},n.hide=function(n){var o=this,i,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(i=t.Event(u.HIDE),(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(st),(f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(u.FOCUSIN),t(this._element).removeClass(tr),t(this._element).off(u.CLICK_DISMISS),t(this._dialog).off(u.MOUSEDOWN_DISMISS),f)?(e=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(c)});t(document).off(u.FOCUSIN);t.removeData(this._element,ii);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=f({},gr,n),r.typeCheckConfig(ot,n,bo),n},n._showElement=function(n){var i=this,e=t(this._element).hasClass(st),o,f,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(ko)?this._dialog.querySelector(is).scrollTop=0:this._element.scrollTop=0;e&&r.reflow(this._element);t(this._element).addClass(tr);this._config.focus&&this._enforceFocus();o=t.Event(u.SHOWN,{relatedTarget:n});f=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;t(i._element).trigger(o)};e?(s=r.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(r.TRANSITION_END,f).emulateTransitionEnd(s)):f()},n._enforceFocus=function(){var n=this;t(document).off(u.FOCUSIN).on(u.FOCUSIN,function(i){document!==i.target&&n._element!==i.target&&0===t(n._element).has(i.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?t(this._element).on(u.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),n.hide())}):this._isShown||t(this._element).off(u.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?t(window).on(u.RESIZE,function(t){return n.handleUpdate(t)}):t(window).off(u.RESIZE)},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(vu);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(u.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var i=this,f=t(this._element).hasClass(st)?st:"",o,e,s;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ns,f&&this._backdrop.classList.add(f),t(this._backdrop).appendTo(document.body),t(this._element).on(u.CLICK_DISMISS,function(n){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide())}),f&&r.reflow(this._backdrop),t(this._backdrop).addClass(tr),!n)return;if(!f)return void n();o=r.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(tr),e=function(){i._removeBackdrop();n&&n()},t(this._element).hasClass(st)?(s=r.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(r.TRANSITION_END,e).emulateTransitionEnd(s)):e()):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=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(yu)),r=[].slice.call(document.querySelectorAll(pu)),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(vu)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(yu)),n,i;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r||""});n=[].slice.call(document.querySelectorAll(""+pu));t(n).each(function(n,i){var r=t(i).data("margin-right");"undefined"!=typeof r&&t(i).css("margin-right",r).removeData("margin-right")});i=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=go,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 u=t(this).data(ii),e=f({},gr,t(this).data(),"object"==typeof n&&n?n:{});if(u||(u=new i(this,e),t(this).data(ii,u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](r)}else e.show&&u.show(r)})},l(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return gr}}]),i}();t(document).on(u.CLICK_DATA_API,'[data-toggle="modal"]',function(n){var i,e=this,o=r.getSelectorFromElement(this),s,h;o&&(i=document.querySelector(o));s=t(i).data(ii)?"toggle":f({},t(i).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();h=t(i).one(u.SHOW,function(n){n.isDefaultPrevented()||h.one(u.HIDDEN,function(){t(e).is(":visible")&&e.focus()})});ri._jQueryInterface.call(t(i),s,this)});t.fn[ot]=ri._jQueryInterface;t.fn[ot].Constructor=ri;t.fn[ot].noConflict=function(){return t.fn[ot]=wo,ri._jQueryInterface};var us=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],fs=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,es=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;var d="tooltip",ir="bs.tooltip",a="."+ir,os=t.fn[d],bu="bs-tooltip",ss=new RegExp("(^|\\s)"+bu+"\\S+","g"),hs=["sanitize","whiteList","sanitizeFn"],cs={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"},ls={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},as={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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},ui="show",nu="out",vs={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},fi="fade",ei="show",ys=".tooltip-inner",ps=".arrow",oi="hover",tu="focus",ws="click",bs="manual",g=function(){function u(n,t){if("undefined"==typeof i)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=u.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(ei))return void this._leave(null,this);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.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("none"===t(this.element).css("display"))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(null!==e?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;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(fi);l="function"==typeof this.config.placement?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,{placement:s,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ps},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){return n._handlePopperPlacementChange(t)}});t(u).addClass(ei);"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===nu&&n._leave(null,n)};t(this.tip).hasClass(fi)?(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!==ui&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||((t(u).removeClass(ei),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[ws]=!1,this._activeTrigger[tu]=!1,this._activeTrigger[oi]=!1,t(this.tip).hasClass(fi))?(o=r.getTransitionDurationFromElement(u),t(u).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(bu+"-"+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(ys)),this.getTitle());t(n).removeClass(fi+" "+ei)},n.setElementContent=function(n,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=wu(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i):this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text())},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getOffset=function(){var t=this,n={};return"function"==typeof this.config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return!1===this.config.container?document.body:r.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return ls[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==bs){var r=i===oi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===oi?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)})}});t(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()});this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(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;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusin"===n.type?tu:oi]=!0);t(i.getTipElement()).hasClass(ei)||i._hoverState===ui?i._hoverState=ui:(clearTimeout(i._timeout),i._hoverState=ui,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===ui&&i.show()},i.config.delay.show):i.show())},n._leave=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusout"===n.type?tu:oi]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=nu,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===nu&&i.hide()},i.config.delay.hide):i.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){-1!==hs.indexOf(n)&&delete i[n]}),"number"==typeof(n=f({},this.constructor.Default,i,"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),r.typeCheckConfig(d,n,this.constructor.DefaultType),n.sanitize&&(n.template=wu(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(ss);null!==n&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;null===n.getAttribute("x-placement")&&(t(n).removeClass(fi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(ir),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new u(this,r),t(this).data(ir,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},l(u,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return as}},{key:"NAME",get:function(){return d}},{key:"DATA_KEY",get:function(){return ir}},{key:"Event",get:function(){return vs}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return cs}}]),u}();t.fn[d]=g._jQueryInterface;t.fn[d].Constructor=g;t.fn[d].noConflict=function(){return t.fn[d]=os,g._jQueryInterface};var ht="popover",rr="bs.popover",v="."+rr,ks=t.fn[ht],ku="bs-popover",ds=new RegExp("(^|\\s)"+ku+"\\S+","g"),gs=f({},g.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>'}),nh=f({},g.DefaultType,{content:"(string|element|function)"}),th="fade",ih="show",rh=".popover-header",uh=".popover-body",fh={HIDE:"hide"+v,HIDDEN:"hidden"+v,SHOW:"show"+v,SHOWN:"shown"+v,INSERTED:"inserted"+v,CLICK:"click"+v,FOCUSIN:"focusin"+v,FOCUSOUT:"focusout"+v,MOUSEENTER:"mouseenter"+v,MOUSELEAVE:"mouseleave"+v},ur=function(n){function r(){return n.apply(this,arguments)||this}var u,f,i;return f=n,(u=r).prototype=Object.create(f.prototype),(u.prototype.constructor=u).__proto__=f,i=r.prototype,i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(n){t(this.getTipElement()).addClass(ku+"-"+n)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(rh),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(i.find(uh),n);i.removeClass(th+" "+ih)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(ds);null!==n&&0<n.length&&i.removeClass(n.join(""))},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(rr),u="object"==typeof n?n:null;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data(rr,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return gs}},{key:"NAME",get:function(){return ht}},{key:"DATA_KEY",get:function(){return rr}},{key:"Event",get:function(){return fh}},{key:"EVENT_KEY",get:function(){return v}},{key:"DefaultType",get:function(){return nh}}]),r}(g);t.fn[ht]=ur._jQueryInterface;t.fn[ht].Constructor=ur;t.fn[ht].noConflict=function(){return t.fn[ht]=ks,ur._jQueryInterface};var nt="scrollspy",fr="bs.scrollspy",er="."+fr,eh=t.fn[nt],du={offset:10,method:"auto",target:""},oh={offset:"number",method:"string",target:"(string|element)"},iu={ACTIVATE:"activate"+er,SCROLL:"scroll"+er,LOAD_DATA_API:"load"+er+".data-api"},sh="dropdown-item",tt="active",hh='[data-spy="scroll"]',gu=".nav, .list-group",ru=".nav-link",ch=".nav-item",nf=".list-group-item",lh=".dropdown",ah=".dropdown-item",vh=".dropdown-toggle",yh="offset",tf="position",si=function(){function i(n,i){var r=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+ru+","+this._config.target+" "+nf+","+this._config.target+" "+ah;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(iu.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=i.prototype;return n.refresh=function(){var n=this,u=this._scrollElement===this._scrollElement.window?yh:tf,i="auto"===this._config.method?u:this._config.method,f=i===tf?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var u,e=r.getSelectorFromElement(n),o;return(e&&(u=document.querySelector(e)),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[i]().top+f,e]: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,fr);t(this._scrollElement).off(er);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("string"!=typeof(n=f({},du,"object"==typeof n&&n?n:{})).target){var i=t(n.target).attr("id");i||(i=r.getUID(nt),t(n.target).attr("id",i));n.target="#"+i}return r.typeCheckConfig(nt,n,oh),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(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&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(sh)?(i.closest(lh).find(vh).addClass(tt),i.addClass(tt)):(i.addClass(tt),i.parents(gu).prev(ru+", "+nf).addClass(tt),i.parents(gu).prev(ch).children(ru).addClass(tt));t(this._scrollElement).trigger(iu.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(tt)}).forEach(function(n){return n.classList.remove(tt)})},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(fr);if(r||(r=new i(this,"object"==typeof n&&n),t(this).data(fr,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},l(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return du}}]),i}();t(window).on(iu.LOAD_DATA_API,function(){for(var r,n=[].slice.call(document.querySelectorAll(hh)),i=n.length;i--;)r=t(n[i]),si._jQueryInterface.call(r,r.data())});t.fn[nt]=si._jQueryInterface;t.fn[nt].Constructor=si;t.fn[nt].noConflict=function(){return t.fn[nt]=eh,si._jQueryInterface};var or="bs.tab",hi="."+or,ph=t.fn.tab,ci={HIDE:"hide"+hi,HIDDEN:"hidden"+hi,SHOW:"show"+hi,SHOWN:"shown"+hi,CLICK_DATA_API:"click"+hi+".data-api"},wh="dropdown-menu",li="active",bh="disabled",rf="fade",uf="show",kh=".dropdown",dh=".nav, .list-group",ff=".active",ef="> li > .active",gh=".dropdown-toggle",nc="> .dropdown-menu .active",ai=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(li)||t(this._element).hasClass(bh)||(i=t(this._element).closest(dh)[0],f=r.getSelectorFromElement(this._element),i&&(c="UL"===i.nodeName||"OL"===i.nodeName?ef:ff,n=(n=t.makeArray(t(i).find(c)))[n.length-1]),e=t.Event(ci.HIDE,{relatedTarget:this._element}),o=t.Event(ci.SHOW,{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(ci.HIDDEN,{relatedTarget:h._element}),r=t.Event(ci.SHOWN,{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,or);this._element=null},i._activate=function(n,i,u){var s=this,f=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?t(i).children(ff):t(i).find(ef))[0],h=u&&f&&t(f).hasClass(rf),e=function(){return s._transitionComplete(n,f,u)},o;f&&h?(o=r.getTransitionDurationFromElement(f),t(f).removeClass(uf).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},i._transitionComplete=function(n,i,u){var f,e,o;i&&(t(i).removeClass(li),f=t(i.parentNode).find(nc)[0],f&&t(f).removeClass(li),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1));(t(n).addClass(li),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),r.reflow(n),n.classList.contains(rf)&&n.classList.add(uf),n.parentNode&&t(n.parentNode).hasClass(wh))&&(e=t(n).closest(kh)[0],e&&(o=[].slice.call(e.querySelectorAll(gh)),t(o).addClass(li)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(or);if(r||(r=new n(this),u.data(or,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();t(document).on(ci.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();ai._jQueryInterface.call(t(this),"show")});t.fn.tab=ai._jQueryInterface;t.fn.tab.Constructor=ai;t.fn.tab.noConflict=function(){return t.fn.tab=ph,ai._jQueryInterface};var ct="toast",sr="bs.toast",vi="."+sr,tc=t.fn[ct],lt={CLICK_DISMISS:"click.dismiss"+vi,HIDE:"hide"+vi,HIDDEN:"hidden"+vi,SHOW:"show"+vi,SHOWN:"shown"+vi},ic="fade",of="hide",yi="show",sf="showing",rc={animation:"boolean",autohide:"boolean",delay:"number"},hf={animation:!0,autohide:!0,delay:500},uc='[data-dismiss="toast"]',hr=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,i,u;t(this._element).trigger(lt.SHOW);this._config.animation&&this._element.classList.add(ic);i=function(){n._element.classList.remove(sf);n._element.classList.add(yi);t(n._element).trigger(lt.SHOWN);n._config.autohide&&n.hide()};(this._element.classList.remove(of),this._element.classList.add(sf),this._config.animation)?(u=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(u)):i()},n.hide=function(n){var i=this;this._element.classList.contains(yi)&&(t(this._element).trigger(lt.HIDE),n?this._close():this._timeout=setTimeout(function(){i._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(yi)&&this._element.classList.remove(yi);t(this._element).off(lt.CLICK_DISMISS);t.removeData(this._element,sr);this._element=null;this._config=null},n._getConfig=function(n){return n=f({},hf,t(this._element).data(),"object"==typeof n&&n?n:{}),r.typeCheckConfig(ct,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(lt.CLICK_DISMISS,uc,function(){return n.hide(!0)})},n._close=function(){var n=this,i=function(){n._element.classList.add(of);t(n._element).trigger(lt.HIDDEN)},u;(this._element.classList.remove(yi),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(sr);if(r||(r=new i(this,"object"==typeof n&&n),u.data(sr,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}})},l(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return rc}},{key:"Default",get:function(){return hf}}]),i}();t.fn[ct]=hr._jQueryInterface;t.fn[ct].Constructor=hr;t.fn[ct].noConflict=function(){return t.fn[ct]=tc,hr._jQueryInterface},function(){if("undefined"==typeof t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||4<=n[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}();n.Util=r;n.Alert=it;n.Button=wt;n.Carousel=ut;n.Collapse=ni;n.Dropdown=p;n.Modal=ri;n.Popover=ur;n.Scrollspy=si;n.Tab=ai;n.Toast=hr;n.Tooltip=g;Object.defineProperty(n,"__esModule",{value:!0})});!function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function h(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function y(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;f(t)}function u(n){var t=a[n[l]];return t||(t={},s++,n[l]=s,a[s]=t),t}function c(n,i,f){if(i||(i=t),r)return i.createElement(n);f||(f=u(i));var e;return e=f.cache[n]?f.cache[n].cloneNode():k.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),!e.canHaveChildren||b.test(n)||e.tagUrn?e:f.frag.appendChild(e)}function p(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||u(n);for(var e=i.frag.cloneNode(),f=0,o=h(),s=o.length;s>f;f++)e.createElement(o[f]);return e}function w(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?c(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function f(n){n||(n=t);var f=u(n);return!i.shivCSS||e||f.hasCSS||(f.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||w(n,f),n}var e,r,o=n.html5||{},b=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,k=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l="_html5shiv",s=0,a={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;r=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(i){e=!0;r=!0}}();i={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.2",shivCSS:o.shivCSS!==!1,supportsUnknownElements:r,shivMethods:o.shivMethods!==!1,type:"default",shivDocument:f,createElement:c,createDocumentFragment:p,addElements:y};n.html5=i;f(t)}(this,document),function(){"use strict";if(navigator.userAgent.match(/IEMobile\/10\.0/)){var n=document.createElement("style");n.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}"));document.querySelector("head").appendChild(n)}}();window.matchMedia=window.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth==42,i.removeChild(r),{matches:u,media:n}}}(document),function(n){function d(){a(!0)}if(n.respond={},respond.update=function(){},respond.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all").matches,!respond.mediaQueriesSupported){var t=n.document,i=t.documentElement,e=[],u=[],r=[],o={},v=30,f=t.getElementsByTagName("head")[0]||i,g=t.getElementsByTagName("base")[0],s=f.getElementsByTagName("link"),h=[],y=function(){for(var f=s,c=f.length,r=0,t,i,u,e;r<c;r++)t=f[r],i=t.href,u=t.media,e=t.rel&&t.rel.toLowerCase()==="stylesheet",!i||!e||o[i]||(t.styleSheet&&t.styleSheet.rawCssText?(w(t.styleSheet.rawCssText,i,u),o[i]=!0):(/^([a-zA-Z:]*\/\/)/.test(i)||g)&&i.replace(RegExp.$1,"").split("/")[0]!==n.location.host||h.push({href:i,media:u}));p()},p=function(){if(h.length){var n=h.shift();nt(n.href,function(t){w(t,n.href,n.media);o[n.href]=!0;p()})}},w=function(n,t,i){var o=n.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),s=o&&o.length||0,t=t.substring(0,t.lastIndexOf("/")),v=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},y=!s&&i,h=0,f,c,r,l,p;for(t.length&&(t+="/"),y&&(s=1);h<s;h++)for(f=0,y?(c=i,u.push(v(n))):(c=o[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,u.push(RegExp.$2&&v(RegExp.$2))),l=c.split(","),p=l.length;f<p;f++)r=l[f],e.push({media:r.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:u.length-1,hasquery:r.indexOf("(")>-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});a()},c,b,k=function(){var u,r=t.createElement("div"),n=t.body,f=!1;return r.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=t.createElement("body"),n.style.background="none"),n.appendChild(r),i.insertBefore(n,i.firstChild),u=r.offsetWidth,f?i.removeChild(n):n.removeChild(r),l=parseFloat(u)},l,a=function(n){var nt="clientWidth",tt=i[nt],it=t.compatMode==="CSS1Compat"&&tt||t.body[nt]||tt,d={},ot=s[s.length-1],rt=(new Date).getTime(),o,h,g;if(n&&c&&rt-c<v){clearTimeout(b);b=setTimeout(a,v);return}c=rt;for(o in e){var y=e[o],p=y.minw,w=y.maxw,ut=p===null,ft=w===null,et="em";!p||(p=parseFloat(p)*(p.indexOf(et)>-1?l||k():1));!w||(w=parseFloat(w)*(w.indexOf(et)>-1?l||k():1));y.hasquery&&(ut&&ft||!(ut||it>=p)||!(ft||it<=w))||(d[y.media]||(d[y.media]=[]),d[y.media].push(u[y.rules]))}for(o in r)r[o]&&r[o].parentNode===f&&f.removeChild(r[o]);for(o in d)h=t.createElement("style"),g=d[o].join("\n"),h.type="text/css",h.media=o,f.insertBefore(h,ot.nextSibling),h.styleSheet?h.styleSheet.cssText=g:h.appendChild(t.createTextNode(g)),r.push(h)},nt=function(n,t){var i=tt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status==200||i.status==304)&&t(i.responseText)},i.readyState!=4)&&i.send(null)},tt=function(){var n=!1;try{n=new XMLHttpRequest}catch(t){n=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return n}}();y();respond.update=y;n.addEventListener?n.addEventListener("resize",d,!1):n.attachEvent&&n.attachEvent("onresize",d)}}(this),function(){"use strict";function n(t,r){function h(n,t){return function(){return n.apply(t,arguments)}}var o,f,e,u,s;if(r=r||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=r.touchBoundary||10,this.layer=t,this.tapDelay=r.tapDelay||200,this.tapTimeout=r.tapTimeout||700,!n.notNeeded(t)){for(f=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],e=this,u=0,s=f.length;u<s;u++)e[f[u]]=h(e[f[u]],e);i&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0));t.addEventListener("click",this.onClick,!0);t.addEventListener("touchstart",this.onTouchStart,!1);t.addEventListener("touchmove",this.onTouchMove,!1);t.addEventListener("touchend",this.onTouchEnd,!1);t.addEventListener("touchcancel",this.onTouchCancel,!1);Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(n,i,r){var u=Node.prototype.removeEventListener;n==="click"?u.call(t,n,i.hijacked||i,r):u.call(t,n,i,r)},t.addEventListener=function(n,i,r){var u=Node.prototype.addEventListener;n==="click"?u.call(t,n,i.hijacked||(i.hijacked=function(n){n.propagationStopped||i(n)}),r):u.call(t,n,i,r)});typeof t.onclick=="function"&&(o=t.onclick,t.addEventListener("click",function(n){o(n)},!1),t.onclick=null)}}var r=navigator.userAgent.indexOf("Windows Phone")>=0,i=navigator.userAgent.indexOf("Android")>0&&!r,t=/iP(ad|hone|od)/.test(navigator.userAgent)&&!r,u=t&&/OS 4_\d(_\d)?/.test(navigator.userAgent),f=t&&/OS [6-7]_\d/.test(navigator.userAgent),e=navigator.userAgent.indexOf("BB10")>0;n.prototype.needsClick=function(n){switch(n.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(n.disabled)return!0;break;case"input":if(t&&n.type==="file"||n.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(n.className)};n.prototype.needsFocus=function(n){switch(n.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!i;case"input":switch(n.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!n.disabled&&!n.readOnly;default:return/\bneedsfocus\b/.test(n.className)}};n.prototype.sendClick=function(n,t){var r,i;document.activeElement&&document.activeElement!==n&&document.activeElement.blur();i=t.changedTouches[0];r=document.createEvent("MouseEvents");r.initMouseEvent(this.determineEventType(n),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null);r.forwardedTouchEvent=!0;n.dispatchEvent(r)};n.prototype.determineEventType=function(n){return i&&n.tagName.toLowerCase()==="select"?"mousedown":"click"};n.prototype.focus=function(n){var i;t&&n.setSelectionRange&&n.type.indexOf("date")!==0&&n.type!=="time"&&n.type!=="month"?(i=n.value.length,n.setSelectionRange(i,i)):n.focus()};n.prototype.updateScrollParent=function(n){var i,t;if(i=n.fastClickScrollParent,!i||!i.contains(n)){t=n;do{if(t.scrollHeight>t.offsetHeight){i=t;n.fastClickScrollParent=t;break}t=t.parentElement}while(t)}i&&(i.fastClickLastScrollTop=i.scrollTop)};n.prototype.getTargetElementFromEventTarget=function(n){return n.nodeType===Node.TEXT_NODE?n.parentNode:n};n.prototype.onTouchStart=function(n){var r,i,f;if(n.targetTouches.length>1)return!0;if(r=this.getTargetElementFromEventTarget(n.target),i=n.targetTouches[0],t){if(f=window.getSelection(),f.rangeCount&&!f.isCollapsed)return!0;if(!u){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return n.preventDefault(),!1;this.lastTouchIdentifier=i.identifier;this.updateScrollParent(r)}}return this.trackingClick=!0,this.trackingClickStart=n.timeStamp,this.targetElement=r,this.touchStartX=i.pageX,this.touchStartY=i.pageY,n.timeStamp-this.lastClickTime<this.tapDelay&&n.preventDefault(),!0};n.prototype.touchHasMoved=function(n){var t=n.changedTouches[0],i=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>i||Math.abs(t.pageY-this.touchStartY)>i?!0:!1};n.prototype.onTouchMove=function(n){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(n.target)||this.touchHasMoved(n))&&(this.trackingClick=!1,this.targetElement=null),!0):!0};n.prototype.findControl=function(n){return n.control!==undefined?n.control:n.htmlFor?document.getElementById(n.htmlFor):n.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};n.prototype.onTouchEnd=function(n){var s,c,e,o,h,r=this.targetElement;if(!this.trackingClick)return!0;if(n.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(n.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=n.timeStamp,c=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,f&&(h=n.changedTouches[0],r=document.elementFromPoint(h.pageX-window.pageXOffset,h.pageY-window.pageYOffset)||r,r.fastClickScrollParent=this.targetElement.fastClickScrollParent),e=r.tagName.toLowerCase(),e==="label"){if(s=this.findControl(r),s){if(this.focus(r),i)return!1;r=s}}else if(this.needsFocus(r))return n.timeStamp-c>100||t&&window.top!==window&&e==="input"?(this.targetElement=null,!1):(this.focus(r),this.sendClick(r,n),t&&e==="select"||(this.targetElement=null,n.preventDefault()),!1);return t&&!u&&(o=r.fastClickScrollParent,o&&o.fastClickLastScrollTop!==o.scrollTop)?!0:(this.needsClick(r)||(n.preventDefault(),this.sendClick(r,n)),!1)};n.prototype.onTouchCancel=function(){this.trackingClick=!1;this.targetElement=null};n.prototype.onMouse=function(n){return this.targetElement?n.forwardedTouchEvent?!0:n.cancelable?!this.needsClick(this.targetElement)||this.cancelNextClick?(n.stopImmediatePropagation?n.stopImmediatePropagation():n.propagationStopped=!0,n.stopPropagation(),n.preventDefault(),!1):!0:!0:!0};n.prototype.onClick=function(n){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):n.target.type==="submit"&&n.detail===0?!0:(t=this.onMouse(n),t||(this.targetElement=null),t)};n.prototype.destroy=function(){var n=this.layer;i&&(n.removeEventListener("mouseover",this.onMouse,!0),n.removeEventListener("mousedown",this.onMouse,!0),n.removeEventListener("mouseup",this.onMouse,!0));n.removeEventListener("click",this.onClick,!0);n.removeEventListener("touchstart",this.onTouchStart,!1);n.removeEventListener("touchmove",this.onTouchMove,!1);n.removeEventListener("touchend",this.onTouchEnd,!1);n.removeEventListener("touchcancel",this.onTouchCancel,!1)};n.notNeeded=function(n){var t,r,u,f;if(typeof window.ontouchstart=="undefined")return!0;if(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],r)if(i){if(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||r>31&&document.documentElement.scrollWidth<=window.outerWidth))return!0}else return!0;return e&&(u=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),u[1]>=10&&u[2]>=3&&(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))?!0:n.style.msTouchAction==="none"||n.style.touchAction==="manipulation"?!0:(f=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],f>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))?!0:n.style.touchAction==="none"||n.style.touchAction==="manipulation"?!0:!1};n.attach=function(t,i){return new n(t,i)};typeof define=="function"&&typeof define.amd=="object"&&define.amd?define(function(){return n}):typeof module!="undefined"&&module.exports?(module.exports=n.attach,module.exports.FastClick=n):window.FastClick=n}();!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof module&&module.exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){var e=-1,r=-1,i=function(n){return parseFloat(n)||0},o=function(t){var f=1,e=n(t),u=null,r=[];return e.each(function(){var t=n(this),e=t.offset().top-i(t.css("margin-top")),o=r.length>0?r[r.length-1]:null;null===o?r.push(t):Math.floor(Math.abs(u-e))<=f?r[r.length-1]=o.add(t):r.push(t);u=e}),r},u=function(t){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?n.extend(i,t):("boolean"==typeof t?i.byRow=t:"remove"===t&&(i.remove=!0),i)},t=n.fn.matchHeight=function(i){var r=u(i),f;return r.remove?(f=this,this.css(r.property,""),n.each(t._groups,function(n,t){t.elements=t.elements.not(f)}),this):this.length<=1&&!r.target?this:(t._groups.push({elements:this,options:r}),t._apply(this,r),this)},f;t.version="master";t._groups=[];t._throttle=80;t._maintainScroll=!1;t._beforeUpdate=null;t._afterUpdate=null;t._rows=o;t._parse=i;t._parseOptions=u;t._apply=function(r,f){var e=u(f),s=n(r),c=[s],l=n(window).scrollTop(),a=n("html").outerHeight(!0),h=s.parents().filter(":hidden");return h.each(function(){var t=n(this);t.data("style-cache",t.attr("style"))}),h.css("display","block"),e.byRow&&!e.target&&(s.each(function(){var i=n(this),t=i.css("display");"inline-block"!==t&&"flex"!==t&&"inline-flex"!==t&&(t="block");i.data("style-cache",i.attr("style"));i.css({display:t,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),c=o(s),s.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||"")})),n.each(c,function(t,r){var u=n(r),f=0;if(e.target)f=e.target.outerHeight(!1);else{if(e.byRow&&u.length<=1)return void u.css(e.property,"");u.each(function(){var t=n(this),u=t.attr("style"),i=t.css("display"),r;"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");r={display:i};r[e.property]="";t.css(r);t.outerHeight(!1)>f&&(f=t.outerHeight(!1));u?t.attr("style",u):t.css("display","")})}u.each(function(){var t=n(this),r=0;e.target&&t.is(e.target)||("border-box"!==t.css("box-sizing")&&(r+=i(t.css("border-top-width"))+i(t.css("border-bottom-width")),r+=i(t.css("padding-top"))+i(t.css("padding-bottom"))),t.css(e.property,f-r+"px"))})}),h.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||null)}),t._maintainScroll&&n(window).scrollTop(l/a*n("html").outerHeight(!0)),this};t._applyDataApi=function(){var t={};n("[data-match-height], [data-mh]").each(function(){var i=n(this),r=i.attr("data-mh")||i.attr("data-match-height");t[r]=r in t?t[r].add(i):i});n.each(t,function(){this.matchHeight(!0)})};f=function(i){t._beforeUpdate&&t._beforeUpdate(i,t._groups);n.each(t._groups,function(){t._apply(this.elements,this.options)});t._afterUpdate&&t._afterUpdate(i,t._groups)};t._update=function(i,u){if(u&&"resize"===u.type){var o=n(window).width();if(o===e)return;e=o}i?-1===r&&(r=setTimeout(function(){f(u);r=-1},t._throttle)):f(u)};n(t._applyDataApi);n(window).bind("load",function(n){t._update(!1,n)});n(window).bind("resize orientationchange",function(n){t._update(!0,n)})});!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):n("object"==typeof exports&&"function"==typeof require?require("jquery"):jQuery)}(function(n){"use strict";function i(t,r){var u=this;u.element=t;u.el=n(t);u.suggestions=[];u.badQueries=[];u.selectedIndex=-1;u.currentValue=u.element.value;u.timeoutId=null;u.cachedResponse={};u.onChangeTimeout=null;u.onChange=null;u.isLocal=!1;u.suggestionsContainer=null;u.noSuggestionsContainer=null;u.options=n.extend(!0,{},i.defaults,r);u.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"};u.hint=null;u.hintValue="";u.selection=null;u.initialize();u.setOptions(r)}function f(n,t,i){return n.value.toLowerCase().indexOf(i)!==-1}function e(t){return"string"==typeof t?n.parseJSON(t):t}function o(n,t){if(!t)return n.value;var i="("+u.escapeRegExChars(t)+")";return n.value.replace(new RegExp(i,"gi"),"<strong>$1<\/strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")}function s(n,t){return'<div class="autocomplete-group">'+t+"<\/div>"}var u=function(){return{escapeRegExChars:function(n){return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(n){var t=document.createElement("div");return t.className=n,t.style.position="absolute",t.style.display="none",t}}}(),t={ESC:27,TAB:9,RETURN:13,LEFT:37,UP:38,RIGHT:39,DOWN:40},r=n.noop;i.utils=u;n.Autocomplete=i;i.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:o,formatGroup:s,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:r,onSearchComplete:r,onSearchError:r,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:f,paramName:"query",transformResult:e,showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};i.prototype={initialize:function(){var r,t=this,f="."+t.classes.suggestion,e=t.classes.selected,u=t.options;t.element.setAttribute("autocomplete","off");t.noSuggestionsContainer=n('<div class="autocomplete-no-suggestion"><\/div>').html(this.options.noSuggestionNotice).get(0);t.suggestionsContainer=i.utils.createNode(u.containerClass);r=n(t.suggestionsContainer);r.appendTo(u.appendTo||"body");"auto"!==u.width&&r.css("width",u.width);r.on("mouseover.autocomplete",f,function(){t.activate(n(this).data("index"))});r.on("mouseout.autocomplete",function(){t.selectedIndex=-1;r.children("."+e).removeClass(e)});r.on("click.autocomplete",f,function(){t.select(n(this).data("index"))});r.on("click.autocomplete",function(){clearTimeout(t.blurTimeoutId)});t.fixPositionCapture=function(){t.visible&&t.fixPosition()};n(window).on("resize.autocomplete",t.fixPositionCapture);t.el.on("keydown.autocomplete",function(n){t.onKeyPress(n)});t.el.on("keyup.autocomplete",function(n){t.onKeyUp(n)});t.el.on("blur.autocomplete",function(){t.onBlur()});t.el.on("focus.autocomplete",function(){t.onFocus()});t.el.on("change.autocomplete",function(n){t.onKeyUp(n)});t.el.on("input.autocomplete",function(n){t.onKeyUp(n)})},onFocus:function(){var n=this;n.disabled||(n.fixPosition(),n.el.val().length>=n.options.minChars&&n.onValueChange())},onBlur:function(){var t=this,i=t.options,r=t.el.val(),u=t.getQuery(r);t.blurTimeoutId=setTimeout(function(){t.hide();t.selection&&t.currentValue!==u&&(i.onInvalidateSelection||n.noop).call(t.element)},200)},abortAjax:function(){var n=this;n.currentRequest&&(n.currentRequest.abort(),n.currentRequest=null)},setOptions:function(t){var r=this,i=n.extend({},r.options,t);r.isLocal=Array.isArray(i.lookup);r.isLocal&&(i.lookup=r.verifySuggestionsFormat(i.lookup));i.orientation=r.validateOrientation(i.orientation,"bottom");n(r.suggestionsContainer).css({"max-height":i.maxHeight+"px",width:i.width+"px","z-index":i.zIndex});this.options=i},clearCache:function(){this.cachedResponse={};this.badQueries=[]},clear:function(){this.clearCache();this.currentValue="";this.suggestions=[]},disable:function(){var n=this;n.disabled=!0;clearTimeout(n.onChangeTimeout);n.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t=this,i=n(t.suggestionsContainer),f=i.parent().get(0),s,a;if(f===document.body||t.options.forceFixPosition){var e=t.options.orientation,o=i.outerHeight(),h=t.el.outerHeight(),u=t.el.offset(),r={top:u.top,left:u.left};if("auto"===e){var v=n(window).height(),c=n(window).scrollTop(),l=-c+u.top-o,y=c+v-(u.top+h+o);e=Math.max(l,y)===l?"top":"bottom"}(r.top+="top"===e?-o:h,f!==document.body)&&(a=i.css("opacity"),t.visible||i.css("opacity",0).show(),s=i.offsetParent().offset(),r.top-=s.top,r.top+=f.scrollTop,r.left-=s.left,t.visible||i.css("opacity",a).hide());"auto"===t.options.width&&(r.width=t.el.outerWidth()+"px");i.css(r)}},isCursorAtEnd:function(){var n,i=this,t=i.el.val().length,r=i.element.selectionStart;return"number"==typeof r?r===t:!document.selection||(n=document.selection.createRange(),n.moveStart("character",-t),t===n.text.length)},onKeyPress:function(n){var i=this;if(!i.disabled&&!i.visible&&n.which===t.DOWN&&i.currentValue)return void i.suggest();if(!i.disabled&&i.visible){switch(n.which){case t.ESC:i.el.val(i.currentValue);i.hide();break;case t.RIGHT:if(i.hint&&i.options.onHint&&i.isCursorAtEnd()){i.selectHint();break}return;case t.TAB:if(i.hint&&i.options.onHint)return void i.selectHint();if(i.selectedIndex===-1)return void i.hide();if(i.select(i.selectedIndex),i.options.tabDisabled===!1)return;break;case t.RETURN:if(i.selectedIndex===-1)return void i.hide();i.select(i.selectedIndex);break;case t.UP:i.moveUp();break;case t.DOWN:i.moveDown();break;default:return}n.stopImmediatePropagation();n.preventDefault()}},onKeyUp:function(n){var i=this;if(!i.disabled){switch(n.which){case t.UP:case t.DOWN:return}clearTimeout(i.onChangeTimeout);i.currentValue!==i.el.val()&&(i.findBestHint(),i.options.deferRequestBy>0?i.onChangeTimeout=setTimeout(function(){i.onValueChange()},i.options.deferRequestBy):i.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)return void(this.ignoreValueChange=!1);var t=this,r=t.options,u=t.el.val(),i=t.getQuery(u);return t.selection&&t.currentValue!==i&&(t.selection=null,(r.onInvalidateSelection||n.noop).call(t.element)),clearTimeout(t.onChangeTimeout),t.currentValue=u,t.selectedIndex=-1,r.triggerSelectOnValidInput&&t.isExactMatch(i)?void t.select(0):void(i.length<r.minChars?t.hide():t.getSuggestions(i))},isExactMatch:function(n){var t=this.suggestions;return 1===t.length&&t[0].value.toLowerCase()===n.toLowerCase()},getQuery:function(t){var i,r=this.options.delimiter;return r?(i=t.split(r),n.trim(i[i.length-1])):t},getSuggestionsLocal:function(t){var i,f=this,r=f.options,e=t.toLowerCase(),o=r.lookupFilter,u=parseInt(r.lookupLimit,10);return i={suggestions:n.grep(r.lookup,function(n){return o(n,t,e)})},u&&i.suggestions.length>u&&(i.suggestions=i.suggestions.slice(0,u)),i},getSuggestions:function(t){var u,e,o,s,i=this,r=i.options,f=r.serviceUrl;if(r.params[r.paramName]=t,r.onSearchStart.call(i.element,r.params)!==!1){if(e=r.ignoreParams?null:r.params,n.isFunction(r.lookup))return void r.lookup(t,function(n){i.suggestions=n.suggestions;i.suggest();r.onSearchComplete.call(i.element,t,n.suggestions)});i.isLocal?u=i.getSuggestionsLocal(t):(n.isFunction(f)&&(f=f.call(i.element,t)),o=f+"?"+n.param(e||{}),u=i.cachedResponse[o]);u&&Array.isArray(u.suggestions)?(i.suggestions=u.suggestions,i.suggest(),r.onSearchComplete.call(i.element,t,u.suggestions)):i.isBadQuery(t)?r.onSearchComplete.call(i.element,t,[]):(i.abortAjax(),s={url:f,data:e,type:r.type,dataType:r.dataType},n.extend(s,r.ajaxSettings),i.currentRequest=n.ajax(s).done(function(n){var u;i.currentRequest=null;u=r.transformResult(n,t);i.processResponse(u,t,o);r.onSearchComplete.call(i.element,t,u.suggestions)}).fail(function(n,u,f){r.onSearchError.call(i.element,t,n,u,f)}))}},isBadQuery:function(n){if(!this.options.preventBadQueries)return!1;for(var t=this.badQueries,i=t.length;i--;)if(0===n.indexOf(t[i]))return!0;return!1},hide:function(){var t=this,i=n(t.suggestionsContainer);n.isFunction(t.options.onHide)&&t.visible&&t.options.onHide.call(t.element,i);t.visible=!1;t.selectedIndex=-1;clearTimeout(t.onChangeTimeout);n(t.suggestionsContainer).hide();t.signalHint(null)},suggest:function(){if(!this.suggestions.length)return void(this.options.showNoSuggestionNotice?this.noSuggestions():this.hide());var u,t=this,i=t.options,o=i.groupBy,c=i.formatResult,f=t.getQuery(t.currentValue),s=t.classes.suggestion,l=t.classes.selected,r=n(t.suggestionsContainer),a=n(t.noSuggestionsContainer),h=i.beforeRender,e="",v=function(n){var t=n.data[o];return u===t?"":(u=t,i.formatGroup(n,u))};return i.triggerSelectOnValidInput&&t.isExactMatch(f)?void t.select(0):(n.each(t.suggestions,function(n,t){o&&(e+=v(t,f,n));e+='<div class="'+s+'" data-index="'+n+'">'+c(t,f,n)+"<\/div>"}),this.adjustContainerWidth(),a.detach(),r.html(e),n.isFunction(h)&&h.call(t.element,r,t.suggestions),t.fixPosition(),r.show(),i.autoSelectFirst&&(t.selectedIndex=0,r.scrollTop(0),r.children("."+s).first().addClass(l)),t.visible=!0,void t.findBestHint())},noSuggestions:function(){var t=this,r=t.options.beforeRender,i=n(t.suggestionsContainer),u=n(t.noSuggestionsContainer);this.adjustContainerWidth();u.detach();i.empty();i.append(u);n.isFunction(r)&&r.call(t.element,i,t.suggestions);t.fixPosition();i.show();t.visible=!0},adjustContainerWidth:function(){var t,i=this,r=i.options,u=n(i.suggestionsContainer);"auto"===r.width?(t=i.el.outerWidth(),u.css("width",t>0?t:300)):"flex"===r.width&&u.css("width","")},findBestHint:function(){var t=this,i=t.el.val().toLowerCase(),r=null;i&&(n.each(t.suggestions,function(n,t){var u=0===t.value.toLowerCase().indexOf(i);return u&&(r=t),!u}),t.signalHint(r))},signalHint:function(t){var r="",i=this;t&&(r=i.currentValue+t.value.substr(i.currentValue.length));i.hintValue!==r&&(i.hintValue=r,i.hint=t,(this.options.onHint||n.noop)(r))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?n.map(t,function(n){return{value:n,data:null}}):t},validateOrientation:function(t,i){return t=n.trim(t||"").toLowerCase(),n.inArray(t,["auto","bottom","top"])===-1&&(t=i),t},processResponse:function(n,t,i){var r=this,u=r.options;n.suggestions=r.verifySuggestionsFormat(n.suggestions);u.noCache||(r.cachedResponse[i]=n,u.preventBadQueries&&!n.suggestions.length&&r.badQueries.push(t));t===r.getQuery(r.currentValue)&&(r.suggestions=n.suggestions,r.suggest())},activate:function(t){var r,i=this,u=i.classes.selected,f=n(i.suggestionsContainer),e=f.find("."+i.classes.suggestion);return f.find("."+u).removeClass(u),i.selectedIndex=t,i.selectedIndex!==-1&&e.length>i.selectedIndex?(r=e.get(i.selectedIndex),n(r).addClass(u),r):null},selectHint:function(){var t=this,i=n.inArray(t.hint,t.suggestions);t.select(i)},select:function(n){var t=this;t.hide();t.onSelect(n)},moveUp:function(){var t=this;if(t.selectedIndex!==-1)return 0===t.selectedIndex?(n(t.suggestionsContainer).children("."+t.classes.suggestion).first().removeClass(t.classes.selected),t.selectedIndex=-1,t.ignoreValueChange=!1,t.el.val(t.currentValue),void t.findBestHint()):void t.adjustScroll(t.selectedIndex-1)},moveDown:function(){var n=this;n.selectedIndex!==n.suggestions.length-1&&n.adjustScroll(n.selectedIndex+1)},adjustScroll:function(t){var i=this,u=i.activate(t),r,f,o,e;u&&(e=n(u).outerHeight(),r=u.offsetTop,f=n(i.suggestionsContainer).scrollTop(),o=f+i.options.maxHeight-e,r<f?n(i.suggestionsContainer).scrollTop(r):r>o&&n(i.suggestionsContainer).scrollTop(r-i.options.maxHeight+e),i.options.preserveInput||(i.ignoreValueChange=!0,i.el.val(i.getValue(i.suggestions[t].value))),i.signalHint(null))},onSelect:function(t){var i=this,u=i.options.onSelect,r=i.suggestions[t];i.currentValue=i.getValue(r.value);i.currentValue===i.el.val()||i.options.preserveInput||i.el.val(i.currentValue);i.signalHint(null);i.suggestions=[];i.selection=r;n.isFunction(u)&&u.call(i.element,r)},getValue:function(n){var t,i,r=this,u=r.options.delimiter;return u?(t=r.currentValue,i=t.split(u),1===i.length?n:t.substr(0,t.length-i[i.length-1].length)+n):n},dispose:function(){var t=this;t.el.off(".autocomplete").removeData("autocomplete");n(window).off("resize.autocomplete",t.fixPositionCapture);n(t.suggestionsContainer).remove()}};n.fn.searchAutocomplete=function(t,r){var u="autocomplete";return arguments.length?this.each(function(){var e=n(this),f=e.data(u);"string"==typeof t?f&&"function"==typeof f[t]&&f[t](r):(f&&f.dispose&&f.dispose(),f=new i(this,t),e.data(u,f))}):this.first().data(u)};n.fn.autocomplete||(n.fn.autocomplete=n.fn.searchAutocomplete)});$(document).ready(function(){initDevicesSpecificClass();runRecursive(imagesLazyLoad,1e4,10);setCollapseBtns();loadDynamicHeaderFooter();initScrollToTop();skipToContent1();truncTextEllipsis("h3.cutTitle",65);truncTextEllipsis("span.cutDesc",110);$("li.tab-menu").mouseenter(function(){document.activeElement.blur()})});String.prototype.endsWith||(String.prototype.endsWith=function(n){var t=this.length-n.length;return t>=0&&this.lastIndexOf(n)===t});String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(n,t){var i=t>0?t|0:0;return this.substring(i,i+n.length)===n}});String.prototype.includes||(String.prototype.includes=function(n,t){"use strict";return typeof t!="number"&&(t=0),t+n.length>this.length?!1:this.indexOf(n,t)!==-1});Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(n,t){function e(n,t){return n===t||typeof n=="number"&&typeof t=="number"&&isNaN(n)&&isNaN(t)}var f,i,r,u;if(this==null)throw new TypeError('"this" is null or not defined');if(f=Object(this),i=f.length>>>0,i===0)return!1;for(r=t|0,u=Math.max(r>=0?r:i-Math.abs(r),0);u<i;){if(e(f[u],n))return!0;u++}return!1}});Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(n){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(n))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null});GLOBAL=function(){var i=["/en","/ru","/fr","/es"],t=document.URL.toLowerCase(),f=!i.some(function(n){return t.indexOf(n+"/")>0||t.endsWith(n)}),n,r,u;return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),typeof variables_GLOBALJS!="undefined"?n=variables_GLOBALJS.baseUrl:(n=window.location.origin,n=n+(n.endsWith("localhost")||n.includes("172.20.19")?"/govil":"")),r=document.documentElement.lang||"he",u=function(){},{ltrLanguagesLst:i,isRTL:f,currUrl:t,baseUrl:n,init:u,currLang:r,HPFooterUrl:"/HomePageFooter",footerUrl:"/footer"}}();$(document).ready(function(){var n=navigator.userAgent.toLowerCase(),t=n.match(/(iphone|ipod|ipad)/);if(t)try{FastClick.attach(document.body)}catch(i){}$(".sub-links-permanent-underline").find("a").css("text-decoration","underline");$(".sub-links-permanent-underline").find("iframe").css("border","0")});var pfx=".blue-strip nav.menu > ul > li.tab-menu",sec=" > ul > li",first=" > ul > li:first-child",firstAfterTitle=" > ul > li.p-title + li",last=" > ul > li:last-child",pli=" + li",anc=" > a",span=" > span[tabindex]",listParent=pfx+anc+", "+(pfx+span)+", "+(pfx+sec+span)+", "+(pfx+sec+anc),qSelector=listParent+",\n"+(pfx+pli+anc)+", "+(pfx+pli+span)+", "+(pfx+sec+pli+anc)+",\n"+(pfx+first+anc)+", "+(pfx+first+span)+", "+(pfx+sec+first+anc)+", "+(pfx+sec+firstAfterTitle+anc)+", "+(pfx+sec+first+span)+",\n"+(pfx+last+anc)+", "+(pfx+last+span)+", "+(pfx+sec+last+anc)+", "+(pfx+sec+last+span),moreClasses=["tab-menu","popular-services","has-list"],officeMenuAnc=".office-top-menu > li > a[href]",markClass="page-parent";$(function(){window.innerWidth<992?(handleMobileNavClick(),$("#SearchInput").focus(function(){$("#divSearchBox").addClass("m-search-mode")}).blur(function(){$("#divSearchBox").removeClass("m-search-mode")})):($("#SearchInput").focus(function(){$("#main-menu").addClass("search-mode")}).blur(function(){$("#main-menu").removeClass("search-mode")}),$("#btnSearch").focus(function(){$("#main-menu").addClass("search-mode")}).blur(function(){$("#main-menu").removeClass("search-mode")}),markNavButton());setSelectLangMenu();setImprovedSearchAutocomplete("divSearchBox");handleTabs();loadOfficeHeader();markCurrentNavMenuItem("header-navbar-button-menu");markCurrentNavMenuItem("office-navbar-button-menu")})