function checkPositionBackToTopButton(){window.innerHeight<495?$("#backToTop").css("right","50px"):$("#backToTop").removeAttr("style")}var missyUserAgent=navigator.userAgent||navigator.vendor||window.opera;/iPad|iPhone|iPod/.test(missyUserAgent)&&!window.MSStream&&document.body.classList.add("iOS"),$(document).ready(function(){var o,t,e,n=window.location.hash,i=(setTimeout(function(){var o;n&&(o=document.getElementById(n.replace("#","")))&&"trigger"==o.dataset.role&&(o.click(),setTimeout(function(){window.scroll(0,o.offsetTop+(window.innerWidth<=767?300:100))},400))},2e3),$("body").on("click.fakeLinks",".js-fake-change-page",function(){var o=window.location.pathname,t=this.getAttribute("href").split("#")[0];0==window.location.search.length&&o==t&&setTimeout(function(){window.location.href=window.location.href,window.location.reload()},150)}),$("#backToTop"));$("body").hasClass("product-template")&&setTimeout(function(){var o=$("body > .si-reset");o.length&&o.hasClass("si-edge-right")&&(checkPositionBackToTopButton(),$(window).on("resize.checkPositionBackToTopButton",checkPositionBackToTopButton))},2500),$(window).scroll(function(){$(this).scrollTop()?i.addClass("active"):i.removeClass("active")}),i.on("click",function(){$("html, body").animate({scrollTop:0},"slow")});$(".collection-template").length&&(o=".category-description",t=$(o+" p").length,e=$(o+" iframe").length,(1