'use strict';var aniCommon=aniCommon||{}; $(document).ready(function(q,u){(function(){(function(l){var m=void 0===l.firstLoad;l.firstLoad=!1;return m})(aniCommon)&&(aniCommon.utility=function(){return{delayCall:function(l,m){var n;return function(){clearTimeout(n);n=setTimeout(l,m)}},reducedAnimation:function(){aniCommon.isReducedAnimation=window.matchMedia("(prefers-reduced-motion)").matches;!0===aniCommon.isReducedAnimation?q("body").addClass("animation-off"):q("body").addClass("animation-on");return aniCommon.isReducedAnimation}}}(),aniCommon.isReducedAnimation= aniCommon.utility.reducedAnimation(),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",()=>{aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation()}))})()}); $(document).ready(function(){function q(a){a.find(".m-channel-placement .c-channel-placement-content h3.c-heading-4").css("height","");a.find(".m-channel-placement .c-channel-placement-description .c-paragraph-3").css("height","");a.find(".m-channel-placement-item").css("height","");setTimeout(function(){u(a,".m-channel-placement .c-channel-placement-content h3.c-heading-4");u(a,".m-channel-placement .c-channel-placement-description .c-paragraph-3");u(a,".m-channel-placement-item")},500)}function u(a, b){m=0;a.find(b).each(function(){m=m>$(this).height()?m:$(this).height()});a.find(b).height(m)}function l(a){if(a.find(".c-carousel .c-group")){var b=a.find(".c-carousel ul li")[0].scrollWidth,d=a.find(".c-carousel .c-group")[0].scrollWidth,c=a.find(".c-carousel")[0].scrollWidth,g=Math.floor(c/b),f=1f?(e-=f,h-=f):(e-=h,a.find(".c-flipper.f-next").css("display","none"),a.find(".c-flipper.f-next").attr("aria-hidden","true"), a.find(".c-carousel").removeClass("f-scrollable-next"),h=0);a.find(".c-flipper.f-previous").css("display","block");a.find(".c-flipper.f-previous").attr("aria-hidden","false");n?a.find(".c-carousel ul.c-group").css("margin-right",e+"px"):a.find(".c-carousel ul.c-group").css("margin-left",e+"px")});a.find(".c-flipper.f-previous").on("click",function(){0>f+e?(e+=f,h+=f,a.find(".c-carousel").addClass("f-scrollable-next"),a.find(".c-flipper.f-next").css("display","block"),a.find(".c-flipper.f-next").attr("aria-hidden", "false"),n?a.find(".c-carousel ul.c-group").css("margin-right",e+"px"):a.find(".c-carousel ul.c-group").css("margin-left",e+"px")):(e=0,a.find(".c-flipper.f-previous").css("display","none"),a.find(".c-flipper.f-previous").attr("aria-hidden","true"),a.find(".c-flipper.f-next").css("display","block"),a.find(".c-flipper.f-next").attr("aria-hidden","false"),a.find(".c-carousel").addClass("f-scrollable-next"),n?a.find(".c-carousel ul.c-group").css("margin-right","0px"):a.find(".c-carousel ul.c-group").css("margin-left", "0px"),a.find(".c-carousel").removeClass("f-scrollable-previous"),b=a.find(".c-carousel ul li")[0].scrollWidth,d=a.find(".c-carousel .c-group")[0].scrollWidth,c=a.find(".c-carousel")[0].scrollWidth,g=Math.floor(c/b),h=d-c,f=1{$(a).on("focusin mouseenter click mousedown touchstart",function(){$(this).find("div.c-carousel").hasClass("f-scrollable-next")|| $(this).find("div.c-carousel").hasClass("f-scrollable-previous")?$(this).find(".btn-next-previous").css("display","block"):$(this).find(".btn-next-previous").css("display","none")})})})();(function(){document.querySelectorAll(".deviceCarousel sup").forEach(a=>{0==a.children.length&&a.insertAdjacentHTML("afterbegin",'\x3cspan class\x3d"sr-text"\x3eFootnote\x3c/span\x3e')})})();document.querySelectorAll(".deviceCarousel ul li").forEach(a=>{$(a).on("mousedown touchstart",function(b){"touchstart"==b.type&& $(this).off("mousedown");"mousedown"==b.type&&$(this).off("touchstart")})});$(".btn-next-previous").on("click",function(){null!==$(".c-flipper")&&($(this).parent().find("div.c-carousel").hasClass("f-scrollable-previous")?($(this).parent().find("div.c-carousel").find("button.f-previous").attr("aria-hidden","false"),$(this).parent().find("div.c-carousel").find("button.f-previous").attr("tabindex","0"),$(this).parent().find("div.c-carousel").find("button.f-previous").focus()):$(this).parent().find("div.c-carousel").hasClass("f-scrollable-next")&& ($(this).parent().find("div.c-carousel").find("button.f-next").attr("aria-hidden","false"),$(this).parent().find("div.c-carousel").find("button.f-next").attr("tabindex","0"),$(this).parent().find("div.c-carousel").find("button.f-next").focus()),document.activeElement.scrollIntoView({block:"center"}))});$(".deviceCarousel .c-flipper.f-previous").on("focusout",function(){null!==$(".c-flipper")&&($(this).parents("div.c-carousel").hasClass("f-scrollable-previous")&&($(this).attr("aria-hidden","true"), $(this).attr("tabindex","0")),$(this).parents("div.c-carousel").hasClass("f-scrollable-next")&&($(this).parents("div.c-carousel").find("button.f-next").attr("aria-hidden","false"),$(this).parents("div.c-carousel").find("button.f-next").attr("tabindex","0"),$(this).parents("div.c-carousel").find("button.f-next").focus()))});$(".deviceCarousel .c-flipper.f-next").on("focusout",function(){null!==$(".c-flipper")&&$(this).parents("div.c-carousel").hasClass("f-scrollable-next")&&($(this).attr("aria-hidden", "true"),$(this).attr("tabindex","0"))});setTimeout(function(){$(".deviceCarousel").each(function(a,b){a=$(b);l(a)})},500);window.addEventListener("resize",aniCommon.utility.delayCall(function(){$(".deviceCarousel").each(function(a,b){a=$(b);q(a);l(a)})},200));var r=0,k=0;document.querySelectorAll(".deviceCarousel .c-carousel ul.c-group").forEach(a=>{a.addEventListener("keyup",b=>{var d=$(a).parents(".deviceCarousel"),c=b.target.offsetLeft,g=d.find(".c-carousel ul li .m-channel-placement-item")[0].scrollWidth; g=Math.ceil(.062*g);c==g&&(c=b.target.offsetParent.offsetLeft+g);g=d.find(".c-carousel .c-group")[0].scrollWidth;var f=d.find(".c-carousel ul li")[0].scrollWidth,e=d.find(" .c-carousel")[0].scrollWidth,h=Math.floor(e/f),p=1p&&d.find(".c-flipper.f-previous").triggerHandler("click"):9===b.keyCode&&0>c&&d.find(".c-flipper.f-next").triggerHandler("click");else{var t=d.find(".c-carousel ul.c-group").css("margin-left").replace("px","");t=parseInt(t);b.shiftKey&& 9==b.keyCode?0==t&&0==k&&p-cc&&(d.find(".c-carousel ul.c-group").css("margin-left","0px"),l(d),r=0);10c)b.shiftKey&&9==b.keyCode?c=r-f:9===b.keyCode&&(c=r+f);else if(cc&&0>t&&d.find(".c-flipper.f-previous").triggerHandler("click");else if(9===b.keyCode)if(d.find("div.c-carousel").hasClass("f-scrollable-next")){if(b= Math.floor(c/f),v=d.find(".c-carousel ul.c-group").css("margin-left").replace("px",""),60>e-p&&b==h-1&&0==v&&(b=-5*h,d.find(".c-carousel ul.c-group").css("margin-left",b+"%")),c>k||60>e-p&&k-c-24*hg?g:k}else d.find(".c-flipper.f-next").css("display","none")}})})});