import{V as t,n as s}from"./client-BmVmnFEC.js";const n=t.extend({props:{hash:{type:String,required:!0}},methods:{scrollToHash(o){if(o.preventDefault(),document.querySelector(this.hash)===null)return;const e=document.querySelector(this.hash).offsetTop;window.scrollTo({top:e,left:0,behavior:"smooth"})}}});var l=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("a",{attrs:{href:e.hash},on:{click:e.scrollToHash}},[e._t("default")],2)},a=[],c=s(n,l,a,!1,null,null);const u=c.exports;export{u as default};