1import{g as t,S as l}from"./gsap-aLfjG8Xb.js";import{r as a,f as s,g as u,aQ as c,P as f,aZ as i}from"./@vue-D9vA9ZFq.js";const g=["href","target","rel"],p={__name:"AnimatedButton",props:{href:String,external:{type:Boolean,default:!1}},setup(e){t.registerPlugin(l);const r=a(null);let o=null;return s(()=>{setTimeout(()=>{o=t.to(r.value,{backgroundColor:"#FBF8F2",color:"#005C6B",borderColor:"#005C6B",scrollTrigger:{trigger:r.value,scrub:!0,start:"bottom bottom-=100",end:"+=150"}})},500)}),u(()=>{t.killTweensOf(o),l.killAll()}),(n,b)=>(c(),f("a",{ref_key:"button",ref:r,href:e.href,target:[e.external?"_blank":null],rel:[e.external?"noopener noreferrer":null],class:"block text-center py-6 text-13 border border-brand-90/20 text-brand-90 uppercase w-full"},[i(n.$slots,"default")],8,g))}};export{p as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.