function getUrlVars(){for(var t=[],n,r=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),i=0;i0)if(t==undefined&&(t=window.innerWidth||document.body.clientWidth),t>767){var i=0;n.css({height:"auto"});n.each(function(){var t=jQuery(this);t.outerHeight()>i&&(i=n.hasClass("m-product-placement-item")||n.hasClass("m-panes-product-placement-item")?t.outerHeight()+40:t.outerHeight())});setTimeout(function(){n.css("height",i)},500)}else n.css({height:"auto"})}catch(r){console.log(r)}}function isPanelInViewport(n,t){var i,f,r,e,u,o;try{return i=jQuery(n),t=t==undefined?0:t,f=navigator.userAgent.toLowerCase().indexOf("edge/")!=-1?"body":"html",r=jQuery(f).scrollTop(),navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1&&(r=window.pageYOffset),e=r+jQuery(window).height(),i.length>0&&(u=Math.round(i.offset().top)+t,o=u+i.height()),ur}catch(s){console.log(s)}}function UHFDropdownClickOnIEbrowsers(){if((navigator.userAgent.toLowerCase().indexOf("trident")!=-1||navigator.userAgent.toLowerCase().indexOf("msie")!=-1)&&window.innerWidth>860)$("#uhf-g-nav .nested-menu.uhf-menu-item button, #uhf-c-nav .all-ms-nav").on("click",function(n){n.preventDefault();var t=$(this).attr("aria-expanded");t=="false"?($(this).attr("aria-expanded","true"),$(this).next("ul").attr("aria-hidden","false"),$(this).next("ul.f-multi-column.f-multi-column-6").css("margin-left","-1000px")):($(this).attr("aria-expanded","false"),$(this).next("ul").attr("aria-hidden","true"),$(this).next("ul.f-multi-column.f-multi-column-6").css("margin-left","0px"))})}function toutsminheightcalc(){window.matchMedia("(min-width: 768px)").matches?setTimeout(function(){var t,n;for($articletouts.css("min-height","").find(".c-heading,p,.toutpara").css("min-height",""),t=$(".shopmain").length>0?".shopmain .m-content-placement .content-touts.tout-row-large-":".articlesmain .m-content-placement .content-touts.tout-row-large-",n=0;n"+t[r]+"<\/span><\/a>, <\/span>";$(this).html(i);i=""});$("sup").find("span:last").remove()}catch(r){console.log(r)}}function noSuperScript(){try{var r=window.location.href,n=[],t=[];$("sup .supText:visible").not(".article-section-footnotes .c-caption-2 sup").each(function(){var t=$(this).text().trim();n.push(t)});n=$.unique(n);$(".c-tooltip sup").each(function(){var n=$(this).text().trim();t.push(n)});t=$.unique(t);n.length==0?$(".article-section-footnotes").addClass("hide"):$(".article-section-footnotes").hasClass("hide")&&setTimeout(function(){$(".article-section-footnotes").removeClass("hide")},2e3);$(".article-section-footnotes .c-caption-2").each(function(){var t=$(this).find(".supLink .supFn").text().trim();$.inArray(t,n)==-1?$(this).addClass("hide"):$(this).hasClass("hide")&&$(this).removeClass("hide");$(this).hasClass("context-glyph-tile")&&$(this).removeClass("hide")})}catch(i){console.log(i)}}function ManageConsentChanges(){siteConsent.manageConsent()}function GetCategoryFromMSCC(n){var t=n,i,r;return n.match("^cid")&&(i=n.indexOf("c1="),t=n.substring(i,n.length)),n.match("^c1")&&(r=n.indexOf("-cid"),t=n.substring(0,r)),t}function ShowHideManageCookies(n){if(typeof siteConsent!="undefined"&&siteConsent.isConsentRequired)if($("#c-uhff-footer_managecookies").length>0)$("#c-uhff-footer_managecookies").removeClass("x-hidden");else{var t='