"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[643],{5643:function(n,t,o){o.r(t),o.d(t,{mount:function(){return l}});o(2151);var i=o(9749),e=o(6555),a=o(9680);let s="idle",c=null;const l=function(n){if(n.hasListener)return;n.hasListener=!0,(0,a.e)()&&(0,e.MK)(ct_localizations.dynamic_styles.back_to_top).then(function(){});const t=function(){var n=document.querySelector(".ct-back-to-top");if(n)if(window.scrollY>300){if("loaded"===s&&n.classList.add("ct-show"),"idle"===s){s="loading";const t=function(){n.removeAttribute("hidden"),s="loaded",n.classList.add("ct-show")};(0,a.e)()?t():(0,e.MK)(ct_localizations.dynamic_styles.back_to_top).then(function(){t()})}}else n.classList.remove("ct-show")},o=function(){null!==c&&window.scrollY===c||(c=window.scrollY,t()),requestAnimationFrame(o)};requestAnimationFrame(o),t(),n.addEventListener("click",function(n){n.preventDefault();var t=window.scrollY,o=null;const e=function(n){o||(o=n);var i=n-o;var a,s,c,l=Math.max((a=i,s=t,c=-t,(a/=700/2)<1?c/2*a*a+s:-c/2*(--a*(a-2)-1)+s),0);scrollTo(0,l),i<700&&requestAnimationFrame(e)};i.areWeDealingWithSafari?requestAnimationFrame(e):scrollTo(0,0)})}},9680:function(n,t,o){o.d(t,{e:function(){return i}});const i=function(){return"undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)}}}]);