"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[947],{947:function(n,t,o){o.r(t),o.d(t,{mount:function(){return c}});var s=o(601),e=o.n(s),r=o(511);const c=function(n){if(n.hasListener)return;n.hasListener=!0;const t=function(){var n=document.querySelector(".ct-back-to-top");n&&(window.scrollY>500?n.classList.add("ct-show"):n.classList.remove("ct-show"))};t(),e().on("ct:scroll:render-frame",(function(){t()})),n.addEventListener("click",(function(n){n.preventDefault();var t=window.scrollY,o=null;const s=function(n){o||(o=n);var e,r,c,i=n-o,a=Math.max((e=i,r=t,c=-t,(e/=350)<1?c/2*e*e+r:-c/2*(--e*(e-2)-1)+r),0);scrollTo(0,a),i<700&&requestAnimationFrame(s)};r.areWeDealingWithSafari?requestAnimationFrame(s):scrollTo(0,0)}))}}}]);
//# sourceMappingURL=947.0f77ceb88179e394dbda.js.map