'use strict';var aniCommon=aniCommon||{};"use strict";aniCommon.utility=function(){return{delayCall:function(a,b){var d;return function(){clearTimeout(d);d=setTimeout(a,b)}},reducedAnimation:function(a){aniCommon.isReducedAnimation=void 0===a?window.matchMedia("(prefers-reduced-motion)").matches:!a;return aniCommon.isReducedAnimation}}}();aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation();var mediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),isutilIE11=!!navigator.userAgent.match(/Trident\/7.0/); isutilIE11?mediaQuery.addListener("change",function(){aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation(aniCommon.pageAniToggleValue)}):mediaQuery.addEventListener("change",function(){aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation(aniCommon.pageAniToggleValue)});const mediaQueryMotion=window.matchMedia("(prefers-color-scheme: dark)"); function handleMediaQueryChange(a){const b=document.querySelectorAll(".accessories-products-panel .img-fluid");if(b)for(var d=0;dposdif&&-100swdgResetContainers[a].bottom&&$(this).css("transform", "translate3d("+swdgResetContainers[a].originalleft+"px,"+swdgResetContainers[a].belowadjust+"px,0)")}$(this).removeClass("s-wdgToReset");$(this).removeClass("is-scrollTop");$(this).removeClass("is-scrollDown");$(this).removeClass("Aniscroll")}})}window.addEventListener("resize",aniCommon.utility.delayCall(function(){scrollresize();setBackgroundTextHeight()},500));window.addEventListener("load",function(){var a=setInterval(function(){$(".adapatability-section").length&&clearInterval(a)},1E3)}); function scrollresize(){$(".s-wdgItem").removeAttr("style");$(".s-wdgItem").removeClass("s-wdgItem");$(".fadehiddenOffscreen").removeClass("fadehiddenOffscreen");$(".s-wdgActive").removeClass("s-wdgActive");$(".s-wdgToReset").removeClass("s-wdgToReset");$("[data-s-wdg-toreset]").removeAttr("data-s-wdg-toreset");swdgResetContainers={};runswdg()}runswdg();var noswdgFlag=!1;function setBackgroundTextHeight(){var a=$(".adapatability-section").height();$(".vertical-text").css("width",a)} function showToolTip(a){a.classList.contains("close-popup")?$(".close-popup .tooltiptext").css("visibility","visible"):$(".close-popup .tooltiptext").css("visibility","hidden")}function hideToolTip(){$(".close-popup .tooltiptext").css("visibility","hidden")}$(".accessories-products").css("z-index","0"); $(document).on("click",".hotspot",function(a){$(this).hasClass("close-popup")?($(this).next().find("a.c-call-to-action").css("display","none"),$(this).removeClass("close-popup").attr("aria-expanded","false"),$(".tooltiptext").css("visibility","hidden"),$(this).attr("data-bi-bhvr","15"),$(".accessories-products").css("z-index","0")):($(".accessories-products").css("z-index","0"),$(".hotspot-popup").css("visibility","hidden"),$(".hotspot").removeClass("close-popup").attr("aria-expanded","false"),$(".tooltiptext").css("visibility", "hidden"),$(this).next().find("a.c-call-to-action").css("display","block"),$(this).addClass("close-popup").attr("aria-expanded","true"),$(this).attr("data-bi-bhvr","14"),$(this).closest(".accessories-products").css("z-index","1"));$(this).next(".hotspot-popup").hasClass("hotspot-popup-position-top")&&"hidden"==$(this).next(".hotspot-popup").css("visibility")&&($(this).parents(".accesoriesContainer").position(),$(this).parents(".accesoriesContainer").outerHeight(),$(this).parents(".accessories-products").position(), $(this).parents(".accessories-products").outerHeight(),$(window).scrollTop(),$(this).parents(".hotspot-container").position(),$(this).next(".hotspot-popup").outerHeight());"hidden"==$(this).next(".hotspot-popup").css("visibility")?$(this).next(".hotspot-popup").css("visibility","visible"):$(this).next(".hotspot-popup").css("visibility","hidden")});$(".hotspot-popup .c-call-to-action").keydown(function(a){9===(a.keyCode||a.which)&&(a.preventDefault(),$(".close-popup").focus())}); var hotspotContainer=$(".hotspot-container");$(document).on("keyup",function(a){"Escape"==a.key&&hospotToggle()});$(document).mouseup(function(a){hotspotContainer.is(a.target)||0!==hotspotContainer.has(a.target).length||hospotToggle()}); function hospotToggle(){hotspotContainer.find(".hotspot-popup a.c-call-to-action").css("display","none");hotspotContainer.find(".close-popup").removeClass("close-popup").attr("aria-expanded","false");$(".tooltiptext").css("visibility","hidden");hotspotContainer.find(".hotspot-popup").css("visibility","hidden");$(".accessories-products").css("z-index","0")} function hotspotpos(a){a=a.find(".accessories-products").last();var b=a.height(),d=a.find(".hotspot-container").position().top;b-=d;d=a.find(".hotspot").outerHeight()/2;var e=a.find(".hotspot-popup").outerHeight();b-dwindow.devicePixelRatio||2>d?b&&a.removeClass("zoom-200"):b||a.addClass("zoom-200")};