1import{d as p,a as u,z as r,b as d,A as f,U as s,o as m,c as g,r as y,e as _}from"./CCHyEgAG.js";const v=p({__name:"AnimateTextOnScroll",props:{once:{type:Boolean,default:!1},stripBrBelow:{}},setup(a){const o=a,t=_(null);let l,e;function i(){e?.scrollTrigger?.kill(),e?.kill(),e=void 0,l?.revert(),l=void 0}u(async()=>{await r(),c()}),d(()=>{i()});const c=async()=>{await r(),i(),o.stripBrBelow&&typeof window<"u"&&window.innerWidth<=o.stripBrBelow&&t.value?.querySelectorAll("br").forEach(n=>n.remove()),l=f.create(t.value,{type:"lines",mask:"lines",linesClass:"will-change-transform",autoSplit:!0,onSplit:n=>{s.set(t.value,{visibility:"visible"}),e?.scrollTrigger?.kill(),e?.kill(),e=s.from(n.lines,{yPercent:105,opacity:0,stagger:.15,duration:2,ease:"expo.out",scrollTrigger:{trigger:t.value,start:"top bottom",end:"top 90%",toggleActions:o.once?"play none none none":"play none none reset",once:o.once}})}})};return(n,w)=>(m(),g("div",{ref_key:"root",ref:t,style:{visibility:"hidden"}},[y(n.$slots,"default")],512))}}),k=Object.assign(v,{__name:"AnimateTextOnScroll"});export{k 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.