PageSourceSearch

https://www.presseshop.at/bundles/layoutjs?v=HYA1r5eBDYb6O1usmEOd3CzpErKwmY8zLAWc_eQe8nU1

js presseshop.at collected 2026-10-08 09:07:16 UTC 397,490 bytes, 1 lines download raw bytes

1function dropDownLogin(){document.getElementById("myDropdown")!=undefined&&document.getElementById("myDropdown").classList.toggle("show")}function dropDownLoginSmall(){document.getElementById("myDropdownSmallOnly")!=undefined&&document.getElementById("myDropdownSmallOnly").classList.toggle("show")}function GetRating(n){var u=n.replace("rating-star",""),r,t,i;for($("#RatingValue").val(parseInt(u)),r=parseInt(u),t=1;t<=r;t++)$("#rating-star"+t).removeClass("inactive"),$("#rating-star"+t).addClass("active");for(i=r+1;i<=5;i++)$("#rating-star"+t).removeClass("active"),$("#rating-star"+i).addClass("inactive")}function gridChangeEvents(){initSlider();initSliderSpecial();initSliderCat()}function loadContentSmall(){initSlider();initSliderSpecial();initSliderCat();switchFooterAccordionToSmall()}function loadContentMedium(){initSlider();initSliderSpecial();initSliderCat();switchFooterAccordionToMediumUp()}function loadContentLarge(){initSlider();initSliderSpecial();initSliderCat();switchFooterAccordionToMediumUp()}function checkForContentReload(){window.matchMedia("screen and (max-width: 40em)").matches?((window.currentGrid===null||window.currentGrid!==0)&&(window.currentGrid=0,gridChangeEvents()),window.contentSmall||(window.contentSmall=!0,loadContentSmall())):window.matchMedia("screen and (min-width: 40.063em) and (max-width: 62em)").matches?((window.currentGrid===null||window.currentGrid!=="MEDIUM")&&(window.currentGrid="MEDIUM",gridChangeEvents()),window.contentMedium||(window.contentMedium=!0,loadContentMedium())):window.matchMedia("screen and (min-width: 62.563em)").matches&&((window.currentGrid===null||window.currentGrid!=="LARGE")&&(window.currentGrid="LARGE",gridChangeEvents()),window.contentLarge||(window.contentLarge=!0,loadContentLarge()))}function initSlider(){switch(window.currentGrid){case 0:length="1";break;case"MEDIUM":length="2";break;case"LARGE":length="5"}typeof ProductRelatedSlider!="undefined"&&ProductRelatedSlider<length&&(length=ProductRelatedSlider);typeof ProductExtrasSlider!="undefined"&&ProductExtrasSlider<length&&(length=ProductExtrasSlider);typeof prp.magazinSlider!="undefined"&&prp.magazinSlider.cycle("destroy");loadMagazineSlider1(length);typeof prp.magazinSlider2!="undefined"&&prp.magazinSlider2.cycle("destroy");loadMagazineSlider2(length);typeof prp.magazinSlider3!="undefined"&&prp.magazinSlider3.cycle("destroy");loadMagazineSlider3(length);loadCoverSlider()}function initSliderSpecial(){switch(window.currentGrid){case 0:length="1";break;case"MEDIUM":length="2";break;case"LARGE":length="4"}typeof ProductRelatedSlider!="undefined"&&ProductRelatedSlider<length&&(length=ProductRelatedSlider);typeof ProductExtrasSlider!="undefined"&&ProductExtrasSlider<length&&(length=ProductExtrasSlider);typeof prp.magazinSlider!="undefined"&&prp.magazinSlider.cycle("destroy");loadMagazineSlider1(length);typeof prp.magazinSlider2!="undefined"&&prp.magazinSlider2.cycle("destroy");loadMagazineSlider2(length);typeof prp.magazinSlider3!="undefined"&&prp.magazinSlider3.cycle("destroy");loadMagazineSlider3(length);loadCoverSlider()}function initSliderCat(){switch(window.currentGrid){case 0:length="2";break;case"MEDIUM":length="3";break;case"LARGE":length="5"}typeof prp.magazinSliderCat!="undefined"&&prp.magazinSliderCat.cycle("destroy");loadMagazineSliderCat(length)}function loadMagazineSlider1(n){prp.magazinSlider=$magazinslider.cycle({allowWrap:!1,swipe:!0,swipeFx:"carousel",fx:"carousel",timeout:0,slides:"> div",autoHeight:"container",carouselFluid:!0,next:".next",prev:".prev",log:!1,carouselVisible:n})}function loadMagazineSlider2(n){prp.magazinSlider2=$magazinslider2.cycle({allowWrap:!1,swipe:!0,swipeFx:"carousel",fx:"carousel",timeout:0,slides:"> div",autoHeight:"container",carouselFluid:!0,next:".next-2",prev:".prev-2",log:!1,carouselVisible:n})}function loadMagazineSliderCat(n){prp.magazinSliderCat=$magazinsliderCat.cycle({allowWrap:!1,swipe:!0,swipeFx:"carousel",fx:"carousel",timeout:0,slides:"> div",autoHeight:"container",carouselFluid:!0,next:".next-cat",prev:".prev-cat",log:!1,carouselVisible:n})}function loadMagazineSlider3(n){prp.magazinSlider3=$magazinslider3.cycle({allowWrap:!1,swipe:!0,swipeFx:"carousel",fx:"carousel",timeout:0,slides:"> div",autoHeight:"container",carouselFluid:!0,next:".next-3",prev:".prev-3",log:!1,carouselVisible:n})}function loadCoverSlider(){typeof prp.coverSlider!="undefined"&&prp.coverSlider.cycle("destroy");prp.coverSlider=$coverSlider.cycle({allowWrap:!1,swipe:!0,swipeFx:"carousel",fx:"carousel",timeout:0,slides:"> div",autoHeight:"container",carouselFluid:!0,next:".next-cover",prev:".prev-cover",log:!1,carouselVisible:5})}function switchFooterAccordionToMediumUp(){$(".page-footer-wrapper").foundation({accordion:{multi_expand:!0,toggleable:!1}});$(".page-footer-wrapper .accordion-navigation .section-headline").click(function(n){n.preventDefault()()});$(".page-footer-wrapper .accordion-navigation, .page-footer-wrapper .accordion-navigation .content").addClass("active")}function switchFooterAccordionToSmall(){$(".page-footer-wrapper").foundation({accordion:{multi_expand:!0,toggleable:!0}})}function toggleOffcanvasMenu(){$(".offcanvas-menu").hasClass("show")?($(".offcanvas-menu").addClass("hiding"),$(".offcanvas-backdrop").removeClass("show"),$("body").removeClass("overflow-hidden"),setTimeout(function(){$(".offcanvas-menu").removeClass("show hiding");$(".offcanvas-menu").removeAttr("aria-modal");$(".offcanvas-menu").removeAttr("role")},200)):($(".offcanvas-backdrop").addClass("show"),$("body").addClass("overflow-hidden"),$(".offcanvas-menu").attr("aria-modal",!0),$(".offcanvas-menu").attr("role","dialog"),$(".offcanvas-menu").addClass("showing"),setTimeout(function(){$(".offcanvas-menu").addClass("show");$(".offcanvas-menu").removeClass("showing")},200))}function toggleOffcanvasSearch(){$(".offcanvas-search").hasClass("show")?($(".offcanvas-search").addClass("hiding"),$(".offcanvas-backdrop").removeClass("show"),$("body").removeClass("overflow-hidden"),setTimeout(function(){$(".offcanvas-search").removeClass("show hiding");$(".offcanvas-search").removeAttr("aria-modal");$(".offcanvas-search").removeAttr("role")},200)):($(".offcanvas-backdrop").addClass("show"),$("body").addClass("overflow-hidden"),$(".offcanvas-search").attr("aria-modal",!0),$(".offcanvas-search").attr("role","dialog"),$(".offcanvas-search").addClass("showing"),setTimeout(function(){$(".offcanvas-search").addClass("show");$(".offcanvas-search").removeClass("showing")},200))}function goToByScroll(n){$("html,body").animate({scrollTop:$("#"+n).offset().top},"slow")}function easterCouponView(){if($("#eastercoupon-preview")!=undefined&&$("#eastercoupon-preview").attr("id")!=undefined){var n={url:"//"+location.hostname+":"+location.port+"/Home/EasterCouponPartial",type:"POST",contentType:"application/json; charset=utf-8",success:function(n){$("#eastercoupon-preview").html(n);$("#eastercoupon-result-modal").modal({closeExisting:!0})},error:function(){}};$.ajax(n)}$("#easteregg").hide()}function xmasCouponView(){if($("#xmascoupon-preview")!=undefined&&$("#xmascoupon-preview").attr("id")!=undefined){var n={url:"//"+location.hostname+":"+location.port+"/Home/XmasCouponPartial",type:"POST",contentType:"application/json; charset=utf-8",success:function(n){$("#xmascoupon-preview").html(n);$("#xmascoupon-result-modal").modal({closeExisting:!0})},error:function(){}};$.ajax(n)}$("#santa").hide()}function watchInsertOnSuccess(n){n!=null&&(n.success&&($("#result-watch-count-small").text(n.count),$("#result-watch-count-small").hasClass("dn")&&$("#result-watch-count-small").removeClass("dn")),document.getElementById("result-watch-insert").innerText=n.message)}function cartInsertOnSuccess(n){n!=null&&(n.success&&($("#result-cart-count-small").text(n.count),$("#result-cart-count-small").hasClass("dn")&&$("#result-cart-count-small").removeClass("dn")),document.getElementById("result-cart-insert").innerText=n.message)}function bindClickEvents(){$(".choice-radio").on("change",function(){$(".choice-backdrop").removeClass("bg-grey-dark").addClass("bg-grey-light");$(this).parents(".choice-backdrop").addClass("bg-grey-dark").removeClass("bg-grey-light")})}function updateTeaserNodes(){$("[data-random-products]").each(function(){$(this).parent().find("[data-teaser]").each(function(){var n=$(this).data("index-"+Screen.viewName());n=$(this).index()>n?n-1:n;$(this).parent().children().eq(n).after($(this))})})}function fillLoremIpsumPlaceholder(){var n="Sed ut perspiciatis unde om
1nis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. ";$("[data-lorem]").each(function(){var f=JSON.stringify($(this).data("lorem")),i,r,t,e,o,u;
1for(f=f.split(","),i=f[0].replace(/"/g,"")||0,i=parseInt(i),r=f[1]||0,r=parseInt(r),t="",e=0;t.length<i;){if(i>0&&t.length==i-1){t=t.trim()+".";break}else t+=n.charAt(e%n.length);e++}if(t="<p>"+t,r>0)for(o=Math.floor(i/(r+1)),u=1;u<=r;u++)t=t.slice(0,o*u)+"<\/p><p>"+t.slice(o*u);t+="<\/p>";$(this).html($(this).html()+t)})}function sliderById(n){var t=sliders[n];return typeof t!="undefined"?$(t).data("anyslider"):{next:function(){},prev:function(){}}}function fillCountrySelectFields(){$("[data-select-countries]").each(function(){for(var t=["Ägypten","Algerien","Andorra","Argentinien","Äthiopien","Australien","Belgien","Bosnien Herzogowina","Brasilien","Bulgarien","Canada","Chile","China","Dänemark","Deutschland","Dominikanische Republik","Dubai (VAR)","Ecuador","Estland","Finnland","Frankreich","Griechenland","Grossbritannien","Haiti","Hongkong","Indonesien","Iran","Irland","Island","Israel","Italien","Japan","Kenia","Kosovo","Kroatien","Laos","Lettland","Liechtenstein","Litauen","Luxemburg","Malaysia","Malediven","Malta","Mauritius","Mexiko","Namibia","Neuseeland","Niederlande","Norwegen","Österreich","Paraguay","Peru","Polen","Portugal","Rumänien","Rußland","San Marino","Schweden","Schweiz","Senegal","Serbien","Singapore","Slowakei","Slowenien","Spanien","Südafrika","Südkorea","Taiwan ","Tansania","Thailand","Tschechien","Tunesien","Türkei","U.S.A","Ukraine","Ungarn","Usbekistan","Vatikanstadt","Zimbabwe","Zypern"],n=0;n<t.length;n++){var i=$(this).data("select-countries")||"",r=t[n]==i?' selected="selected"':"",u=$("<option"+r+">"+t[n]+"<\/option>");$(this).append(u)}})}function prepareContentToggle(){$("[data-toggle-on]").each(function(){var n=$(this).data("toggle-on"),t=$(this).data("toggle-group"),i={on:n,group:t,node:$(this)};toggleNodes.push(i)});toggleNodes.length>0&&$("[data-toggle]").each(function(){for(var n=$(this).data("toggle"),i=[],t=0;t<toggleNodes.length;t++)toggleNodes[t].on==n&&i.push(toggleNodes[t]);if($(this).is(":radio, :checkbox"))$(this).on("change",function(){$(this).trigger("click")});$(this).on("click",function(){var i,t,r;for($(this).data("toggle")!==n&&(n=$(this).data("toggle")),i=null,t=0;t<toggleNodes.length;t++)if(i==null){if(toggleNodes[t].on==n){i=toggleNodes[t].group;t=-1;continue}}else toggleNodes[t].group==i&&(r=$(toggleNodes[t].node).data("toggle-class")||"hidden",toggleNodes[t].on!=n?$(toggleNodes[t].node).addClass(r):$(toggleNodes[t].node).toggleClass(r))})})}function shoppingCartUseVoucher(n){var t=n.toFloat()||5,i=$("#sum-value").html().toFloat();t=t>i?i:t;$("#cart-voucher").each(function(){$("#sum-value").html((i-t).toEuro());$(this).find(".voucher-headline").html("Gutschein eingelöst:");$(this).find(".voucher-value").html("-"+t.toEuro());$('[data-toggle="voucher"]').trigger("click").data("toggle","");$('[data-toggle-on="voucher"]').remove()})}function checkout2TrackLogin(){typeof gtag=="function"&&SetGaClientIdVal();window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:"login"})}function checkout2TrackRegister(){typeof gtag=="function"&&SetGaClientIdVal();window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:"signup"})}function AdjustReadersRating(){try{if($("#bewertungen-section-large").css("display")==="block")$("#bewertungen-section").attr("role")==="dialog"&&($("#bewertungen-section").removeAttr("data-reveal"),$("#bewertungen-section").removeAttr("aria-labelledby"),$("#bewertungen-section").removeAttr("aria-hidden"),$("#bewertungen-section").removeAttr("role"),$("#bewertungen-section").hasClass("reveal-modal")&&$("#bewertungen-section").removeClass("reveal-modal"));else{if($("#bewertungen-section").attr("role")==="dialog")return;$("#bewertungen-section").attr("data-reveal",!0);$("#bewertungen-section").attr("aria-labelledby","modalTitle");$("#bewertungen-section").attr("aria-hidden","true");$("#bewertungen-section").attr("role","dialog");$("#bewertungen-section").addClass("reveal-modal")}}catch(n){}}function initDocument(){AdjustReadersRating();adjustFacebookButton();adjustSelectedProductOffer();changeCheckedAboPrice();$(".alert-message").hide();AdjustPaymentInitialType();adjustAccordionSmall(null);adjustPaymentType()}
1function AdjustPaymentInitialType(){if($("#original-payment-type"))try{switch($("#original-payment-type").val()){case"Post":case"201":$("#payment-type-transfer-mail").addClass("active");break;case"Email":case"202":$("#payment-type-transfer-email").addClass("active");break;case"CreditCard":case"203":$("#payment-type-creditcard").addClass("active");break;case"Bank":case"204":$("#payment-type-bank-new").addClass("active");break;case"Paypal":case"205":$("#payment-type-paypal").addClass("active")}}catch(n){}}function adjustSelectedProductOffer(){var n=$("input#SelectedProductOfferId").attr("value");$("#radioabo-"+n).attr("checked",!0);$(".abo-item").removeClass("selected");$("#radioabo-"+n).closest(".abo-item").addClass("selected")}function changeCheckedAboPrice(){var f=$("input[name='abo']:checked").attr("id"),t,r,e;if(f){t=f.split("-")[1];$("input#SelectedProductOfferId").attr("value",t);var n=$("input[name='abo']:checked").parent(),i=" "+n.find("input[name='currencySymbol']").val(),o=n.find("input[name='offerTotalPriceWithoutShipping']").val(),s=n.find("input[name='offerTotalshippingcosts']").val(),h=n.find("input[name='offerTotalsum']").val(),c=n.find("input[name = 'kombiTotalPriceWithoutShipping']").val(),l=n.find("input[name = 'kombiTotalshippingcosts']").val(),a=n.find("input[name = 'kombiTotalsum']").val(),v=n.find("input[name = 'offerPriceRegular']").val(),y=n.find("input[name = 'offerPriceOffer']").val(),p=n.find("input[name = 'offerPriceSaved']").val()+i+" gespart",w=n.find("input[name = 'kombiPricePrintRegular']").val(),b=n.find("input[name = 'kombiPricePrintOffer']").val(),k=n.find("input[name = 'kombiPriceSaved']").val()+i+" gespart",d=parseFloat(n.find("input[name = 'offerDiff']").val()),g=parseFloat(n.find("input[name = 'kombiDiff']").val()),u=$("input#epaper-abo-"+t).prop("checked");u?($(".selectedProductOfferPrice").html(c+i),$(".totalProductOfferShipping").html(l+i),$(".totalProductOfferSum").html(a+i),r=$("#KombiPrintId-"+t).val(),$("#SelectedKombiPrintId").val(r),$("#SelectedKombiPrintId-cart").val(r),$("#form-cart-insert").find($("#SelectedKombiPrintId")).val(r),$("#form-watch-insert").find($("#SelectedKombiPrintId")).val(r),$("#aboPriceRegular-"+t).html(w),$("#aboPriceOffer-"+t).html(b),$("#aboPriceSaved-"+t).html(k)):(e=n.find("input[name = 'selectedProductOfferTypeTitleId']").val(),$("#SelectedProductOfferTypeTitleId").val(e),$(".selectedProductOfferPrice").html(o+i),$(".totalProductOfferShipping").html(s+i),$(".totalProductOfferSum").html(h+i),$("#SelectedKombiPrintId").val(null),$("#aboPriceRegular-"+t).html(v),$("#aboPriceOffer-"+t).html(y),$("#aboPriceSaved-"+t).html(p));u&&g>0||!u&&d>0?($("#aboPriceRegular-"+t).parent().css("visibility","visible"),$("#aboPriceSaved-"+t).parent().css("visibility","visible")):($("#aboPriceRegular-"+t).parent().css("visibility","hidden"),$("#aboPriceSaved-"+t).parent().css("visibility","hidden"))}}function changeSelectedAbo(n){$("input#SelectedProductOfferId").attr("value",n);$("input[id^='radioabo-']").prop("checked",!1);$("#radioabo-"+n).prop("checked",!0);changeCheckedAboPrice();adjustSelectedProductOffer()}function submitCartInsert(){$("#form-cart-insert").submit()}function submitPpxpCheckout(n){$("#form-ppxp-checkout-"+n).submit()}function submitWatchInsert(){$(".alert-message").text("");$("#form-watch-insert").submit();$(".alert-message").hide();$(".alert-message").delay(500).fadeIn();$(".alert-message").delay(2e3).fadeOut()}function adjustFacebookButton(){$(".pluginButtonContainer").css("height","23px");$(".pluginButtonContainer").css("margin-bottom","3px")}function closeVariantsDialog(){$("#choose-product-variants").find(".close-reveal-modal").trigger("click")}function adjustBicVisibility(n){if(n&&!(n.length<2)){var t;try{t=n.substring(0,2).toLowerCase()}catch(i){t=""}t==="de"?($("#bic-div").addClass("hidden"),$("#BIC").remove()):($("#BIC").val()==undefined||$("#BIC").val()==="")&&n!==""&&($("#bic-span").html('<input class="full-width" type="text" name="BIC" data-field="BIC" id="BIC">'),$("#bic-div").removeClass("hidden"))}}function adjustAccordionSmall(n){var r=window.matchMedia("only screen and (max-width: 760px)"),t,i;r.matches&&(n?(t=n.id.replace("accord-header-",""),i=$("#accord-body-"+t).hasClass("hidden"),$("#accord-body-"+t).addClass("hidden"),$('[id^="accord-header-"]').removeClass("active"),i&&($("#accord-body-"+t).removeClass("hidden"),$("#accord-header-"+t).addClass("active"))):($('[id^="accord-body-"]').addClass("hidden"),$('[id^="accord-header-"]').removeClass("active")))}function togglePaymentBody(n){if(n){var t=n.id.replace("payment-header-","").split("-")[0],i=$("#payment-body-"+t).hasClass("hidden");i?($("#payment-body-"+t).removeClass("hidden"),$("#payment-header-"+t+"-ext").addClass("hidden")):($("#payment-body-"+t).addClass("hidden"),$("#payment-header-"+t+"-ext").removeClass("hidden"))}}function fieldchange(n){var t,i,r;cartId=Right(n,7);t=document.getElementById(n);i=t.value;n=n.replace(cartId,"");destid=n+"-"+cartId;r=document.getElementById(destid);r.value=i}function adjustPaymentType(){try{if($("#payment-type-transfer-small").css("display")==="block"){var n=$("#input-payment-post-radio").attr("checked"),t=$("#input-payment-email-radio").attr("checked"),i=$("#input-payment-paypal-radio").attr("checked");i==="checked"&&$("#input-payment-paypal-radio-small").prop("checked",!0).checkboxradio("refresh");n==="checked"&&$("#input-payment-post-radio-small").prop("checked",!0).checkboxradio("refresh");t==="checked"&&$("#input-payment-email-radio-small").prop("checked",!0).checkboxradio("refresh")}if($("#payment-type-transfer").css("display")==="block"){var r=$("#input-payment-post-radio-small").attr("checked"),u=$("#input-payment-email-radio-small").attr("checked"),f=$("#input-payment-paypal-radio-small").attr("checked");f==="checked"&&$("#input-payment-paypal-radio").prop("checked",!0).checkboxradio("refresh");r==="checked"&&$("#input-payment-post-radio").prop("checked",!0).checkboxradio("refresh");u==="checked"&&$("#input-payment-email-radio").prop("checked",!0).checkboxradio("refresh")}}catch(e){}}function fieldchangereverse(n,t){if(n=n.replace("-",""),document.getElementById(n)!=undefined){var i=document.getElementById(n);i.value=t}}function goToByScroll(n){$("html,body").animate({scrollTop:$("#"+n).offset().top},"slow")}function changeGiftShow(n){n=n.replace("addressbutton-","changegift-");document.getElementById(n)!=undefined&&(document.getElementById(n).style.display="block",n=n.replace("changegift-",""),document.getElementById("closefly-"+n).click())}function giftSuccess(n){var u,t,r;if(n.success){for(checkSubmitToBuyNow(),id=n.cartId,u=document.getElementById("gifttext-"+id),u.style.display="block",t=document.getElementById("giftname-"+id),t.style.display="block",t.style.fontcolor="red",t.innerText=n.firstName+" "+n.lastName,r=document.getElementsByClassName("hidefield"),i=0;i<r.length;i++)r[i].style.display="none";giftfullname=n.firstName+" "+n.lastName;sessionStorage.setItem("fullname-"+id,giftfullname);sessionStorage.setItem("giftname-"+id,"success");sessionStorage.setItem("myaddresschange-"+id,"true");sessionStorage.setItem("id",id);location.reload();CalculateTotals();n.success=!1;location.reload()}}function Right(n,t){if(t<=0)return"";if(t>String(n).length)return n;var i=String(n).length;return String(n).substring(i,i-t)}function Left(n,t){return t<=0?"":t>String(n).length?n:String(n).substring(0,t)}function epapershippingSuccess(n){document.getElementById("epaper-shipping-"+n.cartId)!=undefined&&(document.getElementById("epaper-shipping-"+n.cartId).innerText=n.email);
1document.getElementById("try-"+n.cartId)!=undefined&&(document.getElementById("try-"+n.cartId).style.display="none");document.getElementById("text-"+n.cartId)!=undefined&&(document.getElementById("text-"+n.cartId).style.display="block");document.getElementById("email-"+n.cartId)!=undefined&&(document.getElementById("email-"+n.cartId).style.display="block",document.getElementById("email-"+n.cartId).innerText=n.email);document.getElementById("closefly-"+n.cartId)!=undefined&&document.getElementById("closefly-"+n.cartId).click();document.getElementById("myaddress-"+n.cartId)!=undefined&&(document.getElementById("myaddress-"+n.cartId).innerText="Gewünschte Lieferadresse: ");n.isGift=="true"&&location.reload()}function closeflyout(n){document.getElementById("closefly-"+n).click()}function epaperupdateshippingSuccess(n){document.getElementById("epaper-shipping-"+n.cartId).innerText=n.email;document.getElementById("myaddress-"+n.cartId).innerText="Gewünschte Lieferadresse: ";document.getElementById("closefly-"+n.cartId)!=undefined&&document.getElementById("closefly-"+n.cartId).click()}function reloadpage(n){if(n!=null&&n.message==="Erfolgreich")switch(n.path){case"/Zahlart":$("#proceed-to-zahlart").trigger("submit");break;case"/Account":location.reload();break;case window.location.href:location.reload();break;default:window.location.replace(n.path);document.location=n.path;location.reload()}else if(n!=null){var t=$("#accord-body-"+n.path).find($(".validation-summary-valid"));t.html(n.message);t.removeClass("validation-summary-valid");t.addClass("validation-summary-errors")}}function giftAddressSelectSubmit(n){var t=$("select#"+n+" option:selected").val();n=n.replace("shippingfield-","");$("#cartItemAddressPartial-"+n)!=undefined&&($("#cartItemAddressPartial-"+n).find("#ShippingAddressId").val(t),$("#cartItemAddressPartial-"+n).submit())}function fillfields(n){n!=null&&(document.getElementById("firstnamefield"+n.cartid)!=undefined&&(document.getElementById("firstnamefield"+n.cartid).value=n.firstname,document.getElementById("lastnamefield"+n.cartid).value=n.lastname,document.getElementById("streetfield"+n.cartid).value=n.street,document.getElementById("zipfield"+n.cartid).value=n.zip,document.getElementById("cityfield"+n.cartid).value=n.city,document.getElementById("countryfield"+n.cartid).value=n.countryid),document.getElementById("firstnamefield-"+n.cartid)!=undefined&&(document.getElementById("firstnamefield-"+n.cartid).value=n.firstname,document.getElementById("lastnamefield-"+n.cartid).value=n.lastname,document.getElementById("streetfield-"+n.cartid).value=n.street,document.getElementById("zipfield-"+n.cartid).value=n.zip,document.getElementById("cityfield-"+n.cartid).value=n.city,document.getElementById("countryfield-"+n.cartid).value=n.countryid))}function CheckoutBillingAddressUpdate(n){if(n.fullname!==undefined){switch(n.titleId){case 1:$("#checkoutBillingTitleId").text("Frau");break;case 2:$("#checkoutBillingTitleId").text("Herr");break;case 3:$("#checkoutBillingTitleId").text("Firma");break;case 4:$("#checkoutBillingTitleId").text("Abonnent");break;default:$("#checkoutBillingTitleId").text("Abonnent")}$("#checkoutBillingDegree").text(n.degree);$("#checkoutBillingFullname").text(n.fullname);$("#checkoutBillingStreet").text(n.street);$("#checkoutBillingZip").text(n.zip);$("#checkoutBillingCity").text(n.city);$("#checkoutBillingCountry").text(n.country);$("#address-popup").click()}}function clickcheck(n){var t,i;switch(n){case"agb-accept-small":t=$("#agb-accept-small").prop("checked");t===!0?($("#agb-accept-mid").prop("checked",!0),$("#agb-accept-small").prop("checked",!0)):($("#agb-accept-mid").prop("checked",!1),$("#agb-accept-small").prop("checked",!1));break;case"agb-accept-mid":i=$("#agb-accept-mid").prop("checked");i===!0?($("#agb-accept-small").prop("checked",!0),$("#agb-accept-mid").prop("checked",!0)):($("#agb-accept-small").prop("checked",!1),$("#agb-accept-mid").prop("checked",!1))}}function picchange(n){var t=n,r=t.replace("Medium","Original"),i;t=t.replace("Medium","DetailPage");r+=" 2x,"+t+" 1x";i=$("#detailpage-img");i.prop("src",t);i.prop("srcset",r)}function CheckoutStepsSuccess(){location.url("/Bestellbestaetigung")}function ChangeShippingCountrySuccess(n){n.success?location.reload():($("#alert-change-shipping-country").text("Fehler: "+n.message),$("#alert-change-shipping-country").hide(),$("#alert-change-shipping-country").delay(500).fadeIn(),$("#alert-change-shipping-country").delay(2e3).fadeOut())}function GiftSubscriptionSuccess(n){$("#loader").remove();
1$("#gift-subscription").html(n.view)}function CancelSubscriptionSuccess(n){$("#loader").remove();$("#cancel-subscription").html(n.view)}function LPSubscriptionSuccess(n){$("#loader").remove();$("#lp-subscription").html(n.view)}function getInvalidGiftConfigCartIds(){var n=[];return $('[id^="deliveryMode-immediate-"]').each(function(){var t=this.id.substring(23),r=document.getElementById("deliveryMode-immediate-"+t),u=document.getElementById("deliveryMode-scheduled-"+t),f=document.getElementById("deliveryMode-token-"+t),e=document.getElementById("recipientEmail-"+t),o=document.getElementById("scheduledDate-"+t),s=e?e.value.trim():"",h=s!==""&&/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(s),i=!1;r&&r.checked?i=h:u&&u.checked?i=h&&o&&o.value.trim()!=="":f&&f.checked&&(i=!0);i||n.push(t)}),n}function scrollToGiftConfig(n){var t=document.getElementById("cartItem-"+n);t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),t.classList.add("gift-config-highlight"),setTimeout(function(){t.classList.remove("gift-config-highlight")},4e3))}function checkSubmitToBuyNow(){var r=$('[id^="agb-accept-"]').prop("checked"),n=!0,t,u,i;try{$('[name^="BillingAddress.BillingTitleId"]').prop("checked")===!1&&$('[name^="BillingAddress.BillingTitleId"]').prop("value")!=="1"&&$('[name^="BillingAddress.BillingTitleId"]').prop("value")!=="2"&&(n=!1)}catch(f){}return(t=!1,u=document.getElementById("address-unchanged").value,(u===!1||u==="False")&&(t=!0),i=getInvalidGiftConfigCartIds(),r&&t&&n&&i.length===0)?($("#change-adress-alert").css("display","none"),$("#gift-config-alert").css("display","none"),$("#kasse-alert-mid").css("display","none"),$(".checktext").css("display","none"),$('[id^="agb-accept-"]').hasClass("checkboxerror")&&$('[id^="agb-accept-"]').removeClass("checkboxerror"),!0):($("#kasse-alert-mid").css("display","block"),$("#agb-alert").css("display","none"),$("#customer-title-alert").css("display","none"),$("#change-adress-alert").css("display","none"),r&&n?($("#agb-alert").css("display","none"),$(".checktext").css("display","none"),$('[id^="agb-accept-"]').hasClass("checkboxerror")&&$('[id^="agb-accept-"]').removeClass("checkboxerror")):(r||$("#agb-alert").css("display","block"),n||$("#customer-title-alert").css("display","block"),$(".checktext").css("display","block"),$('[id^="agb-accept-"]').addClass("checkboxerror")),t?$("#change-adress-alert").css("display","none"):$("#change-adress-alert").css("display","block"),i.length>0?($("#gift-config-alert").css("display","block"),scrollToGiftConfig(i[0])):$("#gift-config-alert").css("display","none"),$('[id^="kasse-alert"').delay(100).fadeIn(),!1)}function gaEventTrackPayment(){var n=$("#original-payment-type").val();trackGaEvent("send","event","zahlart",n)}function OrderTask(n){$("#order-task-result").text(n.message);$("#order-task-show-modal").trigger("click")}function showOfferModal(n){$("#productOfferModal-"+n).removeClass("dn")}function showInfoModal(n){$("#productDescriptionModal-"+n).removeClass("dn")}function cartInsertOnSuccessModal(n){if(n!=null&&n.success){if($("#result-cart-count").text(n.count),$("#result-cart-preview-"+n.SelectedProductId)!=undefined&&$("#result-cart-preview-"+n.SelectedProductId).attr("id")!=undefined){var t={url:"//"+location.hostname+":"+location.port+"/Product/CartInsertPartialV2",type:"POST",contentType:"application/json; charset=utf-8",data:JSON.stringify(n.message),success:function(t){$("#result-cart-preview-"+n.SelectedProductId).html(t);$("#product-insert-result-modal-"+n.SelectedProductId).modal({closeExisting:!0});$("#result-cart-count-small").text(n.count);$("#result-cart-count-small").addClass("dib");$("#form-refresh-cart-dropdown").delay(1e3).submit()},error:function(){}};$.ajax(t)}setDefaultValuesModal()}}function watchInsertOnSuccess(n){n!=null&&(n.success&&(document.getElementById("result-watch-count-small").innerText=n.count),document.getElementById("result-watch-insert").innerText=n.message)}function watchInsertOnSuccessModal(n){n!=null&&(n.success&&($("#result-watch-count-small").text(n.count),$("#result-watch-count-small").hasClass("dn")&&$("#result-watch-count-small").removeClass("dn")),document.getElementById("result-watch-insert-"+n.productId).innerText=n.message)}
1function setDefaultValuesModal(){var e=$('div[id^="#variant-1-"]'),n,t,i,r,u,f;e.each(function(){var n=$(this);n.removeClass("selected")});n=$('div[id^="#variant-2-"]');n.each(function(){var n=$(this);n.addClass("selected")});t=$('div[id^="#variant-3-"]');t.each(function(){var n=$(this);n.removeClass("selected")});i=$('div[id^="#format-1-"]');i.each(function(){var n=$(this);n.addClass("selected")});r=$('div[id^="#format-2-"]');r.each(function(){var n=$(this);n.removeClass("disabled").removeClass("selected")});u=$('div[id^="#offerdetail-"]');u.each(function(){var n=$(this);n.removeClass("selected").hide()});f=$('div[id^="#offerdetail-2-"]');f.each(function(){var n=$(this);n.removeClass("dn").addClass("selected").show()})}function setVariantModal(n,t){var i=$("#variant-"+n+"-"+t),r=i.siblings(".selected");if(i.hasClass("selected")||(r.each(function(){var n=$(this);n.removeClass("selected")}),i.addClass("selected")),$("#format-1-"+t).hasClass("selected"))switch(n){case 1:setOfferModal(1,t);break;case 2:setOfferModal(2,t);break;case 3:setOfferModal(3,t)}else if($("#format-2-"+t).hasClass("selected"))switch(n){case 1:setOfferModal(4,t);break;case 2:setOfferModal(5,t);break;case 3:setOfferModal(6,t)}else switch(n){case 1:setOfferModal(1,t);break;case 2:setOfferModal(2,t);break;case 3:setOfferModal(3,t)}}function setFormatModal(n,t){var i=$("#format-"+n+"-"+t),r=i.siblings(".selected");if(i.hasClass("selected")||(r.each(function(){var n=$(this);n.removeClass("selected")}),i.addClass("selected")),$("#variant-1-"+t).hasClass("selected"))switch(n){case 1:setOfferModal(1,t);break;case 2:setOfferModal(4,t)}else if($("#variant-2-"+t).hasClass("selected"))switch(n){case 1:setOfferModal(2,t);break;case 2:setOfferModal(5,t)}else switch(n){case 1:setOfferModal(3,t);break;case 2:setOfferModal(6,t)}}function setOfferModal(n,t){var i=$("#offerdetail-"+n+"-"+t),r=i.siblings(".selected");i.hasClass("selected")||(r.each(function(){var n=$(this);n.removeClass("selected").addClass("dn").hide()}),i.removeClass("dn").addClass("selected").show())}function setEpaperDisabledModal(n){$("#format-2-"+n).addClass("disabled");document.getElementById("format-2-"+n).disabled=!0}function setEpaperEnabledModal(n){$("#format-2-"+n).removeClass("disabled");document.getElementById("format-2-"+n).disabled=!1}function successNewsletter(n){n.message=="Erfolgreich"&&(window.location="/Home/NewsletterSubscriptionSuccess")}function productOfferModalOnSuccess(){$("#productOfferModal-open").removeClass("dn");$("#productOfferModal-open").modal({fadeDuration:100})}function productDescriptionModalOnSuccess(){$("#productDescriptionModal-open").removeClass("dn");$("#productDescriptionModal-open").modal({fadeDuration:100})}var back_to_top_button,sliders,Screen,ScreenHelper,toggleNodes;!function(n,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){function ii(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return"function"===r||i.isWindow(n)?!1:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n}function ri(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(bf.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return lt.call(t,n)>-1!==r})}function hr(n,t){while((n=n[t])&&1!==n.nodeType);return n}function kf(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function yt(){u.removeEventListener("DOMContentLoaded",yt);n.removeEventListener("load",yt);i.ready()}function et(){this.expando=i.expando+et.uid++}function lr(n,t,r){var u;if(void 0===r&&1===n.nodeType)if(u="data-"+t.replace(cr,"-$&").toLowerCase(),r=n.getAttribute(u),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:df.test(r)?i.parseJSON(r):r}catch(f){}e.set(n,t,r)}else r=void 0;return r}function vr(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||"px"!==o&&+s)&&ot.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f/=e,i.style(n,t,f+o);while(e!==(e=c()/s)&&1!==e&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h
vendor: 10,383 bytes, line 1
1)),h}function o(n,t){var r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):[];return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function ui(n,t){for(var i=0,u=n.length;u>i;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function kr(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;b>l;l++)if(e=n[l],e||0===e)if("object"===i.type(e))i.merge(y,e.nodeType?[e]:e);else if(br.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(pr.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];)if(u&&i.inArray(e,u)>-1)f&&f.push(e);else if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&ui(s),r)for(v=0;e=s[v++];)wr.test(e.type||"")&&r.push(e);return h}function pt(){return!0}function nt(){return!1}function gr(){try{return u.activeElement}catch(n){}}function fi(n,t,r,u,f,e){var o,s;if("object"==typeof t){"string"!=typeof r&&(u=u||r,r=void 0);for(s in t)fi(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),f===!1)f=nt;else if(!f)return n;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function nu(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function ee(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function oe(n){var t=ue.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function tu(n,t){var u,c,f,s,h,l,a,o;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),o=s.events)){delete h.handle;h.events={};for(f in o)for(u=0,c=o[f].length;c>u;u++)i.event.add(t,f,o[f][u])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function se(n,t){var i=t.nodeName.toLowerCase();"input"===i&&yr.test(n.type)?t.checked=n.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=n.defaultValue)}function b(n,t,u,e){t=gi.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,d=v-1,y=t[0],k=i.isFunction(y);if(k||v>1&&"string"==typeof y&&!f.checkClone&&re.test(y))return n.each(function(i){var r=n.eq(i);k&&(t[0]=y.call(this,i,r.html()));b(r,t,u,e)});if(v&&(l=kr(t,n[0].ownerDocument,!1,n,e),p=l.firstChild,1===l.childNodes.length&&(l=p),p||e)){for(c=i.map(o(l,"script"),ee),a=c.length;v>h;h++)s=l,h!==d&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,oe),h=0;a>h;h++)s=c[h],wr.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):i.globalEval(s.textContent.replace(fe,"")))}return n}function iu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&ui(o(u,"script")),u.parentNode.removeChild(u));return n}function ru(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.detach(),u}function oi(n){var r=u,t=ei[n];return t||(t=ru(n,r),"none"!==t&&t||(wt=(wt||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=wt[0].contentDocument,r.write(),r.close(),t=ru(n,r),wt.detach()),ei[n]=t),t}function tt(n,t,r){var o,s,h,u,e=n.style;return r=r||bt(n),u=r?r.getPropertyValue(t)||r[t]:void 0,""!==u&&void 0!==u||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),r&&!f.pixelMarginRight()&&si.test(u)&&uu.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h),void 0!==u?u+"":u}function ci(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function su(n){if(n in ou)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=eu.length;t--;)if(n=eu[t]+i,n in ou)return n}function hu(n,t,i){var r=ot.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function cu(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+w[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+w[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+w[e]+"Width",!0,f))):(o+=i.css(n,"padding"+w[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+w[e]+"Width",!0,f)));return o}function lu(n,t,r){var o=!0,u="width"===t?n.offsetWidth:n.offsetHeight,e=bt(n),s="border-box"===i.css(n,"boxSizing",!1,e);if(0>=u||null==u){if(u=tt(n,t,e),(0>u||null==u)&&(u=n.style[t]),si.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+cu(n,t,r||(s?"border":"content"),o,e)+"px"}function au(n,t){for(var e,u,s,o=[],f=0,h=n.length;h>f;f++)u=n[f],u.style&&(o[f]=r.get(u,"olddisplay"),e=u.style.display,t?(o[f]||"none"!==e||(u.style.display=""),""===u.style.display&&st(u)&&(o[f]=r.access(u,"olddisplay",oi(u.nodeName)))):(s=st(u),"none"===e&&s||r.set(u,"olddisplay",s?e:i.css(u,"display"))));for(f=0;h>f;f++)u=n[f],u.style&&(t&&"none"!==u.style.display&&""!==u.style.display||(u.style.display=t?o[f]||"":"none"));return n}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function pu(){return n.setTimeout(function(){it=void 0}),it=i.now()}function dt(n,t){var r,u=0,i={height:n};for(t=t?1:0;4>u;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function wu(n,t,i){for(var u,f=(l.tweeners[t]||[]).concat(l.tweeners["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function le(n,t,u){var f,a,p,v,o,w,h,b,l=this,y={},s=n.style,c=n.nodeType&&st(n),e=r.get(n,"fxshow");u.queue||(o=i._queueHooks(n,"fx"),null==o.unqueued&&(o.unqueued=0,w=o.empty.fire,o.empty.fire=function(){o.unqueued||w()}),o.unqueued++,l.always(function(){l.always(function(){o.unqueued--;i.queue(n,"fx").length||o.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],h=i.css(n,"display"),b="none"===h?r.get(n,"olddisplay")||oi(n.nodeName):h,"inline"===b&&"none"===i.css(n,"float")&&(s.display="inline-block"));u.overflow&&(s.overflow="hidden",l.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],vu.exec(a)){if(delete t[f],p=p||"toggle"===a,a===(c?"hide":"show")){if("show"!==a||!e||void 0===e[f])continue;c=!0}y[f]=e&&e[f]||i.style(n,f)}else h=void 0;if(i.isEmptyObject(y))"inline"===("none"===h?oi(n.nodeName):h)&&(s.display=h);else{e?"hidden"in e&&(c=e.hidden):e=r.access(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;r.remove(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=wu(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start="width"===f||"height"===f?1:0))}}function ae(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function l(n,t,r){var e,o,s=0,a=l.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=it||pu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;e>r;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),1>i&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:it||pu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;r>i;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(ae(h,u.opts.specialEasing);a>s;s++)if(e=l.prefilters[s].call(u,n,h,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,wu,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function k(n){return n.getAttribute&&n.getAttribute("class")||""}function ff(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function ef(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===yi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function wi(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function be(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return(f!==r[0]&&r.unshift(f),i[f])}function ke(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function bi(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||ge.test(n)?u(n,i):bi(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)bi(n+"["+f+"]",t[f],r,u)}function hf(n){return i.isWindow(n)?n:9===n.nodeType&&n.defaultView}
vendor: 4,119 bytes, line 1
1var y=[],u=n.document,v=y.slice,gi=y.concat,ti=y.push,lt=y.indexOf,at={},af=at.toString,ft=at.hasOwnProperty,f={},nr="2.2.4",i=function(n,t){return new i.fn.init(n,t)},vf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,yf=/^-ms-/,pf=/-([\da-z])/gi,wf=function(n,t){return t.toUpperCase()},p,ur,fr,er,or,sr,h,vt,a,g,br,wt,ei,it,kt,vu,yu,bu,rt,ku,du,gt,gu,nf,li,sf,ut,ki,ni,di,cf,lf;i.fn=i.prototype={jquery:nr,constructor:i,selector:"",length:0,toArray:function(){return v.call(this)},get:function(n){return null!=n?0>n?this[n+this.length]:this[n]:v.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(v.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ti,sort:y.sort,splice:y.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);c>u;u++)if(null!=(e=arguments[u]))for(f in e)r=n[f],t=e[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(o=i.isArray(t)))?(o?(o=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(nr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray,isWindow:function(n){return null!=n&&n===n.window},isNumeric:function(n){var t=n&&n.toString();return!i.isArray(n)&&t-parseFloat(t)+1>=0},isPlainObject:function(n){var t;if("object"!==i.type(n)||n.nodeType||i.isWindow(n)||n.constructor&&!ft.call(n,"constructor")&&!ft.call(n.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in n);return void 0===t||ft.call(n,t)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?at[af.call(n)]||"object":typeof n},globalEval:function(n){var t,r=eval;n=i.trim(n);n&&(1===n.indexOf("use strict")?(t=u.createElement("script"),t.text=n,u.head.appendChild(t).parentNode.removeChild(t)):r(n))},camelCase:function(n){return n.replace(yf,"ms-").replace(pf,wf)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ii(n)){for(r=n.length;r>i;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return null==n?"":(n+"").replace(vf,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ii(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ti.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:lt.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;u>i;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;e>r;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ii(n))for(e=n.length;e>r;r++)u=t(n[r],r,i),null!=u&&f.push(u);else for(r in n)u=t(n[r],r,i),null!=u&&f.push(u);return gi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return"string"==typeof t&&(u=n[t],t=n,n=u),i.isFunction(n)?(f=v.call(arguments,2),r=function(){return n.apply(t||this,f.concat(v.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r):void 0},now:Date.now,support:f});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=y[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){at["[object "+t+"]"]=t.toLowerCase()});p=function(n){function u(n,t,r,u){var l,w,a,s,nt,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(11!==v&&(d=sr.exec(n)))if(l=d[1]){if
vendor: 9,306 bytes, line 1
1(9===v){if(!(a=t.getElementById(l)))return r;if(a.id===l)return r.push(a),r}else if(p&&(a=p.getElementById(l))&&et(t,a)&&a.id===l)return r.push(a),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((l=d[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(l)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(1!==v)p=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(hr,"\\$&"):t.setAttribute("id",s=e),y=ft(n),w=y.length,nt=yi.test(s)?"#"+s:"[id='"+s+"']";w--;)y[w]=nt+" "+yt(y[w]);g=y.join(",");p=gt.test(n)&&ii(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(tt){}finally{s===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ni(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("div");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ti(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function cr(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ii(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function bi(){}function yt(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function ri(n,t,i){var r=t.dir,u=i&&"parentNode"===r,f=ki++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,o){var s,h,c,l=[v,f];if(o){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,o))return!0}else while(t=t[r])if(1===t.nodeType||u){if(c=t[e]||(t[e]={}),h=c[t.uniqueID]||(c[t.uniqueID]={}),(s=h[r])&&s[0]===v&&s[1]===f)return l[2]=s[2];if(h[r]=l,l[2]=n(t,i,o))return!0}}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function ar(n,t,i){for(var r=0,f=t.length;f>r;r++)u(n,t[r],i);return i}function pt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;s>f;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function fi(n,t,i,r,u,f){return r&&!r[e]&&(r=fi(r)),u&&!u[e]&&(u=fi(u,f)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||ar(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?b:pt(b,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=pt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=pt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=ri(function(n){return n===o},c,!0),a=ri(function(n){return nt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];s>i;i++)if(u=t.relative[n[i].type])f=[ri(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;s>r;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(f),i>1&&yt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(at,"$1"),u,r>i&&ei(n.slice(i,r)),s>r&&ei(n=n.slice(r)),s>r&&yt(n))}f.push(u)}return ui(f)}function vr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&null!=(y=rt[p]);p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=gi.call(l));w=pt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,f,t,st,oi,ft,wt,si,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,v=0,ki=0,hi=ni(),ci=ni(),lt=ni(),bt=function(n,t){return n===t&&(ut=!0),0},li=-2147483648,di={}.hasOwnProperty,g=[],gi=g.pop,nr=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1},kt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",dt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",tr=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ir=new RegExp("^"+r+"*,"+r+"*"),rr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),ur=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),fr=new RegExp(dt),yi=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+kt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},er=/^(?:input|select|textarea|button)$/i,or=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,sr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,hr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},pi=function(){b()};try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(yr){k={apply:g.length?function(n,t){nr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l!==i&&9===l.nodeType&&l.documentElement?(i=l,s=i.documentElement,h=!oi(i),(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=f.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+kt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"div");ct.call(n,"[s!='']:x");d.push("!=",dt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i))
vendor: 4,192 bytes, line 1
1)}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},bt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,1&r||!f.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return wi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0},i):i};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(ur,"='$1']"),f.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(e){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&di.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):void 0;return void 0!==u?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(bt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f.replace(tr," ")+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;b=k="only"===n&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(1===c.nodeType&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}
vendor: 12,901 bytes, line 1
1),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((f?c.nodeName.toLowerCase()===nt:1===c.nodeType)&&++l&&(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=wt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return yi.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return or.test(n.nodeName)},input:function(n){return er.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[0>i?i+t:i]}),even:it(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=0>i?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=cr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=lr(rt);return bi.prototype=t.filters=t.pseudos,t.setFilters=new bi,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=ir.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=rr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},wt=u.compile=function(n,t){var r,u=[],f=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[e]?u.push(i):f.push(i);i=lt(n,vr(f,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var s,e,o,a,v,l="function"==typeof n&&n,c=!u&&ft(n=l.selector||n);if(r=r||[],1===c.length){if(e=c[0]=c[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&f.getById&&9===i.nodeType&&h&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],!i)return r;l&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=vt.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(u=v(o.matches[0].replace(y,p),gt.test(e[0].type)&&ii(i.parentNode)||i))){if(e.splice(s,1),n=u.length&&yt(e),!n)return k.apply(r,u),r;break}}}return(l||wt(n,c))(u,i,!h,r,!i||gt.test(n)&&ii(i.parentNode)||i),r},f.sortStable=e.split("").sort(bt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("div"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ti("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ti("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ti(kt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=p;i.expr=p.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=p.uniqueSort;i.text=p.getText;i.isXMLDoc=p.isXML;i.contains=p.contains;var d=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},tr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},ir=i.expr.match.needsContext,rr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,bf=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,u=this.length,r=[],f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;u>t;t++)if(i.contains(f[t],this))return!0}));for(t=0;u>t;t++)i.find(n,f[t],r);return r=this.pushStack(u>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(ri(this,n||[],!1))},not:function(n){return this.pushStack(ri(this,n||[],!0))},is:function(n){return!!ri(this,"string"==typeof n&&ir.test(n)?i(n):n||[],!1).length}});fr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;er=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||ur,"string"==typeof n){if(f="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:fr.exec(n),!f||!f[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),rr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&e.parentNode&&(this.length=1,this[0]=e),this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?void 0!==r.ready?r.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};er.prototype=i.fn;ur=i(u);or=/^(?:parents|prev(?:Until|All))/;sr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;r>n;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=ir.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?lt.call(i(n),this[0]):lt.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return d(n,"parentNode")},parentsUntil:function(n,t,i){return d(n,"parentNode",i)},next:function(n){return hr(n,"nextSibling")},prev:function(n){return hr(n,"previousSibling")},nextAll:function(n){return d(n,"nextSibling")},prevAll:function(n){return d(n,"previousSibling")},nextUntil:function(n,t,i){return d(n,"nextSibling",i)},prevUntil:function(n,t,i){return d(n,"previousSibling",i)},siblings:function(n){return tr((n.parentNode||{}).firstChild,n)},children:function(n){return tr(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(sr[n]||i.uniqueSort(f),or.test(n)&&f.reverse()),this.pushStack(f)}});h=/\S+/g;i.Callbacks=function(n){n="string"==typeof n?kf(n):i.extend({},n);var o,r,h,f,t=[],e=[],u=-1,c=function(){for(f=n.once,h=o=!0;e.length;u=-1)for(r=e.shift();++u<t.length;)t[u].apply(r[0],r[1])===!1&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},s={add:function(){return t&&(r&&!o&&(u=t.length-1,e.push(r)),function f(r){i.each(r,function(r,u){i.isFunction(u)?n.unique&&s.has(u)||t.push(u):u&&u.length&&"string"!==i.type(u)&&f(u)})}(arguments),r&&!o&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var f;(f=i.inArray(r,t,f))>-1;)t.splice(f,1),u>=f&&u--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=e=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=e=[],r||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],e.push(t),o||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(f.notify).done(f.resolve).fail(f.reject):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[1^n][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=v.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?v.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);r>t;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().progress(h(t,c,o)).done(h(t,s,u)).fail(f.reject):--e;return e||f.resolveWith(s,u),f.promise()}});i.fn.ready=function(n){return i.ready.promise().done(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0||(vt.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))))}});i.ready.promise=function(t){return vt||(vt=i.Deferred(),"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?n.setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",yt),n.addEventListener("load",yt))),vt.promise(t)};i.ready.promise();a=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)a(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;c>s;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};g=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};et.uid=1;et.prototype={register:function(n,t){var i=t||{};return n.nodeType?n[this.expando]=i:Object.defineProperty(n,this.expando,{value:i,writable:!0,configurable:!0}),n[this.expando]},cache:function(n){if(!g(n))return{};var t=n[this.expando];return t||(t={},g(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[t]=i;else for(r in t)u[r]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][t]},access:function(n,t,r){var u;return void 0===t||t&&"string"==typeof t&&void 0===r?(u=this.get(n,t),void 0!==u?u:this.get(n,i.camel
1Case(t))):(this.set(n,t,r),void 0!==r?r:t)},remove:function(n,t){var f,r,e,u=n[this.expando];if(void 0!==u){if(void 0===t)this.register(n);else for(i.isArray(t)?r=t.concat(t.map(i.camelCase)):(e=i.camelCase(t),(t in u)?r=[t,e]:(r=e,r=(r in u)?[r]:r.match(h)||[])),f=r.length;f--;)delete u[r[f]];(void 0===t||i.isEmptyObject(u))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new et,e=new et,df=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,cr=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(void 0===n){if(this.length&&(s=e.get(u),1===u.nodeType&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),lr(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return"object"==typeof n?this.each(function(){e.set(this,n)}):a(this,function(t){var r,f;if(u&&void 0===t){if((r=e.get(u,n)||e.get(u,n.replace(cr,"-$&").toLowerCase()),void 0!==r)||(f=i.camelCase(n),r=e.get(u,f),void 0!==r)||(r=lr(u,f,void 0),void 0!==r))return r}else f=i.camelCase(n),this.each(function(){var i=e.get(this,f);e.set(this,f,t);n.indexOf("-")>-1&&void 0!==i&&e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return(t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[])},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var ar=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+ar+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],st=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)};var yr=/^(?:checkbox|radio)$/i,pr=/<([\w:-]+)/,wr=/^$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;br=/<|&#?\w+;/;!function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var gf=/^key/,ne=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,dr=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){if("undefined"!=typeof i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),t=(t||"").match(h)||[""],b=t.length;b--;)w=dr.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid
vendor: 4,630 bytes, line 1
1)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;)if(c=dr.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),o){for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){n=i.event.fix(n);var o,s,e,u,t,h=[],c=v.call(arguments),l=(r.get(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,l),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(t=u.handlers[s++])&&!n.isImmediatePropagationStopped();)n.rnamespace&&!n.rnamespace.test(t.namespace)||(n.handleObj=t,n.data=t.data,e=((i.event.special[t.origType]||{}).handle||t.handler).apply(u.elem,c),void 0!==e&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,t){var e,u,f,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&("click"!==n.type||isNaN(n.button)||n.button<1))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&(r.disabled!==!0||"click"!==n.type)){for(u=[],e=0;s>e;e++)o=t[e],f=o.selector+" ",void 0===u[f]&&(u[f]=o.needsContext?i(f,this).index(r)>-1:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var e,i,r,f=t.button;return null==n.pageX&&null!=t.clientX&&(e=n.target.ownerDocument||u,i=e.documentElement,r=e.body,n.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),n.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),n.which||void 0===f||(n.which=1&f?1:2&f?3:4&f?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,o,r=n.type,s=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=ne.test(r)?this.mouseHooks:gf.test(r)?this.keyHooks:{}),o=t.props?this.props.concat(t.props):this.props,n=new i.Event(s),f=o.length;f--;)e=o[f],n[e]=s[e];return n.target||(n.target=u),3===n.target.nodeType&&(n.target=n.target.parentNode),t.filter?t.filter(n,s):n},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==gr()&&this.focus)return(this.focus(),!1)},delegateType:"focusin"},blur:{trigger:function(){if(this===gr()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i.nodeName(this,"input"))return(this.click(),!1)},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&n.returnValue===!1?pt:nt):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={constructor:i.Event,isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=pt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=pt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=pt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};
vendor: 4,531 bytes, line 1
1i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return fi(this,n,t,i,r)},one:function(n,t,i,r){return fi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return t!==!1&&"function"!=typeof t||(r=t,t=void 0),r===!1&&(r=nt),this.each(function(){i.event.remove(this,n,r,t)})}});var te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ie=/<script|<style|<link/i,re=/checked\s*(?:[^=]|=\s*.checked.)/i,ue=/^true\/(.*)/,fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(te,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!(f.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=o(h),s=o(n),u=0,c=s.length;c>u;u++)se(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;c>u;u++)tu(s[u],e[u]);else tu(n,h);return e=o(h,"script"),e.length>0&&ui(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;void 0!==(t=n[o]);o++)if(g(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[e.expando]&&(t[e.expando]=void 0)}}});i.fn.extend({domManip:b,detach:function(n){return iu(this,n,!0)},remove:function(n){return iu(this,n)},text:function(n){return a(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return b(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=nu(this,n);t.appendChild(n)}})},prepend:function(){return b(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=nu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return b(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return b(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return a(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!ie.test(n)&&!c[(pr.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;u>r;r++)t=this[r]||{},1===t.nodeType&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return b(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ti.apply(f,u.get());return this.pushStack(f)}});ei={HTML:"block",BODY:"block"};var uu=/^margin/,si=new RegExp("^("+ar+")(?!px)[a-z%]+$","i"),bt=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},hi=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f},ht=u.documentElement;!function(){var s,e,h,c,r=u.createElement("div"),t=u.createElement("div");if(t.style){t.style.backgroundClip="content-box";t.cloneNode(!0).style.backgroundClip="";f.clearCloneStyle="content-box"===t.style.backgroundClip;r.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute";r.appendChild(t);function o(){t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";
1ht.appendChild(r);var i=n.getComputedStyle(t);s="1%"!==i.top;c="2px"===i.marginLeft;e="4px"===i.width;t.style.marginRight="50%";h="4px"===i.marginRight;ht.removeChild(r)}i.extend(f,{pixelPosition:function(){return o(),s},boxSizingReliable:function(){return null==e&&o(),e},pixelMarginRight:function(){return null==e&&o(),h},reliableMarginLeft:function(){return null==e&&o(),c},reliableMarginRight:function(){var f,i=t.appendChild(u.createElement("div"));return i.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",t.style.width="1px",ht.appendChild(r),f=!parseFloat(n.getComputedStyle(i).marginRight),ht.removeChild(r),t.removeChild(i),f}})}}();var he=/^(none|table(?!-c[ea]).+)/,ce={position:"absolute",visibility:"hidden",display:"block"},fu={letterSpacing:"0",fontWeight:"400"},eu=["Webkit","O","Moz","ms"],ou=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=tt(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;return t=i.cssProps[s]||(i.cssProps[s]=su(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===r?o&&"get"in o&&void 0!==(e=o.get(n,!1,u))?e:c[t]:(h=typeof r,"string"===h&&(e=ot.exec(r))&&e[1]&&(r=vr(n,t,e),h="number"),null!=r&&r===r&&("number"===h&&(r+=e&&e[3]||(i.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(c[t]=r)),void 0)}},css:function(n,t,r,u){var f,s,o,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=su(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=tt(n,t,u)),"normal"===f&&t in fu&&(f=fu[t]),""===r||r?(s=parseFloat(f),r===!0||isFinite(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return he.test(i.css(n,"display"))&&0===n.offsetWidth?hi(n,ce,function(){return lu(n,t,u)}):lu(n,t,u)},set:function(n,r,u){var f,e=u&&bt(n),o=u&&cu(n,t,u,"border-box"===i.css(n,"boxSizing",!1,e),e);return o&&(f=ot.exec(r))&&"px"!==(f[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),hu(n,r,o)}}});i.cssHooks.marginLeft=ci(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(tt(n,"marginLeft"))||n.getBoundingClientRect().left-hi(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.cssHooks.marginRight=ci(f.reliableMarginRight,function(n,t){if(t)return hi(n,{display:"inline-block"},tt,[n,"marginRight"])});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};uu.test(n)||(i.cssHooks[n+t].set=hu)});i.fn.extend({css:function(n,t){return a(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=bt(n),e=t.length;e>u;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return au(this,!0)},hide:function(){return au(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){st(this)?i(this).show():i(this).hide()})}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||null==n.elem.style[i.cssProps[n.prop]]&&!i.cssHooks[n.prop]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=s.prototype.init;i.fx.step={};vu=/^(?:toggle|show|hide)$/;yu=/queueHooks$/;i.Animation=i.extend(l,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return vr(i.elem,n,ot.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;f>u;
1u++)r=n[u],l.tweeners[r]=l.tweeners[r]||[],l.tweeners[r].unshift(t)},prefilters:[le],prefilter:function(n,t){t?l.prefilters.unshift(n):l.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,null!=u.queue&&u.queue!==!0||(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(st).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=l(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&yu.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));!s&&u||i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;s>t;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(dt(t,!0),n,i,u)}});i.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(it=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();it=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){kt||(kt=n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.clearInterval(kt);kt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=""!==n.value;f.optSelected=i.selected;t.disabled=!0;f.optDisabled=!i.disabled;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue="t"===n.value}();rt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return a(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(t=t.toLowerCase(),f=i.attrHooks[t]||(i.expr.match.bool.test(t)?bu:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):f&&"set"in f&&void 0!==(u=f.set(n,r,t))?u:(n.setAttribute(t,r+""),r):f&&"get"in f&&null!==(u=f.get(n,t))?u:(u=i.find.attr(n,t),null==u?void 0:u))},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(h);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)&&(n[u]=!1),n.removeAttribute(r)}});bu={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=rt[t]||i.find.attr;rt[t]=function(n,t,i){var u,f;
vendor: 15,026 bytes, line 1
1return i||(f=rt[t],rt[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,rt[t]=f),u}});ku=/^(?:input|select|textarea|button)$/i;du=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return a(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):ku.test(n.nodeName)||du.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});gt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,k(this)))});if("string"==typeof n&&n)for(o=n.match(h)||[];t=this[c++];)if(u=k(t),r=1===t.nodeType&&(" "+u+" ").replace(gt," ")){for(s=0;f=o[s++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");e=i.trim(r);u!==e&&t.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,k(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(o=n.match(h)||[];r=this[c++];)if(u=k(r),t=1===r.nodeType&&(" "+u+" ").replace(gt," ")){for(s=0;f=o[s++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return"boolean"==typeof t&&"string"===u?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,k(this),t),t)}):this.each(function(){var t,e,f,o;if("string"===u)for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else void 0!==n&&"boolean"!==u||(t=k(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+k(t)+" ").replace(gt," ").indexOf(i)>-1)return!0;return!1}});gu=/\r/g;nf=/[\x20\t\r\n\f]+/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;1===this.nodeType&&(u=f?n.call(this,r,i(this).val()):n,null==u?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(u,"value"))?r:(r=u.value,"string"==typeof r?r.replace(gu,""):null==r?"":r)):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:i.trim(i.text(n)).replace(nf," ")}},select:{get:function(n){for(var o,t,s=n.options,r=n.selectedIndex,u="select-one"===n.type||0>r,h=u?null:[],c=u?r+1:s.length,e=0>r?c:u?r:0;c>e;e++)if(t=s[e],(t.selected||e===r)&&(f.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),u)return o;h.push(o)}return h},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});li=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=ft.call(t,"type")?t.type:t,y=ft.call(t,"namespace")?t.namespace.split("."):[];if(s=c=e=e||u,3!==e.nodeType&&8!==e.nodeType&&!li.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,li.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&g(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||l._default&&l._default.apply(p.pop(),f)!==!1||!g(e)||a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=void 0,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ct=n.location,ai=i.now(),vi=/\?/;i.parseJSON=function(n){return JSON.parse(n+"")};i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var ve=/#.*$/,tf=/([?&])_=[^&]*/,ye=/^(.*?):[ \t]*([^\r\n]*)$/gm,pe=/^(?:GET|HEAD)$/,we=/^\/\//,rf={},yi={},uf="*/".concat("*"),pi=u.createElement("a");pi.href=ct.href;i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":uf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?wi(wi(n,i.ajaxSettings),t):wi(i.ajaxSettings,n)},ajaxPrefilter:ff(rf),ajaxTransport:ff(yi),ajax:function(t,r){function b(t,r,u,h){var a,rt,it,p,b,l=r;2!==s&&(s=2,d&&n.clearTimeout(d),v=void 0,k=h||"",e.readyState=t>0?4:0,a=t>=200&&300>t||304===t,u&&(p=be(f,e,u)),p=ke(f,p,e,a),a?(f.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),204===t||"HEAD"===f.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,it=p.error,a=!it)):(it=l,!t&&l||(l="error",0>t&&(t=0))),e.status=t,e.statusText=(r||l)+"",a?nt.resolveWith(c,[rt,l,e]):nt.rejectWith(c,[e,l,it]),e.statusCode(w),w=void 0,y&&g.trigger(a?"ajaxSuccess":"ajaxError",[e,f,a?rt:it]),tt.fireWith(c,[e,l]),y&&(g.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var v,o,k,p,d,l,y,a,f=i.ajaxSetup({},r),c=f.context||f,g=f.context&&(c.nodeType||c.jquery)?i(c):i.event,nt=i.Deferred(),tt=i.Callbacks("once memory"),w=f.statusCode||{},it={},rt={},s=0,ut="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(2===s){if(!p)for(p={};t=ye.exec(k);)p[t[1].toLowerCase()]=t[2];t=p[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===s?k:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return s||(n=rt[i]=rt[i]||n,it[n]=t),this},overrideMimeType:function(n){return s||(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>s)for(t in n)w[t]=[w[t],n[t]];else e.always(n[e.status]);return this},abort:function(n){var t=n||ut;return v&&v.abort(t),b(0,t),this}};if(nt.promise(e).complete=tt.add,e.success=e.done,e.error=e.fail,f.url=((t||f.url||ct.href)+"").replace(ve,"").replace(we,ct.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=i.trim(f.dataType||"*").toLowerCase().match(h)||[""],null==f.crossDomain){l=u.createElement("a");try{l.href=f.url;l.href=l.href;f.crossDomain=pi.protocol+"//"+pi.host!=l.protocol+"//"+l.host}catch(ft){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=i.param(f.data,f.traditional)),ef(rf,f,r,e),2===s)return e;y=i.event&&f.global;y&&0==i.active++&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!pe.test(f.type);o=f.url;f.hasContent||(f.data&&(o=f.url+=(vi.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=tf.test(o)?o.replace(tf,"$1_="+ai++):o+(vi.test(o)?"&":"?")+"_="+ai++));f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&f.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+uf+"; q=0.01":""):f.accepts["*"]);for(a in f.headers)e.setRequestHeader(a,f.headers[a]);if(f.beforeSend&&(f.beforeSend.call(c,e,f)===!1||2===s))return e.abort();ut="abort";for(a in{success:1,error:1,complete:1})e[a](f[a]);if(v=ef(yi,f,r,e)){if(e.readyState=1,y&&g.trigger("ajaxSend",[e,f]),2===s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=1;v.send(it,b)}catch(ft){if(!(2>s))throw ft;b(-1,ft)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}});i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}});i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})};i.fn.extend({wrapAll:function(n){var t;return i.isFunction(n)?this.each(function(t){i(this).wrapAll(n.call(this,t))}):(this[0]&&(t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this)},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});i.expr.filters.hidden=function(n){return!i.expr.filters.visible(n)};i.expr.filters.visible=function(n){return n.offsetWidth>0||n.offsetHeight>0||n.getClientRects().length>0};var de=/%20/g,ge=/\[\]$/,of=/\r?\n/g,no=/^(?:submit|button|image|reset|file)$/i,to=/^(?:input|select|textarea|keygen)/i;return i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():null==t?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(void 0===t&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)bi(r,n[r],t,f);return u.join("&").replace(de,"+")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&to.test(this.nodeName)&&!no.test(n)&&(this.checked||!yr.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(of,"\r\n")}}):{name:t.name,value:r.replace(of,"\r\n")}}).get()}}),i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},sf={0:200,1223:204},ut=i.ajaxSettings.xhr(),f.cors=!!ut&&"withCredentials"in ut,f.ajax=ut=!!ut,i.ajaxTransport(function(t){var i,r;if(f.cors||ut&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(sf[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>
1").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),ki=[],ni=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=ki.pop()||i.expando+"_"+ai++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ni.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return(f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ni,"$1"+f):t.jsonp!==!1&&(t.url+=(vi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){void 0===e?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,ki.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=void 0}),"script")}),i.parseHTML=function(n,t,r){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(r=t,t=!1);t=t||u;var f=rr.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=kr([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},di=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&di)return di.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var t,f,r=this[0],u={top:0,left:0},e=r&&r.ownerDocument;if(e)return t=e.documentElement,i.contains(t,r)?(u=r.getBoundingClientRect(),f=hf(e),{top:u.top+f.pageYOffset-t.clientTop,left:u.left+f.pageXOffset-t.clientLeft}):u},position:function(){if(this[0]){var n,r,u=this[0],t={top:0,left:0};return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||ht})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return a(this,function(n,i,u){var f=hf(n);return void 0===u?f?f[t]:n[i]:void(f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u)},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=ci(f.pixelPosition,function(n,r){if(r)return(r=tt(n,t),si.test(r)?i(n).position()[t]+"px":r)})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var e=arguments.length&&(r||"boolean"!=typeof u),o=r||(u===!0||f===!0?"margin":"border");return a(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:9===t.nodeType?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):void 0===u?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:void 0,e,null)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)},size:function(){return this.length}}),i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),cf=n.jQuery,lf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=lf),t&&n.jQuery===i&&(n.jQuery=cf),i},t||(n.jQuery=n.$=i),i}),function(n){function i(n,t){for(var i=window,r=(n||"").split(".");i&&r.length;)i=i[r.shift()];return typeof i=="function"?i:(t.push(n),Function.constructor.apply(null,t))}function r(n){return n==="GET"||n==="POST"}function e(n,t){r(t)||n.setRequestHeader("X-HTTP-Method-Override",t)}function o(t,i,r){var u;r.indexOf("application/x-javascript")===-1&&(u=(t.getAttribute("data-ajax-mode")||"").toUpperCase(),n(t.getAttribute("data-ajax-update")).each(function(t,r){var f;switch(u){case"BEFORE":f=r.firstChild;n("<div />").html(i).contents().each(function(){r.insertBefore(this,f)});break;case"AFTER":n("<div />").html(i).contents().each(function(){r.appendChild(this)});break;default:n(r).html(i)}}))}function u(t,u){var s,h,f,c;(s=t.getAttribute("data-ajax-confirm"),!s||window.confirm(s))&&(h=n(t.getAttribute("data-ajax-loading")),c=t.getAttribute("data-ajax-loading-duration")||0,n.extend(u,{type:t.getAttribute("data-ajax-method")||undefined,url:t.getAttribute("data-ajax-url")||undefined,beforeSend:function(n){var r;return e(n,f),r=i(t.getAttribute("data-ajax-begin"),["xhr"]).apply(this,arguments),r!==!1&&h.show(c),r}
1,complete:function(){h.hide(c);i(t.getAttribute("data-ajax-complete"),["xhr","status"]).apply(this,arguments)},success:function(n,r,u){o(t,n,u.getResponseHeader("Content-Type")||"text/html");i(t.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(this,arguments)},error:i(t.getAttribute("data-ajax-failure"),["xhr","status","error"])}),u.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),f=u.type.toUpperCase(),r(f)||(u.type="POST",u.data.push({name:"X-HTTP-Method-Override",value:f})),n.ajax(u))}function s(t){var i=n(t).data(f);return!i||!i.validate||i.validate()}var t="unobtrusiveAjaxClick",f="unobtrusiveValidation";n(document).on("click","a[data-ajax=true]",function(n){n.preventDefault();u(this,{url:this.href,type:"GET",data:[]})});n(document).on("click","form[data-ajax=true] input[type=image]",function(i){var r=i.target.name,u=n(i.target),f=u.parents("form")[0],e=u.offset();n(f).data(t,[{name:r+".x",value:Math.round(i.pageX-e.left)},{name:r+".y",value:Math.round(i.pageY-e.top)}]);setTimeout(function(){n(f).removeData(t)},0)});n(document).on("click","form[data-ajax=true] :submit",function(i){var r=i.target.name,u=n(i.target).parents("form")[0];n(u).data(t,r?[{name:r,value:i.target.value}]:[]);setTimeout(function(){n(u).removeData(t)},0)});n(document).on("submit","form[data-ajax=true]",function(i){var r=n(this).data(t)||[];(i.preventDefault(),s(this))&&u(this,{url:this.action,type:this.method||"GET",data:r.concat(n(this).serializeArray())})})}(jQuery);window.Modernizr=function(n,t,i){function a(n){c.cssText=n}function vt(n,t){return a(y.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function lt(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function yt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ot.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?lt(u,t):(u=(n+" "+st.join(r+" ")+r).split(" "),yt(u,t,i))}function pt(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)w[i[r]]=!!(i[r]in o);return w.list&&(w.list=!!(t.createElement("datalist")&&n.HTMLDataListElement)),w}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));u.inputtypes=function(n){for(var u=0,r,f,e,h=n.length;u<h;u++)o.setAttribute("type",f=n[u]),r=o.type!=="text",r&&(o.value=g,o.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&o.style.WebkitAppearance!==i?(s.appendChild(o),e=t.defaultView,r=e.getComputedStyle&&e.getComputedStyle(o,null).WebkitAppearance!=="textfield"&&o.offsetHeight!==0,s.removeChild(o)):/^(search|tel)$/.test(f)||(r=/^(url|email)$/.test(f)?o.checkValidity&&o.checkValidity()===!1:o.value!=g)),ht[n[u]]=!!r;return ht}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var u={},d=!0,s=t.documentElement,e="modernizr",ut=t.createElement(e),c=ut.style,o=t.createElement("input"),g=":)",ft={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),et="Webkit Moz O ms",ot=et.split(" "),st=et.toLowerCase().split(" "),p={svg:"http://www.w3.org/2000/svg"},r={},ht={},w={},nt=[],tt=nt.slice,b,l=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,o=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:e+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',e,'">',n,"<\/style>"].join(""),f.id=e,(h?f:o).innerHTML+=l,o.appendChild(f),h||(o.style.background="",o.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(o)),a=i(f,n),h?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),s.style.overflow=v),!!a},at=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(l("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},ct=function(){function r(r,u){u=u||t.createElement(n[r]||"div");r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=h(u[r],"function"),h(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),it={}.hasOwnProperty,rt,k;rt=h(it,"undefined")||h(it.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return it.call(n,t)};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;
1return i=tt.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(tt.call(arguments))),Object(u)===u)?u:e:t.apply(n,i.concat(tt.call(arguments)))},r});r.flexbox=function(){return f("flexWrap")};r.flexboxlegacy=function(){return f("boxDirection")};r.canvas=function(){var n=t.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))};r.canvastext=function(){return!!(u.canvas&&h(t.createElement("canvas").getContext("2d").fillText,"function"))};r.webgl=function(){return!!n.WebGLRenderingContext};r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:l(["@media (",y.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};r.geolocation=function(){return"geolocation"in navigator};r.postmessage=function(){return!!n.postMessage};r.websqldatabase=function(){return!!n.openDatabase};r.indexedDB=function(){return!!f("indexedDB",n)};r.hashchange=function(){return ct("hashchange",n)&&(t.documentMode===i||t.documentMode>7)};r.history=function(){return!!(n.history&&history.pushState)};r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n};r.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n};r.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")};r.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(c.backgroundColor,"hsla")};r.multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)};r.backgroundsize=function(){return f("backgroundSize")};r.borderimage=function(){return f("borderImage")};
1r.borderradius=function(){return f("borderRadius")};r.boxshadow=function(){return f("boxShadow")};r.textshadow=function(){return t.createElement("div").style.textShadow===""};r.opacity=function(){return vt("opacity:.55"),/^0.55$/.test(c.opacity)};r.cssanimations=function(){return f("animationName")};r.csscolumns=function(){return f("columnCount")};r.cssgradients=function(){var n="background-image:";return a((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+y.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),v(c.backgroundImage,"gradient")};r.cssreflections=function(){return f("boxReflect")};r.csstransforms=function(){return!!f("transform")};r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};r.csstransitions=function(){return f("transition")};r.fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&e.indexOf(r.split(" ")[0])===0}),n};r.generatedcontent=function(){var n;return l(["#",e,"{font:0/0 a}#",e,':after{content:"',g,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n};r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n};r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n};r.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}};r.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}};r.webworkers=function(){return!!n.Worker};r.applicationcache=function(){return!!n.applicationCache};r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(p.svg,"svg").createSVGRect};r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==p.svg};r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(ft.call(t.createElementNS(p.svg,"animate")))};r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(ft.call(t.createElementNS(p.svg,"clipPath")))};for(k in r)rt(r,k)&&(b=k.toLowerCase(),u[b]=r[k](),nt.push((u[b]?"":"no-")+b));return u.input||pt(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)rt(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t;typeof d!="undefined"&&d&&(s.className+=" "+(t?"":"no-")+n);u[n]=t}return u},a(""),ut=o=null,function(n,t){function p(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 c(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function o(n){var t=h[n[s]];return t||(t={},e++,n[s]=e,h[e]=t),t}function l(n,r,u){if(r||(r=t),i)return r.createElement(n);u||(u=o(r));var f;return f=u.cache[n]?u.cache[n].cloneNode():y.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),f.canHaveChildren&&!v.test(n)&&!f.tagUrn?u.frag.appendChild(f):f}function w(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||o(n);for(var f=r.frag.cloneNode(),u=0,e=c(),s=e.length;u<s;u++)f.createElement(e[u]);return f}function b(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?l(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function a(n){n||(n=t);var u=o(n);return!r.shivCSS||f||u.hasCSS||(u.hasCSS=!!p(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
1play:block}mark{background:#FF0;color:#000}template{display:none}")),i||b(n,u),n}var u=n.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,y=/^(?: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,f,s="_html5shiv",e=0,h={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";f="hidden"in n;i=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(r){f=!0;i=!0}})();r={elements:u.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:u.shivCSS!==!1,supportsUnknownElements:i,shivMethods:u.shivMethods!==!1,type:"default",shivDocument:a,createElement:l,createDocumentFragment:w};n.html5=r;a(t)}(this,t),u._version="2.8.3",u._prefixes=y,u._domPrefixes=st,u._cssomPrefixes=ot,u.mq=at,u.hasEvent=ct,u.testProp=function(n){return lt([n])},u.testAllProps=f,u.testStyles=l,u.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(d?" js "+nt.join(" "):""),u}(this,this.document);window.onclick=function(n){var i,t,r;if(!n.target.classList.contains("dropbtn"))for(i=document.getElementsByClassName("dropdown-content"),t=0;t<i.length;t++)r=i[t],r.classList.contains("show")&&r.classList.remove("show")},function(n){var t=n(window);n.fn.visible=function(n,i,r){if(!(this.length<1)){var e=this.length>1?this.eq(0):this,o=e.get(0),s=t.width(),h=t.height(),r=r?r:"both",f=i===!0?o.offsetWidth*o.offsetHeight:!0;if(typeof o.getBoundingClientRect=="function"){var u=o.getBoundingClientRect(),y=u.top>=0&&u.top<h,p=u.bottom>0&&u.bottom<=h,w=u.left>=0&&u.left<s,b=u.right>0&&u.right<=s,k=n?y||p:y&&p,d=n?w||b:w&&b;if(r==="both")return f&&k&&d;if(r==="vertical")return f&&k;if(r==="horizontal")return f&&d}else{var c=t.scrollTop(),g=c+h,l=t.scrollLeft(),nt=l+s,tt=e.offset(),a=tt.top,it=a+e.height(),v=tt.left,rt=v+e.width(),ut=n===!0?it:a,ft=n===!0?a:it,et=n===!0?rt:v,ot=n===!0?v:rt;if(r==="both")return!!f&&ft<=g&&ut>=c&&ot<=nt&&et>=l;if(r==="vertical")return!!f&&ft<=g&&ut>=c;if(r==="horizontal")return!!f&&ot<=nt&&et>=l}}}}(jQuery);!function(n,t,i,r){"use strict";function f(n){return("string"==typeof n||n instanceof String)&&(n=n.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,"")),n}var e=function(t){for(var i=t.length,r=n("head");i--;)0===r.has("."+t[i]).length&&r.append('<meta class="'+t[i]+'" />')};e(["foundation-mq-small","foundation-mq-small-only","foundation-mq-medium","foundation-mq-medium-only","foundation-mq-large","foundation-mq-large-only","foundation-mq-xlarge","foundation-mq-xlarge-only","foundation-mq-xxlarge","foundation-data-attribute-namespace"]);n(function(){"undefined"!=typeof FastClick&&"undefined"!=typeof i.body&&FastClick.attach(i.body)});var u=function(t,r){if("string"==typeof t){if(r){var u;if(r.jquery){if(u=r[0],!u)return r}else u=r;return n(u.querySelectorAll(t))}return n(i.querySelectorAll(t))}return n(t,r)},o=function(n){var t=[];return n||t.push("data"),this.namespace.length>0&&t.push(this.namespace),t.push(this.name),t.join("-")},s=function(n){for(var i=n.split("-"),t=i.length,r=[];t--;)0!==t?r.push(i[t]):this.namespace.length>0?r.push(this.namespace,i[t]):r.push(i[t]);return r.reverse().join("-")},h=function(t,i){var r=this,f=function(){var f=u(this),e=!f.data(r.attr_name(!0)+"-init");f.data(r.attr_name(!0)+"-init",n.extend({},r.settings,i||t,r.data_options(f)));e&&r.events(this)};return u(this.scope).is("["+this.attr_name()+"]")?f.call(this.scope):u("["+this.attr_name()+"]",this.scope).each(f),"string"==typeof t?this[t].call(this,i):void 0},c=function(n,t){function i(){t(n[0])}function r(){if(this.one("load",i),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var n=this.attr("src"),t=n.match(/\?/)?"&":"?";t+="random="+(new Date).getTime();this.attr("src",n+t)}}return n.attr("src")?void(n[0].complete||4===n[0].readyState?i():r.call(n)):void i()};t.matchMedia=t.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=42===t.offsetWidth,i.removeChild(r),{matches:u,media:n}}}(i),function(n){function o(){u&&(r(o),s&&n.fx.tick())}for(var u,i=0,f=["webkit","moz"],r=t.requestAnimationFrame,e=t.cancelAnimationFrame,s="undefined"!=typeof n.fx;i<f.length&&!r;i++)r=t[f[i]+"RequestAnimationFrame"],e=e||t[f[i]+"CancelAnimationFrame"]||t[f[i]+"CancelRequestAnimationFrame"];r?(t.requestAnimationFrame=r,t.cancelAnimationFrame=e,s&&(n.fx.timer=function(t){t()&&n.timers.push(t)&&!u&&(u=!0,o())},n.fx.stop=function(){u=!1})):(t.requestAnimationFrame=function(n){var r=(new Date).getTime(),u=Math.max(0,16-(r-i)),f=t.setTimeout(function(){n(r+u)},u);return i=r+u,f},t.cancelAnimationFrame=function(n){clearTimeout(n)})}(n);t.Foundation={name:"Foundation",version:"5.5.1",media_queries:{small:u(".foun
vendor: 18,009 bytes, line 1
1dation-mq-small").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"small-only":u(".foundation-mq-small-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),medium:u(".foundation-mq-medium").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"medium-only":u(".foundation-mq-medium-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),large:u(".foundation-mq-large").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"large-only":u(".foundation-mq-large-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xlarge:u(".foundation-mq-xlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"xlarge-only":u(".foundation-mq-xlarge-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xxlarge:u(".foundation-mq-xxlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,"")},stylesheet:n("<style><\/style>").appendTo("head")[0].sheet,global:{namespace:r},init:function(n,i,r,f,e){var h=[n,r,f,e],o=[],s;if(this.rtl=/rtl/i.test(u("html").attr("dir")),this.scope=n||this.scope,this.set_namespace(),i&&"string"==typeof i&&!/reflow/i.test(i))this.libs.hasOwnProperty(i)&&o.push(this.init_lib(i,h));else for(s in this.libs)o.push(this.init_lib(s,i));return u(t).load(function(){u(t).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),n},init_lib:function(t,i){return this.libs.hasOwnProperty(t)?(this.patch(this.libs[t]),i&&i.hasOwnProperty(t)?("undefined"!=typeof this.libs[t].settings?n.extend(!0,this.libs[t].settings,i[t]):"undefined"!=typeof this.libs[t].defaults&&n.extend(!0,this.libs[t].defaults,i[t]),this.libs[t].init.apply(this.libs[t],[this.scope,i[t]])):(i=i instanceof Array?i:new Array(i),this.libs[t].init.apply(this.libs[t],i))):function(){}},patch:function(n){n.scope=this.scope;n.namespace=this.global.namespace;n.rtl=this.rtl;n.data_options=this.utils.data_options;n.attr_name=o;n.add_namespace=s;n.bindings=h;n.S=this.utils.S},inherit:function(n,t){for(var i=t.split(" "),r=i.length;r--;)this.utils.hasOwnProperty(i[r])&&(n[i[r]]=this.utils[i[r]])},set_namespace:function(){var t=this.global.namespace===r?n(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=t===r||/false/i.test(t)?"":t},libs:{},utils:{S:u,throttle:function(n,t){var i=null;return function(){var r=this,u=arguments;null==i&&(i=setTimeout(function(){n.apply(r,u);i=null},t))}},debounce:function(n,t,i){var r,u;return function(){var f=this,e=arguments,o=function(){r=null;i||(u=n.apply(f,e))},s=i&&!r;return clearTimeout(r),r=setTimeout(o,t),s&&(u=n.apply(f,e)),u}},data_options:function(t,i){function h(n){return!isNaN(+n)&&null!==n&&""!==n&&n!==!1&&n!==!0}function o(t){return"string"==typeof t?n.trim(t):t}i=i||"options";var u,r,f,s={},c=function(n){var t=Foundation.global.namespace;return n.data(t.length>0?t+"-"+i:i)},e=c(t);if("object"==typeof e)return e;for(f=(e||":").split(";"),u=f.length;u--;)r=f[u].split(":"),r=[r[0],r.slice(1).join(":")],/true/i.test(r[1])&&(r[1]=!0),/false/i.test(r[1])&&(r[1]=!1),h(r[1])&&(r[1]=-1===r[1].indexOf(".")?parseInt(r[1],10):parseFloat(r[1])),2===r.length&&r[0].length>0&&(s[o(r[0])]=o(r[1]));return s},register_media:function(t,i){Foundation.media_queries[t]===r&&(n("head").append('<meta class="'+i+'"/>'),Foundation.media_queries[t]=f(n("."+i).css("font-family")))},add_custom_rule:function(n,t){if(t===r&&Foundation.stylesheet)Foundation.stylesheet.insertRule(n,Foundation.stylesheet.cssRules.length);else{var i=Foundation.media_queries[t];i!==r&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[t]+"{ "+n+" }")}},image_loaded:function(n,t){var r=this,i=n.length;0===i&&t(n);n.each(function(){c(r.S(this),function(){i-=1;0===i&&t(n)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)},match:function(n){return t.matchMedia(n).matches},is_small_up:function(){return this.match(Foundation.media_queries.small)},is_medium_up:function(){return this.match(Foundation.media_queries.medium)},is_large_up:function(){return this.match(Foundation.media_queries.large)},is_xlarge_up:function(){return this.match(Foundation.media_queries.xlarge)},is_xxlarge_up:function(){return this.match(Foundation.media_queries.xxlarge)},is_small_only:function(){return!(this.is_medium_up()||this.is_large_up()||this.is_xlarge_up()||this.is_xxlarge_up())},is_medium_only:function(){return this.is_medium_up()&&!this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_large_only:function(){return this.is_medium_up()&&this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xxlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&this.is_xxlarge_up()}}};n.fn.foundation=function(){var n=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(n)),this})}}(jQuery,window,window.document),function(n,t,i){"use strict";Foundation.libs.abide={name:"abide",version:"5.5.1",settings:{live_validate:!0,validate_on_blur:!0,focus_on_invalid:!0,error_labels:!0,error_class:"error",timeout:1e3,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/},validators:{equalTo:function(n){var t=i.getElementById(n.getAttribute(this.add_namespace("data-equalto"))).value,r=n.value;return t===r}}},timer:null,init:function(n,t,i){this.bindings(t,i)},events:function(t){var i=this,u=i.S(t).attr("novalidate","novalidate"),r=u.data(this.attr_name(!0)+"-init")||{};this.invalid_attr=this.add_namespace("data-invalid");u.off(".abide").on("submit.fndtn.abide validate.fndtn.abide",function(n){var t=/ajax/i.test(i.S(this).attr(i.attr_name()));return i.validate(i.S(this).find("input, textarea, select").get(),n,t)}).on("reset",function(){return i.reset(n(this))}).find("input, textarea, select").off(".abide").on("blur.fndtn.abide change.fndtn.abide",function(n){r.validate_on_blur===!0&&i.validate([this],n)}).on("keydown.fndtn.abide",function(n){r.live_validate===!0&&9!=n.which&&(clearTimeout(i.timer),i.timer=setTimeout(function(){i.validate([this],n)}.bind(this),r.timeout))})},reset:function(t){t.removeAttr(this.invalid_attr);n(this.invalid_attr,t).removeAttr(this.invalid_attr);n("."+this.settings.error_class,t).not("small").removeClass(this.settings.error_class)},validate:function(n,t,i){for(var f=this.parse_patterns(n),o=f.length,u=this.S(n[0]).closest("form"),e=/submit/.test(t.type),r=0;o>r;r++)if(!f[r]&&(e||i))return this.settings.focus_on_invalid&&n[r].focus(),u.trigger("invalid").trigger("invalid.fndtn.abide"),this.S(n[r]).closest("form").attr(this.invalid_attr,""),!1;return(e||i)&&u.trigger("valid").trigger("valid.fndtn.abide"),u.removeAttr(this.invalid_attr),i?!1:!0},parse_patterns:function(n){for(var t=n.length,i=[];t--;)i.push(this.pattern(n[t]));return this.check_validation_and_apply_styles(i)},pattern:function(n){var r=n.getAttribute("type"),i="string"==typeof n.getAttribute("required"),t=n.getAttribute("pattern")||"";return this.settings.patterns.hasOwnProperty(t)&&t.length>0?[n,this.settings.patterns[t],i]:t.length>0?[n,new RegExp(t),i]:this.settings.patterns.hasOwnProperty(r)?[n,this.settings.patterns[r],i]:(t=/.*/,[n,t,i])},check_validation_and_apply_styles:function(t){var e=t.length,a=[],y=this.S(t[0][0]).closest("[data-"+this.attr_name(!0)+"]"),c,l;for(y.data(this.attr_name(!0)+"-init")||{};e--;){var f,v,i=t[e][0],u=t[e][2],p=i.value.trim(),s=this.S(i).parent(),h=i.getAttribute(this.add_namespace("data-abide-validator")),w="radio"===i.type,b="checkbox"===i.type,o=this.S('label[for="'+i.getAttribute("id")+'"]'),k=u?i.value.length>0:!0,r=[];(i.getAttribute(this.add_namespace("data-equalto"))&&(h="equalTo"),f=s.is("label")?s.parent():s,h&&(v=this.settings.validators[h].apply(this,[i,u,f]),r.push(v)),w&&u)?r.push(this.valid_radio(i,u)):b&&u?r.push(this.valid_checkbox(i,u)):(r.push(t[e][1].test(p)&&k||!u&&i.value.length<1||n(i).attr("disabled")?!0:!1),r=[r.every(function(n){return n})],r[0])?(this.S(i).removeAttr(this.invalid_attr),i.setAttribute("aria-invalid","false"),i.removeAttribute("aria-describedby"),f.removeClass(this.settings.error_class),o.length>0&&this.settings.error_labels&&o.removeClass(this.settings.error_class).removeAttr("role"),n(i).triggerHandler("valid")):(this.S(i).attr(this.invalid_attr,""),i.setAttribute("aria-invalid","true"),c=f.find("small."+this.settings.error_class,"span."+this.settings.error_class),l=c.length>0?c[0].id:"",l.length>0&&i.setAttribute("aria-describedby",l),f.addClass(this.settings.error_class),o.length>0&&this.settings.error_labels&&o.addClass(this.settings.error_class).attr("role","alert"),n(i).triggerHandler("invalid"));a.push(r[0])}return[a.every(function(n){return n})]},valid_checkbox:function(n,t){var n=this.S(n),i=n.is(":checked")||!t||n.get(0).getAttribute("disabled");return i?n.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):n.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),i},valid_radio:function(n){for(var e=n.getAttribute("name"),i=this.S(n).closest("[data-"+this.attr_name(!0)+"]").find("[name='"+e+"']"),u=i.length,r=!1,f=!1,t=0;u>t;t++)i[t].getAttribute("disabled")?(f=!0,r=!0):i[t].checked?r=!0:f&&(r=!1);for(t=0;u>t;t++)r?this.S(i[t]).removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):this.S(i[t]).attr(this.invalid_attr,"").parent().addClass(this.settings.error_class);return r},valid_equal:function(n,t,r){var f=i.getElementById(n.getAttribute(this.add_namespace("data-equalto"))).value,e=n.value,u=f===e;return u?(this.S(n).removeAttr(this.invalid_attr),r.removeClass(this.settings.error_class),label.length>0&&settings.error_labels&&label.removeClass(this.settings.error_class)):(this.S(n).attr(this.invalid_attr,""),r.addClass(this.settings.error_class),label.length>0&&settings.error_labels&&label.addClass(this.settings.error_class)),u},valid_oneof:function(n,t,i,r){var n=this.S(n),f=this.S("["+this.add_namespace("data-oneof")+"]"),e=f.filter(":checked").length>0,u;return(e?n.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):n.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),r)||(u=this,f.each(function(){u.valid_oneof.call(u,this,null,null,!0)})),e}}}(jQuery,window,window.document),function(n){"use strict";Foundation.libs.accordion={name:"accordion",version:"5.5.1",settings:{content_class:"content",active_class:"active",multi_expand:!1,toggleable:!0,callback:function(){}},init:function(n,t,i){this.bindings(t,i)},events:function(){var t=this,i=this.S;i(this.scope).off(".fndtn.accordion").on("click.fndtn.accordion","["+this.attr_name()+"] > .accordion-navigation > a",function(r){var e=i(this).closest("["+t.attr_name()+"]"),h=t.attr_name()+"="+e.attr(t.attr_name()),u=e.data(t.attr_name(!0)+"-init")||t.settings,f=i("#"+this.href.split("#")[1]),o=n("> .accordion-navigation",e),s=o.children("."+u.content_class),c=s.filter("."+u.active_class);return r.preventDefault(),e.attr(t.attr_name())&&(s=s.add("["+h+"] dd > ."+u.content_class),o=o.add("["+h+"] .accordion-navigation")),u.toggleable&&f.is(c)?(f.parent(".accordion-navigation").toggleClass(u.active_class,!1),f.toggleClass(u.active_class,!1),u.callback(f),f.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[f])):(u.multi_expand||(s.removeClass(u.active_class),o.removeClass(u.active_class)),f.addClass(u.active_class).parent().addClass(u.active_class),u.callback(f),f.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[f]))})},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(n){"use strict";Foundation.libs.alert={name:"alert",version:"5.5.1",settings:{callback:function(){}},init:function(n,t,i){this.bindings(t,i)},events:function(){var t=this,i=this.S;n(this.scope).off(".alert").on("click.fndtn.alert","["+this.attr_name()+"] .close",function(n){var r=i(this).closest("["+t.attr_name()+"]"),u=r.data(t.attr_name(!0)+"-init")||t.settings;n.preventDefault();Modernizr.csstransitions?(r.addClass("alert-close"),r.on("transitionend webkitTransitionEnd oTransitionEnd",function(){i(this).trigger("close").trigger("close.fndtn.alert").remove();u.callback()})):r.fadeOut(300,function(){i(this).trigger("close").trigger("close.fndtn.alert").remove();u.callback()})})},reflow:function(){}}}(jQuery,window,window.document),function(n,t,i,r){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.5.1",settings:{templates:{viewing:'<a href="#" class="clearing-close">&times;<\/a><div class="visible-img" style="display: none"><div class="clearing-touch-label"><\/div><img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" /><p class="clearing-caption"><\/p><a href="#" class="clearing-main-prev"><span><\/span><\/a><a href="#" class="clearing-main-next"><span><\/span><\/a><\/div>'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(n,t,i){var r=this;Foundation.inherit(this,"throttle image_loaded");this.bindings(t,i);r.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(r.S("li",this.scope)):r.S("["+this.attr_name()+"]",this.scope).each(function(){r.assemble(r.S("li",this))})},events:function(r){var u=this,f=u.S,e=n(".scroll-container");e.length>0&&(this.scope=e);f(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(n,t,i){var t=t||f(this),i=i||t,r=t.next("li"),e=t.closest("["+u.attr_name()+"]").data(u.attr_name(!0)+"-init"),o=f(n.target);n.preventDefault();e||(u.init(),e=t.closest("["+u.attr_name()+"]").data(u.attr_name(!0)+"-init"));i.hasClass("visible")&&t[0]===i[0]&&r.length>0&&u.is_open(t)&&(i=r,o=f("img",i));u.open(o,t,i);u.update_paddles(i)}).on("click.fndtn.clearing",".clearing-main-next",function(n){u.nav(n,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(n){u.nav(n,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(n){Foundation.libs.clearing.close(n,this)});n(i).on("keydown.fndtn.clearing",function(n){u.keydown(n)});f(t).off(".clearing").on("resize.fndtn.clearing",function(){u.resize()});this.swipe_events(r)},swipe_events:function(){var t=this,n=t.S;n(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(t){t.touches||(t=t.originalEvent);var i={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:r};n(this).data("swipe-transition",i);t.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(i){var r,u;(i.touches||(i=i.originalEvent),i.touches.length>1||i.scale&&1!==i.scale)||(r=n(this).data("swipe-transition"),("undefined"==typeof r&&(r={}),r.delta_x=i.touches[0].pageX-r.start_page_x,Foundation.rtl&&(r.delta_x=-r.delta_x),"undefined"==typeof r.is_scrolling&&(r.is_scrolling=!!(r.is_scrolling||Math.abs(r.delta_x)<Math.abs(i.touches[0].pageY-r.start_page_y))),r.is_scrolling||r.active)||(i.preventDefault(),u=r.delta_x<0?"next":"prev",r.active=!0,t.nav(i,u)))}).on("touchend.fndtn.clearing",".visible-img",function(t){n(this).data("swipe-transition",{});t.stopPropagation()})},assemble:function(t){var i=t.parent(),r,u;if(!i.parent().hasClass("carousel")&&(i.after('<div id="foundationClearingHolder"><\/div>
1'),r=i.detach(),u="",null!=r[0])){u=r[0].outerHTML;var o=this.S("#foundationClearingHolder"),s=i.data(this.attr_name(!0)+"-init"),e={grid:'<div class="carousel">'+u+"<\/div>",viewing:s.templates.viewing},f='<div class="clearing-assembled"><div>'+e.viewing+e.grid+"<\/div><\/div>",h=this.settings.touch_label;Modernizr.touch&&(f=n(f).find(".clearing-touch-label").html(h).end());o.after(f).remove()}},open:function(t,r,u){function h(){setTimeout(function(){this.image_loaded(o,function(){1!==o.outerWidth()||l?a.call(this,o):h.call(this)}.bind(this))}.bind(this),100)}function a(t){var i=n(t);i.css("visibility","visible");v.css("overflow","hidden");c.addClass("clearing-blackout");s.addClass("clearing-container");e.show();this.fix_height(u).caption(f.S(".clearing-caption",e),f.S("img",u)).center_and_label(t,y).shift(r,u,function(){u.closest("li").siblings().removeClass("visible");u.closest("li").addClass("visible")});e.trigger("opened.fndtn.clearing")}var f=this,v=n(i.body),c=u.closest(".clearing-assembled"),s=f.S("div",c).first(),e=f.S(".visible-img",s),o=f.S("img",e).not(t),y=f.S(".clearing-touch-label",s),l=!1;n("body").on("touchmove",function(n){n.preventDefault()});o.error(function(){l=!0});this.locked()||(e.trigger("open.fndtn.clearing"),o.attr("src",this.load(t)).css("visibility","hidden"),h.call(this))},close:function(t,r){t.preventDefault();var f,u,e=function(n){return/blackout/.test(n.selector)?n:n.closest(".clearing-blackout")}(n(r)),o=n(i.body);return r===t.target&&e&&(o.css("overflow",""),f=n("div",e).first(),u=n(".visible-img",f),u.trigger("close.fndtn.clearing"),this.settings.prev_index=0,n("ul["+this.attr_name()+"]",e).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),f.removeClass("clearing-container"),u.hide(),u.trigger("closed.fndtn.clearing")),n("body").off("touchmove"),!1},is_open:function(n){return n.parent().prop("style").length>0},keydown:function(t){var i=n(".clearing-blackout ul["+this.attr_name()+"]"),r=this.rtl?37:39,u=this.rtl?39:37;t.which===r&&this.go(i,"next");t.which===u&&this.go(i,"prev");t.which===27&&this.S("a.clearing-close").trigger("click").trigger("click.fndtn.clearing")},nav:function(t,i){var r=n("ul["+this.attr_name()+"]",".clearing-blackout");t.preventDefault();this.go(r,i)},resize:function(){var t=n("img",".clearing-blackout .visible-img"),i=n(".clearing-touch-label",".clearing-blackout");t.length&&(this.center_and_label(t,i),t.trigger("resized.fndtn.clearing"))},fix_height:function(n){var t=n.parent().children(),i=this;return t.each(function(){var n=i.S(this),t=n.find("img");n.height()>t.outerHeight()&&n.addClass("fix-height")}).closest("ul").width(100*t.length+"%"),this},update_paddles:function(n){n=n.closest("li");var t=n.closest(".carousel").siblings(".visible-img");n.next().length>0?this.S(".clearing-main-next",t).removeClass("disabled"):this.S(".clearing-main-next",t).addClass("disabled");n.prev().length>0?this.S(".clearing-main-prev",t).removeClass("disabled"):this.S(".clearing-main-prev",t).addClass("disabled")},center_and_label:function(n,t){return t.css(!this.rtl&&t.length>0?{marginLeft:-(t.outerWidth()/2),marginTop:-(n.outerHeight()/2)-t.outerHeight()-10}:{marginRight:-(t.outerWidth()/2),marginTop:-(n.outerHeight()/2)-t.outerHeight()-10,left:"auto",right:"50%"}),this},load:function(n){var t;return t="A"===n[0].nodeName?n.attr("href"):n.closest("a").attr("href"),this.preload(n),t?t:n.attr("src")},preload:function(n){this.img(n.closest("li").next()).img(n.closest("li").prev())},img:function(n){if(n.length){var i=new Image,t=this.S("a",n);i.src=t.length?t.attr("href"):this.S("img",n).attr("src")}return this},caption:function(n,t){var i=t.attr("data-caption");return i?n.html(i).show():n.text("").hide(),this},go:function(n,t){var r=this.S(".visible",n),i=r[t]();this.settings.skip_selector&&0!=i.find(this.settings.skip_selector).length&&(i=i[t]());i.length&&this.S("img",i).trigger("click",[r,i]).trigger("click.fndtn.clearing",[r,i]).trigger("change.fndtn.clearing")},shift:function(n,t,i){var o,u=t.parent(),c=this.settings.prev_index||t.index(),f=this.direction(u,n,t),e=this.rtl?"right":"left",h=parseInt(u.css("left"),10),s=t.outerWidth(),r={};t.index()===c||/skip/.test(f)?/skip/.test(f)&&(o=t.index()-this.settings.up_count,this.lock(),o>0?(r[e]=-(o*s),u.animate(r,300,this.unlock())):(r[e]=0,u.animate(r,300,this.unlock()))):/left/.test(f)?(this.lock(),r[e]=h+s,u.animate(r,300,this.unlock())):/right/.test(f)&&(this.lock(),r[e]=h-s,u.animate(r,300,this.unlock()));i()},direction:function(n,t,i){var e,u=this.S("li",n),o=u.outerWidth()+u.outerWidth()/4,f=Math.floor(this.S(".clearing-container").outerWidth()/o)-1,r=u.index(i);return this.settings.up_count=f,e=this.adjacent(this.settings.prev_index,r)?r>f&&r>this.settings.prev_index?"right":r>f-1&&r<=this.settings.prev_index?"left":!1:"skip",this.settings.prev_index=r,e},adjacent:function(n,t){for(var i=t+1;i>=t-1;i--)if(i===n)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing");this.S(t).off(".fndtn.clearing")},reflow:function(){this.init()}}}(jQuery,window,window.document),function(n,t,i){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.5.1",settings:{active_class:"open",disabled_class:"disabled",mega_class:"mega",align:"bottom",is_hover:!1,hover_timeout:150,opened:function(){},closed:function(){}},init:function(t,i,r){Foundation.inherit(this,"throttle");n.extend(!0,this.settings,i,r);this.bindings(i,r)},events:function(){var r=this,u=r.S;u(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(t){var i=u(this).data(r.attr_name(!0)+"-init")||r.settings;(!i.is_hover||Modernizr.touch)&&(t.preventDefault(),u(this).parent("[data-reveal-id]")&&t.stopPropagation(),r.toggle(n(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(n){var t,i,f=u(this),e;clearTimeout(r.timeout);f.data(r.data_attr())?(t=u("#"+f.data(r.data_attr())),i=f):(t=f,i=u("["+r.attr_name()+'="'+t.attr("id")+'"]'));e=i.data(r.attr_name(!0)+"-init")||r.settings;u(n.currentTarget).data(r.data_attr())&&e.is_hover&&r.closeall.call(r);e.is_hover&&r.open.apply(r,[t,i])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(){var t=u(this),i,n;t.data(r.data_attr())?n=t.data(r.data_attr(!0)+"-init")||r.settings:(i=u("["+r.attr_name()+'="'+u(this).attr("id")+'"]'),n=i.data(r.attr_name(!0)+"-init")||r.settings);r.timeout=setTimeout(function(){t.data(r.data_attr())?n.is_hover&&r.close.call(r,u("#"+t.data(r.data_attr()))):n.is_hover&&r.close.call(r,t)}.bind(this),n.hover_timeout)}).on("click.fndtn.dropdown",function(t){var f=u(t.target).closest("["+r.attr_name()+"-content]"),e=f.find("a");return e.length>0&&"false"!==f.attr("aria-autoclose")&&r.close.call(r,u("["+r.attr_name()+"-content]")),t.target!==i&&!n.contains(i.documentElement,t.target)||u(t.target).closest("["+r.attr_name()+"]").length>0?void 0:!u(t.target).data("revealId")&&f.length>
vendor: 4,309 bytes, line 1
10&&(u(t.target).is("["+r.attr_name()+"-content]")||n.contains(f.first()[0],t.target))?void t.stopPropagation():void r.close.call(r,u("["+r.attr_name()+"-content]"))}).on("opened.fndtn.dropdown","["+r.attr_name()+"-content]",function(){r.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+r.attr_name()+"-content]",function(){r.settings.closed.call(this)});u(t).off(".dropdown").on("resize.fndtn.dropdown",r.throttle(function(){r.resize.call(r)},50));this.resize()},close:function(t){var i=this;t.each(function(){var r=n("["+i.attr_name()+"="+t[0].id+"]")||n("aria-controls="+t[0].id+"]");r.attr("aria-expanded","false");i.S(this).hasClass(i.settings.active_class)&&(i.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(i.settings.active_class).prev("["+i.attr_name()+"]").removeClass(i.settings.active_class).removeData("target"),i.S(this).trigger("closed").trigger("closed.fndtn.dropdown",[t]))});t.removeClass("f-open-"+this.attr_name(!0))},closeall:function(){var t=this;n.each(t.S(".f-open-"+this.attr_name(!0)),function(){t.close.call(t,t.S(this))})},open:function(n,t){this.css(n.addClass(this.settings.active_class),t);n.prev("["+this.attr_name()+"]").addClass(this.settings.active_class);n.data("target",t.get(0)).trigger("opened").trigger("opened.fndtn.dropdown",[n,t]);n.attr("aria-hidden","false");t.attr("aria-expanded","true");n.focus();n.addClass("f-open-"+this.attr_name(!0))},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(n){if(!n.hasClass(this.settings.disabled_class)){var t=this.S("#"+n.data(this.data_attr()));0!==t.length&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(t)),t.hasClass(this.settings.active_class)?(this.close.call(this,t),t.data("target")!==n.get(0)&&this.open.call(this,t,n)):this.open.call(this,t,n))}},resize:function(){var t=this.S("["+this.attr_name()+"-content].open"),i=n(t.data("target"));t.length&&i.length&&this.css(t,i)},css:function(n,t){var u=Math.max((t.width()-n.width())/2,8),i=t.data(this.attr_name(!0)+"-init")||this.settings,r;return(this.clear_idx(),this.small())?(r=this.dirs.bottom.call(n,t,i),n.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:r.top}),n.css(Foundation.rtl?"right":"left",u)):this.style(n,t,i),n},style:function(t,i,r){var u=n.extend({position:"absolute"},this.dirs[r.align].call(t,i,r));t.attr("style","").css(u)},dirs:{_base:function(n){var s=this.offsetParent(),e=s.offset(),r=n.offset(),f,u,o;return r.top-=e.top,r.left-=e.left,r.missRight=!1,r.missTop=!1,r.missLeft=!1,r.leftRightFlag=!1,f=i.getElementsByClassName("row")[0]?i.getElementsByClassName("row")[0].clientWidth:t.outerWidth,u=(t.outerWidth-f)/2,o=f,this.hasClass("mega")||(n.offset().top<=this.outerHeight()&&(r.missTop=!0,o=t.outerWidth-u,r.leftRightFlag=!0),n.offset().left+this.outerWidth()>n.offset().left+u&&n.offset().left-u>this.outerWidth()&&(r.missRight=!0,r.missLeft=!1),n.offset().left-this.outerWidth()<=0&&(r.missLeft=!0,r.missRight=!1)),r},top:function(n,t){var r=Foundation.libs.dropdown,i=r.dirs._base.call(this,n);return this.addClass("drop-top"),1==i.missTop&&(i.top=i.top+n.outerHeight()+this.outerHeight(),this.removeClass("drop-top")),1==i.missRight&&(i.left=i.left-this.outerWidth()+n.outerWidth()),(n.outerWidth()<this.outerWidth()||r.small()||this.hasClass(t.mega_menu))&&r.adjust_pip(this,n,t,i),Foundation.rtl?{left:i.left-this.outerWidth()+n.outerWidth(),top:i.top-this.outerHeight()}:{left:i.left,top:i.top-this.outerHeight()}},bottom:function(n,t){var r=Foundation.libs.dropdown,i=r.dirs._base.call(this,n);return 1==i.missRight&&(i.left=i.left-this.outerWidth()+n.outerWidth()),(n.outerWidth()<this.outerWidth()||r.small()||this.hasClass(t.mega_menu))&&r.adjust_pip(this,n,t,i),r.rtl?{left:i.left-this.outerWidth()+n.outerWidth(),top:i.top+n.outerHeight()}:{left:i.left,top:i.top+n.outerHeight()}},left:function(n){var t=Foundation.libs.dropdown.dirs._base.call(this,n);return this.addClass("drop-left"),1==t.missLeft&&(t.left=t.left+this.outerWidth(),t.top=t.top+n.outerHeight(),this.removeClass("drop-left")),{left:t.left-this.outerWidth(),top:t.top}},right:function(n,t){var i=Foundation.libs.dropdown.dirs._base.call(this,n),r;
1return this.addClass("drop-right"),1==i.missRight?(i.left=i.left-this.outerWidth(),i.top=i.top+n.outerHeight(),this.removeClass("drop-right")):i.triggeredRight=!0,r=Foundation.libs.dropdown,(n.outerWidth()<this.outerWidth()||r.small()||this.hasClass(t.mega_menu))&&r.adjust_pip(this,n,t,i),{left:i.left+n.outerWidth(),top:i.top}}},adjust_pip:function(n,t,i,r){var f=Foundation.stylesheet,u=8;n.hasClass(i.mega_class)?u=r.left+t.outerWidth()/2-8:this.small()&&(u+=r.left-8);this.rule_idx=f.cssRules.length;var e=".f-dropdown.open:before",o=".f-dropdown.open:after",s="left: "+u+"px;",h="left: "+(u-1)+"px;";1==r.missRight&&(u=n.outerWidth()-23,e=".f-dropdown.open:before",o=".f-dropdown.open:after",s="left: "+u+"px;",h="left: "+(u-1)+"px;");1==r.triggeredRight&&(e=".f-dropdown.open:before",o=".f-dropdown.open:after",s="left:-12px;",h="left:-14px;");f.insertRule?(f.insertRule([e,"{",s,"}"].join(" "),this.rule_idx),f.insertRule([o,"{",h,"}"].join(" "),this.rule_idx+1)):(f.addRule(e,s,this.rule_idx),f.addRule(o,h,this.rule_idx+1))},clear_idx:function(){var n=Foundation.stylesheet;"undefined"!=typeof this.rule_idx&&(n.deleteRule(this.rule_idx),n.deleteRule(this.rule_idx),delete this.rule_idx)},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},off:function(){this.S(this.scope).off(".fndtn.dropdown");this.S("html, body").off(".fndtn.dropdown");this.S(t).off(".fndtn.dropdown");this.S("[data-dropdown-content]").off(".fndtn.dropdown")},reflow:function(){}}}(jQuery,window,window.document),function(n,t){"use strict";Foundation.libs.equalizer={name:"equalizer",version:"5.5.1",settings:{use_tallest:!0,before_height_change:n.noop,after_height_change:n.noop,equalize_on_stack:!1},init:function(n,t,i){Foundation.inherit(this,"image_loaded");this.bindings(t,i);this.reflow()},events:function(){this.S(t).off(".equalizer").on("resize.fndtn.equalizer",function(){this.reflow()}.bind(this))},equalize:function(t){var f=!1,i=t.find("["+this.attr_name()+"-watch]:visible"),r=t.data(this.attr_name(!0)+"-init"),e,u,o,s;0!==i.length&&(e=i.first().offset().top,(r.before_height_change(),t.trigger("before-height-change").trigger("before-height-change.fndth.equalizer"),i.height("inherit"),i.each(function(){var t=n(this);t.offset().top!==e&&(f=!0)}),r.equalize_on_stack===!1&&f)||(u=i.map(function(){return n(this).outerHeight(!1)}).get(),r.use_tallest?(o=Math.max.apply(null,u),i.css("height",o)):(s=Math.min.apply(null,u),i.css("height",s)),r.after_height_change(),t.trigger("after-height-change").trigger("after-height-change.fndtn.equalizer")))},reflow:function(){var t=this;this.S("["+this.attr_name()+"]",this.scope).each(function(){var i=n(this);t.image_loaded(t.S("img",this),function(){t.equalize(i)})})}}}(jQuery,window,window.document),function(n,t){"use strict";Foundation.libs.interchange={name:"interchange",version:"5.5.1",cache:{},images_loaded:!1,nodes_loaded:!1,settings:{load_attr:"interchange",named_queries:{"default":"only screen",small:Foundation.media_queries.small,"small-only":Foundation.media_queries["small-only"],medium:Foundation.media_queries.medium,"medium-only":Foundation.media_queries["medium-only"],large:Foundation.media_queries.large,"large-only":Foundation.media_queries["large-only"],xlarge:Foundation.media_queries.xlarge,"xlarge-only":Foundation.media_queries["xlarge-only"],xxlarge:Foundation.media_queries.xxlarge,landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(t,i,r){var u,f,e;return/IMG/.test(t[0].nodeName)?(u=t[0].src,new RegExp(i,"i").test(u))?void 0:(t[0].src=i,r(t[0].src)):(f=t.data(this.data_attr+"-last-path"),e=this,f!=i?/\.(gif|jpg|jpeg|tiff|png)([?#].*)?/i.test(i)?(n(t).css("background-image","url("+i+")"),t.data("interchange-last-path",i),r(i)):n.get(i,function(n){t.html(n);t.data(e.data_attr+"-last-path",i);r()}):void 0)}}},init:function(t,i,r){Foundation.inherit(this,"throttle random_str");this.data_attr=this.set_data_attr();n.extend(!0,this.settings,i,r);this.bindings(i,r);this.load("images");this.load("nodes")},get_media_hash:function(){var n="",t;for(t in this.settings.named_queries)n+=matchMedia(this.settings.named_queries[t]).matches.toString();return n},events:function(){var r,i=this;return n(t).off(".interchange").on("resize.fndtn.interchange",i.throttle(function(){var n=i.get_media_hash();n!==r&&i.resize();r=n},50)),this},resize:function(){var r=this.cache,i,t;if(!this.images_loaded||!this.nodes_loaded)return void setTimeout(n.proxy(this.resize,this),50);for(i in r)r.hasOwnProperty(i)&&(t=this.results(i,r[i]),t&&this.settings.directives[t.scenario[1]].call(this,t.el,t.scenario[0],function(n){var t;return t=arguments[0]instanceof Array?arguments[0]:Array.prototype.slice.call(arguments,0),function(){n.el.trigger(n.scenario[1],t)}}(t)))},results:function(n,t){var i=t.length,u,f,r;if(i>0)for(u=this.S("["+this.add_namespace("data-uuid")+'="'+n+'"]');i--;)if(r=t[i][2],f=matchMedia(this.settings.named_queries.hasOwnProperty(r)?this.settings.named_queries[r]:r),f.matches)return{el:u,scenario:t[i]};return!1},load:function(n,t){return("undefined"==typeof this["cached_"+n]||t)&&this["update_"+n](),this["cached_"+n]},update_images:function(){var n=this.S("img["+this.data_attr+"]"),i=n.length,t=i,r=0,f=this.data_attr,u;for(this.cache={},this.cached_images=[],this.images_loaded=0===i;t--;)(r++,n[t])&&(u=n[t].getAttribute(f)||"",u.length>0&&this.cached_images.push(n[t])),r===i&&(this.images_loaded=!0,this.enhance("images"));return this},update_nodes:function(){var n=this.S("["+this.data_attr+"]").not("img"),t=n.length,i=t,r=0,f=this.data_attr,u;for(this.cached_nodes=[],this.nodes_loaded=0===t;i--;)r++,u=n[i].getAttribute(f)||"",u.length>0&&this.cached_nodes.push(n[i]),r===t&&(this.nodes_loaded=!0,this.enhance("nodes"));return this},enhance:function(i){for(var r=this["cached_"+i].length;r--;)this.object(n(this["cached_"+i][r]));return n(t).trigger("resize").trigger("resize.fndtn.interchange")},convert_directive:function(n){var t=this.trim(n);return t.length>0?t:"replace"},parse_scenario:function(n){var t=n[0].match(/(.+),\s*(\w+)\s*$/),u=n[1],i,r;if(t)i=t[1],r=t[2];else var f=n[0].split(/,\s*$/),i=f[0],r="";return[this.trim(i),this.convert_directive(r),this.trim(u)]},object:function(n){var r=this.parse_data_attr(n),u=[],t=r.length,i,f;if(t>0)for(;t--;)i=r[t].split(/\(([^\)]*?)(\))$/),i.length>1&&(f=this.parse_scenario(i),u.push(f));return this.store(n,u)},store:function(n,t){var i=this.random_str(),r=n.data(this.add_namespace("uuid",!0));return this.cache[r]?this.cache[r]:(n.attr(this.add_namespace("data-uuid"),i),this.cache[i]=t)},trim:function(t){return"string"==typeof t?n.trim(t):t},set_data_attr:function(n){return n?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(n){for(var t=n.attr(this.attr_name()).split(/\[(.*?)\]/),i=t.length,r=[];i--;)t[i].replace(/[\W\d]+/,"").length>4&&r.push(t[i]);return r},reflow:function(){this.load("images",!0);this.load("nodes",!0)}}}(jQuery,window,window.document),function(n,t,i,r){"use strict";Foundation.libs.joyride={name:"joyride",version:"5.5.1",defaults:{expose:!1,modal:!0,keyboard:!0,tip_location:"bottom",nub_position:"auto",scroll_speed:1500,scroll_animation:"linear",timer:0,start_timer_on_click:!0,start_offset:0,next_button:!0,prev_button:!0,tip_animation:"fade",pause_after:[],exposed:[],tip_animation_fade_speed:300,cookie_monster:!1,cookie_name:"joyride",cookie_domain:!1,cookie_expires:365,tip_container:"body",abort_on_close:!0,tip_location_patterns:{top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},post_ride_callback:function(){},post_step_callback:function(){},pre_step_callback:function(){},pre_ride_callback:function(){},post_expose_callback:function(){},template:{link:'<a href="#close" class="joyride-close-tip">&times;<\/a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"><\/span><\/div>',tip:'<div class="joyride-tip-guide"><span class="joyride-nub"><\/span><\/div>',wrapper:'<div class="joyride-content-wrapper"><\/div>',button:'<a href="#" class="small button joyride-next-tip"><\/a>',prev_button:'<a href="#" class="small button joyride-prev-tip"><\/a>',modal:'<div class="joyride-modal-bg"><\/div>',expose:'<div class="joyride-expose-wrapper"><\/div>',expose_cover:'<div class="joyride-expose-cover"><\/div>'},expose_add_class:""},init:function(t,i,r){Foundation.inherit(this,"throttle random_str");this.settings=this.settings||n.extend({},this.defaults,r||i);this.bindings(i,r)},go_next:function(){this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())},go_prev:function(){this.settings.$li.prev().length<1||(this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(null,!0),this.startTimer()):(this.hide(),this.show(null,!0)))},events:function(){var i=this;n(this.scope).off(".joyride").on("click.fndtn.joyride",".joyride-next-tip, .joyride-modal-bg",function(n){n.preventDefault();this.go_next()}.bind(this)).on("click.fndtn.joyride",".joyride-prev-tip",function(n){n.preventDefault();this.go_prev()}.bind(this)).on("click.fndtn.joyride",".joyride-close-tip",function(n){n.preventDefault();this.end(this.settings.abort_on_close)}.bind(this)).on("keyup.fndtn.joyride",function(n){if(this.settings.keyboard&&this.settings.ri
vendor: 16,183 bytes, line 1
1ding)switch(n.which){case 39:n.preventDefault();this.go_next();break;case 37:n.preventDefault();this.go_prev();break;case 27:n.preventDefault();this.end(this.settings.abort_on_close)}}.bind(this));n(t).off(".joyride").on("resize.fndtn.joyride",i.throttle(function(){if(n("["+i.attr_name()+"]").length>0&&i.settings.$next_tip&&i.settings.riding){if(i.settings.exposed.length>0){var t=n(i.settings.exposed);t.each(function(){var t=n(this);i.un_expose(t);i.expose(t)})}i.is_phone()?i.pos_phone():i.pos_default(!1)}},100))},start:function(){var t=this,i=n("["+this.attr_name()+"]",this.scope),r=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],u=r.length;!i.length>0||(this.settings.init||this.events(),this.settings=i.data(this.attr_name(!0)+"-init"),this.settings.$content_el=i,this.settings.$body=n(this.settings.tip_container),this.settings.body_offset=n(this.settings.tip_container).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.riding=!0,"function"!=typeof n.cookie&&(this.settings.cookie_monster=!1),(!this.settings.cookie_monster||this.settings.cookie_monster&&!n.cookie(this.settings.cookie_name))&&(this.settings.$tip_content.each(function(i){var e=n(this),f;for(this.settings=n.extend({},t.defaults,t.data_options(e)),f=u;f--;)t.settings[r[f]]=parseInt(t.settings[r[f]],10);t.create({$li:e,index:i})}),!this.settings.start_timer_on_click&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")))},resume:function(){this.set_li();this.show()},tip_template:function(t){var i,r;return t.tip_class=t.tip_class||"",i=n(this.settings.template.tip).addClass(t.tip_class),r=n.trim(n(t.li).html())+this.prev_button_text(t.prev_button_text,t.index)+this.button_text(t.button_text)+this.settings.template.link+this.timer_instance(t.index),i.append(n(this.settings.template.wrapper)),i.first().attr(this.add_namespace("data-index"),t.index),n(".joyride-content-wrapper",i).append(r),i[0]},timer_instance:function(t){return 0===t&&this.settings.start_timer_on_click&&this.settings.timer>0||0===this.settings.timer?"":n(this.settings.template.timer)[0].outerHTML},button_text:function(t){return this.settings.tip_settings.next_button?(t=n.trim(t)||"Next",t=n(this.settings.template.button).append(t)[0].outerHTML):t="",t},prev_button_text:function(t,i){return this.settings.tip_settings.prev_button?(t=n.trim(t)||"Previous",t=0==i?n(this.settings.template.prev_button).append(t).addClass("disabled")[0].outerHTML:n(this.settings.template.prev_button).append(t)[0].outerHTML):t="",t},create:function(t){this.settings.tip_settings=n.extend({},this.settings,this.data_options(t.$li));var i=t.$li.attr(this.add_namespace("data-button"))||t.$li.attr(this.add_namespace("data-text")),r=t.$li.attr(this.add_namespace("data-button-prev"))||t.$li.attr(this.add_namespace("data-prev-text")),u=t.$li.attr("class"),f=n(this.tip_template({tip_class:u,index:t.index,button_text:i,prev_button_text:r,li:t.$li}));n(this.settings.tip_container).append(f)},show:function(t,i){var u=null,f;this.settings.$li===r||-1===n.inArray(this.settings.$li.index(),this.settings.pause_after)?(this.settings.paused?this.settings.paused=!1:this.set_li(t,i),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0)?((t&&(this.settings.pre_ride_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.pre_step_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tip_settings=n.extend({},this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tip_settings.tip_location_pattern=this.settings.tip_location_patterns[this.settings.tip_settings.tip_location],/body/i.test(this.settings.$target.selector))||(f=n(".joyride-modal-bg"),/pop/i.test(this.settings.tipAnimation)?f.hide():f.fadeOut(this.settings.tipAnimationFadeSpeed),this.scroll_to()),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),u=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tip_animation)?(u.width(0),this.settings.timer>0?(this.settings.$next_tip.show(),setTimeout(function(){u.animate({width:u.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tip_animation)&&(u.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed).show(),setTimeout(function(){u.animate({width:u.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show(t,i):this.end():this.settings.paused=!0},is_phone:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose();this.settings.modal||n(".joyride-modal-bg").hide();this.settings.$current_tip.css("visibility","hidden");setTimeout(n.proxy(function(){this.hide();this.css("visibility","visible")},this.settings.$current_tip),0);this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(n,t){n?(this.settings.$li=this.settings.$tip_content.eq(this.settings.start_offset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(this.settings.$li=t?this.settings.$li.prev():this.settings.$li.next(),this.set_next_tip());this.set_target()},set_next_tip:function(){this.settings.$next_tip=n(".joyride-tip-guide").eq(this.settings.$li.index());this.settings.$next_tip.data("closed","")},set_target:function(){var t=this.settings.$li.attr(this.add_namespace("data-class")),r=this.settings.$li.attr(this.add_namespace("data-id")),u=function(){return r?n(i.getElementById(r)):t?n("."+t).first():n("body")};this.settings.$target=u()},scroll_to:function(){var r,i;r=n(t).height()/2;i=Math.ceil(this.settings.$target.offset().top-r+this.settings.$next_tip.outerHeight());0!=i&&n("html, body").stop().animate({scrollTop:i},this.settings.scroll_speed,"swing")},paused:function(){return-1===n.inArray(this.settings.$li.index()+1,this.settings.pause_after)},restart:function(){this.hide();this.settings.$li=r;this.show("init")},pos_default:function(n){var t=this.settings.$next_tip.find(".joyride-nub"),f=Math.ceil(t.outerWidth()/2),u=Math.ceil(t.outerHeight()/2),e=n||!1,i,r;(e&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector))?this.settings.$li.length&&this.pos_modal(t):(i=this.settings.tip_settings.tipAdjustmentY?parseInt(this.settings.tip_settings.tipAdjustmentY):0,r=this.settings.tip_settings.tipAdjustmentX?parseInt(this.settings.tip_settings.tipAdjustmentX):0,this.bottom()?(this.settings.$next_tip.css(this.rtl?{top:this.settings.$target.offset().top+u+this.settings.$target.outerHeight()+i,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()+r}:{top:this.settings.$target.offset().top+u+this.settings.$target.outerHeight()+i,left:this.settings.$target.offset().left+r}),this.nub_position(t,this.settings.tip_settings.nub_position,"top")):this.top()?(this.settings.$next_tip.css(this.rtl?{top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-u+i,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()}:{top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-u+i,left:this.settings.$target.offset().left+r}),this.nub_position(t,this.settings.tip_settings.nub_position,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+i,left:this.settings.$target.outerWidth()+this.settings.$target.offset().left+f+r}),this.nub_position(t,this.settings.tip_settings.nub_position,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top+i,left:this.settings.$target.offset().left-this.settings.$next_tip.outerWidth()-f+r}),this.nub_position(t,this.settings.tip_settings.nub_position,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts<this.settings.tip_settings.tip_location_pattern.length&&(t.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),this.settings.tip_settings.tip_location=this.settings.tip_settings.tip_location_pattern[this.settings.attempts],this.settings.attempts++,this.pos_default()));e&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_phone:function(t){var f=this.settings.$next_tip.outerHeight(),e=(this.settings.$next_tip.offset(),this.settings.$target.outerHeight()),i=n(".joyride-nub",this.settings.$next_tip),r=Math.ceil(i.outerHeight()/2),u=t||!1;i.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left");u&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show());/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal(i):this.top()?(this.settings.$next_tip.offset({top:this.settings.$target.offset().top-f-r}),i.addClass("bottom")):(this.settings.$next_tip.offset({top:this.settings.$target.offset().top+e+r}),i.addClass("top"));u&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_modal:function(n){this.center();n.hide();this.show_modal()},show_modal:function(){var t;this.settings.$next_tip.data("closed")||(t=n(".joyride-modal-bg"),t.length<1&&(t=n(this.settings.template.modal),t.appendTo("body")),/pop/i.test(this.settings.tip_animation)?t.show():t.fadeIn(this.settings.tip_animation_fade_speed))},expose:function(){var r,u,i,f,e,o="expose-"+this.random_str(6);if(arguments.length>0&&arguments[0]instanceof n)i=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;i=this.settings.$target}return i.length<1?(t.console&&console.error("element not valid",i),!1):(r=n(this.settings.template.expose),this.settings.$body.append(r),r.css({top:i.offset().top,left:i.offset().left,width:i.outerWidth(!0),height:i.outerHeight(!0)}),u=n(this.settings.template.expose_cover),f={zIndex:i.css("z-index"),position:i.css("position")},e=null==i.attr("class")?"":i.attr("class"),i.css("z-index",parseInt(r.css("z-index"))+1),"static"==f.position&&i.css("position","relative"),i.data("expose-css",f),i.data("orig-class",e),i.attr("class",e+" "+this.settings.expose_add_class),u.css({top:i.offset().top,left:i.offset().left,width:i.outerWidth(!0),height:i.outerHeight(!0)}),this.settings.modal&&this.show_modal(),this.settings.$body.append(u),r.addClass(o),u.addClass(o),i.data("expose",o),this.settings.post_expose_callback(this.settings.$li.index(),this.settings.$next_tip,i),void this.add_exposed(i))},un_expose:function(){var u,i,f,r,e,o=!1;if(arguments.length>0&&arguments[0]instanceof n)i=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;i=this.settings.$target}return i.length<1?(t.console&&console.error("element not valid",i),!1):(u=i.data("expose"),f=n("."+u),arguments.length>1&&(o=arguments[1]),o===!0?n(".joyride-expose-wrapper,.joyride-expose-cover").remove():f.remove(),r=i.data("expose-css"),"auto"==r.zIndex?i.css("z-index",""):i.css("z-index",r.zIndex),r.position!=i.css("position")&&("static"==r.position?i.css("position",""):i.css("position",r.position)),e=i.data("orig-class"),i.attr("class",e),i.removeData("orig-classes"),i.removeData("expose"),i.removeData("expose-z-index"),void this.remove_exposed(i))},add_exposed:function(t){this.settings.exposed=this.settings.exposed||[];t instanceof n||"object"==typeof t?this.settings.exposed.push(t[0]):"string"==typeof t&&this.settings.exposed.push(t)},remove_exposed:function(t){var r,i;for(t instanceof n?r=t[0]:"string"==typeof t&&(r=t),this.settings.exposed=this.settings.exposed||[],i=this.settings.exposed.length;i--;)if(this.settings.exposed[i]==r)return void this.settings.exposed.splice(i,1)},center:function(){var i=n(t);return this.settings.$next_tip.css({top:(i.height()-this.settings.$next_tip.outerHeight())/2+i.scrollTop(),left:(i.width()-this.settings.$next_tip.outerWidth())/2+i.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(this.settings.tip_settings.tip_location)},top:function(){return/top/i.test(this.settings.tip_settings.tip_location)},right:function(){return/right/i.test(this.settings.tip_settings.tip_location)},left:function(){return/left/i.test(this.settings.tip_settings.tip_location)},corners:function(i){var r=n(t),s=r.height()/2,u=Math.ceil(this.settings.$target.offset().top-s+this.settings.$next_tip.outerHeight()),h=r.width()+r.scrollLeft(),o=r.height()+u,f=r.height()+r.scrollTop(),e=r.scrollTop();return e>u&&(e=0>u?0:u),o>f&&(f=o),[i.offset().top<e,h<i.offset().left+i.outerWidth(),f<i.offset().top+i.outerHeight(),r.scrollLeft()>i.offset().left]},visible:function(n){for(var t=n.length;t--;)if(n[t])return!1;return!0},nub_position:function(n,t,i){n.addClass("auto"===t?i:t)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide();this.show();this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(t){this.settings.cookie_monster&&n.cookie(this.settings.cookie_name,"ridden",{expires:this.settings.cookie_expires,domain:this.settings.cookie_domain});this.settings.timer>0&&clearTimeout(this.settings.automate);this.settings.modal&&this.settings.expose&&this.un_expose();n(this.scope).off("keyup.joyride");this.settings.$next_tip.data("closed",!0);this.settings.riding=!1;n(".joyride-modal-bg").hide();this.settings.$current_tip.hide();("undefined"==typeof t||t===!1)&&(this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip),this.settings.post_ride_callback(this.settings.$li.index(),this.settings.$current_tip));n(".joyride-tip-guide").remove()},off:function(){n(this.scope).off(".joyride");n(t).off(".joyride");n(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride");n(".joyride-tip-guide, .joyride-modal-bg").remove();clearTimeout(this.settings.automate);this.settings={}},reflow:function(){}}}(jQuery,window,window.document),function(n,t){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.5.1",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0,offset_by_height:!0,duration:700,easing:"swing"},init:function(n,t,i){Foundation.inherit(this,"throttle");this.bindings(t,i)},events:function(){var i=this,u=i.S,r=i.settings;i.set_expedition_position();u(i.scope).off(".magellan").on("click.fndtn.magellan","["+i.add_namespace("data-magellan-arrival")+'] a[href^="#"]',function(t){var e;t.preventDefault();var o=n(this).closest("["+i.attr_name()+"]"),r=o.data("magellan-expedition-init"),u=this.hash.split("#").join(""),f=n('a[name="'+u+'"]');0===f.length&&(f=n("#"+u));e=f.offset().top-r.destination_threshold+1;r.offset_by_height&&(e-=o.outerHeight());n("html, body").stop().animate({scrollTop:e},r.duration,r.easing,function(){history.pushState?history.pushState(null,null,"#"+u):location.hash="#"+u})}).on("scroll.fndtn.magellan",i.throttle(this.check_for_arrivals.bind(this),r.throttle_delay));n(t).on("resize.fndtn.magellan",i.throttle(this.set_expedition_position.bind(this),r.throttle_delay))},check_for_arrivals:function(){var n=this;n.update_arrivals();n.update_expedition_positions()},set_expedition_position:function(){var t=this;n("["+this.attr_name()+"=fixed]",t.scope).each(function(){var u,r,i=n(this),f=i.data("magellan-expedition-init"),e=i.attr("styles");i.attr("style","");u=i.offset().top+f.threshold;r=parseInt(i.data("magellan-fixed-top"));isNaN(r)||(t.settings.fixed_top=r);i.data(t.data_attr("magellan-top-offset"),u);
1i.attr("style",e)})},update_expedition_positions:function(){var i=this,r=n(t).scrollTop();n("["+this.attr_name()+"=fixed]",i.scope).each(function(){var t=n(this),f=t.data("magellan-expedition-init"),e=t.attr("style"),o=t.data("magellan-top-offset"),u;r+i.settings.fixed_top>=o?(u=t.prev("["+i.add_namespace("data-magellan-expedition-clone")+"]"),0===u.length&&(u=t.clone(),u.removeAttr(i.attr_name()),u.attr(i.add_namespace("data-magellan-expedition-clone"),""),t.before(u)),t.css({position:"fixed",top:f.fixed_top}).addClass("fixed")):(t.prev("["+i.add_namespace("data-magellan-expedition-clone")+"]").remove(),t.attr("style",e).css("position","").css("top","").removeClass("fixed"))})},update_arrivals:function(){var i=this,r=n(t).scrollTop();n("["+this.attr_name()+"]",i.scope).each(function(){var t=n(this),u=t.data(i.attr_name(!0)+"-init"),e=i.offsets(t,r),o=t.find("["+i.add_namespace("data-magellan-arrival")+"]"),f=!1;e.each(function(n,r){if(r.viewport_offset>=r.top_offset){var e=t.find("["+i.add_namespace("data-magellan-arrival")+"]");return e.not(r.arrival).removeClass(u.active_class),r.arrival.addClass(u.active_class),f=!0,!0}});f||o.removeClass(u.active_class)})},offsets:function(t,i){var r=this,u=t.data(r.attr_name(!0)+"-init"),f=i;return t.find("["+r.add_namespace("data-magellan-arrival")+"]").map(function(){var o=n(this).data(r.data_attr("magellan-arrival")),e=n("["+r.add_namespace("data-magellan-destination")+"="+o+"]"),i;if(e.length>0)return i=e.offset().top-u.destination_threshold,u.offset_by_height&&(i-=t.outerHeight()),i=Math.floor(i),{destination:e,arrival:n(this),top_offset:i,viewport_offset:f}}).sort(function(n,t){return n.top_offset<t.top_offset?-1:n.top_offset>t.top_offset?1:0})},data_attr:function(n){return this.namespace.length>0?this.namespace+"-"+n:n},off:function(){this.S(this.scope).off(".magellan");this.S(t).off(".magellan")},reflow:function(){var t=this;n("["+t.add_namespace("data-magellan-expedition-clone")+"]",t.scope).remove()}}}(jQuery,window,window.document),function(n){"use strict";Foundation.libs.offcanvas={name:"offcanvas",version:"5.5.1",settings:{open_method:"move",close_on_click:!1},init:function(n,t,i){this.bindings(t,i)},events:function(){var i=this,f=i.S,t="",r="",u="";"move"===this.settings.open_method?(t="move-",r="right",u="left"):"overlap_single"===this.settings.open_method?(t="offcanvas-overlap-",r="right",u="left"):"overlap"===this.settings.open_method&&(t="offcanvas-overlap");f(this.scope).off(".offcanvas").on("click.fndtn.offcanvas",".left-off-canvas-toggle",function(u){i.click_toggle_class(u,t+r);"overlap"!==i.settings.open_method&&f(".left-submenu").removeClass(t+r);n(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".left-off-canvas-menu a",function(u){var o=i.get_settings(u),e=f(this).parent();!o.close_on_click||e.hasClass("has-submenu")||e.hasClass("back")?f(this).parent().hasClass("has-submenu")?(u.preventDefault(),f(this).siblings(".left-submenu").toggleClass(t+r)):e.hasClass("back")&&(u.preventDefault(),e.parent().removeClass(t+r)):(i.hide.call(i,t+r,i.get_wrapper(u)),e.parent().removeClass(t+r));n(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-toggle",function(r){i.click_toggle_class(r,t+u);"overlap"!==i.settings.open_method&&f(".right-submenu").removeClass(t+u);n(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-menu a",function(r){var o=i.get_settings(r),e=f(this).parent();!o.close_on_click||e.hasClass("has-submenu")||e.hasClass("back")?f(this).parent().hasClass("has-submenu")?(r.preventDefault(),f(this).siblings(".right-submenu").toggleClass(t+u)):e.hasClass("back")&&(r.preventDefault(),e.parent().removeClass(t+u)):(i.hide.call(i,t+u,i.get_wrapper(r)),e.parent().removeClass(t+u));n(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(e){i.click_remove_class(e,t+u);f(".right-submenu").removeClass(t+u);r&&(i.click_remove_class(e,t+r),f(".left-submenu").removeClass(t+u));n(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(f){i.click_remove_class(f,t+u);
1n(".left-off-canvas-toggle").attr("aria-expanded","false");r&&(i.click_remove_class(f,t+r),n(".right-off-canvas-toggle").attr("aria-expanded","false"))})},toggle:function(n,t){t=t||this.get_wrapper();t.is("."+n)?this.hide(n,t):this.show(n,t)},show:function(n,t){t=t||this.get_wrapper();t.trigger("open").trigger("open.fndtn.offcanvas");t.addClass(n)},hide:function(n,t){t=t||this.get_wrapper();t.trigger("close").trigger("close.fndtn.offcanvas");t.removeClass(n)},click_toggle_class:function(n,t){n.preventDefault();var i=this.get_wrapper(n);this.toggle(t,i)},click_remove_class:function(n,t){n.preventDefault();var i=this.get_wrapper(n);this.hide(t,i)},get_settings:function(n){var t=this.S(n.target).closest("["+this.attr_name()+"]");return t.data(this.attr_name(!0)+"-init")||this.settings},get_wrapper:function(n){var t=this.S(n?n.target:this.scope).closest(".off-canvas-wrap");return 0===t.length&&(t=this.S(".off-canvas-wrap")),t},reflow:function(){}}}(jQuery,window,window.document),function(n,t,i,r){"use strict";var u=function(){},f=function(u,f){if(u.hasClass(f.slides_container_class))return this;var c,p,y,w,b,l,h=this,a=u,v=0,k=!1;h.slides=function(){return a.children(f.slide_selector)};h.slides().first().addClass(f.active_slide_class);h.update_slide_number=function(t){f.slide_number&&(p.find("span:first").text(parseInt(t)+1),p.find("span:last").text(h.slides().length));f.bullets&&(y.children().removeClass(f.bullets_active_class),n(y.children().get(t)).addClass(f.bullets_active_class))};h.update_active_link=function(t){var i=n('[data-orbit-link="'+h.slides().eq(t).attr("data-orbit-slide")+'"]');i.siblings().removeClass(f.bullets_active_class);i.addClass(f.bullets_active_class)};h.build_markup=function(){a.wrap('<div class="'+f.container_class+'"><\/div>');c=a.parent();a.addClass(f.slides_container_class);f.stack_on_small&&c.addClass(f.stack_on_small_class);f.navigation_arrows&&(c.append(n('<a href="#"><span><\/span><\/a>').addClass(f.prev_class)),c.append(n('<a href="#"><span><\/span><\/a>').addClass(f.next_class)));f.timer&&(w=n("<div>").addClass(f.timer_container_class),w.append("<span>"),w.append(n("<div>").addClass(f.timer_progress_class)),w.addClass(f.timer_paused_class),c.append(w));f.slide_number&&(p=n("<div>").addClass(f.slide_number_class),p.append("<span><\/span> "+f.slide_number_text+" <span><\/span>"),c.append(p));f.bullets&&(y=n("<ol>").addClass(f.bullets_container_class),c.append(y),y.wrap('<div class="orbit-bullets-container"><\/div>'),h.slides().each(function(t){var i=n("<li>").attr("data-orbit-slide",t).on("click",h.link_bullet);y.append(i)}))};h._goto=function(t,i){var r,o,e,u,s,c;if(t===v)return!1;if("object"==typeof l&&l.restart(),r=h.slides(),o="next",k=!0,v>t&&(o="prev"),t>=r.length){if(!f.circular)return!1;t=0}else if(0>t){if(!f.circular)return!1;t=r.length-1}if(e=n(r.get(v)),u=n(r.get(t)),e.css("zIndex",2),e.removeClass(f.active_slide_class),u.css("zIndex",4).addClass(f.active_slide_class),a.trigger("before-slide-change.fndtn.orbit"),f.before_slide_change(),h.update_active_link(t),s=function(){var n=function(){v=t;k=!1;i===!0&&(l=h.create_timer(),l.start());h.update_slide_number(v);a.trigger("after-slide-change.fndtn.orbit",[{slide_number:v,total_slides:r.length}]);f.after_slide_change(v,r.length)};a.outerHeight()!=u.outerHeight()&&f.variable_height?a.animate({height:u.outerHeight()},250,"linear",n):n()},1===r.length)return s(),!1;c=function(){"next"===o&&b.next(e,u,s);"prev"===o&&b.prev(e,u,s)};u.outerHeight()>a.outerHeight()&&f.variable_height?a.animate({height:u.outerHeight()},250,"linear",c):c()};h.next=function(n){n.stopImmediatePropagation();n.preventDefault();h._goto(v+1)};h.prev=function(n){n.stopImmediatePropagation();n.preventDefault();h._goto(v-1)};h.link_custom=function(t){var i,r;t.preventDefault();i=n(this).attr("data-orbit-link");"string"==typeof i&&""!=(i=n.trim(i))&&(r=c.find("[data-orbit-slide="+i+"]"),-1!=r.index()&&h._goto(r.index()))};h.link_bullet=function(){var t=n(this).attr("data-orbit-slide"),i;"string"==typeof t&&""!=(t=n.trim(t))&&(isNaN(parseInt(t))?(i=c.find("[data-orbit-slide="+t+"]"),-1!=i.index()&&h._goto(i.index()+1)):h._goto(parseInt(t)))};h.timer_callback=function(){h._goto(v+1,!0)};h.compute_dimensions=function(){var i=n(h.slides().get(v)),t=i.outerHeight();f.variable_height||h.slides().each(function(){n(this).outerHeight()>t&&(t=n(this).outerHeight())});a.height(t)};h.create_timer=function(){return new e(c.find("."+f.timer_container_
1class),f,h.timer_callback)};h.stop_timer=function(){"object"==typeof l&&l.stop()};h.toggle_timer=function(){var n=c.find("."+f.timer_container_class);n.hasClass(f.timer_paused_class)?("undefined"==typeof l&&(l=h.create_timer()),l.start()):"object"==typeof l&&l.stop()};h.init=function(){h.build_markup();f.timer&&(l=h.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),l.start));b=new s(f,a);"slide"===f.animation&&(b=new o(f,a));c.on("click","."+f.next_class,h.next);c.on("click","."+f.prev_class,h.prev);f.next_on_click&&c.on("click","."+f.slides_container_class+" [data-orbit-slide]",h.link_bullet);c.on("click",h.toggle_timer);f.swipe&&c.on("touchstart.fndtn.orbit",function(n){n.touches||(n=n.originalEvent);var t={start_page_x:n.touches[0].pageX,start_page_y:n.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:r};c.data("swipe-transition",t);n.stopPropagation()}).on("touchmove.fndtn.orbit",function(n){var t,i;(n.touches||(n=n.originalEvent),n.touches.length>1||n.scale&&1!==n.scale)||(t=c.data("swipe-transition"),("undefined"==typeof t&&(t={}),t.delta_x=n.touches[0].pageX-t.start_page_x,"undefined"==typeof t.is_scrolling&&(t.is_scrolling=!!(t.is_scrolling||Math.abs(t.delta_x)<Math.abs(n.touches[0].pageY-t.start_page_y))),t.is_scrolling||t.active)||(n.preventDefault(),i=t.delta_x<0?v+1:v-1,t.active=!0,h._goto(i)))}).on("touchend.fndtn.orbit",function(n){c.data("swipe-transition",{});n.stopPropagation()});c.on("mouseenter.fndtn.orbit",function(){f.timer&&f.pause_on_hover&&h.stop_timer()}).on("mouseleave.fndtn.orbit",function(){f.timer&&f.resume_on_mouseout&&l.start()});n(i).on("click","[data-orbit-link]",h.link_custom);n(t).on("load resize",h.compute_dimensions);Foundation.utils.image_loaded(this.slides().children("img"),h.compute_dimensions);Foundation.utils.image_loaded(this.slides().children("img"),function(){c.prev("."+f.preloader_class).css("display","none");h.update_slide_number(0);h.update_active_link(0);a.trigger("ready.fndtn.orbit")})};h.init()},e=function(n,t,i){var o,f,e=this,s=t.timer_speed,u=n.find("."+t.timer_progress_class),r=-1;this.update_progress=function(n){var t=u.clone();t.attr("style","");t.css("width",n+"%");u.replaceWith(t);u=t};this.restart=function(){clearTimeout(f);n.addClass(t.timer_paused_class);r=-1;e.update_progress(0)};this.start=function(){return n.hasClass(t.timer_paused_class)?(r=-1===r?s:r,n.removeClass(t.timer_paused_class),o=(new Date).getTime(),u.animate({width:"100%"},r,"linear"),f=setTimeout(function(){e.restart();i()},r),void n.trigger("timer-started.fndtn.orbit")):!0};this.stop=function(){var i,u;if(n.hasClass(t.timer_paused_class))return!0;clearTimeout(f);n.addClass(t.timer_paused_class);i=(new Date).getTime();r-=i-o;u=100-r/s*100;e.update_progress(u);n.trigger("timer-stopped.fndtn.orbit")}},o=function(t){var i=t.animation_speed,f=1===n("html[dir=rtl]").length,r=f?"marginRight":"marginLeft",u={};u[r]="0%";this.next=function(n,t,f){n.animate({marginLeft:"-100%"},i);t.animate(u,i,function(){n.css(r,"100%");f()})};this.prev=function(n,t,f){n.animate({marginLeft:"100%"},i);t.css(r,"-100%");t.animate(u,i,function(){n.css(r,"100%");f()})}},s=function(t){var i=t.animation_speed;1===n("html[dir=rtl]").length;this.next=function(n,t,r){t.css({margin:"0%",opacity:"0.01"});t.animate({opacity:"1"},i,"linear",function(){n.css("margin","100%");r()})};this.prev=function(n,t,r){t.css({margin:"0%",opacity:"0.01"});t.animate({opacity:"1"},i,"linear",function(){n.css("margin","100%");r()})}};Foundation.libs=Foundation.libs||{};Foundation.libs.orbit={name:"orbit",version:"5.5.1",settings:{animation:"slide",timer_speed:1e4,pause_on_hover:!0,resume_on_mouseout:!1,next_on_click:!0,animation_speed:500,stack_on_small:!1,navigation_arrows:!0,slide_number:!0,slide_number_text:"of",container_class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",preloader_class:"preloader",slide_selector:"*",bullets_container_
vendor: 5,939 bytes, line 1
1class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning",bullets:!0,circular:!0,timer:!0,variable_height:!1,swipe:!0,before_slide_change:u,after_slide_change:u},init:function(n,t,i){this.bindings(t,i)},events:function(n){var t=new f(this.S(n),this.S(n).data("orbit-init"));this.S(n).data(this.name+"-instance",t)},reflow:function(){var n=this,t,i;n.S(n.scope).is("[data-orbit]")?(t=n.S(n.scope),i=t.data(n.name+"-instance"),i.compute_dimensions()):n.S("[data-orbit]",n.scope).each(function(t,i){var r=n.S(i),u=(n.data_options(r),r.data(n.name+"-instance"));u.compute_dimensions()})}}}(jQuery,window,window.document),function(n,t,i,r){"use strict";function u(n){var t=/fade/i.test(n),i=/pop/i.test(n);return{animate:t||i,pop:i,fade:t}}Foundation.libs.reveal={name:"reveal",version:"5.5.1",locked:!1,settings:{animation:"fadeAndPop",animation_speed:250,close_on_background_click:!0,close_on_esc:!0,dismiss_modal_class:"close-reveal-modal",multiple_opened:!1,bg_class:"reveal-modal-bg",root_element:"body",open:function(){},opened:function(){},close:function(){},closed:function(){},bg:n(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(t,i,r){n.extend(!0,this.settings,i,r);this.bindings(i,r)},events:function(){var n=this,t=n.S;return t(this.scope).off(".reveal").on("click.fndtn.reveal","["+this.add_namespace("data-reveal-id")+"]:not([disabled])",function(i){var r,u,f;(i.preventDefault(),n.locked)||(r=t(this),u=r.data(n.data_attr("reveal-ajax")),(n.locked=!0,"undefined"==typeof u)?n.open.call(n,r):(f=u===!0?r.attr("href"):u,n.open.call(n,r,{url:f})))}),t(i).on("click.fndtn.reveal",this.close_targets(),function(i){if(i.preventDefault(),!n.locked){var r=t("["+n.attr_name()+"].open").data(n.attr_name(!0)+"-init")||n.settings,u=t(i.target)[0]===t("."+r.bg_class)[0];if(u){if(!r.close_on_background_click)return;i.stopPropagation()}n.locked=!0;n.close.call(n,u?t("["+n.attr_name()+"].open"):t(this).closest("["+n.attr_name()+"]"))}}),t("["+n.attr_name()+"]",this.scope).length>0?t(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):t(this.scope).on("open.fndtn.reveal","["+n.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+n.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+n.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+n.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+n.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+n.attr_name()+"]",this.close_video),!0},key_up_on:function(){var n=this;return n.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(t){var i=n.S("["+n.attr_name()+"].open"),r=i.data(n.attr_name(!0)+"-init")||n.settings;r&&27===t.which&&r.close_on_esc&&!n.locked&&n.close.call(n,i)}),!0},key_up_off:function(){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(i,r){var u,f=this,e,o,s;if(i?"undefined"!=typeof i.selector?u=f.S("#"+i.data(f.data_attr("reveal-id"))).first():(u=f.S(this.scope),r=i):u=f.S(this.scope),e=u.data(f.attr_name(!0)+"-init"),e=e||this.settings,u.hasClass("open")&&i.attr("data-reveal-id")==u.attr("id"))return f.close(u);u.hasClass("open")||(o=f.S("["+f.attr_name()+"].open"),("undefined"==typeof u.data("css-top")&&u.data("css-top",parseInt(u.css("top"),10)).data("offset",this.cache_offset(u)),this.key_up_on(u),u.on("open.fndtn.reveal").trigger("open.fndtn.reveal"),o.length<1&&this.toggle_bg(u,!0),"string"==typeof r&&(r={url:r}),"undefined"!=typeof r&&r.url)?(s="undefined"!=typeof r.success?r.success:null,n.extend(r,{success:function(t,i,r){if(n.isFunction(s)){var h=s(t,i,r);"string"==typeof h&&(t=h)}u.html(t);f.S(u).foundation("section","reflow");f.S(u).children().foundation();o.length>0&&(e.multiple_opened?this.to_back(o):this.hide(o,e.css.close));f.show(u,e.css.open)}}),n.ajax(r)):(o.length>0&&(e.multiple_opened?this.to_back(o):this.hide(o,e.css.close)),this.show(u,e.css.open)));f.S(t).trigger("resize")},close:function(t){var t=t&&t.length?t:this.S(this.scope),r=this.S("["+this.attr_name()+"].open"),i=t.data(this.attr_name(!0)+"-init")||this.settings;r.length>0&&(this.locked=!0,this.key_up_off(t),t.trigger("close").trigger("close.fndtn.reveal"),(i.multiple_opened&&1===r.length||!i.multiple_opened||t.length>1)&&(this.toggle_bg(t,!1),this.to_front(t)),i.multiple_opened?(this.hide(t,i.css.close,i),this.to_front(n(n.makeArray(r).reverse()[1]))):this.hide(r,i.css.close,i))},close_targets:function(){var n="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?n+", ."+this.settings.bg_class:n},toggle_bg:function(t,i){0===this.S("."+this.settings.bg_class).length&&(this.settings.bg=n("<div />",{"class":this.settings.bg_class}).appendTo("body").hide());var u=this.settings.bg.filter(":visible").length>0;i!=u&&((i==r?u:!i)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(i,r){var s,h,o,e,f;return r?(f=i.data(this.attr_name(!0)+"-init")||this.settings,s=f.root_element,0===i.parent(s).length&&(h=i.wrap('<div style="display: none;" />').parent(),i.on("closed.fndtn.reveal.wrapped",function(){i.detach().appendTo(h);i.unwrap().unbind("closed.fndtn.reveal.wrapped")}),i.detach().appendTo(s)),o=u(f.animation),o.animate||(this.locked=!1),o.pop)?(r.top=n(t).scrollTop()-i.data("offset")+"px",e={top:n(t).scrollTop()+i.data("css-top")+"px",opacity:1},setTimeout(function(){return i.css(r).animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}
1.bind(this),f.animation_speed/2)):o.fade?(r.top=n(t).scrollTop()+i.data("css-top")+"px",e={opacity:1},setTimeout(function(){return i.css(r).animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)):i.css(r).show().css({opacity:1}).addClass("open").trigger("opened").trigger("opened.fndtn.reveal"):(f=this.settings,u(f.animation).fade?i.fadeIn(f.animation_speed/2):(this.locked=!1,i.show()))},to_back:function(n){n.addClass("toback")},to_front:function(n){n.removeClass("toback")},hide:function(i,r){var o,e,f;return r?(f=i.data(this.attr_name(!0)+"-init"),f=f||this.settings,o=u(f.animation),o.animate||(this.locked=!1),o.pop)?(e={top:-n(t).scrollTop()-i.data("offset")+"px",opacity:0},setTimeout(function(){return i.animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.css(r).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)):o.fade?(e={opacity:0}
vendor: 16,249 bytes, line 1
1,setTimeout(function(){return i.animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.css(r).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)):i.hide().css(r).removeClass("open").trigger("closed").trigger("closed.fndtn.reveal"):(f=this.settings,u(f.animation).fade?i.fadeOut(f.animation_speed/2):i.hide())},close_video:function(t){var r=n(".flex-video",t.target),i=n("iframe",r);i.length>0&&(i.attr("data-src",i[0].src),i.attr("src",i.attr("src")),r.hide())},open_video:function(t){var u=n(".flex-video",t.target),i=u.find("iframe"),f,e;i.length>0&&(f=i.attr("data-src"),"string"==typeof f?i[0].src=i.attr("data-src"):(e=i[0].src,i[0].src=r,i[0].src=e),u.show())},data_attr:function(n){return this.namespace.length>0?this.namespace+"-"+n:n},cache_offset:function(n){var t=n.show().height()+parseInt(n.css("top"),10);return n.hide(),t},off:function(){n(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,window,window.document),function(n,t){"use strict";Foundation.libs.slider={name:"slider",version:"5.5.1",settings:{start:0,end:100,step:1,precision:null,initial:null,display_selector:"",vertical:!1,trigger_input_change:!1,on_change:function(){}},cache:{},init:function(n,t,i){Foundation.inherit(this,"throttle");this.bindings(t,i);this.reflow()},events:function(){var i=this;n(this.scope).off(".slider").on("mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider","["+i.attr_name()+"]:not(.disabled, [disabled]) .range-slider-handle",function(t){i.cache.active||(t.preventDefault(),i.set_active_slider(n(t.target)))}).on("mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider",function(r){if(i.cache.active)if(r.preventDefault(),n.data(i.cache.active[0],"settings").vertical){var u=0;r.pageY||(u=t.scrollY);i.calculate_position(i.cache.active,i.get_cursor_position(r,"y")+u)}else i.calculate_position(i.cache.active,i.get_cursor_position(r,"x"))}).on("mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider",function(){i.remove_active_slider()}).on("change.fndtn.slider",function(){i.settings.on_change()});i.S(t).on("resize.fndtn.slider",i.throttle(function(){i.reflow()},300))},get_cursor_position:function(n,t){var i,u="page"+t.toUpperCase(),r="client"+t.toUpperCase();return"undefined"!=typeof n[u]?i=n[u]:"undefined"!=typeof n.originalEvent[r]?i=n.originalEvent[r]:n.originalEvent.touches&&n.originalEvent.touches[0]&&"undefined"!=typeof n.originalEvent.touches[0][r]?i=n.originalEvent.touches[0][r]:n.currentPoint&&"undefined"!=typeof n.currentPoint[t]&&(i=n.currentPoint[t]),i},set_active_slider:function(n){this.cache.active=n},remove_active_slider:function(){this.cache.active=null},calculate_position:function(t,i){var u=this,r=n.data(t[0],"settings"),f=(n.data(t[0],"handle_l"),n.data(t[0],"handle_o"),n.data(t[0],"bar_l")),e=n.data(t[0],"bar_o");requestAnimationFrame(function(){var n,o;n=Foundation.rtl&&!r.vertical?u.limit_to((e+f-i)/f,0,1):u.limit_to((i-e)/f,0,1);n=r.vertical?1-n:n;o=u.normalized_value(n,r.start,r.end,r.step,r.precision);u.set_ui(t,o)})},set_ui:function(t,i){var r=n.data(t[0],"settings"),f=n.data(t[0],"handle_l"),e=n.data(t[0],"bar_l"),o=this.normalized_percentage(i,r.start,r.end),u=o*(e-f)-1,s=100*o,c=t.parent(),h=t.parent().children("input[type=hidden]");Foundation.rtl&&!r.vertical&&(u=-u);u=r.vertical?-u+e-f+1:u;this.set_translate(t,u,r.vertical);r.vertical?t.siblings(".range-slider-active-segment").css("height",s+"%"):t.siblings(".range-slider-active-segment").css("width",s+"%");c.attr(this.attr_name(),i).trigger("change").trigger("change.fndtn.slider");h.val(i);r.trigger_input_change&&h.trigger("change");t[0].hasAttribute("aria-valuemin")||t.attr({"aria-valuemin":r.start,"aria-valuemax":r.end});t.attr("aria-valuenow",i);""!=r.display_selector&&n(r.display_selector).each(function(){this.hasOwnProperty("value")?n(this).val(i):n(this).text(i)})},normalized_percentage:function(n,t,i){return Math.min(1,(n-t)/(i-t))},normalized_value:function(n,t,i,r,u){var e=i-t,f=n*e,o=(f-f%r)/r,s=f%r,h=s>=.5*r?r:0;return(o*r+h+t).toFixed(u)},set_translate:function(t,i,r){r?n(t).css("-webkit-transform","translateY("+i+"px)").css("-moz-transform","translateY("+i+"px)").css("-ms-transform","translateY("+i+"px)").css("-o-transform","translateY("+i+"px)").css("transform","translateY("+i+"px)"):n(t).css("-webkit-transform","translateX("+i+"px)").css("-moz-transform","translateX("+i+"px)").css("-ms-transform","translateX("+i+"px)").css("-o-transform","translateX("+i+"px)").css("transform","translateX("+i+"px)")},limit_to:function(n,t,i){return Math.min(Math.max(n,t),i)},initialize_settings:function(t){var r,i=n.extend({},this.settings,this.data_options(n(t).parent()));null===i.precision&&(r=(""+i.step).match(/\.([\d]*)/),i.precision=r&&r[1]?r[1].length:0);i.vertical?(n.data(t,"bar_o",n(t).parent().offset().top),n.data(t,"bar_l",n(t).parent().outerHeight()),n.data(t,"handle_o",n(t).offset().top),n.data(t,"handle_l",n(t).outerHeight())):(n.data(t,"bar_o",n(t).parent().offset().left),n.data(t,"bar_l",n(t).parent().outerWidth()),n.data(t,"handle_o",n(t).offset().left),n.data(t,"handle_l",n(t).outerWidth()));n.data(t,"bar",n(t).parent());n.data(t,"settings",i)},set_initial_position:function(t){var i=n.data(t.children(".range-slider-handle")[0],"settings"),r="number"!=typeof i.initial||isNaN(i.initial)?Math.floor(.5*(i.end-i.start)/i.step)*i.step+i.start:i.initial,u=t.children(".range-slider-handle");this.set_ui(u,r)},set_value:function(t){var i=this;n("["+i.attr_name()+"]",this.scope).each(function(){n(this).attr(i.attr_name(),t)});n(this.scope).attr(i.attr_name())&&n(this.scope).attr(i.attr_name(),t);i.reflow()},reflow:function(){var t=this;t.S("["+this.attr_name()+"]").each(function(){var i=n(this).children(".range-slider-handle")[0],r=n(this).attr(t.attr_name());t.initialize_settings(i);r?t.set_ui(n(i),parseFloat(r)):t.set_initial_position(n(this))})}}}(jQuery,window,window.document),function(n,t,i,r){"use strict";Foundation.libs.tab={name:"tab",version:"5.5.1",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(n,i,r){var u=this,f=this.S;this.bindings(i,r);u.entry_location=t.location.href;this.handle_location_hash_change();f("["+this.attr_name()+"] > .active > a",this.scope).each(function(){u.default_tab_hashes.push(this.hash)})},events:function(){var n=this,i=this.S,r=function(t){var r=i(this).closest("["+n.attr_name()+"]").data(n.attr_name(!0)+"-init");(!r.is_hover||Modernizr.touch)&&(t.preventDefault(),t.stopPropagation(),n.toggle_active_tab(i(this).parent()))};i(this.scope).off(".tab").on("focus.fndtn.tab","["+this.attr_name()+"] > * > a",r).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",r).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(){var t=i(this).closest("["+n.attr_name()+"]").data(n.attr_name(!0)+"-init");t.is_hover&&n.toggle_active_tab(i(this).parent())});i(t).on("hashchange.fndtn.tab",function(t){t.preventDefault();n.handle_location_hash_change()})},handle_location_hash_change:function(){var t=this,i=this.S;i("["+this.attr_name()+"]",this.scope).each(function(){var s=i(this).data(t.attr_name(!0)+"-init"),u,f,o,e;if(s.deep_linking)if(u=s.scroll_to_content?t.scope.location.hash:t.scope.location.hash.replace("fndtn-",""),""!=u)f=i(u),f.hasClass("content")&&f.parent().hasClass("tabs-content")?t.toggle_active_tab(n("["+t.attr_name()+"] > * > a[href="+u+"]").parent()):(o=f.closest(".content").attr("id"),o!=r&&t.toggle_active_tab(n("["+t.attr_name()+"] > * > a[href=#"+o+"]").parent(),u));else for(e=0;e<t.default_tab_hashes.length;e++)t.toggle_active_tab(n("["+t.attr_name()+"] > * > a[href="+t.default_tab_hashes[e]+"]").parent())})},toggle_active_tab:function(u,f){var c=this,s=c.S,l=u.closest("["+this.attr_name()+"]"),a=u.find("a"),p=u.children("a").first(),o="#"+p.attr("href").split("#")[1],h=s(o),v=u.siblings(),e=l.data(this.attr_name(!0)+"-init"),w=function(t){var r,u=n(this),f=n(this).parents("li").prev().children('[role="tab"]'),e=n(this).parents("li").next().children('[role="tab"]');switch(t.keyCode){case 37:r=f;break;case 39:r=e;break;default:r=!1}r.length&&(u.attr({tabindex:"-1","aria-selected":null}),r.attr({tabindex:"0","aria-selected":!0}).focus());n('[role="tabpanel"]').attr("aria-hidden","true");n("#"+n(i.activeElement).attr("href").substring(1)).attr("aria-hidden",null)},y=function(n){var i=t.location.href===c.entry_location,r=e.scroll_to_content?c.default_tab_hashes[0]:i?t.location.hash:"fndtn-"+c.default_tab_hashes[0].replace("#","");i&&n===r||(t.location.hash=n)};s(this).data(this.data_attr("tab-content"))&&(o="#"+s(this).data(this.data_attr("tab-content")).split("#")[1],h=s(o));e.deep_linking&&(e.scroll_to_content?(y(f||o),f==r||f==o?u.parent()[0].scrollIntoView():s(o)[0].scrollIntoView()):y(f!=r?"fndtn-"+f.replace("#",""):"fndtn-"+o.replace("#","")));u.addClass(e.active_class).triggerHandler("opened");a.attr({"aria-selected":"true",tabindex:0});v.removeClass(e.active_class);v.find("a").attr({"aria-selected":"false",tabindex:-1});h.siblings().removeClass(e.active_class).attr({"aria-hidden":"true",tabindex:-1});h.addClass(e.active_class).attr("aria-hidden","false").removeAttr("tabindex");e.callback(u);h.triggerHandler("toggled",[u]);l.triggerHandler("toggled",[h]);a.off("keydown").on("keydown",w)},data_attr:function(n){return this.namespace.length>0?this.namespace+"-"+n:n},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(n,t){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.5.1",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,show_on:"all",tip_template:function(n,t){return'<span data-selector="'+n+'" id="'+n+'" class="'+Foundation.libs.tooltip.settings.tooltip_class.substring(1)+'" role="tooltip">'+t+'<span class="nub"><\/span><\/span>'}},cache:{},init:function(n,t,i){Foundation.inherit(this,"random_str");this.bindings(t,i)},should_show:function(t){var i=n.extend({},this.settings,this.data_options(t));return"all"===i.show_on?!0:this.small()&&"small"===i.show_on?!0:this.medium()&&"medium"===i.show_on?!0:this.large()&&"large"===i.show_on?!0:!1},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(t){var i=this,r=i.S;i.create(this.S(t));n(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(t){var u=r(this),f=n.extend({},i.settings,i.data_options(u)),e=!1;if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&r(t.target).is("a")||/mouse/i.test(t.type)&&i.ie_touch(t))return!1;if(u.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&t.preventDefault(),i.hide(u);else{if(f.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type))return;!f.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&(t.preventDefault(),r(f.tooltip_class+".open").hide(),e=!0);/enter|over/i.test(t.type)?this.timer=setTimeout(function(){i.showTip(u)}.bind(this),i.settings.hover_delay):"mouseout"===t.type||"mouseleave"===t.type?(clearTimeout(this.timer),i.hide(u)):i.showTip(u)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(t){return/mouse/i.test(t.type)&&i.ie_touch(t)?!1:void(("touch"!=n(this).data("tooltip-open-event-type")||"mouseleave"!=t.type)&&("mouse"==n(this).data("tooltip-open-event-type")&&/MSPointerDown|touchstart/i.test(t.type)?i.convert_to_touch(n(this)):i.hide(n(this))))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(){i.hide(r(this))})},ie_touch:function(){return!1},showTip:function(n){var t=this.getTip(n);if(this.should_show(n,t))return this.show(n)},getTip:function(t){var r=this.selector(t),u=n.extend({},this.settings,this.data_options(t)),i=null;return r&&(i=this.S('span[data-selector="'+r+'"]'+u.tooltip_class)),"object"==typeof i?i:!1},selector:function(n){var t=n.attr("id"),i=n.attr(this.attr_name())||n.attr("data-selector");return(t&&t.length<1||!t)&&"string"!=typeof i&&(i=this.random_str(6),n.attr("data-selector",i).attr("aria-describedby",i)),t&&t.length>0?t:i},create:function(i){var o=this,r=n.extend({},this.settings,this.data_options(i)),f=this.settings.tip_template,u,e;"string"==typeof r.tip_template&&t.hasOwnProperty(r.tip_template)&&(f=t[r.tip_template]);u=n(f(this.selector(i),n("<div><\/div>").html(i.attr("title")).html()));e=this.inheritable_classes(i);u.addClass(e).appendTo(r.append_to);Modernizr.touch&&(u.append('<span class="tap-to-close">'+r.touch_close_text+"<\/span>"),u.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(){o.hide(i)}));i.removeAttr("title").attr("title","")},reposition:function(t,i,r){var s,u,e,h,f,o;(i.css("visibility","hidden").show(),s=t.data("width"),u=i.children(".nub"),e=u.outerHeight(),h=u.outerHeight(),i.css(this.small()?{width:"100%"}:{width:s?s:"auto"}),f=function(n,t,i,r,u){return n.css({top:t?t:"auto",bottom:r?r:"auto",left:u?u:"auto",right:i?i:"auto"}).end()},f(i,t.offset().top+t.outerHeight()+10,"auto","auto",t.offset().left),this.small())?(f(i,t.offset().top+t.outerHeight()+10,"auto","auto",12.5,n(this.scope).width()),i.addClass("tip-override"),f(u,-e,"auto","auto",t.offset().left)):(o=t.offset().left,Foundation.rtl&&(u.addClass("rtl"),o=t.offset().left+t.outerWidth()-i.outerWidth()),f(i,t.offset().top+t.outerHeight()+10,"auto","auto",o),i.removeClass("tip-override"),r&&r.indexOf("tip-top")>-1?(Foundation.rtl&&u.addClass("rtl"),f(i,t.offset().top-i.outerHeight(),"auto","auto",o).removeClass("tip-override")):r&&r.indexOf("tip-left")>-1?(f(i,t.offset().top+t.outerHeight()/2-i.outerHeight()/2,"auto","auto",t.offset().left-i.outerWidth()-e).removeClass("tip-override"),u.removeClass("rtl")):r&&r.indexOf("tip-right")>-1&&(f(i,t.offset().top+t.outerHeight()/2-i.outerHeight()/2,"auto","auto",t.offset().left+t.outerWidth()+e).removeClass("tip-override"),u.removeClass("rtl")));i.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(t){var r=n.extend({},this.settings,this.data_options(t)),u=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(r.additional_inheritable_classes),i=t.attr("class"),f=i?n.map(i.split(" "),function(t){if(-1!==n.inArray(t,u))return t}).join(" "):"";return n.trim(f)},convert_to_touch:function(t){var i=this,r=i.getTip(t),u=n.extend({},i.settings,i.data_options(t));0===r.find(".tap-to-close").length&&(r.append('<span class="tap-to-close">'+u.touch_close_text+"<\/span>"),r.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(){i.hide(t)}));t.data("tooltip-open-event-type","touch")},show:function(n){var t=this.getTip(n);"touch"==n.data("tooltip-open-event-type")&&this.convert_to_touch(n);this.reposition(n,t,n.attr("class"));n.addClass("open");t.fadeIn(150)},hide:function(n){var t=this.getTip(n);t.fadeOut(150,function(){t.find(".tap-to-close").remove();t.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose");n.removeClass("open")})},off:function(){var t=this;this.S(this.scope).off(".fndtn.tooltip");this.S(this.settings.tooltip_class).each(function(i){n("["+t.attr_name()+"]").eq(i).attr("title",n(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document),function(n,t,i){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.5.1",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(t,i,r){Foundation.inherit(this,"add_custom_rule register_media throttle");var u=this;u.register_media("topbar","foundation-mq-topbar");this.bindings(i,r);u.S("["+this.attr_name()+"]",this.scope).each(function(){var t=n(this),r=t.data(u.attr_name(!0)+"-init"),i;
1u.S("section, .top-bar-section",this);t.data("index",0);i=t.parent();i.hasClass("fixed")||u.is_sticky(t,i,r)?(u.settings.sticky_class=r.sticky_class,u.settings.sticky_topbar=t,t.data("height",i.outerHeight()),t.data("stickyoffset",i.offset().top)):t.data("height",t.outerHeight());r.assembled||u.assemble(t);r.is_hover?u.S(".has-dropdown",t).addClass("not-click"):u.S(".has-dropdown",t).removeClass("not-click");u.add_custom_rule(".f-topbar-fixed { padding-top: "+t.data("height")+"px }");i.hasClass("fixed")&&u.S("body").addClass("f-topbar-fixed")})},is_sticky:function(n,t,i){var r=t.hasClass(i.sticky_class),u=matchMedia(Foundation.media_queries.small).matches,f=matchMedia(Foundation.media_queries.medium).matches,e=matchMedia(Foundation.media_queries.large).matches;return r&&"all"===i.sticky_on?!0:r&&this.small()&&-1!==i.sticky_on.indexOf("small")&&u&&!f&&!e?!0:r&&this.medium()&&-1!==i.sticky_on.indexOf("medium")&&u&&f&&!e?!0:r&&this.large()&&-1!==i.sticky_on.indexOf("large")&&u&&f&&e?!0:r&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?!0:!1},toggle:function(i){var r,u=this,e,f;r=i?u.S(i).closest("["+this.attr_name()+"]"):u.S("["+this.attr_name()+"]");e=r.data(this.attr_name(!0)+"-init");f=u.S("section, .top-bar-section",r);u.breakpoint()&&(u.rtl?(f.css({right:"0%"}),n(">.name",f).css({right:"100%"})):(f.css({left:"0%"}),n(">.name",f).css({left:"100%"})),u.S("li.moved",f).removeClass("moved"),r.data("index",0),r.toggleClass("expanded").css("height",""));e.scrolltop?r.hasClass("expanded")?r.parent().hasClass("fixed")&&(e.scrolltop?(r.parent().removeClass("fixed"),r.addClass("fixed"),u.S("body").removeClass("f-topbar-fixed"),t.scrollTo(0,0)):r.parent().removeClass("expanded")):r.hasClass("fixed")&&(r.parent().addClass("fixed"),r.removeClass("fixed"),u.S("body").addClass("f-topbar-fixed")):(u.is_sticky(r,r.parent(),e)&&r.parent().addClass("fixed"),r.parent().hasClass("fixed")&&(r.hasClass("expanded")?(r.addClass("fixed"),r.parent().addClass("expanded"),u.S("body").addClass("f-topbar-fixed")):(r.removeClass("fixed"),r.parent().removeClass("expanded"),u.update_sticky_positioning())))},timer:null,events:function(){var i=this,r=this.S;r(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(n){n.preventDefault();i.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(){var t=n(this).closest("li");!i.breakpoint()||t.hasClass("back")||t.hasClass("has-dropdown")||i.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(t){var u=r(this),f=r(t.target),e=u.closest("["+i.attr_name()+"]"),o=e.data(i.attr_name(!0)+"-init");return f.data("revealId")?void i.toggle():void(i.breakpoint()||(!o.is_hover||Modernizr.touch)&&(t.stopImmediatePropagation(),u.hasClass("hover")?(u.removeClass("hover").find("li").removeClass("hover"),u.parents("li.hover").removeClass("hover")):(u.addClass("hover"),n(u).siblings().removeClass("hover"),"A"===f[0].nodeName&&f.parent().hasClass("has-dropdown")&&t.preventDefault())))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(n){if(i.breakpoint()){n.preventDefault();var u=r(this),t=u.closest("["+i.attr_name()+"]"),f=t.find("section, .top-bar-section"),e=(u.next(".dropdown").outerHeight(),u.closest("li"));t.data("index",t.data("index")+1);e.addClass("moved");i.rtl?(f.css({right:-(100*t.data("index"))+"%"}),f.find(">.name").css({right:100*t.data("index")+"%"})):(f.css({left:-(100*t.data("index"))+"%"}),f.find(">.name").css({left:100*t.data("index")+"%"}));t.css("height",u.siblings("ul").outerHeight(!0)+t.data("height"))}});r(t).off(".topbar").on("resize.fndtn.topbar",i.throttle(function(){i.resize.call(i)},50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){r(this).trigger("resize.fndtn.topbar")});r("body").off(".topbar").on("click.fndtn.topbar",function(n){var t=r(n.target).closest("li").closest("li.hover");t.length>0||r("["+i.attr_name()+"] li.hover").removeClass("hover")});r(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(n){n.preventDefault();var f=r(this),t=f.closest("["+i.attr_name()+"]"),u=t.find("section, .to
1p-bar-section"),e=(t.data(i.attr_name(!0)+"-init"),f.closest("li.moved")),o=e.parent();t.data("index",t.data("index")-1);i.rtl?(u.css({right:-(100*t.data("index"))+"%"}),u.find(">.name").css({right:100*t.data("index")+"%"})):(u.css({left:-(100*t.data("index"))+"%"}),u.find(">.name").css({left:100*t.data("index")+"%"}));0===t.data("index")?t.css("height",""):t.css("height",o.outerHeight(!0)+t.data("height"));setTimeout(function(){e.removeClass("moved")},300)});r(this.scope).find(".dropdown a").focus(function(){n(this).parents(".has-dropdown").addClass("hover")}).blur(function(){n(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var n=this;n.S("["+this.attr_name()+"]").each(function(){var u,t=n.S(this),e=t.data(n.attr_name(!0)+"-init"),r=t.parent("."+n.settings.sticky_class),f;n.breakpoint()||(f=t.hasClass("expanded"),t.css("height","").removeClass("expanded").find("li").removeClass("hover"),f&&n.toggle(t));n.is_sticky(t,r,e)&&(r.hasClass("fixed")?(r.removeClass("fixed"),u=r.offset().top,n.S(i.body).hasClass("f-topbar-fixed")&&(u-=t.data("height")),t.data("stickyoffset",u),r.addClass("fixed")):(u=r.offset().top,t.data("stickyoffset",u)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(t){var i=this,r=t.data(this.attr_name(!0)+"-init"),u=i.S("section, .top-bar-section",t);u.detach();i.S(".has-dropdown>a",u).each(function(){var u,t=i.S(this),f=t.siblings(".dropdown"),e=t.attr("href");f.find(".title.back").length||(u=n(1==r.mobile_show_parent_link&&e?'<li class="title back js-generated"><h5><a href="javascript:void(0)"><\/a><\/h5><\/li><li class="parent-link hide-for-large-up"><a class="parent-link js-generated" href="'+e+'">'+t.html()+"<\/a><\/li>":'<li class="title back js-generated"><h5><a href="javascript:void(0)"><\/a><\/h5>'),n("h5>a",u).html(1==r.custom_back_text?r.back_text:"&laquo; "+t.html()),f.prepend(u))});u.appendTo(t);this.sticky();this.assembled(t)},assembled:function(t){t.data(this.attr_name(!0),n.extend({},t.data(this.attr_name(!0)),{assembled:!0}))},height:function(t){var i=0,r=this;return n("> li",t).each(function(){i+=r.S(this).outerHeight(!0)}),i},sticky:function(){var n=this;this.S(t).on("scroll",function(){n.update_sticky_positioning()})},update_sticky_positioning:function(){var i="."+this.settings.sticky_class,u=this.S(t),n=this,r;n.settings.sticky_topbar&&n.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)&&(r=this.settings.sticky_topbar.data("stickyoffset"),n.S(i).hasClass("expanded")||(u.scrollTop()>r?n.S(i).hasClass("fixed")||(n.S(i).addClass("fixed"),n.S("body").addClass("f-topbar-fixed")):u.scrollTop()<=r&&n.S(i).hasClass("fixed")&&(n.S(i).removeClass("fixed"),n.S("body").removeClass("f-topbar-fixed"))))},off:function(){this.S(this.scope).off(".fndtn.topbar");this.S(t).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document),function(n,t){"use strict";Foundation.libs.equalizer={name:"equalizer",version:"{{VERSION}}",settings:{use_tallest:!0,before_height_change:n.noop,after_height_change:n.noop,equalize_on_stack:!1,act_on_hidden_el:!1},init:function(n,t,i){Foundation.inherit(this,"image_loaded");this.bindings(t,i);this.reflow()},events:function(){this.S(t).off(".equalizer").on("resize.fndtn.equalizer",function(){this.reflow()}.bind(this))},equalize:function(t){var e=!1,u=t.data("equalizer"),r=t.data(this.attr_name(!0)+"-init")||this.settings,i,o,f,s,h;(i=r.act_on_hidden_el?u?t.find("["+this.attr_name()+'-watch="'+u+'"]'):t.find("["+this.attr_name()+"-watch]"):u?t.find("["+this.attr_name()+'-watch="'+u+'"]:visible'):t.find("["+this.attr_name()+"-watch]:visible"),i.length!==0)&&((r.before_height_change(),t.trigger("before-height-change.fndth.equalizer"),i.height("inherit"),r.equalize_on_stack===!1&&(o=i.first().offset().top,i.each(function(){if(n(this).offset().top!==o)return e=!0,!1}),e))||(f=i.map(function(){return n(this).outerHeight(!1)}).get(),r.use_tallest?(s=Math.max.apply(null,f),i.css("height",s)):(h=Math.min.apply(null,f),i.css("height",h)),r.after_height_change(),t.trigger("after-height-change.fndtn.equalizer")))},reflow:function(){var t=this;this.S("["+this.attr_name()+"]",this.scope).each(function(){var r=n(this),i=r.data("equalizer-mq"),u=!0;i&&(i="is_"+i.replace(/-/g,"_"),Foundation.utils.hasOwnProperty(i)&&(u=!1));t.image_loaded(t.S("img",this),function(){if(u||Foundation.utils[i]())t.equalize(r);else{var n=r.find("["+t.attr_name()+"-watch]:visible");n.css("height","auto")}})})}}}(jQuery,window,window.document),function(n,t){"use strict";
1Foundation.libs.tooltip={name:"tooltip",version:"5.5.3",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,fade_in_duration:150,fade_out_duration:150,show_on:"all",tip_template:function(n,t){return'<span data-selector="'+n+'" id="'+n+'" class="'+Foundation.libs.tooltip.settings.tooltip_class.substring(1)+'" role="tooltip">'+t+'<span class="nub"><\/span><\/span>'}},cache:{},init:function(n,t,i){Foundation.inherit(this,"random_str");this.bindings(t,i)},should_show:function(t){var i=n.extend({},this.settings,this.data_options(t));return i.show_on==="all"?!0:this.small()&&i.show_on==="small"||this.medium()&&i.show_on==="medium"||this.large()&&i.show_on==="large"?!0:!1},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(t){function f(n,t,r){n.timer||(r?(n.timer=null,i.showTip(t)):n.timer=setTimeout(function(){n.timer=null;i.showTip(t)}.bind(n),i.settings.hover_delay))}function u(n,t){n.timer&&(clearTimeout(n.timer),n.timer=null);i.hide(t)}var i=this,r=i.S;i.create(this.S(t));n(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(t){var e=r(this),o=n.extend({},i.settings,i.data_options(e)),h=!1,s;if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&r(t.target).is("a")||/mouse/i.test(t.type)&&i.ie_touch(t))return!1;if(e.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&t.preventDefault(),i.hide(e);else{if(o.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type))return;!o.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&(t.preventDefault(),r(o.tooltip_class+".open").hide(),h=!0,n(".open["+i.attr_name()+"]").length>0&&(s=r(n(".open["+i.attr_name()+"]")[0]),i.hide(s)));/enter|over/i.test(t.type)?f(this,e):t.type==="mouseout"||t.type==="mouseleave"?u(this,e):f(this,e,!0)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(t){if(/mouse/i.test(t.type)&&i.ie_touch(t))return!1;(n(this).data("tooltip-open-event-type")!="touch"||t.type!="mouseleave")&&(n(this).data("tooltip-open-event-type")=="mouse"&&/MSPointerDown|touchstart/i.test(t.type)?i.convert_to_touch(n(this)):u(this,n(this)))}).on("DOMNodeRemoved","["+this.attr_name()+"]:not(a)",function(){u(this,r(this))})},ie_touch:function(){return!1},showTip:function(n){var t=this.getTip(n);if(this.should_show(n,t))return this.show(n)},getTip:function(t){var r=this.selector(t),u=n.extend({},this.settings,this.data_options(t)),i=null;return r&&(i=this.S('span[data-selector="'+r+'"]'+u.tooltip_class)),typeof i=="object"?i:!1},selector:function(n){var t=n.attr(this.attr_name())||n.attr("data-selector");return typeof t!="string"&&(t=this.random_str(6),n.attr("data-selector",t).attr("aria-describedby",t)),t},create:function(i){var o=this,r=n.extend({},this.settings,this.data_options(i)),f=this.settings.tip_template,u,e;if(typeof r.tip_template=="string"&&t.hasOwnProperty(r.tip_template)&&(f=t[r.tip_template]),u=n(f(this.selector(i),n("<div><\/div>").html(i.attr("title")).html())),e=this.inheritable_classes(i),u.addClass(e).appendTo(r.append_to),Modernizr.touch){u.append('<span class="tap-to-close">'+r.touch_close_text+"<\/span>");u.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(){o.hide(i)})}i.removeAttr("title").attr("title","")},reposition:function(t,i,r){var l,u,h,a,f,c;i.css("visibility","hidden").show();l=t.data("width");u=i.children(".nub");h=u.outerHeight();a=u.outerWidth();this.small()?i.css({width:"100%"}):i.css({width:l?l:"auto"});f=function(n,t,i,r,u){return n.css({top:t?t:"auto",bottom:r?r:"auto",left:u?u:"auto",right:i?i:"auto"}).end()};var o=t.offset().top,e=t.offset().left,s=t.outerHeight();f(i,o+s+10,"auto","auto",e);this.small()?(f(i,o+s+10,"auto","auto",12.5,n(this.scope).width()),i.addClass("tip-override"),f(u,-h,"auto","auto",e)):(Foundation.rtl&&(u.addClass("rtl"),e=e+t.outerWidth()-i.outerWidth()),f(i,o+s+10,"auto","auto",e),u.attr("style")&&u.removeAttr("style"),i.removeClass("tip-override"),c=i.outerHeight(),r&&r.indexOf("tip-top")>-1?(Foundation.rtl&&u.addClass("rtl"),f(i,o-c,"auto","auto",e).removeClass("tip-override")):r&&r.indexOf("tip-left")>-1?(f(i,o+s/2-c/2,"auto","auto",e-i.outerWidth()-h).removeClass("tip-override"),u.removeClass("rtl")):r&&r.indexOf("tip-right")>-1&&(f(i,o+s/2-c/2,"auto","auto",e+t.outerWidth()+h).removeClass("tip-override"),u.removeClass("rtl")));i.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(t){var r=n.extend({},this.settings,this.data_options(t)),u=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(r.additional_inheritable_classes),i=t.attr("class"),f=i?n.map(i.split(" "),function(t){if(n.inArray(t,u)!==-1)return t}).join(" "):"";return n.trim(f)},convert_to_touch:function(t){var i=this,r=i.getTip(t),u=n.extend({},i.settings,i.data_options(t));if(r.find(".tap-to-close").length===0){r.append('<span class="tap-to-close">'+u.touch_close_text+"<\/span>");r.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(){i.hide(t)})}t.data("tooltip-open-event-type","touch")},show:function(n){var t=this.getTip(n);n.data("tooltip-open-event-type")=="touch"&&this.convert_to_touch(n);this.reposition(n,t,n.attr("class"));n.addClass("open");t.fadeIn(this.settings.fade_in_duration)},hide:function(n){var t=this.getTip(n);t.fadeOut(this.settings.fade_out_duration,function(){t.find(".tap-to-close").remove();t.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose");n.removeClass("open")})},off:function(){var t=this;this.S(this.scope).off(".fndtn.tooltip");this.S(this.settings.tooltip_class).each(function(i){n("["+t.attr_name()+"]").eq(i).attr("title",n(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document),function(n,t,i){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.5.3",settings:{active_class:"open",disabled_class:"disabled",mega_class:"mega",align:"bottom",is_hover:!1,hover_timeout:150,opened:function(){},closed:function(){}},init:function(t,i,r){Foundation.inherit(this,"throttle");n.extend(!0,this.settings,i,r);this.bindings(i,r)},events:function(){var r=this,u=r.S;u(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(t){var i=u(this).data(r.attr_name(!0)+"-init")||r.settings;(!i.is_hover||Modernizr.touch)&&(t.preventDefault(),u(this).parent("[data-reveal-id]").length&&t.stopPropagation(),r.toggle(n(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(n){var t=u(this),i,f,e;clearTimeout(r.timeout);t.data(r.data_attr())?(i=u("#"+t.data(r.data_attr())),f=t):(i=t,f=u("["+r.attr_name()+'="'+i.attr("id")+'"]'));e=f.data(r.attr_name(!0)+"-init")||r.settings;u(n.currentTarget).data(r.data_attr())&&e.is_hover&&r.closeall.call(r);e.is_hover&&r.open.apply(r,[i,f])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(){var t=u(this),i,n;t.data(r.data_attr())?n=t.data(r.data_attr(!0)+"-init")||r.settings:(i=u("["+r.attr_name()+'="'+u(this).attr("id")+'"]'),n=i.data(r.attr_name(!0)+"-init")||r.settings);r.timeout=setTimeout(function(){t.data(r.data_attr())?n.is_hover&&r.close.call(r,u("#"+t.data(r.data_attr()))):n.is_hover&&r.close.call(r,t)}.bind(this),n.hover_timeout)}).on("click.fndtn.dropdown",function(t){var f=u(t.target).closest("["+r.attr_name()+"-content]"),e=f.find("a");if((e.length>0&&f.attr("aria-autoclose")!=="false"&&r.close.call(r,u("["+r.attr_name()+"-content]")),t.target===i||n.contains(i.documentElement,t.target))&&!(u(t.target).closest("["+r.attr_name()+"]").length>0)){if(!u(t.target).data("revealId")&&f.length>
10&&(u(t.target).is("["+r.attr_name()+"-content]")||n.contains(f.first()[0],t.target))){t.stopPropagation();return}r.close.call(r,u("["+r.attr_name()+"-content]"))}}).on("opened.fndtn.dropdown","["+r.attr_name()+"-content]",function(){r.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+r.attr_name()+"-content]",function(){r.settings.closed.call(this)});u(t).off(".dropdown").on("resize.fndtn.dropdown",r.throttle(function(){r.resize.call(r)},50));this.resize()},close:function(t){var i=this;t.each(function(r){var u=n("["+i.attr_name()+"="+t[r].id+"]")||n("aria-controls="+t[r].id+"]");u.attr("aria-expanded","false");i.S(this).hasClass(i.settings.active_class)&&(i.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(i.settings.active_class).prev("["+i.attr_name()+"]").removeClass(i.settings.active_class).removeData("target"),i.S(this).trigger("closed.fndtn.dropdown",[t]))});t.removeClass("f-open-"+this.attr_name(!0))},closeall:function(){var t=this;n.each(t.S(".f-open-"+this.attr_name(!0)),function(){t.close.call(t,t.S(this))})},open:function(n,t){this.css(n.addClass(this.settings.active_class),t);n.prev("["+this.attr_name()+"]").addClass(this.settings.active_class);n.data("target",t.get(0)).trigger("opened.fndtn.dropdown",[n,t]);n.attr("aria-hidden","false");t.attr("aria-expanded","true");n.focus();n.addClass("f-open-"+this.attr_name(!0))},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(n){if(!n.hasClass(this.settings.disabled_class)){var t=this.S("#"+n.data(this.data_attr()));t.length!==0&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(t)),t.hasClass(this.settings.active_class)?(this.close.call(this,t),t.data("target")!==n.get(0)&&this.open.call(this,t,n)):this.open.call(this,t,n))}},resize:function(){var t=this.S("["+this.attr_name()+"-content].open"),i=n(t.data("target"));t.length&&i.length&&this.css(t,i)},css:function(n,t){var i=Math.max((t.width()-n.width())/2,8),r=t.data(this.attr_name(!0)+"-init")||this.settings,e=n.parent().css("overflow-y")||n.parent().css("overflow"),u,f;return this.clear_idx(),this.small()?(u=this.dirs.bottom.call(n,t,r),n.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:u.top}),n.css(Foundation.rtl?"right":"left",i)):e!=="visible"?(f=t[0].offsetTop+t[0].offsetHeight,n.attr("style","").css({position:"absolute",top:f}),n.css(Foundation.rtl?"right":"left",i)):this.style(n,t,r),n},style:function(t,i,r){var u=n.extend({position:"absolute"},this.dirs[r.align].call(t,i,r));t.attr("style","").css(u)},dirs:{_base:function(n,r){var a=this.offsetParent(),c=a.offset(),u=n.offset(),h,e,o,l,s,f;return u.top-=c.top,u.left-=c.left,u.missRight=!1,u.missTop=!1,u.missLeft=!1,u.leftRightFlag=!1,e=t.innerWidth,h=i.getElementsByClassName("row")[0]?i.getElementsByClassName("row")[0].clientWidth:e,o=(e-h)/2,l=h,this.hasClass("mega")||r.ignore_repositioning||(s=this.outerWidth(),f=n.offset().left,n.offset().top<=this.outerHeight()&&(u.missTop=!0,l=e-o,u.leftRightFlag=!0),f+s>f+o&&f-o>s&&(u.missRight=!0,u.missLeft=!1),f-s<=0&&(u.missLeft=!0,u.missRight=!1)),u},top:function(n,t){var r=Foundation.libs.dropdown,i=r.dirs._base.call(this,n,t);return(this.addClass("drop-top"),i.missTop==!0&&(i.top=i.top+n.outerHeight()+this.outerHeight(),this.removeClass("drop-top")),i.missRight==!0&&(i.left=i.left-this.outerWidth()+n.outerWidth()),(n.outerWidth()<this.outerWidth()||r.small()||this.hasClass(t.mega_menu))&&r.adjust_pip(this,n,t,i),Foundation.rtl)?{left:i.left-this.outerWidth()+n.outerWidth(),top:i.top-this.outerHeight()}:{left:i.left,top:i.top-this.outerHeight()}},bottom:function(n,t){var r=Foundation.libs.dropdown,i=r.dirs._base.call(this,n,t);return(i.missRight==!0&&(i.left=i.left-this.outerWidth()+n.outerWidth()),(n.outerWidth()<this.outerWidth()||r.small()||this.hasClass(t.mega_menu))&&r.adjust_pip(this,n,t,i),r.rtl)?{left:i.left-this.outerWidth()+n.outerWidth(),top:i.top+n.outerHeight()}:{left:i.left,top:i.top+n.outerHeight()}},left:function(n,t){var i=Foundation.libs.dropdown.dirs._base.call(this,n,t);
1return this.addClass("drop-left"),i.missLeft==!0&&(i.left=i.left+this.outerWidth(),i.top=i.top+n.outerHeight(),this.removeClass("drop-left")),{left:i.left-this.outerWidth(),top:i.top}},right:function(n,t){var i=Foundation.libs.dropdown.dirs._base.call(this,n,t),r;return this.addClass("drop-right"),i.missRight==!0?(i.left=i.left-this.outerWidth(),i.top=i.top+n.outerHeight(),this.removeClass("drop-right")):i.triggeredRight=!0,r=Foundation.libs.dropdown,(n.outerWidth()<this.outerWidth()||r.small()||this.hasClass(t.mega_menu))&&r.adjust_pip(this,n,t,i),{left:i.left+n.outerWidth(),top:i.top}}},adjust_pip:function(n,t,i,r){var f=Foundation.stylesheet,u=8;n.hasClass(i.mega_class)?u=r.left+t.outerWidth()/2-8:this.small()&&(u+=r.left-8);this.rule_idx=f.cssRules.length;var e=".f-dropdown.open:before",o=".f-dropdown.open:after",s="left: "+u+"px;",h="left: "+(u-1)+"px;";r.missRight==!0&&(u=n.outerWidth()-23,e=".f-dropdown.open:before",o=".f-dropdown.open:after",s="left: "+u+"px;",h="left: "+(u-1)+"px;");r.triggeredRight==!0&&(e=".f-dropdown.open:before",o=".f-dropdown.open:after",s="left:-12px;",h="left:-14px;");f.insertRule?(f.insertRule([e,"{",s,"}"].join(" "),this.rule_idx),f.insertRule([o,"{",h,"}"].join(" "),this.rule_idx+1)):(f.addRule(e,s,this.rule_idx),f.addRule(o,h,this.rule_idx+1))},clear_idx:function(){var n=Foundation.stylesheet;typeof this.rule_idx!="undefined"&&(n.deleteRule(this.rule_idx),n.deleteRule(this.rule_idx),delete this.rule_idx)},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},off:function(){this.S(this.scope).off(".fndtn.dropdown");this.S("html, body").off(".fndtn.dropdown");this.S(t).off(".fndtn.dropdown");this.S("[data-dropdown-content]").off(".fndtn.dropdown")},reflow:function(){}}}(jQuery,window,window.document);$(document).ready(function(){var n,t,i;$(document).foundation("equalizer","reflow");$(document).foundation({dropdown:{active_class:"visible"}});$(document).on("open.fndtn.offcanvas","[data-offcanvas]",function(){$("body").addClass("offcanvas-open")});$(document).on("close.fndtn.offcanvas","[data-offcanvas]",function(){$("body").removeClass("offcanvas-open")});$("[data-ofcanvas-close]").click(function(n){n.preventDefault();$(".off-canvas-wrap").foundation("offcanvas","hide","move-right")});n=$("[data-basketflyout]");t=$("[data-searchflyout]");$("[data-togglesearch]").click(function(){$("header .search-box").slideToggle()});i=$("[data-settopfromelement-container]");window.setInterval(function(){i.each(function(){var n=$(this);n.data("settopfromelement-loaded")||n.find("img:visible").first().height()&&(n.setTopFromElement(),n.data("settopfromelement-loaded",!0))})},200);$("footer [data-toggle]").click(function(){$(this).siblings("."+$(this).data("toggle")).slideToggle()});$("[data-basket]").click(function(i){i.preventDefault();n.hasClass("visible")?n.removeClass("visible"):(t.removeClass("visible"),n.addClass("visible"))});$("[data-basket-flyoutclose]").click(function(){n.removeClass("visible")});$("[data-search]").click(function(i){i.preventDefault();t.hasClass("visible")?t.removeClass("visible"):(n.removeClass("visible"),t.addClass("visible"))});$("[data-search-flyoutclose]").click(function(){t.removeClass("visible")});$("[data-slideout] a.toggle").click(function(n){n.preventDefault();$(this).closest("li").hasClass("active")?$(this).closest("li").removeClass("active"):($(this).closest("[data-slideout]").find("li.active").removeClass("active"),$(this).closest("li").addClass("active"))});$("[data-slideout] a.toggle-payment").click(function(n){n.preventDefault();$(this).closest("li").hasClass("active")?$(this).closest("li").removeClass("active"):$(this).closest("li").addClass("active")});$(".fdatepicker").fdatepicker();$("[data-toggle-epaper]").on("change",function(){$(this).is(":checked")?($('[data-epaper-for="'+$(this).data("toggle-epaper")+'"]').addClass("visible"),$(document).foundation("equalizer","reflow")):$('[data-epaper-for="'+$(this).data("toggle-epaper")+'"]').removeClass("visible")})});window.onload=function(){var n=sessionStorage.getItem("id"),r=sessionStorage.getItem("giftname-"+n),u=sessionStorage.getItem("myaddresschange-"+n),i,t;for(r==="success"&&(document.getElementById("gifttext-"+n).style.display="block",document.getElementById("giftname-"+n).style.display="block",document.getElementById("giftname-"+n).innerText=sessionStorage.getItem("fullname-"+n),sessionStorage.setItem("fullname-"+n,""),sessionStorage.setItem("giftname-"+n,"")),u==="true"&&sessionStorage.setItem("myaddresschange-"+n,"false"),sessionStorage.setItem("id",""),i=document.getElementsByClassName("clearboxes"),t=0;t<i.length;t++)i[t].value=""};$(document).foundation({});var prp={},$magazinslider=$("#magazine-slider"),$magazinslider2=$("#magazine-slider-2"),$magazinslider3=$("#magazine-slider-3"),$magazinsliderCat=$("#magazine-slider-cat"),$coverSlider=$("#cover-slider");window.contentSmall=!1;window.contentMedium=!1;
1window.contentLarge=!1;window.currentGrid=null;$(window).load(function(){prp.initialWidth=document.documentElement.clientWidth;checkForContentReload(prp.initialWidth,!0)});$(window).resize(function(){prp.width=document.documentElement.clientWidth;checkForContentReload(prp.width,!1)});$(document).ready(function(){initSlider();initSliderSpecial();initSliderCat()});$.ajaxSetup({cache:!0});!function(n){"use strict";function t(n){return(n||"").toLowerCase()}var i="2.1.6";n.fn.cycle=function(i){var r;return 0!==this.length||n.isReady?this.each(function(){var f,r,h,o,u=n(this),s=n.fn.cycle.log,e;if(!u.data("cycle.opts")){(u.data("cycle-log")===!1||i&&i.log===!1||r&&r.log===!1)&&(s=n.noop);s("--c2 init--");f=u.data();for(e in f)f.hasOwnProperty(e)&&/^cycle[A-Z]+/.test(e)&&(o=f[e],h=e.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),s(h+":",o,"("+typeof o+")"),f[h]=o);r=n.extend({},n.fn.cycle.defaults,f,i||{});r.timeoutId=0;r.paused=r.paused||!1;r.container=u;r._maxZ=r.maxZ;r.API=n.extend({_container:u},n.fn.cycle.API);r.API.log=s;r.API.trigger=function(n,t){return r.container.trigger(n,t),r.API};u.data("cycle.opts",r);u.data("cycle.API",r.API);r.API.trigger("cycle-bootstrap",[r,r.API]);r.API.addInitialSlides();r.API.preInitSlideshow();r.slides.length&&r.API.initSlideshow()}}):(r={s:this.selector,c:this.context},n.fn.cycle.log("requeuing slideshow (dom not ready)"),n(function(){n(r.s,r.c).cycle(i)}),this)};n.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var t=this.opts(),i=t.slides;t.slideCount=0;t.slides=n();i=i.jquery?i:t.container.find(i);t.random&&i.sort(function(){return Math.random()-.5});t.API.add(i)},preInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-pre-initialize",[t]);i=n.fn.cycle.transitions[t.fx];i&&n.isFunction(i.preInit)&&i.preInit(t);t._preInitialized=!0},postInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-post-initialize",[t]);i=n.fn.cycle.transitions[t.fx];i&&n.isFunction(i.postInit)&&i.postInit(t)},initSlideshow:function(){var i,t=this.opts(),r=t.container;t.API.calcFirstSlide();"static"==t.container.css("position")&&t.container.css("position","relative");n(t.slides[t.currSlide]).css({opacity:1,display:"block",visibility:"visible"});t.API.stackSlides(t.slides[t.currSlide],t.slides[t.nextSlide],!t.reverse);t.pauseOnHover&&(t.pauseOnHover!==!0&&(r=n(t.pauseOnHover)),r.hover(function(){t.API.pause(!0)},function(){t.API.resume(!0)}));t.timeout&&(i=t.API.getSlideOpts(t.currSlide),t.API.queueTransition(i,i.timeout+t.delay));t._initialized=!0;t.API.updateView(!0);t.API.trigger("cycle-initialized",[t]);t.API.postInitSlideshow()},pause:function(t){var i=this.opts(),r=i.API.getSlideOpts(),u=i.hoverPaused||i.paused;t?i.hoverPaused=!0:i.paused=!0;u||(i.container.addClass("cycle-paused"),i.API.trigger("cycle-paused",[i]).log("cycle-paused"),r.timeout&&(clearTimeout(i.timeoutId),i.timeoutId=0,i._remainingTimeout-=n.now()-i._lastQueue,(i._remainingTimeout<0||isNaN(i._remainingTimeout))&&(i._remainingTimeout=void 0)))},resume:function(n){var t=this.opts(),i=!t.hoverPaused&&!t.paused;n?t.hoverPaused=!1:t.paused=!1;i||(t.container.removeClass("cycle-paused"),0===t.slides.filter(":animated").length&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(t,i){var u,r=this.opts(),e=r.slideCount,f=!1;"string"==n.type(t)&&(t=n.trim(t));n(t).each(function(){var u,t=n(this);i?r.container.prepend(t):r.container.append(t);r.slideCount++;u=r.API.buildSlideOpts(t);r.slides=i?n(t).add(r.slides):r.slides.add(t);r.API.initSlide(u,t,--r._maxZ);t.data("cycle.opts",u);r.API.trigger("cycle-slide-added",[r,u,t])});r.API.updateView(!0);f=r._preInitialized&&2>e&&r.slideCount>=1;f&&(r._initialized?r.timeout&&(u=r.slides.length,r.nextSlide=r.reverse?u-1:1,r.timeoutId||r.API.queueTransition(r)):r.API.initSlideshow())},calcFirstSlide:function(){var t,n=this.opts();t=parseInt(n.startingSlide||0,10);(t>=n.slides.length||0>t)&&(t=0);n.currSlide=t;n.reverse?(n.nextSlide=t-1,n.nextSlide<0&&(n.nextSlide=n.slides.length-1)):(n.nextSlide=t+1,n.nextSlide==n.slides.length&&(n.nextSlide=0))},calcNextSlide:function(){var t,n=this.opts();n.reverse?(t=n.nextSlide-1<0,n.nextSlide=t?n.slideCount-1:n.nextSlide-1,n.currSlide=t?0:n.nextSlide+1):(t=n.nextSlide+1==n.slides.length,n.nextSlide=t?0:n.nextSlide+1,n.currSlide=t?n.slides.length-1:n.nextSlide-1)},calcTx:function(t,i){var u,r=t;return r._tempFx?u=n.fn.cycle.transitions[r._tempFx]:i&&r.manualFx&&(u=n.fn.cycle.transitions[r.manualFx]),u||(u=n.fn.cycle.transitions[r.fx]),r._tempFx=null,this.opts()._tempFx=null,u||(u=n.fn.cycle.transitions.fade,r.API.log('Transition "'+r.fx+'" not found.  Using fade.')),u}
1,prepareTx:function(n,t){var o,f,e,r,u,i=this.opts();return i.slideCount<2?void(i.timeoutId=0):(!n||i.busy&&!i.manualTrump||(i.API.stopTransition(),i.busy=!1,clearTimeout(i.timeoutId),i.timeoutId=0),void(i.busy||(0!==i.timeoutId||n)&&(f=i.slides[i.currSlide],e=i.slides[i.nextSlide],r=i.API.getSlideOpts(i.nextSlide),u=i.API.calcTx(r,n),i._tx=u,n&&void 0!==r.manualSpeed&&(r.speed=r.manualSpeed),i.nextSlide!=i.currSlide&&(n||!i.paused&&!i.hoverPaused&&i.timeout)?(i.API.trigger("cycle-before",[r,f,e,t]),u.before&&u.before(r,f,e,t),o=function(){i.busy=!1;i.container.data("cycle.opts")&&(u.after&&u.after(r,f,e,t),i.API.trigger("cycle-after",[r,f,e,t]),i.API.queueTransition(r),i.API.updateView(!0))},i.busy=!0,u.transition?u.transition(r,f,e,t,o):i.API.doTransition(r,f,e,t,o),i.API.calcNextSlide(),i.API.updateView()):i.API.queueTransition(r))))},doTransition:function(t,i,r,u,f){var e=t,o=n(i),s=n(r),h=function(){s.animate(e.animIn||{opacity:1},e.speed,e.easeIn||e.easing,f)};s.css(e.cssBefore||{});o.animate(e.animOut||{},e.speed,e.easeOut||e.easing,function(){o.css(e.cssAfter||{});e.sync||h()});e.sync&&h()},queueTransition:function(t,i){var r=this.opts(),u=void 0!==i?i:t.timeout;return 0===r.nextSlide&&0==--r.loop?(r.API.log("terminating; loop=0"),r.timeout=0,u?setTimeout(function(){r.API.trigger("cycle-finished",[r])},u):r.API.trigger("cycle-finished",[r]),void(r.nextSlide=r.currSlide)):void 0!==r.continueAuto&&(r.continueAuto===!1||n.isFunction(r.continueAuto)&&r.continueAuto()===!1)?(r.API.log("terminating automatic transitions"),r.timeout=0,void(r.timeoutId&&clearTimeout(r.timeoutId))):void(u&&(r._lastQueue=n.now(),void 0===i&&(r._remainingTimeout=t.timeout),r.paused||r.hoverPaused||(r.timeoutId=setTimeout(function(){r.API.prepareTx(!1,!r.reverse)},u))))},stopTransition:function(){var n=this.opts();n.slides.filter(":animated").length&&(n.slides.stop(!1,!0),n.API.trigger("cycle-transition-stopped",[n]));n._tx&&n._tx.stopTransition&&n._tx.stopTransition(n)},advanceSlide:function(n){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+n,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,n>=0),!1},buildSlideOpts:function(i){var f,o,e=this.opts(),r=i.data()||{},u;for(u in r)r.hasOwnProperty(u)&&/^cycle[A-Z]+/.test(u)&&(f=r[u],o=u.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),e.API.log("["+(e.slideCount-1)+"]",o+":",f,"("+typeof f+")"),r[o]=f);r=n.extend({},n.fn.cycle.defaults,e,r);r.slideNum=e.slideCount;try{delete r.API;delete r.slideCount;delete r.currSlide;delete r.nextSlide;delete r.slides}catch(s){}return r},getSlideOpts:function(t){var i=this.opts(),r,u;return void 0===t&&(t=i.currSlide),r=i.slides[t],u=n(r).data("cycle.opts"),n.extend({},i,u)},initSlide:function(t,i,r){var u=this.opts();i.css(t.slideCss||{});r>0&&i.css("zIndex",r);isNaN(t.speed)&&(t.speed=n.fx.speeds[t.speed]||n.fx.speeds._default);t.sync||(t.speed=t.speed/2);i.addClass(u.slideClass)},updateView:function(n,t){var i=this.opts(),r,u;i._initialized&&(r=i.API.getSlideOpts(),u=i.slides[i.currSlide],!n&&t!==!0&&(i.API.trigger("cycle-update-view-before",[i,r,u]),i.updateView<0)||(i.slideActiveClass&&i.slides.removeClass(i.slideActiveClass).eq(i.currSlide).addClass(i.slideActiveClass),n&&i.hideNonActive&&i.slides.filter(":not(."+i.slideActiveClass+")").css("visibility","hidden"),0===i.updateView&&setTimeout(function(){i.API.trigger("cycle-update-view",[i,r,u,n])},r.speed/(i.sync?2:1)),0!==i.updateView&&i.API.trigger("cycle-update-view",[i,r,u,n]),n&&i.API.trigger("cycle-update-view-after",[i,r,u])))},getComponent:function(t){var r=this.opts(),i=r[t];return"string"==typeof i?/^\s*[\>|\+|~]/.test(i)?r.container.find(i):n(i):i.jquery?i:n(i)},stackSlides:function(t,i,r){var u=this.opts(),f,e,o;if(t||(t=u.slides[u.currSlide],i=u.slides[u.nextSlide],r=!u.reverse),n(t).css("zIndex",u.maxZ),e=u.maxZ-2,o=u.slideCount,r){for(f=u.currSlide+1;o>f;f++)n(u.slides[f]).css("zIndex",e--);for(f=0;f<u.currSlide;f++)n(u.slides[f]).css("zIndex",e--)}else{for(f=u.currSlide-1;f>=0;f--)n(u.slides[f]).css("zIndex",e--);for(f=o-1;f>u.currSlide;f--)n(u.slides[f]).css("zIndex",e--)}n(i).css("zIndex",u.maxZ-1)},getSlideIndex:function(n){return this.opts().slides.index(n)}};n.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))};n.fn.cycle.version=function(){return"Cycle2: "+i};n.fn.cycle.transitions={custom:{},none:{before:function(n,t,i,r){n.API.stackSlides(i,t,r);n.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u);t.cssBefore=n.extend(f,{opacity:0,visibility:"visible",display:"block"});t.animIn={opacity:1};t.animOut={opacity:0}
1}},fadeout:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u);t.cssBefore=n.extend(f,{opacity:1,visibility:"visible",display:"block"});t.animOut={opacity:0}}},scrollHorz:{before:function(n,t,i,r){n.API.stackSlides(t,i,r);var u=n.container.css("overflow","hidden").width();n.cssBefore={left:r?u:-u,top:0,opacity:1,visibility:"visible",display:"block"};n.cssAfter={zIndex:n._maxZ-2,left:0};n.animIn={left:0};n.animOut={left:r?-u:u}}}};n.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0};n(document).ready(function(){n(n.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(n){"use strict";function t(t,i){var f,o,e,r=i.autoHeight;if("container"==r)o=n(i.slides[i.currSlide]).outerHeight(),i.container.height(o);else if(i._autoHeightRatio)i.container.height(i.container.width()/i._autoHeightRatio);else if("calc"===r||"number"==n.type(r)&&r>=0){if(e="calc"===r?u(t,i):r>=i.slides.length?0:r,e==i._sentinelIndex)return;i._sentinelIndex=e;i._sentinel&&i._sentinel.remove();f=n(i.slides[e].cloneNode(!0));f.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel");f.css({position:"static",visibility:"hidden",display:"block"}).prependTo(i.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active");f.find("*").css("visibility","hidden");i._sentinel=f}}function u(t,i){var r=0,u=-1;return i.slides.each(function(t){var i=n(this).height();i>u&&(u=i,r=t)}),r}function i(t,i,r,u){var f=n(u).outerHeight();i.container.animate({height:f},i.autoHeightSpeed,i.autoHeightEasing)}function r(u,f){f._autoHeightOnResize&&(n(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null);f.container.off("cycle-slide-added cycle-slide-removed",t);f.container.off("cycle-destroyed",r);f.container.off("cycle-before",i);f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}n.extend(n.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null});n(document).on("cycle-initialized",function(u,f){function h(){t(u,f)}var e,o=f.autoHeight,s=n.type(o),c=null;("string"===s||"number"===s)&&(f.container.on("cycle-slide-added cycle-slide-removed",t),f.container.on("cycle-destroyed",r),"container"==o?f.container.on("cycle-before",i):"string"===s&&/\d+\:\d+/.test(o)&&(e=o.match(/(\d+)\:(\d+)/),e=e[1]/e[2],f._autoHeightRatio=e),"number"!==s&&(f._autoHeightOnResize=function(){clearTimeout(c);c=setTimeout(h,50)},n(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(h,30))})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}<\/div><div>{{desc}}<\/div>",captionModule:"caption"});n(document).on("cycle-update-view",function(t,i,r,u){"caption"===i.captionModule&&n.each(["caption","overlay"],function(){var t=this,f=r[t+"Template"],n=i.API.getComponent(t);n.length&&f?(n.html(i.API.tmpl(f,r,i,u)),n.show()):n.hide()})});n(document).on("cycle-destroyed",function(t,i){var r;n.each(["caption","overlay"],function(){var n=this,t=i[n+"Template"];i[n]&&t&&(r=i.API.getComponent("caption"),r.empty())})})}(jQuery),function(n){"use strict";var t=n.fn.cycle;n.fn.cycle=function(i){var r,f,u,e=n.makeArray(arguments);return"number"==n.type(i)?this.cycle("goto",i):"string"==n.type(i)?this.each(function(){var o;return r=i,u=n(this).data("cycle.opts"),void 0===u?void t.log('slideshow must be initialized before sending commands; "'+r+'" ignored'):(r="goto"==r?"jump":r,f=u.API[r],n.isFunction(f)?(o=n.makeArray(e),o.shift(),f.apply(u.API,o)):void t.log("unknown command: ",r))}):t.apply(this,arguments)};n.extend(n.fn.cycle,t);n.extend(t.API,{next:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&(t=n.reverse?-1:1,n.allowWrap===!1&&n.currSlide+t>=n.slideCount||(n.API.advanceSlide(t),n.API.trigger("cycle-next",[n]).log("cycle-next")))},prev:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&(t=n.reverse?1:-1,n.allowWrap===!1&&n.currSlide+t<0||(n.API.advanceSlide(t),n.API.trigger("cycle-prev",[n]).log("cycle-prev")))},destroy:function(){this.stop();var t=this.opts(),i=n.isFunction(n._data)?n._data:n.noop;clearTimeout(t.timeoutId);t.timeoutId=0;t.API.stop();t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed");t.container.removeData();i(t.container[0],"parsedAttrs",!1);t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass));t.slides.each(function(){var r=n(this);r.removeData();r.removeClass(t.slideClass);i(this,"parsedAttrs",!1)})},jump:function(n,t){var u,i=this.opts(),r;if(!i.busy||i.manualTrump){if(r=parseInt(n,10),isNaN(r)||0>r||r>
1=i.slides.length)return void i.API.log("goto: invalid slide index: "+r);if(r==i.currSlide)return void i.API.log("goto: skipping, already on slide",r);i.nextSlide=r;clearTimeout(i.timeoutId);i.timeoutId=0;i.API.log("goto: ",r," (zero-index)");u=i.currSlide<i.nextSlide;i._tempFx=t;i.API.prepareTx(!0,u)}},stop:function(){var t=this.opts(),i=t.container;clearTimeout(t.timeoutId);t.timeoutId=0;t.API.stopTransition();t.pauseOnHover&&(t.pauseOnHover!==!0&&(i=n(t.pauseOnHover)),i.off("mouseenter mouseleave"));t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},reinit:function(){var n=this.opts();n.API.destroy();n.container.cycle()},remove:function(t){for(var r,u,i=this.opts(),e=[],o=1,f=0;f<i.slides.length;f++)r=i.slides[f],f==t?u=r:(e.push(r),n(r).data("cycle.opts").slideNum=o,o++);u&&(i.slides=n(e),i.slideCount--,n(u).remove(),t==i.currSlide?i.API.advanceSlide(1):t<i.currSlide?i.currSlide--:i.currSlide++,i.API.trigger("cycle-slide-removed",[i,t,u]).log("cycle-slide-removed"),i.API.updateView())}});n(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault();var i=n(this),r=i.data("cycle-cmd"),u=i.data("cycle-context")||".cycle-slideshow";n(u).cycle(r,i.data("cycle-arg"))})}(jQuery),function(n){"use strict";function t(t,i){var r;return t._hashFence?void(t._hashFence=!1):(r=window.location.hash.substring(1),void t.slides.each(function(u){if(n(this).data("cycle-hash")==r){if(i===!0)t.startingSlide=u;else{var f=t.currSlide<u;t.nextSlide=u;t.API.prepareTx(!0,f)}return!1}}))}n(document).on("cycle-pre-initialize",function(i,r){t(r,!0);r._onHashChange=function(){t(r,!1)};n(window).on("hashchange",r._onHashChange)});n(document).on("cycle-update-view",function(n,t,i){i.hash&&"#"+i.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=i.hash)});n(document).on("cycle-destroyed",function(t,i){i._onHashChange&&n(window).off("hashchange",i._onHashChange)})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{loader:!1});n(document).on("cycle-bootstrap",function(t,i){function u(t,u){function s(t){var o;"wait"==i.loader?(e.push(t),0===f&&(e.sort(h),r.apply(i.API,[e,u]),i.container.removeClass("cycle-loading"))):(o=n(i.slides[i.currSlide]),r.apply(i.API,[t,u]),o.show(),i.container.removeClass("cycle-loading"))}function h(n,t){return n.data("index")-t.data("index")}var e=[],o,f;if("string"==n.type(t))t=n.trim(t);else if("array"===n.type(t))for(o=0;o<t.length;o++)t[o]=n(t[o])[0];t=n(t);f=t.length;f&&(t.css("visibility","hidden").appendTo("body").each(function(t){function l(){0==--c&&(--f,s(o))}var c=0,o=n(this),h=o.is("img")?o:o.find("img");return o.data("index",t),h=h.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),h.length?(c=h.length,void h.each(function(){this.complete?l():n(this).load(function(){l()}).on("error",function(){0==--c&&(i.API.log("slide skipped; img not loaded:",this.src),0==--f&&"wait"==i.loader&&r.apply(i.API,[e,u]))})})):(--f,void e.push(o))}),f&&i.container.addClass("cycle-loading"))}var r;i.loader&&(r=i.API.add,i.API.add=u)})}(jQuery),function(n){"use strict";function t(t,i,r){var u,f=t.API.getComponent("pager");f.each(function(){var f=n(this),e;i.pagerTemplate?(e=t.API.tmpl(i.pagerTemplate,i,t,r[0]),u=n(e).appendTo(f)):u=f.children().eq(t.slideCount-1);u.on(t.pagerEvent,function(n){t.pagerEventBubble||n.preventDefault();t.API.page(f,n.currentTarget)})})}function i(n,t){var i=this.opts();if(!i.busy||i.manualTrump){var u=n.children().index(t),r=u,f=i.currSlide<r;i.currSlide!=r&&(i.nextSlide=r,i._tempFx=i.pagerFx,i.API.prepareTx(!0,f),i.API.trigger("cycle-pager-activated",[i,n,t]))}}n.extend(n.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>&bull;<\/span>"});n(document).on("cycle-bootstrap",function(n,i,r){r.buildPagerLink=t});n(document).on("cycle-slide-added",function(n,t,r,u){t.pager&&(t.API.buildPagerLink(t,r,u),t.API.page=i)});n(document).on("cycle-slide-removed",function(t,i,r){if(i.pager){var u=i.API.getComponent("pager");u.each(function(){var t=n(this);n(t.children()[r]).remove()})}});n(document).on("cycle-update-view",function(t,i){var r;i.pager&&(r=i.API.getComponent("pager"),r.each(function(){n(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))});n(document).on("cycle-destroyed",function(n,t){var i=t.API.getComponent("pager");i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1});n(document).on("cycle-initialized",function(n,t){if(t.API.getComponent("next").on(t.nextEvent,function(n){n.preventDefault();t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(n){n.preventDefault();t.API.prev()}
vendor: 1,828 bytes, line 1
1),t.swipe){var i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",r=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(i,function(){t._tempFx=t.swipeFx;t.API.next()});t.container.on(r,function(){t._tempFx=t.swipeFx;t.API.prev()})}});n(document).on("cycle-update-view",function(n,t){if(!t.allowWrap){var i=t.disabledClass,r=t.API.getComponent("next"),u=t.API.getComponent("prev"),f=t._prevBoundry||0,e=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1;t.currSlide==e?r.addClass(i).prop("disabled",!0):r.removeClass(i).prop("disabled",!1);t.currSlide===f?u.addClass(i).prop("disabled",!0):u.removeClass(i).prop("disabled",!1)}});n(document).on("cycle-destroyed",function(n,t){t.API.getComponent("prev").off(t.nextEvent);t.API.getComponent("next").off(t.prevEvent);t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{progressive:!1});n(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var r,f,u=i.API,e=u.next,s=u.prev,o=u.prepareTx,h=n.type(i.progressive);if("array"==h)r=i.progressive;else if(n.isFunction(i.progressive))r=i.progressive(i);else if("string"==h){if(f=n(i.progressive),r=n.trim(f.html()),!r)return;if(/^(\[)/.test(r))try{r=n.parseJSON(r)}catch(c){return void u.log("error parsing progressive slides",c)}else r=r.split(new RegExp(f.data("cycle-split")||"\n")),r[r.length-1]||r.pop()}o&&(u.prepareTx=function(n,t){var f,u;return n||0===r.length?void o.apply(i.API,[n,t]):void(t&&i.currSlide==i.slideCount-1?(u=r[0],r=r.slice(1),i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(u)):t||0!==i.currSlide?o.apply(i.API,[n,t]):(f=r.length-1,u=r[f],r=r.slice(0,f),i.c
1ontainer.one("cycle-slide-added",function(n,t){setTimeout(function(){t.currSlide=1;t.API.advanceSlide(-1)},50)}),i.API.add(u,!0)))});e&&(u.next=function(){var n=this.opts(),t;r.length&&n.currSlide==n.slideCount-1?(t=r[0],r=r.slice(1),n.container.one("cycle-slide-added",function(n,t){e.apply(t.API);t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(t)):e.apply(n.API)});s&&(u.prev=function(){var n=this.opts(),t,i;r.length&&0===n.currSlide?(t=r.length-1,i=r[t],r=r.slice(0,t),n.container.one("cycle-slide-added",function(n,t){t.currSlide=1;t.API.advanceSlide(-1);t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(i,!0)):s.apply(n.API)})}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"});n.extend(n.fn.cycle.API,{tmpl:function(t,i){var u=new RegExp(i.tmplRegex||n.fn.cycle.defaults.tmplRegex,"g"),r=n.makeArray(arguments);return r.shift(),t.replace(u,function(t,i){for(var o,f,u,s=i.split("."),e=0;e<r.length;e++)if(f=r[e]){if(s.length>1)for(u=f,o=0;o<s.length;o++)f=u,u=u[s[o]]||i;else u=f[i];if(n.isFunction(u))return u.apply(f,r);if(void 0!==u&&null!==u&&u!=i)return u}return i})}})}(jQuery);!function(n){"use strict";n.event.special.swipe=n.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var t=n(this);t.bind("touchstart",function(i){function f(t){if(r){var i=t.originalEvent.touches?t.originalEvent.touches[0]:t;u={time:(new Date).getTime(),coords:[i.pageX,i.pageY]};Math.abs(r.coords[0]-u.coords[0])>n.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()}}var u,e=i.originalEvent.touches?i.originalEvent.touches[0]:i,r={time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:n(i.target)};t.bind("touchmove",f).one("touchend",function(){t.unbind("touchmove",f);r&&u&&u.time-r.time<n.event.special.swipe.durationThreshold&&Math.abs(r.coords[0]-u.coords[0])>n.event.special.swipe.horizontalDistanceThreshold&&Math.abs(r.coords[1]-u.coords[1])<n.event.special.swipe.verticalDistanceThreshold&&r.origin.trigger("swipe").trigger(r.coords[0]>u.coords[0]?"swipeleft":"swiperight");r=u=void 0})})}};n.event.special.swipeleft=n.event.special.swipeleft||{setup:function(){n(this).bind("swipe",n.noop)}};n.event.special.swiperight=n.event.special.swiperight||n.event.special.swipeleft}(jQuery);!function(n){"use strict";n(document).on("cycle-bootstrap",function(n,t,i){"carousel"===t.fx&&(i.getSlideIndex=function(n){var t=this.opts()._carouselWrap.children(),i=t.index(n);return i%t.length},i.next=function(){var n=t.reverse?-1:1;t.allowWrap===!1&&t.currSlide+n>t.slideCount-t.carouselVisible||(t.API.advanceSlide(n),t.API.trigger("cycle-next",[t]).log("cycle-next"))})});n.fn.cycle.transitions.carousel={preInit:function(t){t.hideNonActive=!1;t.container.on("cycle-destroyed",n.proxy(this.onDestroy,t.API));t.API.stopTransition=this.stopTransition;for(var i=0;i<t.startingSlide;i++)t.container.append(t.slides[0])},postInit:function(t){var i,u,f,r,e=t.carouselVertical,o,s;if(t.carouselVisible&&t.carouselVisible>t.slideCount&&(t.carouselVisible=t.slideCount-1),o=t.carouselVisible||t.slides.length,s={display:e?"block":"inline-block",position:"static"},t.container.css({position:"relative",overflow:"hidden"}),t.slides.css(s),t._currSlide=t.currSlide,r=n('<div class="cycle-carousel-wrap"><\/div>').prependTo(t.container).css({margin:0,padding:0,top:0,left:0,position:"absolute"}).append(t.slides),t._carouselWrap=r,e||r.css("white-space","nowrap"),t.allowWrap!==!1){for(u=0;u<(void 0===t.carouselVisible?2:1);u++){for(i=0;i<t.slideCount;i++)r.append(t.slides[i].cloneNode(!0));for(i=t.slideCount;i--;)r.prepend(t.slides[i].cloneNode(!0))}r.find(".cycle-slide-active").removeClass("cycle-slide-active");t.slides.eq(t.startingSlide).addClass("cycle-slide-active")}t.pager&&t.allowWrap===!1&&(f=t.slideCount-o,n(t.pager).children().filter(":gt("+f+")").hide());t._nextBoundry=t.slideCount-t.carouselVisible;this.prepareDimensions(t)},prepareDimensions:function(t){var r,u,e,f,i=t.carouselVertical,o=t.carouselVisible||t.slides.length;if(t.carouselFluid&&t.carouselVisible?t._carouselResizeThrottle||this.fluidSlides(t):t.carouselVisible&&t.carouselSlideDimension?(r=o*t.carouselSlideDimension,t.container[i?"height":"width"](r)):t.carouselVisible&&(r=o*n(t.slides[0])[i?"outerHeight":"outerWidth"](!0),t.container[i?"height":"width"](r)),u=t.carouselOff
1set||0,t.allowWrap!==!1)if(t.carouselSlideDimension)u-=(t.slideCount+t.currSlide)*t.carouselSlideDimension;else for(e=t._carouselWrap.children(),f=0;f<t.slideCount+t.currSlide;f++)u-=n(e[f])[i?"outerHeight":"outerWidth"](!0);t._carouselWrap.css(i?"top":"left",u)},fluidSlides:function(t){function i(){clearTimeout(u);u=setTimeout(r,20)}function r(){t._carouselWrap.stop(!1,!0);var n=t.container.width()/t.carouselVisible;n=Math.ceil(n-e);t._carouselWrap.children().width(n);t._sentinel&&t._sentinel.width(n);o(t)}var u,f=t.slides.eq(0),e=f.outerWidth()-f.width(),o=this.prepareDimensions;n(window).on("resize",i);t._carouselResizeThrottle=i;r()},transition:function(t,i,r,u,f){var h,l={},e=t.nextSlide-t.currSlide,s=t.carouselVertical,a=t.speed,c,o;t.allowWrap===!1?(u=e>0,c=t._currSlide,o=t.slideCount-t.carouselVisible,e>0&&t.nextSlide>o&&c==o?e=0:e>0&&t.nextSlide>o?e=t.nextSlide-c-(t.nextSlide-o):0>e&&t.currSlide>o&&t.nextSlide>o?e=0:0>e&&t.currSlide>o?e+=t.currSlide-o:c=t.currSlide,h=this.getScroll(t,s,c,e),t.API.opts()._currSlide=t.nextSlide>o?o:t.nextSlide):u&&0===t.nextSlide?(h=this.getDim(t,t.currSlide,s),f=this.genCallback(t,u,s,f)):u||t.nextSlide!=t.slideCount-1?h=this.getScroll(t,s,t.currSlide,e):(h=this.getDim(t,t.currSlide,s),f=this.genCallback(t,u,s,f));l[s?"top":"left"]=u?"-="+h:"+="+h;t.throttleSpeed&&(a=h/n(t.slides[0])[s?"height":"width"]()*t.speed);t._carouselWrap.animate(l,a,t.easing,f)},getDim:function(t,i,r){var u=n(t.slides[i]);return u[r?"outerHeight":"outerWidth"](!0)},getScroll:function(n,t,i,r){var u,f=0;if(r>0)for(u=i;i+r>u;u++)f+=this.getDim(n,u,t);else for(u=i;u>i+r;u--)f+=this.getDim(n,u,t);return f},genCallback:function(t,i,r,u){return function(){var i=n(t.slides[t.nextSlide]).position(),f=0-i[r?"top":"left"]+(t.carouselOffset||0);t._carouselWrap.css(t.carouselVertical?"top":"left",f);u()}},stopTransition:function(){var n=this.opts();n.slides.stop(!1,!0);n._carouselWrap.stop(!1,!0)},onDestroy:function(){var t=this.opts();t._carouselResizeThrottle&&n(window).off("resize",t._carouselResizeThrottle);t.slides.prependTo(t.container);t._carouselWrap.remove()}}}(jQuery),function(n,t){typeof define=="function"&&define.amd?define(["jquery"],t):typeof exports=="object"?t(require("jquery")):t(n.jQuery||n.Zepto)}(this,function(n){"use strict";var t=function(t,i){function tt(){r=s;s===0?(r=e,i.animation!=="fade"&&o.css("left",-r*u)):s===l-1&&(r=1,i.animation!=="fade"&&o.css("left",-u));i.animation==="fade"&&f.eq(r).show();i.showBullets&&t.next(".as-nav").find("a").removeClass("as-active").eq(r-1).addClass("as-active");c=!1;i.afterChange.call(t[0])}function d(){c||e<=1||(c=!0,i.beforeChange.call(t[0]),i.animation==="fade"?f.css("z-index",1).fadeOut(i.speed).eq(s).css("z-index",2).fadeIn(i.speed,tt):o.animate({left:-s*u},i.speed,i.easing,tt),g())}function g(){clearTimeout(b);i.interval&&e>1&&(b=setTimeout(function(){i.reverse?w():p()},i.interval))}function et(){return r}function it(n){s=n;d()}function p(){s=r+1;d()}function rt(){clearTimeout(b)}function ut(){g()}function w(){s=r-1;d()}var f=t.children(),e=f.length,l=e,u=t.width(),s=0,r=0,o,b,c=!1,ft={afterChange:function(){},afterSetup:function(){},animation:"slide",beforeChange:function(){},easing:"swing",interval:5e3,keyboard:!0,nextLabel:"Next slide",pauseOnHover:!0,prevLabel:"Previous slide",reverse:!1,showBullets:!0,showControls:!0,speed:400,startSlide:1,touch:!0},a,k,nt,v,y,h;if(i=n.extend(ft,i),e>1&&(f.eq(0).clone().addClass("clone").appendTo(t),f.eq(l-1).clone().addClass("clone").prependTo(t),i.startSlide<e&&(r=i.startSlide)),f=t.children(),l=f.length,f.wrapAll('<div class="as-slide-inner"><\/div>').css("width",u),o=t.css("overflow","hidden").find(".as-slide-inner"),i.animation==="fade"?(f.css({display:"none",left:0,position:"absolute",top:0}).eq(r).show(),o.css("width",u)):(f.css({float:"left",position:"relative"}),o.css({left:-r*u,width:l*u})),o.css({float:"left",position:"relative"}),i.showControls&&e>1){t.prepend('<a href="#" class="as-prev-arrow" title="LABEL">LABEL<\/a>'.replace(/LABEL/g,i.prevLabel));t.append('<a href="#" class="as-next-arrow" title="LABEL">LABEL<\/a>'.replace(/LABEL/g,i.nextLabel));t.on("click.as",".as-prev-arrow, .as-next-arrow",function(t){(t.preventDefault(),c)||(n(this).hasClass("as-prev-arrow")?
1w():p())})}if(i.showBullets&&e>1){for(nt='<div class="as-nav"><\/div>',v=n(nt),a=1;a<=e;a++)k="",a===r&&(k=' class="as-active"'),v.append('<a href="#"'+k+">"+a+"<\/a>");v.on("click.as","a",function(t){var i=n(this).index();(t.preventDefault(),n(this).hasClass("as-active")||c)||(v.find("a").removeClass("as-active").eq(i).addClass("as-active"),it(i+1))});t.after(v)}if(i.keyboard)n(document).on("keydown.as",function(n){var t=n.keyCode;t!==37&&t!==39||e<=1||(t===37?w():p())});if(i.pauseOnHover)t.on("mouseenter",function(){rt()}).on("mouseleave",function(){ut()});if(n(window).resize(function(){c||(u=t.width(),o.css("width",u),f.css("width",u),i.animation!=="fade"&&o.css({left:-r*u,width:l*u}))}),i.touch&&"ontouchstart"in window||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints>0)t.on("touchstart.as pointerdown.as MSPointerDown.as",function(n){y=n.timeStamp;h=n.originalEvent?n.originalEvent.pageX||n.originalEvent.touches[0].pageX:n.pageX||n.touches[0].pageX}).on("touchmove.as pointermove.as MSPointerMove.as",function(n){var r=0,u=n.timeStamp,i;i=n.originalEvent?n.originalEvent.pageX||n.originalEvent.touches[0].pageX:n.pageX||n.touches[0].pageX;h!==0&&(r=Math.abs(i-h));y!==0&&u-y<1e3&&r>10&&(n.preventDefault(),i<h?p():i>h&&w(),y=0,h=0,t.trigger("touchend.as"))}).on("touchend.as pointerup.as MSPointerUp.as",function(){y=0;h=0});return g(),i.afterSetup.call(t[0]),{currentSlide:et,goTo:it,next:p,pause:rt,play:ut,prev:w}};n.fn.anyslider=function(i){return this.each(function(){var r=n(this),u;if(r.data("anyslider"))return r.data("anyslider");u=new t(r,i);r.data("anyslider",u)})}}),function(n){var f=-1,r=-1,i=function(n){return parseFloat(n)||0},o=function(t){var u=null,r=[];return n(t).each(function(){var t=n(this),f=t.offset().top-i(t.css("margin-top")),e=0<r.length?r[r.length-1]:null;null===e?r.push(t):1>=Math.floor(Math.abs(u-f))?r[r.length-1]=e.add(t):r.push(t);u=f}),r},e=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){if(i=e(i),i.remove){var r=this;return this.css(i.property,""),n.each(t._groups,function(n,t){t.elements=t.elements.not(r)}),this}return 1>=this.length&&!i.target?this:(t._groups.push({elements:this,options:i}),t._apply(this,i),this)},u;t._groups=[];t._throttle=80;t._maintainScroll=!1;t._beforeUpdate=null;t._afterUpdate=null;t._apply=function(r,u){var f=e(u),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"),f.byRow&&!f.target&&(s.each(function(){var t=n(this),i="inline-block"===t.css("display")?"inline-block":"block";t.data("style-cache",t.attr("style"));t.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px"})}),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),e=0;if(f.target)e=f.target.outerHeight(!1);else{if(f.byRow&&1>=u.length){u.css(f.property,"");return}u.each(function(){var t=n(this),i={display:"inline-block"===t.css("display")?"inline-block":"block"};i[f.property]="";t.css(i);t.outerHeight(!1)>e&&(e=t.outerHeight(!1));t.css("display","")})}u.each(function(){var t=n(this),r=0;f.target&&t.is(f.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(f.property,e-r))})}),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)})};u=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,e){if(e&&"resize"===e.type){var o=n(window).width();if(o===f)return;f=o}i?-1===r&&(r=setTimeout(function(){u(e);r=-1},t._throttle)):u(e)};n(t._applyDataApi);n(window).bind("load",function(n){t._update(!1,n)});n(window).bind("resize orientationchange",function(n){t._update(!0,n)})}(jQuery);!function(n){function u(){return new Date(Date.UTC.apply(Date,arguments))}var r=function(r,u){var f=this;switch(this.element=n(r),this.autoShow=u.autoShow||!0,this.appendTo=u.appendTo||"body",this.closeButton=u.closeButton,this.language=u.language||this.element.data("date-language")||"en",this.language=this.language in i?this.language:this.language.split("-")[0],this.language=this.language in i?this.language:"en",this.isRTL=i[this.language].rtl||!1,this.format=t.parseFormat(u.format||this.element.data("date-format")||i[this.language].format||"mm/dd/yyyy"),this.isInline=!1,this.isInput=this.element.is("input"),this.component=this.element.is(".date")?this.element.find(".prefix, .postfix"):!1,this.hasInput=this.component&&this.element.find("input").length,this.disableDblClickSelection=u.disableDblClickSelection,this.onRender=u.onRender||function(){},this.component&&0===this.component.length&&(this.component=!1),this._attachEvents(),this.forceParse=!0,"forceParse"in u?this.forceParse=u.forceParse:"dateForceParse"in this.element.data()&&(this.forceParse=this.element.data("date-force-parse")),this.picker=n(t.template).appendTo(this.isInline?this.element:this.appendTo).on({click:n.proxy(this.click,this),mousedown:n.proxy(this.mousedown,this)}),this.closeButton?this.picker.find("a.datepicker-close").show():this.picker.find("a.datepicker-close").hide(),this.isInline?this.picker.addClass("datepicker-inline"):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.isRTL&&(this.picker.addClass("datepicker-rtl"),this.picker.find(".prev i, .next i").toggleClass("fa fa-chevron-left fa-chevron-right").toggleClass("fa-chevron-left fa-chevron-right")),n(document).on("mousedown",function(t){0===n(t.target).closest(".datepicker.datepicker-inline, .datepicker.datepicker-dropdown").length&&f.hide()}),this.autoclose=!0,"autoclose"in u?this.autoclose=u.autoclose:"dateAutoclose"in this.element.data()&&(this.autoclose=this.element.data("date-autoclose")),this.keyboardNavigation=!0,"keyboardNavigation"in u?this.keyboardNavigation=u.keyboardNavigation:"dateKeyboardNavigation"in this.element.data()&&(this.keyboardNavigation=this.element.data("date-keyboard-navigation")),this.viewMode=this.startViewMode=0,u.startView||this.element.data("date-start-view")){case 2:case"decade":this.viewMode=this.startViewMode=2;break;case 1:case"year":this.viewMode=this.startViewMode=1}this.todayBtn=u.todayBtn||this.element.data("date-today-btn")||!1;this.todayHighlight=u.todayHighlight||this.element.data("date-today-highlight")||!1;this.calendarWeeks=!1;"calendarWeeks"in u?this.calendarWeeks=u.calendarWeeks:"dateCalendarWeeks"in this.element.data()&&(this.calendarWeeks=this.element.data("date-calendar-weeks"));this.calendarWeeks&&this.picker.find("tfoot th.today").attr("colspan",function(n,t){return parseInt(t)+1});this.weekStart=(u.weekStart||this.element.data("date-weekstart")||i[this.language].weekStart||0)%7;this.weekEnd=(this.weekStart+6)%7;this.startDate=-(1/0);this.endDate=1/0;this.daysOfWeekDisabled=[];this.setStartDate(u.startDate||this.element.data("date-startdate"));this.setEndDate(u.endDate||this.element.data("date-enddate"));this.setDaysOfWeekDisabled(u.daysOfWeekDisabled||this.element.data("date-days-of-week-disabled"));this.fillDow();this.fillMonths();this.update();this.showMode();this.isInline&&this.show()},i,t;r.prototype={constructor:r,_events:[],_attachEvents:function(){this._detachEvents();this.isInput?this._events=[[this.element,{focus:this.autoShow?n.proxy(this.show,this):function(){},keyup:n.proxy(this.update,this),keydown:n.proxy(this.keydown,this)}]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),{focus:this.autoShow?n.proxy(this.show,this):function(){},keyup:n.proxy(this.update,this),keydown:n.proxy(this.keydown,this)}],[this.component,{click:n.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:n.proxy(this.show,this)}]];this.disableDblClickSelection&&(this._events[this._events.length]=[this.element,{dblclick:function(t){t.preventDefault();t.stopPropagation();n(this).blur()}}]);for(var i,r,t=0;t<this._events.length;t++)i=this._events[t][0],r=this._events[t][1],i.on(r)},_detachEvents:function(){for(var t,i,n=0;n<this._events.length;n++)t=this._events[n][0],i=this._events[n][1],t.off(i);this._events=[]},show:function(t){this.picker.show();this.height=this.component?this.component.outerHeight():this.element.outerHeight();this.update();this.place();n(window).on("resize",n.proxy(this.place,this));t&&(t.stopPropagation(),t.preventDefault());this.element.trigger({type:"show",date:this.date})},hide:function(){this.isInline||this.picker.is(":visible")&&(this.picker.hide(),n(window).off("resize",this.place),this.viewMode=this.startViewMode,this.showMode(),this.isInput||n(document).off("mousedown",this.hide),this.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this.element.trigger({type:"hide",date:this.date}))},remove:function(){this._detachEvents();this.picker.remove();delete this.element.data().datepicker},getDate:function(){var n=this.getUTCDate();return new Date(n.getTime()+6e4*n.getTimezoneOffset())},getUTCDate:function(){return this.date},setDate:function(n){this.setUTCDate(new Date(n.getTime()-6e4*n.getTimezoneOffset()))},setUTCDate:function(n){this.date=n;this.setValue()},setValue:function(){var n=this.getFormattedDate();this.isInput?this.element.val(n):(this.component&&this.element.find("input").val(n),this.element.data("date",n))},getFormattedDate:function(n){return void 0===n&&(n=this.format),t.formatDate(this.date,n,this.language)},setStartDate:function(n){this.startDate=n||-(1/0);this.startDate!==-(1/0)&&(this.startDate=t.parseDate(this.startDate,this.format,this.language));this.update();this.updateNavArrows()},setEndDate:function(n){this.endDate=n||1/0;this.endDate!==1/0&&(this.endDate=t.parseDate(this.endDate,this.format,this.language));this.update();this.updateNavArrows()},setDaysOfWeekDisabled:function(t){this.daysOfWeekDisabled=t||[];n.isArray(this.daysOfWeekDisabled)||(this.daysOfWeekDisabled=this.daysOfWeekDisabled.split(/,\s*/));this.daysOfWeekDisabled=n.map(this.daysOfWeekDisabled,function(n){return parseInt(n,10)});this.update();this.updateNavArrows()},place:function(){if(!this.isInline){var f=parseInt(this.element.parents().filter(function(){return"auto"!=n(this).css("z-index")}).first().css("z-index"))+10,t=this.component?this.component:this.element,i=t.offset(),e=t.outerHeight()+parseInt(t.css("margin-top")),o=t.outerWidth()+parseInt(t.css("margin-left")),r=i.top+e,u=i.left;r+this.picker.outerHeight()>=n(window).scrollTop()+n(window).height()&&(r=i.top-this.picker.outerHeight());i.left+this.picker.width()>=n(window).width()&&(u=i.left+o-this.picker.width());this.picker.css({top:r,left:u,zIndex:f})}},update:function(){var n,i=!1;arguments&&arguments.length&&("string"==typeof arguments[0]||arguments[0]instanceof Date)?(n=arguments[0],i=!0):n=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val();this.date=t.parseDate(n,this.format,this.language);i&&this.setValue();this.viewDate=this.date<this.startDate?new Date(this.startDate.valueOf()):this.date>this.endDate?new Date(this.endDate.valueOf()):new Date(this.date.valueOf());this.fill()},fillDow:function(){var r=this.weekStart,n="<tr>",t;for(this.calendarWeeks&&(t='<th class="cw">&nbsp;<\/th>',n+=t,this.picker.find(".datepicker-days thead tr:first-child").prepend(t));r<this.weekStart+7;)n+='<th class="dow">'+i[this.language].daysMin[r++%7]+"<\/th>";n+="<\/tr>";this.picker.find(".datepicker-days thead").append(n)},fillMonths:function(){for(var n="",t=0;12>t;)n+='<span class="month">'+i[this.language].monthsShort[t++]+"<\/span>";this.picker.find(".datepicker-months td").html(n)},fill:function(){var b=new Date(this.viewDate.valueOf()),f=b.getUTCFullYear(),l=b.getUTCMonth(),v=this.startDate!==-(1/0)?this.startDate.getUTCFullYear():-(1/0),nt=this.startDate!==-(1/0)?this.startDate.getUTCMonth():-(1/0),y=this.endDate!==1/0?this.endDate.getUTCFullYear():1/0,tt=this.endDate!==1/0?this.endDate.getUTCMonth():1/0,k=this.date&&this.date.valueOf(),p=new Date,r,w,s,o,e,a,h,g,c;for(this.picker.find(".datepicker-days thead th.date-switch").text(i[this.language].months[l]+" "+f),this.picker.find("tfoot th.today").text(i[this.language].today).toggle(this.todayBtn!==!1),this.updateNavArrows(),this.fillMonths(),r=u(f,l-1,28,0,0,0,0),w=t.getDaysInMonth(r.getUTCFullYear(),r.getUTCMonth()),r.setUTCDate(w),r.setUTCDate(w-(r.getUTCDay()-this.weekStart+7)%7),s=new Date(r.valueOf()),s.setUTCDate(s.getUTCDate()+42),s=s.valueOf(),e=[];r.valueOf()<s;){if(r.getUTCDay()==this.weekStart&&(e.push("<tr>"),this.calendarWeeks)){var d=new Date(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()-r.getDay()+10-(this.weekStart&&this.weekStart%7<5&&7)),it=new Date(d.getFullYear(),0,4),rt=~~((d-it)/6048e5+1.5);e.push('<td class="cw">'+rt+"<\/td>")}o=" "+this.onRender(r)+" ";r.getUTCFullYear()<f||r.getUTCFullYear()==f&&r.getUTCMonth()<l?o+=" old":(r.getUTCFullYear()>f||r.getUTCFullYear()==f&&r.getUTCMonth()>l)&&(o+=" new");this.todayHighlight&&r.getUTCFullYear()==p.getFullYear()&&r.getUTCMonth()==p.getMonth()&&r.getUTCDate()==p.getDate()&&(o+=" today");k&&r.valueOf()==k&&(o+=" active");(r.valueOf()<this.startDate||r.valueOf()>this.endDate||-1!==n.inArray(r.getUTCDay(),this.daysOfWeekDisabled))&&(o+=" disabled");e.push('<td class="day'+o+'">'+r.getUTCDate()+"<\/td>");r.getUTCDay()==this.weekEnd&&e.push("<\/tr>");r.setUTCDate(r.getUTCDate()+1)}for(this.picker.find(".datepicker-days tbody").empty().append(e.join("")),a=this.date&&this.date.getUTCFullYear(),h=this.picker.find(".datepicker-months").find("th:eq(1)").text(f).end().find("span").removeClass("active"),a&&a==f&&h.eq(this.date.getUTCMonth()).addClass("active"),(v>f||f>y)&&h.addClass("disabled"),f==v&&h.slice(0,nt).addClass("disabled"),f==y&&h.slice(tt+1).addClass("disabled"),e="",f=10*parseInt(f/10,10),g=this.picker.find(".datepicker-years").find("th:eq(1)").text(f+"-"+(f+9)).end().find("td"),f-=1,c=-1;11>c;c++)e+='<span class="year'+(-1==c||10==c?" old":"")+(a==f?" active":"")+(v>f||f>y?" disabled":"")+'">'+f+"<\/span>",f+=1;g.html(e)},updateNavArrows:function(){var t=new Date(this.viewDate.valueOf()),n=t.getUTCFullYear(),i=t.getUTCMonth();switch(this.viewMode){case 0:this.startDate!==-(1/0)&&n<=this.startDate.getUTCFullYear()&&i<=this.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"});this.endDate!==1/0&&n>=this.endDate.getUTCFullYear()&&i>=this.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.startDate!==-(1/0)&&n<=this.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"});this.endDate!==1/0&&n>=this.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}},click:function(i){var r,s,e,h,f,o;if(i.stopPropagation(),i.preventDefault(),(n(i.target).hasClass("datepicker-close")||n(i.target).parent().hasClass("datepicker-close"))&&this.hide(),r=n(i.target).closest("span, td, th"),1==r.length)switch(r[0].nodeName.toLowerCase()){case"th":switch(r[0].className){case"date-switch":this.showMode(1);break;case"prev":case"next":s=t.modes[this.viewMode].navStep*("prev"==r[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,s);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,s)}this.fill();break;case"today":e=new Date;e=u(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0);this.showMode(-2);h="linked"==this.todayBtn?null:"view";this._setDate(e,h)}break;case"span":r.i
1s(".disabled")||((this.viewDate.setUTCDate(1),r.is(".month"))?(f=r.parent().find("span").index(r),this.viewDate.setUTCMonth(f),this.element.trigger({type:"changeMonth",date:this.viewDate})):(o=parseInt(r.text(),10)||0,this.viewDate.setUTCFullYear(o),this.element.trigger({type:"changeYear",date:this.viewDate})),this.showMode(-1),this.fill());break;case"td":if(r.is(".day")&&!r.is(".disabled")){var c=parseInt(r.text(),10)||1,o=this.viewDate.getUTCFullYear(),f=this.viewDate.getUTCMonth();r.is(".old")?0===f?(f=11,o-=1):f-=1:r.is(".new")&&(11==f?(f=0,o+=1):f+=1);this._setDate(u(o,f,c,0,0,0,0))}}},_setDate:function(n,t){t&&"date"!=t||(this.date=n);t&&"view"!=t||(this.viewDate=n);this.fill();this.setValue();this.element.trigger({type:"changeDate",date:this.date});var i;this.isInput?i=this.element:this.component&&(i=this.element.find("input"));i&&(i.change(),!this.autoclose||t&&"date"!=t||this.hide())},moveMonth:function(n,t){var f;if(!t)return n;var r,u,i=new Date(n.valueOf()),e=i.getUTCDate(),o=i.getUTCMonth(),s=Math.abs(t);if(t=t>0?1:-1,1==s)u=-1==t?function(){return i.getUTCMonth()==o}:function(){return i.getUTCMonth()!=r},r=o+t,i.setUTCMonth(r),(0>r||r>11)&&(r=(r+12)%12);else{for(f=0;s>f;f++)i=this.moveMonth(i,t);r=i.getUTCMonth();i.setUTCDate(e);u=function(){return r!=i.getUTCMonth()}}for(;u();)i.setUTCDate(--e),i.setUTCMonth(r);return i},moveYear:function(n,t){return this.moveMonth(n,12*t)},dateWithinRange:function(n){return n>=this.startDate&&n<=this.endDate},keydown:function(n){var t,i,r,u,f;if(this.picker.is(":not(:visible)"))return void(27==n.keyCode&&this.show());u=!1;switch(n.keyCode){case 27:this.hide();n.preventDefault();break;case 37:case 39:if(!this.keyboardNavigation)break;t=37==n.keyCode?-1:1;n.ctrlKey?(i=this.moveYear(this.date,t),r=this.moveYear(this.viewDate,t)):n.shiftKey?(i=this.moveMonth(this.date,t),r=this.moveMonth(this.viewDate,t)):(i=new Date(this.date.valueOf()),i.setUTCDate(this.date.getUTCDate()+t),r=new Date(this.viewDate.valueOf()),r.setUTCDate(this.viewDate.getUTCDate()+t));this.dateWithinRange(i)&&(this.date=i,this.viewDate=r,this.setValue(),this.update(),n.preventDefault(),u=!0);break;case 38:case 40:if(!this.keyboardNavigation)break;t=38==n.keyCode?-1:1;n.ctrlKey?(i=this.moveYear(this.date,t),r=this.moveYear(this.viewDate,t)):n.shiftKey?(i=this.moveMonth(this.date,t),r=this.moveMonth(this.viewDate,t)):(i=new Date(this.date.valueOf()),i.setUTCDate(this.date.getUTCDate()+7*t),r=new Date(this.viewDate.valueOf()),r.setUTCDate(this.viewDate.getUTCDate()+7*t));this.dateWithinRange(i)&&(this.date=i,this.viewDate=r,this.setValue(),this.update(),n.preventDefault(),u=!0);break;case 13:this.hide();n.preventDefault();break;case 9:this.hide()}u&&(this.element.trigger({type:"changeDate",date:this.date}),this.isInput?f=this.element:this.component&&(f=this.element.find("input")),f&&f.change())},showMode:function(n){n&&(this.viewMode=Math.max(0,Math.min(2,this.viewMode+n)));this.picker.find(">div").hide().filter(".datepicker-"+t.modes[this.viewMode].clsName).css("display","block");this.updateNavArrows()}};n.fn.fdatepicker=function(t){var i=Array.apply(null,arguments);return i.shift(),this.each(function(){var f=n(this),u=f.data("datepicker"),e="object"==typeof t&&t;u||f.data("datepicker",u=new r(this,n.extend({},n.fn.fdatepicker.defaults,e)));"string"==typeof t&&"function"==typeof u[t]&&u[t].apply(u,i)})};n.fn.fdatepicker.defaults={onRender:function(){return""}};n.fn.fdatepicker.Constructor=r;i=n.fn.fdatepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today"},sk:{days:["Nedeľa","Pondelok","Utorok","Streda","Å tvrtok","Piatok","Sobota","Nedeľa"],daysShort:["Neď","Pon","Utr","Str","Å tv","Pia","Sob","Ned"],daysMin:["Ne","Po","Ut","St","Å t","Pi","So","Ne"],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Oct","Nov","Dec"],today:"Dnes"},tr:{days:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi","Pazar"],daysShort:["Pzr","Pzt","Sal","Çarş","Perş","Cum","Cmt","Pzr"],daysMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct","Pz"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthsShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],today:"Bugün"},fr:{days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],daysMin:["Di","Lu","Ma","Me","Je","Ve","Sa","Di"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fev","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Dec"],today:"Aujourd'hui"},pl:{days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota","Niedziela"],daysShort:["Nie","Pon","Wt","Śr","Czw","Pt","Sob","Nie"],daysMin:["Nd","Po","Wt","Śr","Czw","Pt","So","Nd"],months:["Styczeń","Luty","Marzec","KwiecieÅ
1„","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthsShort:["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Paź","Lit","Gru"],today:"Dzisiaj"},es:{days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],daysShort:["Dom","Lun","Mar","Mie","Jue","Vie","Sab","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Deciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy"},pt:{days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb","Dom"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sá","Do"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje"},pt_br:{days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb","Dom"],daysMin:["D","S","T","Q","Q","S","S","D"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje"},it:{days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"],daysShort:["Dom","Lun","Mar","Mer","Gio","Veb","Sab","Dom"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa","Do"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi"},de:{days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa","So"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute"},ro:{days:["Duminica","Luni","Marti","Miercuri","Joi","Vineri","Sambata","Duminica"],daysShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sam","Dum"],daysMin:["Du","Lu","Ma","Mi","Jo","Vi","Sa","Du"],months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthsShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Noi","Dec"],today:"Astazi"},hu:{days:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat","Vasárnap"],daysShort:["Vas","Hét","Kedd","Sze","Csü","Pén","Szo","Vas"],daysMin:["Va","Hé","Ke","Sz","Cs","Pé","Sz","Va"],months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthsShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],today:"Ma"},ru:{days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота","Воскресенье"],daysShort:["Вск","Пнд","Втр","Срд","Чтв","Птн","Суб","Вск"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб","Вс"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня"},cs:{days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota","Neděle"],daysShort:["Ne","Po","Út","St","Čt","Pá","So","Ne"],daysMin:["Ne","Po","Út","St","Čt","Pá","So","Ne"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes"},nl:{days:["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"],daysShort:["Zon","Maa","Din","Woe","Don","Vri","Zat","Zon"],daysMin:["Zo","Ma","Di","Wo","Do","Vr","Za","Zo"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Vandaag"},el:{days:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο","Κυριακή"],daysShort:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ","Κυρ"],daysMin:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά","Κυ"],months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthsShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιου","Ιου","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],today:"Σήμερα"},uk:{days:["Понедiлок ","Вiвторок ","Середа ","Четвер ","П'ятниця ","Субота ","Недiля"],daysShort:["Пнд","Втр","Срд","Чтв","Птн","Сбт","Ндл"],daysMin:["Пн","Вт","Ср","Чт","Пт","Сб","Нд"],months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Сiч","Лют","Бер","Квiт","Трав","Черв","Лип","Серп","Вер","Жовт","Лист","Груд"],today:"Сьогодні"},no:{days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør","Søn"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø","Sø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I dag"},sv:{days:["Söndag","MÃ¥ndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],daysShort:["Sön","MÃ¥n","Tis","Ons","Tor","Fre","Lör","Sön"],daysMin:["Sö","MÃ¥","Ti","On","To","Fr","Lö","Sö"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Idag"}};t={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(n){return n%4==0&&n%100!=0||n%400==0},getDaysInMonth:function(n,i){return[31,t.isLeapYear(n)?29:28,31,30,31,30,31,31,30,31,30,31][i]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(n){var t=n.replace(this.validParts,"\x00").split("\x00"),i=n.match(this.validParts);if(!t||!t.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:t,parts:i}},parseDate:function(t,f,e){var l,a,k,s,c,d,y,o;if(t instanceof Date)return t;
1if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(t)){for(k=/([\-+]\d+)([dmwy])/,s=t.match(/([\-+]\d+)([dmwy])/g),t=new Date,o=0;o<s.length;o++)switch(l=k.exec(s[o]),a=parseInt(l[1]),l[2]){case"d":t.setUTCDate(t.getUTCDate()+a);break;case"m":t=r.prototype.moveMonth.call(r.prototype,t,a);break;case"w":t.setUTCDate(t.getUTCDate()+7*a);break;case"y":t=r.prototype.moveYear.call(r.prototype,t,a)}return u(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0)}var v,p,l,s=t&&t.match(this.nonpunctuation)||[],t=new Date,w={},b=["yyyy","yy","M","MM","m","mm","d","dd"],h={yyyy:function(n,t){return n.setUTCFullYear(t)},yy:function(n,t){return n.setUTCFullYear(2e3+t)},m:function(n,t){for(t-=1;0>t;)t+=12;for(t%=12,n.setUTCMonth(t);n.getUTCMonth()!=t;)n.setUTCDate(n.getUTCDate()-1);return n},d:function(n,t){return n.setUTCDate(t)}};if(h.M=h.MM=h.mm=h.m,h.dd=h.d,t=u(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),c=f.parts.slice(),s.length!=c.length&&(c=n(c).filter(function(t,i){return-1!==n.inArray(i,b)}).toArray()),s.length==c.length){for(o=0,d=c.length;d>o;o++){if(v=parseInt(s[o],10),l=c[o],isNaN(v))switch(l){case"MM":p=n(i[e].months).filter(function(){var n=this.slice(0,s[o].length),t=s[o].slice(0,n.length);return n==t});v=n.inArray(p[0],i[e].months)+1;break;case"M":p=n(i[e].monthsShort).filter(function(){var n=this.slice(0,s[o].length),t=s[o].slice(0,n.length);return n==t});v=n.inArray(p[0],i[e].monthsShort)+1}w[l]=v}for(o=0;o<b.length;o++)y=b[o],y in w&&!isNaN(w[y])&&h[y](t,w[y])}return t},formatDate:function(t,r,u){var f={d:t.getUTCDate(),D:i[u].daysShort[t.getUTCDay()],DD:i[u].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:i[u].monthsShort[t.getUTCMonth()],MM:i[u].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()};f.dd=(f.d<10?"0":"")+f.d;f.mm=(f.m<10?"0":"")+f.m;for(var t=[],o=n.extend([],r.separators),e=0,s=r.parts.length;s>e;e++)o.length&&t.push(o.shift()),t.push(f[r.parts[e]]);return t.join("")},headTemplate:'<thead><tr><th class="prev"><i class="fa fa-chevron-left fi-arrow-left"/><\/th><th colspan="5" class="date-switch"><\/th><th class="next"><i class="fa fa-chevron-right fi-arrow-right"/><\/th><\/tr><\/thead>',contTemplate:'<tbody><tr><td colspan="7"><\/td><\/tr><\/tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"><\/th><\/tr><\/tfoot>',headTemplateDays:'<thead><tr><th class="prev"><i class="fa fa-chevron-left fi-arrow-left"/><\/th><th colspan="5" class="date-switch"><\/th><th class="next"><i class="fa fa-chevron-right fi-arrow-right"/><\/th><\/tr><\/thead>',footTemplateDays:'<tfoot><tr><th colspan="7" class="today"><\/th><\/tr><\/tfoot>'};t.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+t.headTemplateDays+"<tbody><\/tbody>"+t.footTemplateDays+'<\/table><\/div><div class="datepicker-months"><table class="table-condensed">'+t.headTemplate+t.contTemplate+t.footTemplate+'<\/table><\/div><div class="datepicker-years"><table class="table-condensed">'+t.headTemplate+t.contTemplate+t.footTemplate+'<\/table><\/div><a class="button datepicker-close tiny alert right" style="width:auto;"><i class="fa fa-remove fa-times fi-x"><\/i><\/a><\/div>';n.fn.fdatepicker.DPGlobal=t}(window.jQuery);!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).Popper={})}(this,function(n){function h(n){return{width:(n=n.getBoundingClientRect()).width,height:n.height,top:n.top,right:n.right,bottom:n.bottom,left:n.left,x:n.left,y:n.top}}function t(n){return null==n?window:"[object Window]"!==n.toString()?(n=n.ownerDocument)&&n.defaultView||window:n}function d(n){return{scrollLeft:(n=t(n)).pageXOffset,scrollTop:n.pageYOffset}}function l(n){return n instanceof t(n).Element||n instanceof Element}function i(n){return n instanceof t(n).HTMLElement||n instanceof HTMLElement}function ht(n){return"undefined"!=typeof ShadowRoot&&(n instanceof t(n).ShadowRoot||n instanceof ShadowRoot)}function u(n){return n?(n.nodeName||"").toLowerCase():null}function o(n){return((l(n)?n.ownerDocument:n.document)||window.document).documentElement}function g(n){return h(o(n)).left+d(n).scrollLeft}function e(n){return t(n).getComputedStyle(n)}function nt(n){return n=e(n),/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function ci(n,r,f){var s;void 0===f&&(f=!1);s=o(r);n=h(n);var l=i(r),c={scrollLeft:0,scrollTop:0},e={x:0,y:0};return(l||!l&&!f)&&(("body"!==u(r)||nt(s))&&(c=r!==t(r)&&i(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:d(r)),i(r)?((e=h(r)).x+=r.clientLeft,e.y+=r.clientTop):s&&(e.x=g(s))),{x:n.left+c.scrollLeft-e.x,y:n.top+c.scrollTop-e.y,width:n.width,height:n.height}}function tt(n){var t=h(n),i=n.offsetWidth,r=n.offsetHeight;return 1>=Math.abs(t.width-i)&&(i=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:r}}function p(n){return"html"===u(n)?n:n.assignedSlot||n.parentNode||(ht(n)?n.host:null)||o(n)}function ct(n){return 0<=["html","body","#document"].indexOf(u(n))?n.ownerDocument.body:i(n)&&nt(n)?n:ct(p(n))}function a(n,i){var u,r;return void 0===i&&(i=[]),r=ct(n),n=r===(null==(u=n.ownerDocument)?void 0:u.body),u=t(r),r=n?[u].
1concat(u.visualViewport||[],nt(r)?r:[]):r,i=i.concat(r),n?i:i.concat(a(p(r)))}function lt(n){return i(n)&&"fixed"!==e(n).position?n.offsetParent:null}function v(n){for(var f,o=t(n),r=lt(n);r&&0<=["table","td","th"].indexOf(u(r))&&"static"===e(r).position;)r=lt(r);if(r&&("html"===u(r)||"body"===u(r)&&"static"===e(r).position))return o;if(!r)n:{if(r=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),-1===navigator.userAgent.indexOf("Trident")||!i(n)||"fixed"!==e(n).position)for(n=p(n);i(n)&&0>["html","body"].indexOf(u(n));){if(f=e(n),"none"!==f.transform||"none"!==f.perspective||"paint"===f.contain||-1!==["transform","perspective"].indexOf(f.willChange)||r&&"filter"===f.willChange||r&&f.filter&&"none"!==f.filter){r=n;break n}n=n.parentNode}r=null}return r||o}function li(n){function i(n){t.add(n.name);[].concat(n.requires||[],n.requiresIfExists||[]).forEach(function(n){t.has(n)||(n=r.get(n))&&i(n)});u.push(n)}var r=new Map,t=new Set,u=[];return n.forEach(function(n){r.set(n.name,n)}),n.forEach(function(n){t.has(n.name)||i(n)}),u}function ai(n){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0;i(n())})})),t}}function f(n){return n.split("-")[0]}function at(n,t){var i=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(i&&ht(i))do{if(t&&n.isSameNode(t))return!0;t=t.parentNode||t.host}while(t);return!1}function it(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function vt(n,u){var f,c,l,s;return"viewport"===u?(u=t(n),f=o(n),u=u.visualViewport,c=f.clientWidth,f=f.clientHeight,l=0,s=0,u&&(c=u.width,f=u.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=u.offsetLeft,s=u.offsetTop)),n=it(n={width:c,height:f,x:l+g(n),y:s})):i(u)?((n=h(u)).top+=u.clientTop,n.left+=u.clientLeft,n.bottom=n.top+u.clientHeight,n.right=n.left+u.clientWidth,n.width=u.clientWidth,n.height=u.clientHeight,n.x=n.left,n.y=n.top):(s=o(n),n=o(s),c=d(s),u=null==(f=s.ownerDocument)?void 0:f.body,f=r(n.scrollWidth,n.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),l=r(n.scrollHeight,n.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),s=-c.scrollLeft+g(s),c=-c.scrollTop,"rtl"===e(u||n).direction&&(s+=r(n.clientWidth,u?u.clientWidth:0)-f),n=it({width:f,height:l,x:s,y:c})),n}function vi(n,t,f){return t="clippingParents"===t?function(n){var r=a(p(n)),t=0<=["absolute","fixed"].indexOf(e(n).position)&&i(n)?v(n):n;return l(t)?r.filter(function(n){return l(n)&&at(n,t)&&"body"!==u(n)}):[]}(n):[].concat(t),(f=(f=[].concat(t,[f])).reduce(function(t,i){return i=vt(n,i),t.top=r(i.top,t.top),t.right=s(i.right,t.right),t.bottom=s(i.bottom,t.bottom),t.left=r(i.left,t.left),t},vt(n,f[0]))).width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function rt(n){return 0<=["top","bottom"].indexOf(n)?"x":"y"}function yt(n){var t=n.reference,e=n.element,u=(n=n.placement)?f(n):null,i,r;n=n?n.split("-")[1]:null;i=t.x+t.width/2-e.width/2;r=t.y+t.height/2-e.height/2;switch(u){case"top":i={x:i,y:t.y-e.height};break;case"bottom":i={x:i,y:t.y+t.height};break;case"right":i={x:t.x+t.width,y:r};break;case"left":i={x:t.x-e.width,y:r};break;default:i={x:t.x,y:t.y}}if(null!=(u=u?rt(u):null))switch(r="y"===u?"height":"width",n){case"start":i[u]-=t[r]/2-e[r]/2;break;case"end":i[u]+=t[r]/2-e[r]/2}return i}function pt(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function wt(n,t){return t.reduce(function(t,i){return t[i]=n,t},{})}function c(n,t){var i,f,e,a,c,v;void 0===t&&(t={});i=t;t=void 0===(t=i.placement)?n.placement:t;var r=i.boundary,s=void 0===r?"clippingParents":r,u=void 0===(r=i.rootBoundary)?"viewport":r;return r=void 0===(r=i.elementContext)?"popper":r,f=i.altBoundary,e=void 0!==f&&f,i=pt("number"!=typeof(i=void 0===(i=i.padding)?0:i)?i:wt(i,y)),a=n.elements.reference,f=n.rects.popper,s=vi(l(e=n.elements[e?"popper"===r?"reference":"popper":r])?e:e.contextElement||o(n.elements.popper),s,u),e=yt({reference:u=h(a),element:f,strategy:"absolute",placement:t}),f=it(Object.assign({},f,e)),u="popper"===r?f:u,c={top:s.top-u.top+i.top,bottom:u.bottom-s.bottom+i.bottom,left:s.left-u.left+i.left,right:u.right-s.right+i.r
1ight},(n=n.modifiersData.offset,"popper"===r&&n)&&(v=n[t],Object.keys(c).forEach(function(n){var t=0<=["right","bottom"].indexOf(n)?1:-1,i=0<=["top","bottom"].indexOf(n)?"y":"x";c[n]+=v[i]*t})),c}function bt(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return!i.some(function(n){return!(n&&"function"==typeof n.getBoundingClientRect)})}function ut(n){void 0===n&&(n={});var i=n.defaultModifiers,r=void 0===i?[]:i,t=void 0===(n=n.defaultOptions)?ri:n;return function(n,i,u){function h(){o.forEach(function(n){return n()});o=[]}void 0===u&&(u=t);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},ri,t),modifiersData:{},elements:{reference:n,popper:i},attributes:{},styles:{}},o=[],s=!1,e={state:f,setOptions:function(u){return h(),f.options=Object.assign({},t,f.options,u),f.scrollParents={reference:l(n)?a(n):n.contextElement?a(n.contextElement):[],popper:a(i)},u=function(n){var t=li(n);return yi.reduce(function(n,i){return n.concat(t.filter(function(n){return n.phase===i}))},[])}(function(n){var t=n.reduce(function(n,t){var i=n[t.name];return n[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,n},{});return Object.keys(t).map(function(n){return t[n]})}([].concat(r,f.options.modifiers))),f.orderedModifiers=u.filter(function(n){return n.enabled}),f.orderedModifiers.forEach(function(n){var i=n.name,t=n.options;t=void 0===t?{}:t;"function"==typeof(n=n.effect)&&(i=n({state:f,name:i,instance:e,options:t}),o.push(i||function(){}))}),e.update()},forceUpdate:function(){var n,t,i,r;if(!s&&(n=f.elements,t=n.reference,bt(t,n=n.popper)))for(f.rects={reference:ci(t,v(n),"fixed"===f.options.strategy),popper:tt(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(n){return f.modifiersData[n.name]=Object.assign({},n.data)}),t=0;t<f.orderedModifiers.length;t++)!0===f.reset?(f.reset=!1,t=-1):(i=f.orderedModifiers[t],n=i.fn,r=i.options,r=void 0===r?{}:r,i=i.name,"function"==typeof n&&(f=n({state:f,options:r,name:i,instance:e})||f))},update:ai(function(){return new Promise(function(n){e.forceUpdate();n(f)})}),destroy:function(){h();s=!0}};return bt(n,i)?(e.setOptions(u).then(function(n){!s&&u.onFirstUpdate&&u.onFirstUpdate(n)}),e):e}}function kt(n){var f,u=n.popper,p=n.popperRect,w=n.placement,r=n.offsets,nt=n.position,c=n.gpuAcceleration,k=n.adaptive,i,l;!0===(n=n.roundOffsets)?(n=r.y,i=window.devicePixelRatio||1,n={x:b(b(r.x*i)/i)||0,y:b(b(n*i)/i)||0}):n="function"==typeof n?n(r):r;n=void 0===(n=(i=n).x)?0:n;i=void 0===(i=i.y)?0:i;l=r.hasOwnProperty("x");r=r.hasOwnProperty("y");var s,a="left",y="top",tt=window;if(k){var h=v(u),d="clientHeight",g="clientWidth";h===t(u)&&"static"!==e(h=o(u)).position&&(d="scrollHeight",g="scrollWidth");"top"===w&&(y="bottom",i-=h[d]-p.height,i*=c?1:-1);"left"===w&&(a="right",n-=h[g]-p.width,n*=c?1:-1)}return u=Object.assign({position:nt},k&&pi),c?Object.assign({},u,((s={})[y]=r?"0":"",s[a]=l?"0":"",s.transform=2>(tt.devicePixelRatio||1)?"translate("+n+"px, "+i+"px)":"translate3d("+n+"px, "+i+"px, 0)",s)):Object.assign({},u,((f={})[y]=r?i+"px":"",f[a]=l?n+"px":"",f.transform="",f))}function w(n){return n.replace(/left|right|bottom|top/g,function(n){return wi[n]})}function dt(n){return n.replace(/start|end/g,function(n){return bi[n]})}function gt(n,t,i){return void 0===i&&(i={x:0,y:0}),{top:n.top-t.height-i.y,right:n.right-t.width+i.x,bottom:n.bottom-t.height+i.y,left:n.left-t.width-i.x}}function ni(n){return["top","right","bottom","left"].some(function(t){return 0<=n[t]})}var y=["top","bottom","right","left"],ti=y.reduce(function(n,t){return n.concat([t+"-start",t+"-end"])},[]),ii=[].concat(y,["auto"]).reduce(function(n,t){return n.concat([t,t+"-start",t+"-end"])},[]),yi="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),r=Math.max,s=Math.min,b=Math.round,ri={placement:"bottom",modifiers:[],strategy:"absolute"},k={passive:!0},ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(n){var r=n.state,i=n.instance,u=(n=n.options).scroll,f=void 0===u||u,e=void 0===(n=n.resize)||n,o=t(r.elements.popper),s=[].concat(r.scrollParents.reference,r.scrollParents.popper);
1return f&&s.forEach(function(n){n.addEventListener("scroll",i.update,k)}),e&&o.addEventListener("resize",i.update,k),function(){f&&s.forEach(function(n){n.removeEventListener("scroll",i.update,k)});e&&o.removeEventListener("resize",i.update,k)}},data:{}},et={name:"popperOffsets",enabled:!0,phase:"read",fn:function(n){var t=n.state;t.modifiersData[n.name]=yt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},pi={top:"auto",right:"auto",bottom:"auto",left:"auto"},ot={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(n){var t=n.state,i=n.options,r;n=void 0===(n=i.gpuAcceleration)||n;r=i.adaptive;r=void 0===r||r;i=void 0===(i=i.roundOffsets)||i;n={placement:f(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,kt(Object.assign({},n,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:i}))));null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,kt(Object.assign({},n,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i}))));t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},st={name:"applyStyles",enabled:!0,phase:"write",fn:function(n){var t=n.state;Object.keys(t.elements).forEach(function(n){var e=t.styles[n]||{},f=t.attributes[n]||{},r=t.elements[n];i(r)&&u(r)&&(Object.assign(r.style,e),Object.keys(f).forEach(function(n){var t=f[n];!1===t?r.removeAttribute(n):r.setAttribute(n,!0===t?"":t)}))})},effect:function(n){var t=n.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var f=t.elements[n],e=t.attributes[n]||{};n=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]).reduce(function(n,t){return n[t]="",n},{});i(f)&&u(f)&&(Object.assign(f.style,n),Object.keys(e).forEach(function(n){f.removeAttribute(n)}))})}},requires:["computeStyles"]},ui={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(n){var t=n.state,u=n.name,r=void 0===(n=n.options.offset)?[0,0]:n,i=(n=ii.reduce(function(n,i){var e=t.rects,o=f(i),s=0<=["left","top"].indexOf(o)?-1:1,u="function"==typeof r?r(Object.assign({},e,{placement:i})):r;return e=(e=u[0])||0,u=((u=u[1])||0)*s,o=0<=["left","right"].indexOf(o)?{x:u,y:e}:{x:e,y:u},n[i]=o,n},{}))[t.placement],e=i.x;i=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=e,t.modifiersData.popperOffsets.y+=i);t.modifiersData[u]=n}},wi={left:"right",right:"left",bottom:"top",top:"bottom"},bi={start:"end",end:"start"},fi={name:"flip",enabled:!0,phase:"main",fn:function(n){var i=n.state,t=n.options,u,r,l,d,a,p;if(n=n.name,!i.modifiersData[n]._skip){u=t.mainAxis;u=void 0===u||u;r=t.altAxis;r=void 0===r||r;var h=t.fallbackPlacements,nt=t.padding,tt=t.boundary,it=t.rootBoundary,ut=t.altBoundary,e=t.flipVariations,k=void 0===e||e,ft=t.allowedAutoPlacements;for(e=f(t=i.options.placement),h=h||(e!==t&&k?function(n){if("auto"===f(n))return[];var t=w(n);return[dt(n),t,dt(t)]}(t):[w(t)]),l=[t].concat(h).reduce(function(n,t){return n.concat("auto"===f(t)?function(n,t){var r;void 0===t&&(t={});var o=t.boundary,s=t.rootBoundary,h=t.padding,i=t.flipVariations,u=t.allowedAutoPlacements,l=void 0===u?ii:u,e=t.placement.split("-")[1];return 0===(i=(t=e?i?ti:ti.filter(function(n){return n.split("-")[1]===e}):y).filter(function(n){return 0<=l.indexOf(n)})).length&&(i=t),r=i.reduce(function(t,i){return t[i]=c(n,{placement:i,boundary:o,rootBoundary:s,padding:h})[f(i)],t},{}),Object.keys(r).sort(function(n,t){return r[n]-r[t]})}(i,{placement:t,boundary:tt,rootBoundary:it,padding:nt,flipVariations:k,allowedAutoPlacements:ft}):t)},[]),t=i.rects.reference,h=i.rects.popper,d=new Map,e=!0,a=l[0],p=0;p<l.length;p++){var v=l[p],rt=f(v),o="start"===v.split("-")[1],s=0<=["top","bottom"].indexOf(rt),b=s?"width":"height",g=c(i,{placement:v,boundary:tt,rootBoundary:it,altBoundary:ut,padding:nt});if(o=s?o?"right":"left":o?"bottom":"top",t[b]>h[b]&&(o=w(o)),b=w(o),s=[],u&&s.push(0>=g[rt]),r&&s.push(0>=g[o],0>=g[b]),s.every(function(n){return n})){a=v;e=!1;break}d.set(v,s)}if(e)for(u=function(n){var t=l.find(function(t){if(t=d.get(t))return t.slice(0,n).every(function(n){return n})});if(t)return a=t,"break"},r=k?3:1;0<r&&"break"!==u(r);r--);i.placement!==a&&(i.modifiersData[n]._skip=!0,i.placement=a,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ei={name:"preventOverflow",enabled:!0,phase:"main",fn:function(n){var i=n.state,e=n.options,et;n=n.name;var t=e.mainAxis,h=void 0===t||t,d=void 0!==(t=e.altAxis)&&t;t=void 0===(t=e.tether)||t;var l=e.tetherOffset,w=void 0===l?0:l,b=c(i,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary});e=f(i.placement);var g=i.placement.split("-")[1],y=!g,u=rt(e);e="x"===u?"y":"x";l=i.modifiersData.popperOffsets;var a=i.rects.reference,o=i.rects.popper,k="function"==typeof w?w(Object.assign({},i.rects,{placement:i.placement})):w;
1if(w={x:0,y:0},l){if(h||d){var nt="y"===u?"top":"left",it="y"===u?"bottom":"right",p="y"===u?"height":"width",ot=l[u],st=l[u]+b[nt],ut=l[u]-b[it],ht=t?-o[p]/2:0,ft="start"===g?a[p]:o[p];g="start"===g?-o[p]:-a[p];o=i.elements.arrow;o=t&&o?tt(o):{width:0,height:0};et=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};nt=et[nt];it=et[it];o=r(0,s(a[p],o[p]));ft=y?a[p]/2-ht-o-nt-k:ft-o-nt-k;a=y?-a[p]/2+ht+o+it+k:g+o+it+k;y=i.elements.arrow&&v(i.elements.arrow);k=i.modifiersData.offset?i.modifiersData.offset[i.placement][u]:0;y=l[u]+ft-k-(y?"y"===u?y.clientTop||0:y.clientLeft||0:0);a=l[u]+a-k;h&&(h=t?s(st,y):st,ut=t?r(ut,a):ut,h=r(h,s(ot,ut)),l[u]=h,w[u]=h-ot);d&&(h=(d=l[e])+b["x"===u?"top":"left"],b=d-b["x"===u?"bottom":"right"],h=t?s(h,y):h,t=t?r(b,a):b,t=r(h,s(d,t)),l[e]=t,w[e]=t-d)}i.modifiersData[n]=w}},requiresIfExists:["offset"]},oi={name:"arrow",enabled:!0,phase:"main",fn:function(n){var h,t=n.state,l=n.name,i=n.options,e=t.elements.arrow,o=t.modifiersData.popperOffsets,u=f(t.placement);if(n=rt(u),u=0<=["left","right"].indexOf(u)?"height":"width",e&&o){i=pt("number"!=typeof(i="function"==typeof(i=i.padding)?i(Object.assign({},t.rects,{placement:t.placement})):i)?i:wt(i,y));var c=tt(e),a="y"===n?"top":"left",p="y"===n?"bottom":"right",w=t.rects.reference[u]+t.rects.reference[n]-o[n]-t.rects.popper[u];o=o[n]-t.rects.reference[n];o=(e=(e=v(e))?"y"===n?e.clientHeight||0:e.clientWidth||0:0)/2-c[u]/2+(w/2-o/2);u=r(i[a],s(o,e-c[u]-i[p]));t.modifiersData[l]=((h={})[n]=u,h.centerOffset=u-o,h)}},effect:function(n){var t=n.state;if(null!=(n=void 0===(n=n.options.element)?"[data-popper-arrow]":n)){if("string"==typeof n&&!(n=t.elements.popper.querySelector(n)))return;at(t.elements.popper,n)&&(t.elements.arrow=n)}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},si={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(n){var t=n.state;n=n.name;var i=t.rects.reference,r=t.rects.popper,u=t.modifiersData.preventOverflow,e=c(t,{elementContext:"reference"}),f=c(t,{altBoundary:!0});i=gt(e,i);r=gt(f,r,u);u=ni(i);f=ni(r);t.modifiersData[n]={referenceClippingOffsets:i,popperEscapeOffsets:r,isReferenceHidden:u,hasPopperEscaped:f};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}},ki=ut({defaultModifiers:[ft,et,ot,st]}),hi=[ft,et,ot,st,ui,fi,ei,oi,si],di=ut({defaultModifiers:hi});n.applyStyles=st;n.arrow=oi;n.computeStyles=ot;n.createPopper=di;n.createPopperLite=ki;n.defaultModifiers=hi;n.detectOverflow=c;n.eventListeners=ft;n.flip=fi;n.hide=si;n.offset=ui;n.popperGenerator=ut;n.popperOffsets=et;n.preventOverflow=ei;Object.defineProperty(n,"__esModule",{value:!0})});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(n=n||self).tippy=t(n.Popper)}(this,function(n){"use strict";function v(n,t,i){if(Array.isArray(n)){var r=n[t];return null==r?Array.isArray(i)?i[t]:i:r}return n}function y(n,t){var i={}.toString.call(n);return 0===i.indexOf("[object")&&i.indexOf(t+"]")>-1}function tt(n,t){return"function"==typeof n?n.apply(void 0,t):n}function it(n,t){return 0===t?n:function(r){clearTimeout(i);i=setTimeout(function(){n(r)},t)};var i}function rt(n,t){var i=Object.assign({},n);return t.forEach(function(n){delete i[n]}),i}function e(n){return[].concat(n)}function ut(n,t){-1===n.indexOf(t)&&n.push(t)}function ft(n){return n.split("-")[0]}function o(n){return[].slice.call(n)}function f(){return document.createElement("div")}function h(n){return["Element","Fragment"].some(function(t){return y(n,t)})}function p(n){return y(n,"MouseEvent")}function et(n){return!(!n||!n._tippy||n._tippy.reference!==n)}function dt(n){return h(n)?[n]:function(n){return y(n,"NodeList")}(n)?o(n):Array.isArray(n)?n:o(document.querySelectorAll(n))}function w(n,t){n.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function s(n,t){n.forEach(function(n){n&&n.setAttribute("data-state",t)})}function ot(n){var i,t=e(n)[0];return(null==t||null==(i=t.ownerDocument)?void 0:i.body)?t.ownerDocument:document}function b(n,t,i){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){n[r](t,i)})}function gt(){r.isTouch||(r.isTouch=!0,window.performance&&document.addEventListener("mousemove",ht))}function ht(){var n=performance.now();n-st<20&&(r.isTouch=!1,document.removeEventListener("mousemove",ht));st=n}function ni(){var n=document.activeElement,t;et(n)&&(t=n._tippy,n.blur&&!t.state.isVisible&&n.blur())}function ct(n){var t=(n.plugins||[]).reduce(function(t,i){var r=i.name,u=i.defaultValue;return r&&(t[r]=void 0!==n[r]?n[r]:u),t},{});return Object.assign({},n,{},t)}function lt(n,i){var r=Object.assign({},i,{content:tt(i.content,[n])},i.ignoreAttributes?{}:function(n,i){return(i?Object.keys(ct(Object.assign({},t,{plugins:i}))):ti).reduce(function(t,i){var r=(n.getAttribute("data-tippy-"+i)||"").trim();if(!r)return t;if("content"===i)t[i]=r;else try{t[i]=JSON.parse(r)}catch(n){t[i]=r}return t},{})}(n,i.plugins));return r.aria=Object.assign({},t.aria,{},r.aria),r.aria={expanded:"auto"===r.aria.expanded?i.interactive:r.aria.expanded,content:"auto"===r.aria.content?i.interactive?null:"describedby":r.aria.content},r}function k(n,t){n.innerHTML=t}function at(n){var t=f();return!0===n?t.className="tippy-arrow":(t.className="tippy-svg-arrow",h(n)?t.appendChild(n):k(t,n)),t}function vt(n,t){h(t.content)?(k(n,""),n.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?k(n,t.content):n.textContent=t.content)}function c(n){var i=n.firstElementChild,t=o(i.children);return{box:i,content:t.find(function(n){return n.classList.contains("tippy-content")}),arrow:t.find(function(n){return n.classList.contains("tippy-arrow")||n.classList.contains("tippy-svg-arrow")}),backdrop:t.find(function(n){return n.classList.contains("tippy-backdrop")})}}function yt(n){function u(t,i){var e=c(r),u=e.box,o=e.content,f=e.arrow;i.theme?u.setAttribute("data-theme",i.theme):u.removeAttribute("data-theme");"string"==typeof i.animation?u.setAttribute("data-animation",i.animation):u.removeAttribute("data-animation");i.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia");u.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth;i.role?u.setAttribute("role",i.role):u.removeAttribute("role");t.content===i.content&&t.allowHTML===i.allowHTML||vt(o,n.props);i.arrow?f?t.arrow!==i.arrow&&(u.removeChild(f),u.appendChild(at(i.arrow))):u.appendChild(at(i.arrow)):f&&u.removeChild(f)}var r=f(),t=f(),i;return t.className="tippy-box",t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1"),i=f(),i.className="tippy-content",i.setAttribute("data-state","hidden"),vt(i,n.props),r.appendChild(t),t.appendChild(i),u(n.props,n.props),{popper:r,onUpdate:u}}function ri(i,h){function gi(){var n=y.props.touch;return Array.isArray(n)?n:[n,0]}function nr(){return"hold"===gi()[0]}function g(){var n;return!!(null==(n=y.props.render)?void 0:n.$$tippy)}function rt(){return vi||i}function at(){var n=rt().parentNode;return n?ot(n):document}function vt(){return c(k)}function tr(n){return y.state.isMounted&&!y.state.isVisible||r.isTouch||wt&&"focus"===wt.type?0:v(y.props.delay,n?0:1,t.delay)}function bt(){k.style.pointerEvents=y.props.interactive&&y.state.isVisible?"":"none";k.style.zIndex=""+y.props.zIndex}function d(n,t,i){var r;(void 0===i&&(i=!0),ki.forEach(function(i){i[n]&&i[n].apply(void 0,t)}),i)&&(r=y.props)[n].apply(r,t)}function ir(){var r=y.props.aria,n,t;r.content&&(n="aria-"+r.content,t=k.id,e(y.props.triggerTarget||i).forEac
1h(function(i){var r=i.getAttribute(n),u;y.state.isVisible?i.setAttribute(n,r?r+" "+t:t):(u=r&&r.replace(t,"").trim(),u?i.setAttribute(n,u):i.removeAttribute(n))}))}function yt(){!di&&y.props.aria.expanded&&e(y.props.triggerTarget||i).forEach(function(n){y.props.interactive?n.setAttribute("aria-expanded",y.state.isVisible&&n===rt()?"true":"false"):n.removeAttribute("aria-expanded")})}function fi(){at().removeEventListener("mousemove",nt);l=l.filter(function(n){return n!==nt})}function dt(n){if(!(r.isTouch&&(ti||"mousedown"===n.type)||y.props.interactive&&k.contains(n.target))){if(rt().contains(n.target)){if(r.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else d("onClickOutside",[y,n]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),ni=!0,setTimeout(function(){ni=!1}),y.state.isMounted||ei())}}function rr(){ti=!0}function ur(){ti=!1}function fr(){var n=at();n.addEventListener("mousedown",dt,!0);n.addEventListener("touchend",dt,u);n.addEventListener("touchstart",ur,u);n.addEventListener("touchmove",rr,u)}function ei(){var n=at();n.removeEventListener("mousedown",dt,!0);n.removeEventListener("touchend",dt,u);n.removeEventListener("touchstart",ur,u);n.removeEventListener("touchmove",rr,u)}function er(n,t){function r(n){n.target===i&&(b(i,"remove",r),t())}var i=vt().box;if(0===n)return t();b(i,"remove",li);b(i,"add",r);li=r}function st(n,t,r){void 0===r&&(r=!1);e(y.props.triggerTarget||i).forEach(function(i){i.addEventListener(n,t,r);ui.push({node:i,eventType:n,handler:t,options:r})})}function or(){var n;nr()&&(st("touchstart",hr,{passive:!0}),st("touchend",lr,{passive:!0}));(n=y.props.trigger,n.split(/\s+/).filter(Boolean)).forEach(function(n){if("manual"!==n)switch(st(n,hr),n){case"mouseenter":st("mouseleave",lr);break;case"focus":st(kt?"focusout":"blur",ar);break;case"focusin":st("focusout",ar)}})}function sr(){ui.forEach(function(n){var t=n.node,i=n.eventType,r=n.handler,u=n.options;t.removeEventListener(i,r,u)});ui=[]}function hr(n){var i,t=!1,r;!y.state.isEnabled||vr(n)||ni||(r="focus"===(null==(i=wt)?void 0:i.type),wt=n,vi=n.currentTarget,yt(),!y.state.isVisible&&p(n)&&l.forEach(function(t){return t(n)}),"click"===n.type&&(y.props.trigger.indexOf("mouseenter")<0||ht)&&!1!==y.props.hideOnClick&&y.state.isVisible?t=!0:wr(n),"click"===n.type&&(ht=!t),t&&!r&&gt(n))}function cr(n){var t=n.target,i=rt().contains(t)||k.contains(t);"mousemove"===n.type&&i||function(n,t){var i=t.clientX,r=t.clientY;return n.every(function(n){var u=n.popperRect,o=n.popperState,f=n.props.interactiveBorder,e=ft(o.placement),t=o.modifiersData.offset;if(!t)return!0;var s="bottom"===e?t.top.y:0,h="top"===e?t.bottom.y:0,c="right"===e?t.left.x:0,l="left"===e?t.right.x:0,a=u.top-r+s>f,v=r-u.bottom-h>f,y=u.left-i+c>f,p=i-u.right-l>f;return a||v||y||p})}(oi().concat(k).map(function(n){var t,i=null==(t=n._tippy.popperInstance)?void 0:t.state;return i?{popperRect:n.getBoundingClientRect(),popperState:i,props:et}:null}).filter(Boolean),n)&&(fi(),gt(n))}function lr(n){vr(n)||y.props.trigger.indexOf("click")>=0&&ht||(y.props.interactive?y.hideWithInteractivity(n):gt(n))}function ar(n){y.props.trigger.indexOf("focusin")<0&&n.target!==rt()||y.props.interactive&&n.relatedTarget&&k.contains(n.relatedTarget)||gt(n)}function vr(n){return!!r.isTouch&&nr()!==n.type.indexOf("touch")>=0}function yr(){pr();var t=y.props,u=t.popperOptions,o=t.placement,s=t.offset,f=t.getReferenceClientRect,h=t.moveTransition,e=g()?c(k).arrow:null,l=f?{getBoundingClientRect:f,contextElement:f.contextElement||rt()}:i,r=[{name:"offset",options:{offset:s}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!h}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(n){var i=n.state,t;g()&&(t=vt().box,["placement","reference-hidden","escaped"].forEach(function(n){"placement"===n?t.setAttribute("data-placement",i.placement):i.attributes.popper["data-popper-"+n]?t.setAttribute("data-"+n,""):t.removeAttribute("data-"+n)}),i.attributes.popper={})}}];g()&&e&&r.push({name:"arrow",options:{element:e,padding:3}});r.push.apply(r,(null==u?void 0:u.modifiers)||[]);y.popperInstance=n.createPopper(l,k,Object.assign({},u,{placement:o,onFirstUpdate:ai,modifiers:r}))}function pr(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function oi(){return o(k.querySelectorAll("[data-tippy-root]"))}function wr(n){y.clearDelayTimeouts();n&&d("onTrigger",[y,n]);fr();var t=tr(!0),i=gi(),f=i[0],u=i[1];r.isTouch&&"hold"===f&&u&&(t=u);t?si=setTimeout(function(){y.show()},t):y.show()}function gt(n){if(y.clearDelayTimeouts(),d("onUntrigger",[y,n]),y.state.isVisible){if(!(y.props.trigger.indexOf("mou
1seenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(n.type)>=0&&ht)){var t=tr(!1);t?hi=setTimeout(function(){y.state.isVisible&&y.hide()},t):ci=requestAnimationFrame(function(){y.hide()})}}else ei()}var pt,si,hi,ci,wt,li,ai,vi,yi,et=lt(i,Object.assign({},t,{},ct((pt=h,Object.keys(pt).reduce(function(n,t){return void 0!==pt[t]&&(n[t]=pt[t]),n},{}))))),ht=!1,ni=!1,ti=!1,ri=!1,ui=[],nt=it(cr,et.interactiveDebounce),br=ii++,pi=(yi=et.plugins).filter(function(n,t){return yi.indexOf(n)===t}),y={id:br,reference:i,popper:f(),popperInstance:null,props:et,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:pi,clearDelayTimeouts:function(){clearTimeout(si);clearTimeout(hi);cancelAnimationFrame(ci)},setProps:function(n){if(!y.state.isDestroyed){d("onBeforeUpdate",[y,n]);sr();var r=y.props,t=lt(i,Object.assign({},y.props,{},n,{ignoreAttributes:!0}));y.props=t;or();r.interactiveDebounce!==t.interactiveDebounce&&(fi(),nt=it(cr,t.interactiveDebounce));r.triggerTarget&&!t.triggerTarget?e(r.triggerTarget).forEach(function(n){n.removeAttribute("aria-expanded")}):t.triggerTarget&&i.removeAttribute("aria-expanded");yt();bt();bi&&bi(r,t);y.popperInstance&&(yr(),oi().forEach(function(n){requestAnimationFrame(n._tippy.popperInstance.forceUpdate)}));d("onAfterUpdate",[y,n])}},setContent:function(n){y.setProps({content:n})},show:function(){var u=y.state.isVisible,f=y.state.isDestroyed,e=!y.state.isEnabled,o=r.isTouch&&!y.props.touch,n=v(y.props.duration,0,t.duration);if(!u&&!f&&!e&&!o&&!rt().hasAttribute("disabled")&&(d("onShow",[y],!1),!1!==y.props.onShow(y))){if(y.state.isVisible=!0,g()&&(k.style.visibility="visible"),bt(),fr(),y.state.isMounted||(k.style.transition="none"),g()){var i=vt(),h=i.box,c=i.content;w([h,c],0)}ai=function(){var t;if(y.state.isVisible&&!ri){if(ri=!0,k.offsetHeight,k.style.transition=y.props.moveTransition,g()&&y.props.animation){var i=vt(),r=i.box,u=i.content;w([r,u],n);s([r,u],"visible")}ir();yt();ut(a,y);null==(t=y.popperInstance)||t.forceUpdate();y.state.isMounted=!0;d("onMount",[y]);y.props.animation&&g()&&function(n,t){er(n,t)}(n,function(){y.state.isShown=!0;d("onShown",[y])})}},function(){var n,i=y.props.appendTo,r=rt();n=y.props.interactive&&i===t.appendTo||"parent"===i?r.parentNode:tt(i,[r]);n.contains(k)||n.appendChild(k);yr()}()}},hide:function(){var f=!y.state.isVisible,e=y.state.isDestroyed,o=!y.state.isEnabled,n=v(y.props.duration,1,t.duration);if(!f&&!e&&!o&&(d("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,ri=!1,ht=!1,g()&&(k.style.visibility="hidden"),fi(),ei(),bt(),g()){var i=vt(),r=i.box,u=i.content;y.props.animation&&(w([r,u],n),s([r,u],"hidden"))}ir();yt();y.props.animation?g()&&function(n,t){er(n,function(){!y.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()})}(n,y.unmount):y.unmount()}},hideWithInteractivity:function(n){at().addEventListener("mousemove",nt);ut(l,nt);nt(n)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide();y.state.isEnabled=!1},unmount:function(){(y.state.isVisible&&y.hide(),y.state.isMounted)&&(pr(),oi().forEach(function(n){n._tippy.unmount()}),k.parentNode&&k.parentNode.removeChild(k),a=a.filter(function(n){return n!==y}),y.state.isMounted=!1,d("onHidden",[y]))},destroy:function(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),sr(),delete i._tippy,y.state.isDestroyed=!0,d("onDestroy",[y]))}},ki,di;if(!et.render)return y;var wi=et.render(y),k=wi.popper,bi=wi.onUpdate;return k.setAttribute("data-tippy-root",""),k.id="tippy-"+y.id,y.popper=k,i._tippy=y,k._tippy=y,ki=pi.map(function(n){return n.fn(y)}),di=i.hasAttribute("aria-expanded"),or(),yt(),bt(),d("onCreate",[y]),et.showOnCreate&&wr(),k.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),k.addEventListener("mouseleave",function(n){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&(at().addEventListener("mousemove",nt),nt(n))}),y}function i(n,i){var f,e,r;return void 0===i&&(i={}),f=t.plugins.concat(i.plugins||[]),document.addEventListener("touchstart",gt,u),window.addEventListener("blur",ni),e=Object.assign({},i,{plugins:f}),r=dt(n).reduce(function(n,t){var i=t&&ri(t,e);return i&&n.push(i),n},[]),h(n)?r[0]:r}function pt(n){var t=n.clientX,i=n.clientY;d={clientX:t,clientY:i}}function wt(n,t){return!n||!t||n.top!==t.top||n.right!==t.right||n.bottom!==t.bottom||n.left!==t.left}var nt="undefined"!=typeof window&&"undefined"!=typeof document,bt=nt?navigator.userAgent:"",kt=/MSIE |Trident\//.test(bt),u={passive:!0,capture:!0},r={isTouch:!1},st=0,t=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ti=Object.keys(t);
1yt.$$tippy=!0;var ii=1,l=[],a=[];i.defaultProps=t;i.setDefaultProps=function(n){Object.keys(n).forEach(function(i){t[i]=n[i]})};i.currentInput=r;var ui=Object.assign({},n.applyStyles,{effect:function(n){var t=n.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,i.popper);t.styles=i;t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow)}}),fi={mouseover:"mouseenter",focusin:"focus",click:"click"},ei={name:"animateFill",defaultValue:!1,fn:function(n){var r;if(!(null==(r=n.props.render)?void 0:r.$$tippy))return{};var u=c(n.popper),i=u.box,e=u.content,t=n.props.animateFill?function(){var n=f();return n.className="tippy-backdrop",s([n],"hidden"),n}():null;return{onCreate:function(){t&&(i.insertBefore(t,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",n.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(t){var n=i.style.transitionDuration,r=Number(n.replace("ms",""));e.style.transitionDelay=Math.round(r/10)+"ms";t.style.transitionDuration=n;s([t],"visible")}},onShow:function(){t&&(t.style.transitionDuration="0ms")},onHide:function(){t&&s([t],"hidden")}}}},d={clientX:0,clientY:0},g=[];var oi={name:"followCursor",defaultValue:!1,fn:function(n){function s(){return"initial"===n.props.followCursor&&n.state.isVisible}function h(){t.addEventListener("mousemove",e)}function c(){t.removeEventListener("mousemove",e)}function l(){r=!0;n.setProps({getReferenceClientRect:null});r=!1}function e(t){var o=!t.target||i.contains(t.target),r=n.props.followCursor,u=t.clientX,f=t.clientY,e=i.getBoundingClientRect(),s=u-e.left,h=f-e.top;!o&&n.props.interactive||n.setProps({getReferenceClientRect:function(){var n=i.getBoundingClientRect(),t=u,e=f;"initial"===r&&(t=n.left+s,e=n.top+h);var o="horizontal"===r?n.top:e,c="vertical"===r?n.right:t,l="horizontal"===r?n.bottom:e,a="vertical"===r?n.left:t;return{width:c-a,height:l-o,top:o,right:c,bottom:l,left:a}}})}function a(){n.props.followCursor&&(g.push({instance:n,doc:t}),function(n){n.addEventListener("mousemove",pt)}(t))}function v(){0===(g=g.filter(function(t){return t.instance!==n})).filter(function(n){return n.doc===t}).length&&function(n){n.removeEventListener("mousemove",pt)}(t)}var i=n.reference,t=ot(n.props.triggerTarget||i),r=!1,u=!1,f=!0,o=n.props;return{onCreate:a,onDestroy:v,onBeforeUpdate:function(){o=n.props},onAfterUpdate:function(t,i){var f=i.followCursor;r||void 0!==f&&o.followCursor!==f&&(v(),f?(a(),!n.state.isMounted||u||s()||h()):(c(),l()))},onMount:function(){n.props.followCursor&&!u&&(f&&(e(d),f=!1),s()||h())},onTrigger:function(n,t){p(t)&&(d={clientX:t.clientX,clientY:t.clientY});u="focus"===t.type},onHidden:function(){n.props.followCursor&&(l(),c(),f=!0)}}}},si={name:"inlinePositioning",defaultValue:!1,fn:function(n){function f(){var t;i||(t=function(n,t){var i;return{popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((null==(i=n.popperOptions)?void 0:i.modifiers)||[]).filter(function(n){return n.name!==t.name}),[t])})}}(n.props,e),i=!0,n.setProps(t),i=!1)}var r,u=n.reference,t=-1,i=!1,e={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var f=i.state;n.props.inlinePositioning&&(r!==f.placement&&n.setProps({getReferenceClientRect:function(){return function(n){return function(n,t,i,r){if(i.length<2||null===n)return t;if(2===i.length&&r>=0&&i[0].left>i[1].right)return i[r]||t;switch(n){case"top":case"bottom":var u=i[0],f=i[i.length-1],h="top"===n,c=u.top,l=f.bottom,a=h?u.left:f.left,v=h?u.right:f.right;return{top:c,bottom:l,left:a,right:v,width:v-a,height:l-c};case"left":case"right":var e=Math.min.apply(Math,i.map(function(n){return n.left})),o=Math.max.apply(Math,i.map(function(n){return n.right})),s=i.filter(function(t){return"left"===n?t.left===e:t.right===o}),y=s[0].top,p=s[s.length-1].bottom;return{top:y,bottom:p,left:e,right:o,width:o-e,height:p-y};default:return t}}(ft(n),u.getBoundingClientRect(),o(u.getClientRects()),t)}(f.placement)}}),r=f.placement)}};return{onCreate:f,onAfterUpdate:f,onTrigger:function(i,r){if(p(r)){var u=o(n.reference.getClientRects()),f=u.find(function(n){return n.left-2<=r.clientX&&n.right+2>=r.clientX&&n.top-2<=r.clientY&&n.bottom+2>=r.clientY});t=u.indexOf(f)}},onUntrigger:function(){t=-1}}}},hi={name:"sticky",defaultValue:!1,fn:function(n){function t(t){return!0===n.props.sticky||n.props.sticky===t}function u(){var o=t("reference")?(n.popperInstance?n.popperInstance.state.elements.reference:f).getBoundingClientRect():null,
1s=t("popper")?e.getBoundingClientRect():null;(o&&wt(i,o)||s&&wt(r,s))&&n.popperInstance&&n.popperInstance.update();i=o;r=s;n.state.isMounted&&requestAnimationFrame(u)}var f=n.reference,e=n.popper,i=null,r=null;return{onMount:function(){n.props.sticky&&u()}}}};return nt&&function(n){var t=document.createElement("style"),i,r;t.textContent=n;t.setAttribute("data-tippy-stylesheet","");i=document.head;r=document.querySelector("head>style,head>link");r?i.insertBefore(t,r):i.appendChild(t)}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'),i.setDefaultProps({plugins:[ei,oi,si,hi],render:yt}),i.createSingleton=function(n,t){function y(){u=o.map(function(n){return n.reference})}function c(n){o.forEach(function(t){n?t.enable():t.disable()})}function p(n){return o.map(function(t){var i=t.setProps;return t.setProps=function(r){i(r);t.reference===e&&n.setProps(r)},function(){t.setProps=i}})}function s(n,t){var r=u.indexOf(t),i;t!==e&&(e=t,i=(l||[]).concat("content").reduce(function(n,t){return n[t]=o[r].props[t],n},{}),n.setProps(Object.assign({},i,{getReferenceClientRect:"function"==typeof i.getReferenceClientRect?i.getReferenceClientRect:function(){return t.getBoundingClientRect()}})))}var a,w;void 0===t&&(t={});var e,o=n,u=[],l=t.overrides,v=[],h=!1;c(!1);y();var b={fn:function(){return{onDestroy:function(){c(!0)},onHidden:function(){e=null},onClickOutside:function(n){n.props.showOnCreate&&!h&&(h=!0,e=null)},onShow:function(n){n.props.showOnCreate&&!h&&(h=!0,s(n,u[0]))},onTrigger:function(n,t){s(n,t.currentTarget)}}}},r=i(f(),Object.assign({},rt(t,["overrides"]),{plugins:[b].concat(t.plugins||[]),triggerTarget:u,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(a=t.popperOptions)?void 0:a.modifiers)||[],[ui])})})),k=r.show;return r.show=function(n){if(k(),!e&&null==n)return s(r,u[0]);if(!e||null!=n){if("number"==typeof n)return u[n]&&s(r,u[n]);if(o.includes(n)){var t=n.reference;return s(r,t)}return u.includes(n)?s(r,n):void 0}},r.showNext=function(){var t=u[0],n;if(!e)return r.show(0);n=u.indexOf(e);r.show(u[n+1]||t)},r.showPrevious=function(){var n=u[u.length-1],t,i;if(!e)return r.show(n);t=u.indexOf(e);i=u[t-1]||n;r.show(i)},w=r.setProps,r.setProps=function(n){l=n.overrides||l;w(n)},r.setInstances=function(n){c(!0);v.forEach(function(n){return n()});o=n;c(!1);y();p(r);r.setProps({triggerTarget:u})},v=p(r),r},i.delegate=function(n,r){function o(n){var u,o,e;n.target&&!c&&(u=n.target.closest(y),u&&(o=u.getAttribute("data-tippy-trigger")||r.trigger||t.trigger,u._tippy||"touchstart"===n.type&&"boolean"==typeof a.touch||"touchstart"!==n.type&&o.indexOf(fi[n.type])<0||(e=i(u,a),e&&(f=f.concat(e)))))}function s(n,t,i,r){void 0===r&&(r=!1);n.addEventListener(t,i,r);h.push({node:n,eventType:t,handler:i,options:r})}var h=[],f=[],c=!1,y=r.target,l=rt(r,["target"]),p=Object.assign({},l,{trigger:"manual",touch:!1}),a=Object.assign({},l,{showOnCreate:!0}),v=i(n,p);return e(v).forEach(function(n){var t=n.destroy,i=n.enable,r=n.disable;n.destroy=function(n){void 0===n&&(n=!0);n&&f.forEach(function(n){n.destroy()});f=[];h.forEach(function(n){var t=n.node,i=n.eventType,r=n.handler,u=n.options;t.removeEventListener(i,r,u)});h=[];t()};n.enable=function(){i();f.forEach(function(n){return n.enable()});c=!1};n.disable=function(){r();f.forEach(function(n){return n.disable()});c=!0},function(n){var t=n.reference;s(t,"touchstart",o,u);s(t,"mouseover",o);s(t,"focusin",o);s(t,"click",o)}(n)}),v},i.hideAll=function(n){var i=void 0===n?{}:n,t=i.exclude,r=i.duration;a.forEach(function(n){var i=!1,u;(t&&(i=et(t)?n.reference===t:n.popper===t.popper),i)||(u=n.props.duration,n.setProps({duration:r}),n.hide(),n.state.isDestroyed||n.setProps({duration:u}))})},i.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"><\/svg>',i});$(document).ready(function(){if($("#info-tippy-header-content").length){const n=document.getElementById("info-tippy-header-content");n.style.display="inline-block";tippy(".info-tippy-header",{content:n,arrow:!1,placement:"bottom-end"})}~window.location.pathname.toLowerCase().indexOf("/zeitschriften")?($("#header-tab-1").addClass("active"),$(".header-tab-body-1").addClass("active"),$(".header-tab-body-1").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("sonderheft")?($("#header-tab-2").addClass("active"),$(".header-tab-body-2").addClass("active"),$(".header-tab-body-2").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("/epaper")?($("#header-tab-3").addClass("active"),$(".header-tab-body-3").addClass("active"),$(".header-tab-body-3").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("/internationale")?($
1("#header-tab-4").addClass("active"),$(".header-tab-body-4").addClass("active"),$(".header-tab-body-4").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("/verzeichnis")?($("#header-tab-5").addClass("active"),$(".header-tab-body-5").addClass("active"),$(".header-tab-body-5").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("/geschenkabo")?($("#header-tab-6").addClass("active"),$(".header-tab-body-6").addClass("active"),$(".header-tab-body-6").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("/b%c3%bccher")?($("#header-tab-7").addClass("active"),$(".header-tab-body-7").addClass("active"),$(".header-tab-body-7").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("-buch")?($("#header-tab-7").addClass("active"),$(".header-tab-body-7").addClass("active"),$(".header-tab-body-7").find("a").attr("tabindex",0)):~window.location.pathname.toLowerCase().indexOf("-abo")&&($("#header-tab-1").addClass("active"),$(".header-tab-body-1").addClass("active"),$(".header-tab-body-1").find("a").attr("tabindex",0))});$(".offcanvas-backdrop").click(function(){toggleOffcanvas()});$(".accordion-header").click(function(){$(this).toggleClass("active");$accordion_content=$(this).next(".accordion-body");$(".accordion-body").not($accordion_content).slideUp();$(".accordion-body").not($accordion_content).prev(".accordion-header").removeClass("active");$accordion_content.stop(!0,!0).slideToggle(400)});$("ul.off-canvas-list").find("a.has-submenu").on("click",function(n){n.preventDefault();$(this).closest("li").toggleClass("open")});$('input[id^="search-criteria-stage"]').keypress(function(n){n.which===13&&$(".search-submit-stage").trigger("click")});$('input[id^="search-criteria-header"]').keypress(function(n){n.which===13&&$(".search-submit-header").trigger("click")});$('input[id^="search-criteria-subheader"]').keypress(function(n){n.which===13&&$(".search-submit-subheader").trigger("click")});$('input[id^="search-criteria-offcanvas"]').keypress(function(n){n.which===13&&$(".search-submit-offcanvas").trigger("click")});$('input[id^="search-criteria-offcanvas-menu"]').keypress(function(n){n.which===13&&$(".search-submit-offcanvas-menu").trigger("click")});$(".search-submit-stage").click(function(){var n=$("#search-criteria-stage").val();$("#SearchCriteriaFull").val(n);trackGaEvent("send","event","search","submit",n);$("#form-detailed-search").submit()});$(".search-submit-header").click(function(){var n=$("#search-criteria-header").val();$("#SearchCriteriaFull").val(n);trackGaEvent("send","event","search","submit",n);$("#form-detailed-search").submit()});$(".search-submit-subheader").click(function(){var n=$("#search-criteria-subheader").val();$("#SearchCriteriaFull").val(n);trackGaEvent("send","event","search","submit",n);$("#form-detailed-search").submit()});$(".search-submit-offcanvas").click(function(){var n=$("#search-criteria-offcanvas").val();$("#SearchCriteriaFull").val(n);trackGaEvent("send","event","search","submit",n);$("#form-detailed-search").submit()});$(".search-submit-offcanvas-menu").click(function(){var n=$("#search-criteria-offcanvas-menu").val();$("#SearchCriteriaFull").val(n);trackGaEvent("send","event","search","submit",n);$("#form-detailed-search").submit()});back_to_top_button='<a href="#top" class="back-to-top scroll-to-top fixed right-1 bottom-2 bg-blue white no-underline f7 z-100 o-40 br4 w2 h2 dn-xl"><div class="f5 fl w-100 tc mt1"><svg aria-hidden="true" focusable="false" class="w1 white relative top_2" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"><\/path><\/svg><\/div><\/a>';$("body").append(back_to_top_button);$(".back-to-top").hide();$(".back-to-search").hide();const viewxl=window.matchMedia("screen and (min-width: 75em)");$(function(){viewxl.matches?$(window).scroll(function(){$(this).scrollTop()>100?$(".back-to-search").fadeIn():$(".back-to-search").fadeOut()}):$(window).scroll(function(){$(this).scrollTop()>100?$(".back-to-top").fadeIn():$(".back-to-top").fadeOut()});$(".scroll-to-top").click(function(){return $("body,html").animate({scrollTop:0},800),!1});$(".back-to-search").click(function(){return $("body,html").animate({scrollTop:0},800),!1})}),function(n){n.fn.bindWithDelay=function(t,i,r,u,f){return n.isFunction(i)&&(f=u,u=r,r=i,i=undefined),r.guid=r.guid||n.guid&&n.guid++,this.each(function(){function o(){var t=n.extend(!0,{},arguments[0]),i=this,o=function(){e=null;r.apply(i,[t])};f||(clearTimeout(e),e=null);e||(e=setTimeout(o,u))}var e=null;o.guid=r.guid;n(this).bind(t,i,o)})}}(jQuery);$(document).on("click",'a[id^="switchAbo"]',function(){$("#form-switchAbo").submit()});$(document).on("click",'a[id^="cancelSubscription"]',function(){$("#form-cancelAbo").submit()});$(document).on("click",'a[id^="searchAbo"]',function(){$("#form-aboSearch").submit();$("#searchAboLoader").removeClass("dn")});$(document).on("click",'a[id^="searchAboCustomer"]',function(){$("#form-aboSearchCustomer").submit()});$(document).on("click",'a[id^="searchAboBillingAddress"]',function(){$("#form-aboSearchBillingAddress").submit();$("#searchAboBillingAddressLoader").removeClass("dn")});$(document).on("click",'a[id^="loginNow"]',function(){$("#form-loginNow").submit()});if($("select#TaskProductList1").change(function(){$("input#TaskViewProductId").val($("select#TaskProductList1 option:selected").val());$("#TaskProductName").html($("select#TaskProductList1 option:selected").text())}),$("select#TaskProductList2").change(function(){$("input#TaskViewProductId").val($("select#TaskProductList2 option:selected").val());$("#TaskProductName").html($("select#TaskProductList2 option:selected").text())}),$("select#TaskProductList3").change(function(){$("input#TaskViewProductId").val($("select#TaskProductList3 option:selected").val());$("#TaskProductName").html($("select#TaskProductList3 option:selected").text())}),$('input[id^="search-criteria-stage"]').bindWithDelay("keyup",function(n){if(n.keyCode!=13){var t=$(this).val();t.length>1&&(trackGaEvent("send","event","search","autocomplete",t),$("#form-quick-search-stage").submit());$("#search-criteria-stage").val().length<2?($("#flyout-search-content-stage").empty(),$("#quick-search-flyout-stage").hide(),$("#search-info-stage").addClass("db")):($("#quick-search-flyout-stage").show(),$("#search-info-stage").removeClass("db"))}},300),$('input[id^="search-criteria-header"]').bindWithDelay("keyup",function(n){if(n.keyCode!=13){var t=$(this).val();t.length>1&&(trackGaEvent("send","event","search","autocomplete",t),$("#form-quick-search-header").submit());$("#search-criteria-header").val().length<2?($("#flyout-search-content-header").empty(),$("#quick-search-flyout-header").hide(),$("#search-info-header").addClass("db")):($("#quick-search-flyout-header").show(),$("#search-info-header").removeClass("db"))}},300),$('input[id^="search-criteria-subheader"]').bindWithDelay("keyup",function(n){if(n.keyCode!=13){var t=$(this).val();t.length>1&&(trackGaEvent("send","event","search","autocomplete",t),$("#form-quick-search-subheader").submit());$("#search-criteria-subheader").val().length<2?($("#flyout-search-content-subheader").empty(),$("#quick-search-flyout-subheader").hide(),$("#search-info-subheader").addClass("db")):($("#quick-search-flyout-subheader").show(),$("#search-info-subheader").removeClass("db"))}},300),$('input[id^="search-criteria-offcanvas-menu"]').bindWithDelay("keyup",function(n){if(n.keyCode!=13){var t=$(this).val();t.length>1&&(trackGaEvent("send","event","search","autocomplete",t),$("#form-quick-search-offcanvas-menu").submit());$("#search-criteria-offcanvas-menu").val().length<2?($("#flyout-search-content-offcanvas-menu").empty(),$("#quick-search-flyout-offcanvas-menu").hide(),$("#search-info-offcanvas-menu").addClass("db")):($("#quick-search-flyout-offcanvas-menu").show(),$("#search-info-offcanvas-menu").removeClass("db"))}},300),$('input[id^="search-criteria-offcanvas"]').bindWithDelay("keyup",function(n){if(n.keyCode!=13){var t=$(this).val();t.length>1&&(trackGaEvent("send","event","search","autocomplete",t),$("#form-quick-search-offcanvas").submit());$("#search-info-offcanvas").removeClass("db");$("#quick-search-flyout-offcanvas").removeClass("dn")}},300),document.addEventListener("lazybeforeunveil",function(n){var t=n.target.getAttribute("data-bg");t&&(n.target.style.backgroundImage="url("+t+")")}),$("#search-flyout-stage").length){const n=document.getElementById("search-flyout-stage");n.style.display="inline-block";tippy("#search-container",{content:n,trigger:"mouseenter focus click",arrow:!1,delay:100,interactive:!0,placement:"bottom"})}if($("#search-flyout-header").length){const n=document.getElementById("search-flyout-header");n.style.display="inline-block";tippy("#search-container-header",{content:n,trigger:"mouseenter focus click",arrow:!1,delay:100,interactive:!0,placement:"bottom"})}if($("#search-flyout-subheader").length){const n=document.getElementById("search-flyout-subheader");n.style.display="inline-block";tippy("#search-container-subheader",{content:n,trigger:"mouseenter focus click",arrow:!1,delay:100,interactive:!0,placement:"bottom"})}if($("#search-flyout-offcanvas-menu").length){const n=document.getElementById("search-flyout-offcanvas-menu");n.style.display="inline-block";tippy("#search-container-offcanvas-menu",{content:n,trigger:"mouseenter focus click",arrow:!1,delay:100,interactive:!0,placement:"bottom"})}Foundation.global.namespace="";
1$(document).on("click",'div[id^="btn-watch-insert-"]',function(){var n=this.id.replace("btn-watch-insert-","");$("#result-watch-insert").text("");$("#form-watch-insert-"+n).submit();$("#result-watch-insert").hide();$("#result-watch-insert").delay(200).fadeIn();$("#result-watch-insert").delay(2500).fadeOut()});$(document).on("click",'div[id^="btn-cart-insert-"]',function(){var n=this.id.replace("btn-cart-insert-","");$("#result-cart-insert").text("");$("#form-cart-insert-"+n).submit();$("#result-cart-insert").hide();$("#result-cart-insert").delay(200).fadeIn();$("#result-cart-insert").delay(2500).fadeOut()});sliders=[];Screen=null;$.fn.setTopFromElement=function(){return this.each(function(){var t=$(this).find("[data-settopfromelement-source]:visible").first(),i=$(this).find("[data-settopfromelement-target]"),n=function(){i.css("top",t.outerHeight())};n();$(window).on("resize orientationchange",n)})};$(document).ready(function(){Screen=new ScreenHelper;bindClickEvents();fillLoremIpsumPlaceholder();fillCountrySelectFields();prepareContentToggle();$(".slider").each(function(){var t=$(this).attr("id"),n=$(this).clone();$(n).addClass("show-for-small-only").removeClass("show-for-medium-up");$(n).insertAfter($(this));sliders[t]=$(n).anyslider({interval:0,speed:250,showBullets:!1,showControls:!1})});Screen.onResize(function(){$("[data-height-of]").each(function(){var n=$(this).data("height-of");n==="prev"&&$(this).prev()&&$(this).height($(this).prev().height())*2;n==="next"&&$(this).next()&&$(this).height($(this).next().height())*2})})});ScreenHelper=function(){function u(){return $(".js-grid-helper .show-for-large-up").css("display")!=="none"}function f(){return $(".js-grid-helper .show-for-medium-only").css("display")!=="none"}function e(){return $(".js-grid-helper .show-for-small-only").css("display")!=="none"}
1function r(){return e()?n[0]:f()?n[1]:u()?n[2]:""}function o(){return $(window).height()}function s(){return $(window).width()}function h(n){typeof n=="function"&&i.push(n)}function c(n){typeof n=="function"&&changeViewHandlers.push(n)}var n=["small","medium","large"],t=currentViewName=r(),i=changeViewHandlers=[];return window.onresize=function(){var n;for(t=currentViewName,currentViewName=r(),n=0;n<i.length;n++)i[n](currentViewName);if(t!==currentViewName)for(n=0;n<changeViewHandlers.length;n++)changeViewHandlers[n](currentViewName)},{viewName:r,isLarge:u,isMedium:f,isSmall:e,height:o,width:s,viewChanged:t!==currentViewName,onResize:function(n){h(n)},onViewChange:function(n){c(n)},foreach:function(t){for(var i=0;i<n.length;i++)t(n[n[i]])}}};toggleNodes=[];Function.prototype.method=function(n,t,i){typeof n=="string"&&n.length>0&&(!this.prototype[n]||i===!0)&&(this.prototype[n]=t)};String.method("capitalize",function(){return this.charAt(0).toUpperCase()+this.slice(1)},!0);String.method("trim",function(){return this.replace(/^(\s|\u00A0)+|(\s|\u00A0)+$/g,"")},!0);Number.method("toEuro",function(){return this.toFixed(2).replace(".",",")+" €"});String.method("toFloat",function(){return parseFloat(this.replace(",","."))});!function(n){"object"==typeof module&&"object"==typeof module.exports?n(require("jquery"),window,document):n(jQuery,window,document)}(function(n,t,i){var r=[],u=function(){return r.length?r[r.length-1]:null},f=function(){for(var t=!1,n=r.length-1;n>=0;n--)r[n].$blocker&&(r[n].$blocker.toggleClass("current",!t).toggleClass("behind",t),t=!0)};n.modal=function(t,i){var e,f;if(this.$body=n("body"),this.options=n.extend({},n.modal.defaults,i),this.options.doFade=!isNaN(parseInt(this.options.fadeDuration,10)),this.$blocker=null,this.options.closeExisting)for(;n.modal.isActive();)n.modal.close();if(r.push(this),t.is("a"))if(f=t.attr("href"),this.anchor=t,/^#/.test(f)){if(this.$elm=n(f),1!==this.$elm.length)return null;this.$body.append(this.$elm);this.open()}else this.$elm=n("<div>"),this.$body.append(this.$elm),e=function(n,t){t.elm.remove()},this.showSpinner(),t.trigger(n.modal.AJAX_SEND),n.get(f).done(function(i){if(n.modal.isActive()){t.trigger(n.modal.AJAX_SUCCESS);var r=u();r.$elm.empty().append(i).on(n.modal.CLOSE,e);r.hideSpinner();r.open();t.trigger(n.modal.AJAX_COMPLETE)}}).fail(function(){t.trigger(n.modal.AJAX_FAIL);var i=u();i.hideSpinner();r.pop();t.trigger(n.modal.AJAX_COMPLETE)});else this.$elm=t,this.anchor=t,this.$body.append(this.$elm),this.open()};n.modal.prototype={constructor:n.modal,open:function(){var t=this;this.block();this.anchor.blur();this.options.doFade?setTimeout(function(){t.show()},this.options.fadeDuration*this.options.fadeDelay):this.show();n(i).off("keydown.modal").on("keydown.modal",function(n){var t=u();27===n.which&&t.options.escapeClose&&t.close()});this.options.clickClose&&this.$blocker.click(function(t){t.target===this&&n.modal.close()})},close:function(){r.pop();this.unblock();this.hide();n.modal.isActive()||n(i).off("keydown.modal")},block:function(){this.$elm.trigger(n.modal.BEFORE_BLOCK,[this._ctx()]);this.$body.css("overflow","hidden");this.$blocker=n('<div class="'+this.options.blockerClass+' blocker current"><\/div>').appendTo(this.$body);f();this.options.doFade&&this.$blocker.css("opacity",0).animate({opacity:1},this.options.fadeDuration);this.$elm.trigger(n.modal.BLOCK,[this._ctx()])},unblock:function(t){!t&&this.options.doFade?this.$blocker.fadeOut(this.options.fadeDuration,this.unblock.bind(this,!0)):(this.$blocker.children().appendTo(this.$body),this.$blocker.remove(),this.$blocker=null,f(),n.modal.isActive()||this.$body.css("overflow",""))},show:function(){this.$elm.trigger(n.modal.BEFORE_OPEN,[this._ctx()]);this.options.showClose&&(this.closeButton=n('<a href="#close-modal" rel="modal:close" class="close-modal '+this.options.closeClass+'">'+this.options.closeText+"<\/a>"),this.$elm.append(this.closeButton));this.$elm.addClass(this.options.modalClass).appendTo(this.$blocker);this.options.doFade?this.$elm.css({opacity:0,display:"inline-block"}).animate({opacity:1},this.options.fadeDuration):this.$elm.css("display","inline-block");this.$elm.trigger(n.modal.OPEN,[this._ctx()])},hide:function(){this.$elm.trigger(n.modal.BEFORE_CLOSE,[this._ctx()]);this.closeButton&&this.closeButton.remove();var t=this;this.options.doFade?this.$elm.fadeOut(this.options.fadeDuration,function(){t.$elm.trigger(n.modal.AFTER_CLOSE,[t._ctx()])}):this.$elm.hide(0,function(){t.$elm.trigger(n.modal.AFTER_CLOSE,[t._ctx()])});this.$elm.trigger(n.modal.CLOSE,[this._ctx()])},showSpinner:function(){this.options.showSpinner&&(this.spinner=this.spinner||n('<div class="'+this.options.modalClass+'-spinner"><\/div>').append(this.options.spinnerHtml),this.$body.append(this.spinner),this.spinner.show())},hideSpinner:function(){this.spinner&&this.spinner.remove()},_ctx:function(){return{elm:this.$elm,$elm:this.$elm,$blocker:this.$blocker,options:this.options,$anchor:this.anchor}}};n.modal.close=function(t){if(n.modal.isActive()){t&&t.preventDefault();var i=u();return i.close(),i.$elm}};n.modal.isActive=function(){return r.length>0};n.modal.getCurrent=u;n.modal.defaults={closeExisting:!0,escapeClose:!0,clickClose:!0,closeText:"Close",closeClass:"",modalClass:"modal",blockerClass:"jquery-modal",spinnerHtml:'<div class="rect1"><\/div><div class="rect2"><\/div><div class="rect3"><\/div><div class="rect4"><\/div>',showSpinner:!0,showClose:!0,fadeDuration:null,fadeDelay:1};n.modal.BEFORE_BLOCK="modal:before-block";n.modal.BLOCK="modal:block";n.modal.BEFORE_OPEN="modal:before-open";n.modal.OPEN="modal:open";n.modal.BEFORE_CLOSE="modal:before-close";n.modal.CLOSE="modal:close";n.modal.AFTER_CLOSE="modal:after-close";n.modal.AJAX_SEND="modal:ajax:send";n.modal.AJAX_SUCCESS="modal:ajax:success";n.modal.AJAX_FAIL="modal:ajax:fail";n.modal.AJAX_COMPLETE="modal:ajax:complete";n.fn.modal=function(t){return 1===this.length&&new n.modal(this,t),this};n(i).on("click.modal",'a[rel~="modal:close"]',n.modal.close);n(i).on("click.modal",'a[rel~="modal:open"]',function(t){t.preventDefault();n(this).modal()})});$(document).ready(function(){function u(n,t){var r="#Sonderwunsch"+t;n==="Sonderwunsch"?$(r).removeClass("hidden"):($(r).hasClass("hidden")||$(r).addClass("hidden"),i(""),$("#Sonderwunsch1").val(""),$("#Sonderwunsch2").val(""));$("#form-cart-insert").find("#ShippingStart").val(n);$("#form-watch-insert").find("#ShippingStart").val(n);$("#shippingStartCountry").val(n)}function i(n){$("#form-cart-insert").find("#SpecialRequest").val(n);$("#form-watch-insert").find("#SpecialRequest").val(n);$("#specialRequestCountry").val(n)}function n(n){$("#form-updateCartShippingStart-"+n).submit();$("#ajax-updateCartItemShippingstart-"+n).show();$("#ajax-updateCartItemShippingstart-"+n).delay(1e3).fadeOut()}function r(){$("#result-watch-insert").text("");$("#form-watch-insert").submit();$("#result-watch-insert").hide();$("#result-watch-insert").delay(500).fadeIn();$("#result-watch-insert").delay(2e3).fadeOut()}var f,t,e;$("#IBAN").on("click keyup change",function(){adjustBicVisibility($("#IBAN").val())});$("#IBAN").on("paste",function(){var n=clipboardData.getData("Text");adjustBicVisibility(n)});$('[id^="submit-webtask"]').click(function(){$("body").append('<div id="loader"><span><\/span><\/div>')});$('[id^="accord-header-"]').click(function(){adjustAccordionSmall(this)});$('[id^="rating-delete-btn-"]').click(function(){var n=this.id.replace("rating-delete-btn-","");$("#rating-delete-form-"+n).submit()});$('[id^="payment-header-"]').click(function(){togglePaymentBody(this)});$('[id^="btn-bankAccountTypeId-"]').click(function(){var n=parseInt(this.id.replace("btn-bankAccountTypeId-",""));$("#bankAccountTypeId-"+n).removeClass("hidden");$("#bankAccountTypeId-"+(3-n)).addClass("hidden")});$('[name^="BillingAddress.BillingTitleId"]').click(function(){$("#form-checkout-customer-title-insert").submit()});$("#spiegel-save-submit").click(function(){var t=$("#SpiegelShippingAddress_SpiegelPass").val(),i=$("#SpiegelShippingAddress_ConfirmPassword").val(),r=$("#SpiegelShippingAddress_ShippingFirstName").val(),u=$("#SpiegelShippingAddress_ShippingLastName").val(),n="";t!==i&&(n="Passwörter stimmen nicht überein.");t===""&&(n!==""&&(n+="<br/>"),n+="Bitte geben Sie ein Passwort ein");r.trim()===""&&(n!==""&&(n+="<br/>"),n+="Bitte einen Vornamen eingeben");u.trim()===""&&(n!==""&&(n+="<br/>"),n+="Bitte einen Nachnamen eingeben");t.length<6&&(n!==""&&(n+="<br/>"),n+="Das Passwort muss mindestens 6 Zeichen lang sein.");n!==""&&($("#validation-msg").html(n),event.preventDefault(),event.cancelBubble=!0)});$("#btn-captcha-reload").click(function(){$("#captcha-image").attr("src","/Account/CaptchaImage/"+(new Date).getTime())});$('[id^="shippingCountries"]').change(function(){$("#shippingCountryId1").val(this.value);$("#submitValue").val(0);$("#form-updateShippingCountry").submit()});$("#shippingCountryId").change(function(){$("#shippingCountryId").val(this.value)});$("#ajax-productOffers").change(function(){});$("#btn-checkout-coupon-insert").click(function(){$("#form-checkout-coupon-insert").submit()});$(".go2checkout").click(function(){$("#cartForm").submit()});$(".submitChangeToStep4").click(function(){$("#Step").val(4);var n={url:"Checkout/ChangeStep/4",type:"GET",contentType:"application/json; charset=utf-8",data:{step:4},cache:"false",success:function(){location.reload()}};$.ajax(n)});$('[id^="agb-accept-"]').click(function(){checkSubmitToBuyNow()});$("#submitToBuyNow").click(function(){checkSubmitToBuyNow()&&($("#Step").val(5),$("#checkoutForm").submit())});$('span[id^="delete-"]').click(function(){$("#ActionType").val(2);$("#cartForm").submit()});$('div[id^="btn-ppxp-product"]').click(function(){submitPpxpCheckout()});$('div[id^="btn-watch-insert"]').click(function(){$("#HasVariant").val()==="True"?$("#btn-choose-product-variants").trigger("click"):r()});$(".submitPaymentMethod").click(function(){$("#alert-message-payment").text("");$("#form-updatePaymentType").submit();$("#alert-message-payment").hide();$("#alert-message-payment").delay(500).fadeIn();$("#alert-message-payment").delay(2e3).fadeOut()});$('input[id^="input-payment-email"]').click(function(){$("#original-payment-type").val()!=="Email"&&($("#StandardPaymentType").val("Email"),$("#CheckoutPayment_StandardPaymentType").val("Email"),$("#original-payment-type").val("Email"),$("#btn-updatePaymentType").trigger("click"))});$("#payment-type-paypal").click(function(){$("#original-payment-type").val()!=="Paypal"&&($("#StandardPaymentType").val("Paypal"),$("#CheckoutPayment_StandardPaymentType").val("Paypal"),$("#original-payment-type").val("Paypal"),$("#input-payment-paypal-radio").trigger("click"),$("#btn-updatePaymentType").trigger("click"))});$('input[id^="input-payment-Paypal"]').click(function(){$("#original-payment-type").val()!=="Paypal"&&($("#StandardPaymentType").val("Paypal"),$("#CheckoutPayment_StandardPaymentType").val("Paypal"),$("#original-payment-type").val("Paypal"),$("#btn-updatePaymentType").trigger("click"))});$('input[id^="input-payment-post"]').click(function(){$("#original-payment-type").val()!=="Post"&&($("#StandardPaymentType").val("Post"),$("#CheckoutPayment_StandardPaymentType").val("Post"),$("#original-payment-type").val("Post"),$("#btn-updatePaymentType").trigger("click"))});$('a[id^="input-payment-email"]').click(function(){$("#original-payment-type").val()!=="Email"&&($("#StandardPaymentType").val("Email"),$("#CheckoutPayment_StandardPaymentType").val("Email"),$("#original-payment-type").val("Email"),$("#btn-updatePaymentType").trigger("click"))});$("#payment-type-bank-new").click(function(){$("#original-payment-type").val()!=="Bank"&&($("#StandardPaymentType").val("Bank"),$("#CheckoutPayment_StandardPaymentType").val("Bank"),$("#original-payment-type").val("Bank"))});$('a[id^="input-payment-bank"]').click(function(){$("#original-payment-type").val()!=="Bank"&&($("#StandardPaymentType").val("Bank"),$("#CheckoutPayment_StandardPaymentType").val("Bank"),$("#original-payment-type").val("Bank"))});$("#payment-type-creditcard").click(function(){$("#original-payment-type").val()!=="CreditCard"&&($("#StandardPaymentType").val("CreditCard"),$("#CheckoutPayment_StandardPaymentType").val("CreditCard"),$("#original-payment-type").val("CreditCard"))});$('a[id^="input-payment-creditcard"]').click(function(){$("#original-payment-type").val()!=="CreditCard"&&($("#StandardPaymentType").val("CreditCard"),$("#CheckoutPayment_StandardPaymentType").val("CreditCard"),$("#original-payment-type").val("CreditCard"))});$('a[id^="input-payment-post"]').click(function(){$("#original-payment-type").val()!=="Post"&&($("#StandardPaymentType").val("Post"),$("#CheckoutPayment_StandardPaymentType").val("Post"),$("#original-payment-type").val("Post"),$("#btn-updatePaymentType").trigger("click"))});$('a[id^="input-payment-Paypal"]').click(function(){$("#original-payment-type").val()!=="Paypal"&&($("#StandardPaymentType").val("Paypal"),$("#CheckoutPayment_StandardPaymentType").val("Paypal"),$("#original-payment-type").val("Paypal"),$("#btn-updatePaymentType").trigger("click"))});$("input[name='payment']").change(function(){switch(this.id){case"input-payment-creditcard":$("#StandardPaymentType").val("CreditCard");break;case"input-payment-bank":$("#StandardPaymentType").val("Bank")}});$("#input-payment-creditcard").click(function(){$("#link-payment-creditcard").trigger("click")});$("#input-payment-bank").click(function(){$("#link-payment-bank").trigger("click")});$("#btn-cart-icon").hover(function(){$("#form-refresh-cart-dropdown").submit()});$("select#ShippingStart1").change(function(){u($("select#ShippingStart1 option:selected").val(),"1")});$("select#ShippingStart2").change(function(){u($("select#ShippingStart2 option:selected").val(),"2")});$("#Sonderwunsch1").keyup(function(){i($("#Sonderwunsch1").val())});$("#Sonderwunsch2").keyup(function(){i($("#Sonderwunsch2").val())});$("input[id^='withoutShippingEnd-m-']").change(function(){var t=this.id.replace("withoutShippingEnd-m-",""),i=$("#withoutShippingEnd-m-"+t).prop("checked");$("#form-updateCartShippingStart-s-"+t).find("#WithoutShippingEnd").val(i);$("#form-updateCartShippingStart-b-"+t).find("#WithoutShippingEnd").val(i);t=$("#form-updateCartShippingStart-s-"+t).id!=="undefined"?"s-"+t:"b-"+t;n(t)});$(".cartShippingStart").change(function(){var i=this.id.replace("cartShippingStart-",""),r=$("select#cartShippingStart-"+i+" option:selected").val(),t="#cartSpecialRequest-"+i;r==="Sonderwunsch"?$(t).hasClass("hidden")&&($(t).val(""),$(t).removeClass("hidden"),$(t).focus()):($(t).hasClass("hidden")||($(t).val(""),$(t).addClass("hidden")),n(i))});$("input[id^='cartSpecialRequest-b-']").change(function(){var r=this.value;if(r.trim()==="")location.reload();else{var t=this.id.replace("cartSpecialRequest-b-",""),u=$("#cartSpecialRequest-s-"+t).val(),i=$("#cartSpecialRequest-b-"+t).val();u!==i&&($("#cartSpecialRequest-s-"+t).val(i),n("b-"+t))}});$("input[id^='cartSpecialRequest-s-']").change(function(){var t=this.id.replace("cartSpecialRequest-s-",""),i=$("#cartSpecialRequest-s-"+t).val(),r=$("#cartSpecialRequest-b-"+t).val();i!==r&&($("#cartSpecialRequest-b-"+t).val(i),n(t))});$('a[id^="cartItemDelete-"]').click(function(){var n=this.id.replace("cartItemDelete-","").replace("small-","");$("#form-deleteCartItem-"+n).submit();document.getElementById("form-refresh-cart-dropdown")&&$("#form-refresh-cart-dropdown").delay(2e3).submit()});$('a[id^="btn-watchItemDelete-"]').click(function(){var n=this.id.replace("btn-watchItemDelete-","");$("#form-watchItemDelete-"+n).submit();$("#form-refresh-cart-dropdown").delay(2e3).submit()});$("input[name='productVariant']").change(function(){var n=this.id.replace("productVariant-","");$("input#SelectedProductVariantId").attr("value",n)});
1$("#cart-variant-insert").click(function(){submitCartInsert();closeVariantsDialog()});$("#watch-variant-insert").click(function(){r();closeVariantsDialog()});$(".abo-item input:radio").click(function(){changeCheckedAboPrice();adjustSelectedProductOffer()});$("input[id^='epaper-abo-']").click(function(){var n=this.id.split("-")[2];changeSelectedAbo(n)});$("#home-news-slidertab").click(function(){setTimeout(function(){initSlider()},100)});$("#datepicker").fdatepicker({language:"de",format:"dd.mm.yyyy"});$("#btnIconView").click(function(){$(".bib-catlist")[0]?($("#showall").trigger("click"),$(".product").removeClass("small-offset-0 medium-6 large-4"),$(".product").addClass("small-offset-2 medium-3 large-2"),$("#show16").trigger("click")):($("#showall").trigger("click"),$(".product").removeClass("small-offset-0 medium-6 large-4"),$(".product").addClass("small-offset-2 medium-4 large-3"),$("#show16").trigger("click"))});$("#btnListView").click(function(){$(".bib-catlist")[0]?($("#showall").trigger("click"),$(".product").removeClass("small-offset-2 medium-3 large-2"),$(".product").addClass("small-offset-0 medium-6 large-4")):($("#showall").trigger("click"),$(".product").removeClass("small-offset-2 medium-4 large-3"),$(".product").addClass("small-offset-0 medium-6 large-4"))});$("#toggle-description-full").click(function(){$(".description-excerpt").addClass("hidden");$(".description-full").removeClass("hidden")});$("#toggle-description-excerpt").click(function(){$(".description-full").addClass("hidden");$(".description-excerpt").removeClass("hidden");document.getElementById("panel2").scrollIntoView(!0)});$("#voucher-head").click(function(){$("#cart-voucher").hasClass("active")?$("#cart-voucher").removeClass("active"):$("#cart-voucher").addClass("active")});$(".mobilenavlink").click(function(){var n=$(this).attr("id");window.location.href=n});$(".cat-list-pag").on("click","a",function(){$("html, body").animate({scrollTop:$("#demo").offset().top},500)});$('a[id^="mobile-cart-"]').click(function(){var n=this.id.replace("mobile-cart-","");$("input#SelectedProductOfferId").val(n);$("#btn-cart-insert").trigger("click")});$('a[id^="mobile-ppxp-"]').click(function(){var n=this.id.replace("mobile-ppxp-","");$("input#SelectedProductOfferId").val(n);$("#btn-ppxp-product-"+n).trigger("click")});$('a[id^="medium-up-cart-"]').click(function(){var n=this.id.replace("medium-up-cart-","");$("input#SelectedProductOfferId").val(n);$("#btn-cart-insert").trigger("click")});$('a[id^="medium-up-watch-"]').click(function(){var n=this.id.replace("medium-up-watch-","");$("input#SelectedProductOfferId").val(n);$("#btn-watch-insert").trigger("click")});$("#mobile-wishlist").click(function(){$("#btn-watch-insert").trigger("click")});$("#mobile-giftcert").click(function(){$("#giftcert-modal-product-mobile").trigger("click")});$(".data-limit-rows").on("keypress",function(n){var t=$(this),i=(t.val().match(/\n/g)||[]).length+2,r=parseInt(t.attr("rows"));if(n.which===13&&i===r)return!1});if(/FAQ/.test(window.location.href)&&window.location.hash&&(f=window.location.hash,$(f).parent("li").addClass("active")),$(".totalProductOfferShipping").length&&(t=$(".totalProductOfferShipping").text(),e="*Preise zzgl. Porto und Verpackung in Höhe von "+t+"/Jahr.",parseInt(t)!==0)){$(".prp-box.abo-item .button.cart").addClass("shippinginfo");$(".price-box .price").append(" *");$(".row.choose-abo").append('<div class="columns small-12 prp-shipping-info show-for-medium-up"><p>'+e+"<\/p><\/div>");$('input[name="abo"]').on("change",function(){var n=$("input[name='abo']:checked").parent(),i=" "+n.find("input[name='currencySymbol']").val(),r=n.find("input[name='offerTotalshippingcosts']").val(),u="*Preise zzgl. Porto und Verpackung in Höhe von "+r+i+"/Jahr.";parseInt(t)!==0&&$(".row.choose-abo .prp-shipping-info p").html(u)})}$(".searchresultshow1").click(function(){var n=$(".searchresultitem1"),t=n.siblings(".dn");t.each(function(){var n=$(this);n.removeClass("dn")});n.addClass("db");n.parent().addClass("flex-wrap");n.parent().removeClass("justify-between");n.parent().addClass("justify-center");$(".searchresultshow1").addClass("dn")});$(".searchresultshow2").click(function(){var n=$(".searchresultitem2"),t=n.siblings(".dn");t.each(function(){var n=$(this);n.removeClass("dn")});n.addClass("db");n.parent().addClass("flex-wrap");n.parent().removeClass("justify-between");n.parent().addClass("justify-center");$(".searchresultshow2").addClass("dn")});$("#btn-watch-insert").click(function(){$("#HasVariant").val()==="True"?$("#btn-choose-product-variants").trigger("click"):r()});$('div[id^="btn-watch-insert-"]').click(function(){var n=this.id.replace("btn-watch-insert-","");$("#result-watch-insert-"+n).text("");$("#form-watch-insert-"+n).submit();$("#result-watch-insert-"+n).hide();$("#result-watch-insert-"+n).delay(500).fadeIn();$("#result-watch-insert-"+n).delay(2e3).fadeOut()});$('a[id^="btn-cartInsert-"]').click(function(){var t=this.id.replace("btn-cartInsert-",""),n=t.split("-"),i=n[0],r=n[1],u=n[2];$("input#SelectedProductOfferId").val(i);$("input#SelectedProductOfferTypeTitleId").val(r);$("#HasVariant").val()==="True"?$("#btn-choose-product-variants").trigger("click"):$("#form-cart-insert-"+u).submit()});$('a[href^="#productOfferModal-"]').click(function(n){n.preventDefault();$(this).modal({fadeDuration:100})});$('a[href^="#productDescriptionModal-"]').click(function(n){n.preventDefault();$(this).modal({fadeDuration:100})});$('a[id^="btn-ppxp-cart-"]').click(function(){var t=this.id.replace("btn-ppxp-cart-",""),n=t.split("-"),i=n[0],r=n[1],u=n[2];$("input#SelectedProductOfferId").val(i);$("input#SelectedProductOfferTypeTitleId").val(r);submitPpxpCheckout(u)});$('a[id^="productOfferModal-"]').click(function(){var n=this.id.replace("productOfferModal-","");$("input#productOfferModalform-product").val(n);$("#productOfferModalform").submit()});$('a[id^="productDescriptionModal-"]').click(function(){var n=this.id.replace("productDescriptionModal-","");$("input#productDescriptionModalform-product").val(n);$("#productDescriptionModalform").submit()});$("#baAccNumber").on("keypress",function(){var n=$("#baAccNumber").val();
1n.charCodeAt(0)>64&&n.charCodeAt(0)<91||n.charCodeAt(0)>96&&n.charCodeAt(0)<123?$("#accountNo").addClass("di").addClass("red"):$("#accountNo").addClass("dn").removeClass("di")});$("#baBscNumber").on("keypress",function(){var n=$("#baBscNumber").val();n.charCodeAt(0)>64&&n.charCodeAt(0)<91||n.charCodeAt(0)>96&&n.charCodeAt(0)<123?$("#bscAccountNo").addClass("di").addClass("red"):$("#bscAccountNo").addClass("dn").removeClass("di")});setDefaultValuesModal();$(window).resize(function(){AdjustReadersRating()});initDocument()});$(document).on("click",'a[id^="btn-cartInsert-"]',function(){var t=this.id.replace("btn-cartInsert-",""),n=t.split("-"),i=n[0],r=n[1],u=n[2];$("input#SelectedProductOfferId").val(i);$("input#SelectedProductOfferTypeTitleId").val(r);$("#HasVariant").val()==="True"?$("#btn-choose-product-variants").trigger("click"):$("#form-cart-insert-"+u).submit();setDefaultValuesModal()});const loginForm=document.getElementById("login-form");loginForm&&loginForm.addEventListener("submit",function(){checkout2TrackLogin();var n=this.querySelector('button[type="submit"]');n&&(n.disabled=!0,n.textContent="Anmeldung läuft...",setTimeout(function(){n.disabled=!1;n.textContent="Anmelden"},3e4))}),function(n){n.fn.bindWithDelay=function(t,i,r,u,f){return n.isFunction(i)&&(f=u,u=r,r=i,i=undefined),r.guid=r.guid||n.guid&&n.guid++,this.each(function(){function o(){var t=n.extend(!0,{},arguments[0]),i=this,o=function(){e=null;r.apply(i,[t])};f||(clearTimeout(e),e=null);e||(e=setTimeout(o,u))}var e=null;o.guid=r.guid;n(this).bind(t,i,o)})}}(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.