"use strict";(self.blocksyJsonP=self.blocksyJsonP||[]).push([[466],{2466:function(n,t,o){o.r(t),o.d(t,{mount:function(){return c}});o(1601);var i=o(1229),e=o(2248),a=o(9257);let r="idle",s=null;const c=function(n){if(n.hasListener)return;n.hasListener=!0,(0,a.O)()&&(0,e.Xr)(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"===r&&n.classList.add("ct-show"),"idle"===r){r="loading";const t=function(){n.removeAttribute("hidden"),r="loaded",n.classList.add("ct-show")};(0,a.O)()?t():(0,e.Xr)(ct_localizations.dynamic_styles.back_to_top).then((function(){t()}))}}else n.classList.remove("ct-show")},o=function(){null!==s&&window.scrollY===s||(s=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,r,s,c=Math.max((a=i,r=t,s=-t,(a/=700/2)<1?s/2*a*a+r:-s/2*(--a*(a-2)-1)+r),0);scrollTo(0,c),i<700&&requestAnimationFrame(e)};i.areWeDealingWithSafari?requestAnimationFrame(e):scrollTo(0,0)}))}},9257:function(n,t,o){o.d(t,{O: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)}}}]);